Testing not replicating a simple EA
-
In reviewing my EA in the tester, I found that pending orders and trades were being created in the wrong area and at wrong levels.
I have assumed the tester is incorrect as it is a simple EA.
Has anyone else had a similar problem, or can advise of a more accurate way of testing
https://fxdreema.com/shared/7qqpsax8

-
Could you please specify what strategy is the EA supposed to do? On the other hand,, is the calculation on the formula block supposed to happen before the rest of conditions? If so, you should lower its ID number because now it's happening always after the rest of conditions.
Additionally, why do you need a variable on the formula block that you don't use anywhere else?
-
I just took everything out in re, to review the output before proceeding. ie where were the pending trades being positioned.
I note I put the bar numbers around the wrong way.
-
@sli1-0
You didn't read well the description of candle ID's parameters, - candle ID 1 means : the previous candle- candle ID 2 : means the second previous one, so the one before the ID 1 You should reverse the numbers.
About "once per bar" block i have no idea how this think really works, i have some problems everytime i use it too.
- candle ID 2 : means the second previous one, so the one before the ID 1 You should reverse the numbers.
-
any ideas on how to move forward to resolve?
-
Maybe more info on your current project would help. Did you make any changes?