Final back test differs from Visual mode
-
Hi, Im hoping someone can give me some insight as to why this anomaly is occurring and how I can fix it.
So the issue is that if i run an EA and open the chart once the backtest is complete I am seeing trades being taken where there is no signal. see below

so there is no signal to trade once you open the chart after the test is run.
However when you run the test in visual mode, you see the signals, and then the trades are taken, as per the EA in fxdreema, see below.

So my question is what am I doing wrong? I have this across practically all my 2 line cross indicators. so I'm thinking that it is not the indicators because they cant all repaint.
So is there something wrong with my EA creation?
Shared link to the builder here.
https://fxdreema.com/shared/1it0EXUqdAny help is very much appreciated team!
Thanks in Advance
-
@t-fah from the pictures, you can clearly see that the same indicator gives different values for the same day. It repaints.
-
@roar this indicator is the bulls vs bears which im confident doesnt repaint. I have tried it on the indicators made by Mr tools in forex station. and i am seeing the same issue with visual mode etc. So i am thinking its not the indicators. so im thinking its an EA issue
-
@t-fah if it doesnt repaint, how do you explain the different readings? In one picture they cross, in other they dont.
-
@roar if you see the candles, they are different... so its not an EA or indicator issue, but an MT4 issue right??? So in visual mode and when the trades are being taken, the EA has different candles to trade off, then when you run a second backtest non visual, and open chart after to review trades it is showing a different set of candles. so its an Mt4 issue?
as you can probably tell been looking at this for a couple of days and I'm losing my mind a little.
-
@t-fah Yeah, seems there is some variation in the data.
-
https://fxdreema.com/shared/xoHl1XZP
Hello, I notice that you are using the condition of crossing above x>, I already had a problem with this crossing above for several indicators that use lines because many times it does cross but is not above, it does not remain above.
Perhaps it would be better to use the condition> than to use condition x>
Try to see if this project that I sent help, otherwise we can try other things.