Is it because of strategy tester inconsistencies??
-
My system should exit there where 2 red lines drawn. I have a loop which says It should exit partially based on ATR and move stop loss to break even. It does that on other trades except this one.
I have a program without the loop and it exits based on ATR where it should, but the one with the loop doesnt.Im wondering is the loop wrong or just something out of my control.
Here is the system.
https://fxdreema.com/shared/3qv9ocVbd

-
Exceptionally, I recommend you to use candle ID 0 in blocks 23 and 24. That should fix the problem.
-
@l-andorrà but i want to close trades only when the candle has closed completely. Changing it to ID 0 makes it different, doesnt it?
-
@alfredinho50 Changing to candle ID 0 mean that is the crossing is happening right now, the condition will be true and then maybe the result is closer to what you want. If you are looking for a complete closed candle then hold it on candle ID 1.
-
Noted @l-andorrà