Skip to main content

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-api
0 votes
0 answers
11 views

Alert Condition Not Firing Correctly

Wrote an strategy and having an issue with same type of alert (buy or sell) firing multiple times in a row i.e buy, sell, sell, buy, buy, buy, sell I need only one alert (for buy or sell) to fire at a ...
Null isTrue's user avatar
  • 1,896
0 votes
0 answers
14 views

Pine Script Nadaraya-Watson How to draw multiple lines based on two values ​in a single indicator?

I wish to have double band lines for 2 and 3 at the same time by giving the "mult" parameter more than once in the nadaraya-watson indicator. I tried merging the code block but it always ...
Eserxm's user avatar
  • 1
0 votes
0 answers
5 views

Pinescript Code Merger error: line not visible

I wanted to multiplex an indicator belonging to Nadaraya Watson and get results based on two different values. For this, I named and combined the variables in the second code blog differently, but ...
Eserxm's user avatar
  • 1
0 votes
0 answers
8 views

Multiple HTF EMA

Why daily EMA20 is a stepping line not a smooth one. like weekly or monthly EMA string custTime = na if timeframe.isdaily or timeframe.isminutes custTime:=input.timeframe("D","Daily&...
Harender Singh's user avatar
-1 votes
0 answers
15 views

How to Change TradingView Embed Background to Black and Selected Options to Green?

I'm embedding TradingView charts into my web application. I'd like to customize the appearance to have the entire background, including the sidebar, in black. Additionally, I want to change the color ...
DeltaTroz's user avatar
0 votes
0 answers
11 views

Options Tickers from Tradingview

Accessing https://scanner.tradingview.com/futures/scan results in a healthy dump of information. {"totalCount":75427,"data":[{"s":"NSE:BSOFTU2024","d":...
marital_weeping's user avatar
0 votes
0 answers
13 views

How to compare two strategies in one pine script v5

I have a script for a buy/sell strategy with data output. This is done for one MA. It is working fine and gives the desired data. However, since I'm on the basic plan, I cannot have many indicators/...
Celly's user avatar
  • 325
0 votes
0 answers
14 views

pine script strategy.exit() stop not working on a live chart

On historical bars the stop works fine but on a live chart the stop doesnt work correctly. If the stop level is met it will close on bar close. The take profit exits at the correct limit price, but ...
Jesse's user avatar
  • 1
0 votes
0 answers
13 views

Get the closing price of the higher timeframe

I'm creating an indicator for 1D and lower timeframes, but need to get the closing price of the higher timeframes (weekly candles or monthly candles). When I need to get the highest closing price of ...
NqHai's user avatar
  • 67
0 votes
0 answers
14 views

Retrieve Quarter/time from pine script request.financial()

I want to create a table with last 5-8 quarter financial data of a script and plot them as a table on the charts. I'm able to retrieve the financial data using the request.financial() method, but how ...
Om Prakash Das's user avatar
0 votes
1 answer
22 views

How to add start and end date in following pine script for back testing in trading view

I am totally new to pine script. i am totally unaware of how to do any changes in it. I have taken this strategy from trading view which i want to backtest. which is working fine but the only problem ...
mona's user avatar
  • 71
0 votes
1 answer
32 views

How to add prefix before value in the status line of chart(PINE script)

can't add prefix here below is my code // This Pine Script™ code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © Bao1984 //@version=5 indicator("...
Genshinn1999's user avatar
0 votes
0 answers
15 views

pine script issue historical result does not meet real time

I created a script that has an 80% success rate in deep backtesting on a 5-minute timeframe. This can be seen in the list of trades. However, after adding an alert, I've noticed that over the past 2 ...
rock kreeper's user avatar
0 votes
1 answer
38 views

need to remove repaint logic of trading view indicator

i am using below indicator in trading view Indicator name: Higher Timeframe High & Low [ChartPrime] currently this indicator repaint the signals(remove the signal), if signal candle high/low is ...
Hunny Hkr's user avatar
0 votes
0 answers
22 views

Trading View connect to custom api

Is it possible use Pine script for fetch data from my api for tokens in my dex ? As I understand http call not possible in script, so in theory I should update CSV files for each token then somehow ...
Руслан Миров's user avatar

15 30 50 per page
1
2 3 4 5
102