Questions tagged [tradingview-api]

TradingView is a financial web-platform and a social network for traders. Use this tag for questions related to the programming API of TradingView products: Charting Library, Social Tools, Widgets. If you have questions about the Pine Script language use the [pine-script] tag. Do not use this tag for questions about the website.

TradingView is a financial web-platform and a social network for traders. Use this tag for questions related to the programming API of TradingView products: Charting Library, Social Tools, Widgets. If you have questions about the Pine Script language use the pine-script tag. Do not use this tag for questions about the website.

1436 questions
20
votes
2 answers

Tradingview Drawing

I'm using Tradigview Chart Widget to display data. I can't find a way to draw lines(or something else) on chart, and to save the drawings in order to display them when the page reloads.
Test O.
  • 221
  • 1
  • 2
  • 8
11
votes
3 answers

How to optimise parameters in a TradingView Pine script?

I want to optimise indicator parameters in a TradingView Pine backtest. This is possible with other tools, but when I search for this functionality in TradingView I don't find anything. Can anybody please help? If it isn't possible in TradingView,…
11
votes
3 answers

How to integrate trading view charting library in my website

Iam building a website for bitcoin exchange. I want to use trading view charting library I extracted it in my workspace. I want to know how to give my own datafeed. Which format should datafeed file be in (like php,js,json) ? var _datafeed = new…
SMJ
  • 716
  • 1
  • 9
  • 23
10
votes
1 answer

Where can I download TradingView's technical charting library?

I am trying to create a new web project and want to use Technical Analysis Charts library, but when I want to download it, it asks for giving a public website domain that I don't have! It's an educational project and I don't have a company or…
Hasani
  • 3,543
  • 14
  • 65
  • 125
10
votes
2 answers

How to compare multiple symbols programatically on a single tradingview chart?

I need to create a chart similar to what is shown and explained at https://www.tradingview.com/wiki/Compare . at https://www.tradingview.com/widget/advanced-chart/ I can create a custom chart but there is no option for multi-symbol chart. There…
Thoran
  • 8,884
  • 7
  • 41
  • 50
10
votes
5 answers

Embed Tradingview into Angular 5

I just copy the function in the embed script found here (https://www.tradingview.com/widget/advanced-chart/) into a component in my Angular 5 app, and include the source script in angular-cli.json. However, the component returns error "Cannot find…
Hoàng Nguyễn
  • 1,121
  • 3
  • 33
  • 57
9
votes
2 answers

Can I open a tradingview chart to a specific date and timeframe using an url only?

I can open APT ASX stock chart to a specific timeframe, eg. 60mins, using URL only in tradingview as below: https://www.tradingview.com/chart/?symbol=ASX:APT&interval=60 The question is: can I open ASX:APT chart with 5min timeframe for a specific…
data2wealth
  • 423
  • 3
  • 9
9
votes
10 answers

How pivothigh() and pivotlow() function work on Tradingview Pinescript?

I'm trying to rewrite a script to Python, but I can't figure out how pivothigh() and pivotlow() function work, and I can't find source code, I know how to calculate Pivot Points, but what leftbars and rightbars means in this two function? Please…
Inso
  • 837
  • 1
  • 7
  • 11
9
votes
3 answers

Is it possible to have a html hyperlink to open tradingview to a specific symbol?

Is it possible to create an external link to Tradingview. My specific use case is to click an html hyperlink to open Tradingview to a specific symbol ?
ender maz
  • 91
  • 1
  • 2
8
votes
4 answers

how to to insert TradingView widget into react js which is in script tag link: https://www.tradingview.com/widget/market-overview/

export default class extends Component { render() { return (
{ /*** * enter the code here */ } …
Salil Sharma
  • 514
  • 1
  • 5
  • 14
8
votes
2 answers

Tradingview widget - customize simple moving average and Exponential moving average lenght

I'm trying to add "Advanced Real Time chart" widget from tradinview. I'm able to add indicator Exponential moving average and Simple moving average. But it takes default 9 days length. I want to change that. I tried as below but it does not work.…
7
votes
2 answers

How to view aggregated liquidations for cryptocurrencies from Binance?

On these sites (https://coinalyze.net/ethereum-classic/liquidations/, BTC/USDT), I am able to add following indications into grpah [Liquidations, Long Liquidations, Short Liquidations, Aggregated Liquidations COIN-margined Contracts, Aggregated…
alper
  • 2,919
  • 9
  • 53
  • 102
7
votes
4 answers

how to override the studies of the tradingview widget

I am trying to customize a trading view widget without success, I want to change the color of the RSI Indicator, and change the levels, this is the code: new TradingView.widget({ "container_id": "box" + i, "autosize": true, …
xarc
  • 213
  • 2
  • 14
6
votes
1 answer

How to pinescript plot values from an array

Trying to plot values from an array but I find needing to plot each value separately. How do you create a series to plot this? // © SKnight79 //@version=4 study("My Script") pma1 = array.new_float(5,0) array.push(pma1, security(syminfo.tickerid,…
SKnight79
  • 61
  • 1
  • 5
6
votes
4 answers

Tradingview custom studies

Trying to create a custom studies in Tradingview, but getting the following error when the tradingview widget is loaded: Error: unexpected study id:abcd at Function.o.findStudyMetaInfoByDescription (library.4b362457b3a7eceed386.js:29) at…
Mats
  • 81
  • 1
  • 1
  • 3
1
2 3
95 96