// -----------------------------------------
//
study(title = "Elliot Wave Oscillator ", shorttitle="EWO_LN")
s2=sma(close, 5) - sma(close, 34) // 5/34 and not 5/35 as published above.
c_color=s2 <= 0 ? red : lime
plot(s2, color=c_color, style=histogram, linewidth=2)
Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.