OPEN-SOURCE SCRIPT

EMA 22 & EMA 55

94
//version=5
indicator("EMA 22 & EMA 55", overlay=true)

// Define EMA periods
ema22 = ta.ema(close, 22)
ema55 = ta.ema(close, 55)

// Plot EMAs
plot(ema22, title="EMA 22", color=color.blue, linewidth=2)
plot(ema55, title="EMA 55", color=color.red, 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.