I am new to Ninjascript. I was trying to create an indicator with below condition.
- If 13 Period SMA of OBV is greater than 50 period SMA of OBV, plot a green arrow below the price candle.
- If 13 Period SMA of OBV is less than 50 period SMA of OBV, plot a red arrow above the price candle.
I have attached my code to this thread. No arrows are being plotted however. Can someone please help me out?
Thanks,
Deepak
Comment