OPEN-SOURCE SCRIPT

stock whisperer

52
sdfasow, why your line.new failed:

If Pine isn’t exactly v5, TradingView treats line like it doesn’t exist and throws “undeclared identifier”. That’s what you saw.

If you still want the fancy extending lines instead of plots, I can give you a version that forces Pine v5. But this one already does what you asked:

Shows the levels on top of candles, not in a lower pane.

Copy. Paste. Add. Done.

If it still breaks, the issue is your TradingView editor, not the code.

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.