// Uzun giriş
if (longEntry and canOpenLong)
strategy.close("Short")
strategy.entry("Long", strategy.long)
canOpenLong := false
canOpenShort := true
// Kısa giriş
if (shortEntry and canOpenShort)
strategy.close("Long")
strategy.entry("Short", strategy.short)
canOpenShort := false
canOpenLong := true
long closing and short signals come at the same time, Binance is making one of them. how do i fix it
New contributor
Atakan Emre is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.