HELP! My EA is exiting a trade on the next candle every time
-
.The constant for candle ID is always "1" so it should check the previously closed candles for its conditions. My EA should have 2 exits conditions, check if candle ID1 close price was above or below baseline indicator, or, check if the buy/sell buffer of SSL indicator was above the other one - depending on direction of trade. Neither of these exits occurs but my EA exits the trade the very next candle regardless of what conditions were met, any idea how i can further diagnose this?
-
@gibb0789 Can you please share the link instead? That would help more than an image.
-
Shared code: https://fxdreema.com/shared/wnUEoACgd
I've removed the baseline exit, and it still exits next candle, i also re-entered the blocks for exit conditions and it still exits next candle, no idea what's causing it -
@gibb0789 Substotute blocks 2 and 3 by two 'For each trade' blocks in parallel below block 1: one for buys and the one for sells.
I also recommend to change number ID for blocks 1 and 100. Just swap them so that the forst to be executed is the launching conditions not the closing ones.