Reputation: 25
I got TradingView's 'end of line without continuation' error with Pine Script for this line:
How to fix that error with this function code? anybody can help me?
Upvotes: 0
Views: 182
Reputation: 21121
When you want to have multi line statements, your next line should begin with one or several (different from multiple of 4) spaces. Source
From what I can see from your screenshot, your lines start with multiples of 4 spaces on line 24 and 25. And this is why you shouldn't post your code as a screenshot.
Upvotes: 1