WebTradingView has designed their own scripting language called Pine Script. It allows users to create custom indicators and run them on their servers. Pine was designed as a lightweight language focused on the specific task of developing indicators and strategies. Most of TradingView’s built-in indicators have been coded in Pine. The ‘end of line without continuation’error message sounds a bit cryptic and abstract. But luckily solving the error is easier than its name suggests: 1. Read the … See more Whitespace is an important feature in TradingView. With Enter, Tab, and Space we not only format how our code looks like, but also which statements belong … See more Indentation and whitespace are a serious matter in TradingView. Tab and Space not only format how our code looks, but also which lines are considered part of … See more
How to fix TradingView’s no viable alternative error? · Kodify
WebNov 18, 2024 · The ‘end of line without continuation’ error happens when there’s an indentation mistake in the TradingView Pine code. Looking at your code (and assuming copying it into StackOverflow went right), there is indeed an indentation problem: val (s) => if s != s [1] a = s-s [1] if s = s [1] a a There are two indentation problems in this WebJan 19, 2024 · In pine script, a loop can return a value at the end just like a function ( a tutorial on pine script functions is here) and that value is stored in var_declarationX. for counter = from_num to to_num This is where the main magic happens. for, = and to are the key bits you need to remember. The rest you are free to change. tradewings solutions app
Line wrapping — Pine Script User Manual 4 …
WebNov 12, 2024 · 72 Jul 15, 2024 Some time ago I published an example of simple custom screener in PineScript: The only thing this screener did is created a dynamic label with screener output. Recently TradingView announced alerts from the strategy with the possibility to add custom messages to alerts. WebNov 15, 2024 · Pine script fix error end of line without continuation : r/TradingView Posted by Kf4646 Pine script fix error end of line without continuation Can someone please help … tradewings solutions