Pine Seeds documentation

Overview

Pine Seeds is a service for importing your custom data on the TradingView platform.

This service allows you to:

  • connect your series data to TradingView
  • visualize it in the TradingView UI
  • use it to create indicators

Use TradingView as your frontend and use a GitHub repository as your backend.

Keep in mind that such data has certain limitations (we call them EOD data):

  • the data can only be updated a few times per day
  • only the daily resolution is available
  • the number of data elements (symbols) is limited to 1000
  • such data will not appear in the symbol search box

Note

Read our 5-minute tutorial to get started right now

Setting up the service includes several steps:

Example

You just need to set up the repository, upload your data to it and wait for it to be uploaded to the TradingView platform.

SEED_CRYPTO_SANTIMENT:BTC_DEV_ACTIVITY is an example of custom data integration. You can work with it on your Chart.

The symbol name is uniquely determined by Github settings.

  • SEED is a mandatory prefix for this type of data
  • CRYPTO is the name of github.com/crypto GitHub account
  • SANTIMENT is the name of github.com/crypto/santiment repository
  • BTC_DEV_ACTIVITY is a data filename BTC_DEV_ACTIVITY.CSV

Now, using the request.seed() function from the built-in Pine Script™ language and the available data, you can build a chart.

//@version=5
indicator("BTC Dev Activity", format=format.volume)
//request.seed(source, repo_name, symbol, expression)
activity = request.seed("crypto", "santiment", "BTC_DEV_ACTIVITY", close)
plot(activity)

By adding Bitcoin developer activity data from the EOD source (SEED_CRYPTO_SANTIMENT:BTC_DEV_ACTIVITY) to the BTCUSD chart, you will receive information for technical analysis.

ui_chart_pine

Read more

Data structure

Data storage form, data structure, fields descriptions, fields types, data validation conditions.

GitHub settings

Account and repository settings, GitHub actions workflow, repositories organization, external data connection.

TradingView UI

Quick guide for TradingView user using custom data series.

FAQ

If you have any questions that haven't been covered by info in the above sections then take a look here.