//@version=5
strategy("50 EMA and 200 EMA Crossover Strategy", overlay=true)
// Inputs for EMAs
emaShortLength = input(50, title="Short EMA Length")
emaLongLength = input(200, title="Long EMA Length")
// Calculate EMAs
emaShort = ta.ema(close, emaShortLength)
emaLong = ta.ema(close, emaLongLength)
// Plot EMAs
plot(emaShort, color=color.blue, linewidth=2,...
//@version=5
strategy("50 EMA and 200 EMA Crossover Strategy", overlay=true)
// Inputs for EMAs
emaShortLength = input(50, title="Short EMA Length")
emaLongLength = input(200, title="Long EMA Length")
// Calculate EMAs
emaShort = ta.ema(close, emaShortLength)
emaLong = ta.ema(close, emaLongLength)
// Plot EMAs
plot(emaShort, color=color.blue, linewidth=2,...