« first day (786 days earlier)      last day (1858 days later) » 

6:15 AM
0
Q: Tradeview: pinescript error: expecting 'end of line without line continuation'

PradeepI am getting below error when compiling below code in tradeview. Basically i am trying to use EMA/SMA string to calculate MACD. line 20: mismatched input 'ema' expecting 'end of line without line continuation' Can someone let me know what am i missing here. Is there any better way to code this...

 

« first day (786 days earlier)      last day (1858 days later) »