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
4
votes
2 answers

Tradingview Charting - Remove logo

I'm using tradingview charting library and I want to remove marketing logo and link rendering over the chart. I think it should be linked with the subscription so, I've to integrate client_id and user_id? Also, where I can get this from my…
USS
  • 460
  • 4
  • 16
4
votes
1 answer

Javascript - Change symbol on embedded tradingview script.text

I am trying to change the ticker widget of an embedded tradingview iframe onclick according to the selected symbol. The JS part inside the onclick function looks like this: document.getElementById("trading-view").innerHTML = ""; var script =…
Philip_F
  • 43
  • 4
4
votes
0 answers

Saving drawing on Tradingview widget?

Currently we are using TradingView Widget to display charts ( we would love to use the SDK but we don't have our own data ) and we are wondering if we could somehow save the drawings and annotations from the chart so when a user leaves the website…
kroe
  • 1,116
  • 3
  • 11
  • 23
3
votes
0 answers

I download TradingView's technical charting library?

I'm trying to create a new web project and I want to use the Technical Analysis Charts library, but when I want to download it, I want a public website domain with the phone number that I'm from Iran and in the list of countries. . Not Iran !? what…
3
votes
2 answers

using security function on tradingview, how to make the gaps smooth?

I am trying to plot multiple timeframe EMA on 15 min chart, this is my code. //@version=5 indicator(title='higher tf', overlay=true) // 4 hr show_4h = input(title='Show 4 hour', defval=true, group = "4 HOUR") show_ema20_4 = input(title='Show 20…
alex deralu
  • 569
  • 1
  • 3
  • 18
3
votes
1 answer

Available data in TradingView's exported chart data file

To back-test a trading strategy, I use the replay feature in trading view and mark my trades by adding a "long position" or "short position" from the left panel. Like this: I need to save the data (chart data including the positions, or any other…
3
votes
1 answer

TradingView STC vs any python STC

I am trying to use in a trading strategy the STC indicator, but I can not find out why its not working properly. The chart that I am using is BTC/USDT on UTC as a timeframe. Chart time: 01 Feb 22 - 16:20 UTC ------------------- TradingView:…
Mircea
  • 1,671
  • 7
  • 25
  • 41
3
votes
1 answer

react trading view widget how to stop scroll on mouse wheel up down

[![enter image description here][1]][1]I am using react trading view widget my client requirement is that it should stop scrolling on fixed button press. I have used this approach but its stopped all mouse events i need just stop scrolling on chart…
Noman
  • 594
  • 1
  • 18
3
votes
2 answers

Tradingview chart height issue

I have a problem with the chart widget. It does not adjust to the height automatically. How can I fix or make responsive it? new TradingView.widget( { "autosize": true, "symbol": "BINANCE:BTCUSDTPERP", "interval": "5", "timezone":…
bashman
  • 138
  • 2
  • 11
3
votes
1 answer

Tradingview widget add price line

How to create custom price line in the tradingview widget? Example; as in the picture below. i used vue3js and electronjs. My widget code; window.tradingView = new window.TradingView.widget({ autosize: true, symbol:…
Haydar C.
  • 742
  • 12
  • 24
3
votes
0 answers

DataFrame VWAP Does not match TradingView

Not sure why I cannot get my DataFrame VWAP calculations to TradingView version at this link: https://www.tradingview.com/support/solutions/43000502018-volume-weighted-average-price-vwap/ They provide a simple calculation method which I can…
Hawks
  • 71
  • 1
  • 2
3
votes
0 answers

PineScript Multi TimeFrame indicator changes on changing time frame in TradingView

I am trying to develop a multi time frame indicator using pine script. I use the following line for choosing the prices based on which I can do further analysis. resolution = "D" source = security(syminfo.tickerid, resolution, close,…
3
votes
0 answers

Trading View - bscscan/ethereum Chart for individual Contract

Unfortunately, I'm a bit stupid when implementing the chart for an individual token. I call Tradinview, via html, with the following script: `