TradingView
vitvlkv
24. Jul. 2015 09:15

Advance Decline Ratio (Custom) 

Apple Inc.NASDAQ

Beschreibung

Built-in indicator ADR shows only NYSE data. This script allows you select the exchange to use.
Kommentare
hillab
Hi

thank you. I copied your scrip and obtained the following error message:-

Processing script...
line 6: syntax error at input 'end of line without line continuation'
Script 'My ADR(vitvlkv)' has been saved
Script text is not modified, nothing to save

Code was:-
suffix = exch == 1 ? "N" : (This is line 6 - as per your script)

fyi, I tried compiling with versions 3 and 4 - same error

I would appreciate your advise. Kind Regards.
jasongrig
for the setting "close", what does this plot for the current day while the market is open? Does it take live values during the trading hours or only prints a new value after the close?
RehankhanBaloch
Good
ColdAvenue
It would be nice, if it had a Moving Average, too. I am not very familiar to pinescript. Nontheless great indicator.
Mehr