I’m new to creating a script.I have a very simple code for a large number of ongoing purchases. The buy signal goes to bybit, but the deal does not open.
//@version=5
strategy("MS", overlay=true, pyramiding = 1000)
ema8 = ta.ema(close, 10)
ema16 = ta.ema(close, 20)
longCondition = ta.crossover(ema8, ema16)
if (longCondition)
strategy.entry("BUY", strategy.long)
plot(ema8, color = color.green)
plot(ema16, color = color.red)
New contributor
Serj is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.