RUPA & COMPANY LTD
Long

Anil chandeos

56
//version=4
study("Chande Momentum Oscillator (CMO)", overlay=true)

length = input(10, minval=1)

// Calculate CMO
cmo = cmo(close, length)

// Plot CMO
plot(cmo, color=orange, linewidth=2, title="CMO")

// Buy Signal
buy = cmo > 25
plotshape(buy, style=shape.arrowup, location=location.belowbar, color=green, title="Buy")

// Sell Signal
sell = cmo < -25
plotshape(sell, style=shape.arrowdown, location=location.abovebar, color=red, title="Sell")

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.