I want to exit my trade in the close of the next candle .
what condition should i use?
for entry I used - close(0)
then what should be just next candle.
Next candle to what? the entry candle?
You have to elaborate
yes the entry candle
You can write this in the Exit condition
Close(0) higher than 0
1 Like
is this the same code for entry at the next candle open?
“Close(0) higher than 0”
Yes. this will give you a trigger after the current candle closes and in backtest the entry will be triggered at the open price of the next candle.