I still have a problem as outlined in my original post above. Spread events can sometimes run well into the first hour of trading after rollover. The EA may give a signal but it won't take the trade while there is spread event happening. This is all good but it can lead to "missed" trades because I find the trade isn't taken when the spread event finishes. Missing trades on D1 TF is not good because trades are so few and far between.dclayw » Mon May 01, 2017 8:50 am wrote:By definition, with D1 testing you only get one shot at a trade per day, so it's important not to miss it. I find that quite often even though a trade signal is given the trade is not taken because of a spread event at the start of the trading day. I was expecting the trade to be taken once the spread went back to normal, but that's not what happens.
I will do more testing but will this problem be fixed if I set EveryTickMode=true. It would seem that setting is much more important on the higher TFs. How are people using this setting on various TFs.
Seems to happen on lower TFs too but is less of an issue there.
Edit: EveryTickeMode=true fixed my problem by the way.
The problem can be "fixed" by setting EveryTickMode=true. This forces the trade to be taken when the spread event finishes. But if that trade is stopped out on the same day the EA just opens the trade again as soon as it's closed. It does this because EveryTickMode is true.
Can anyone suggest a way around this problem. I could turn off spread checking altogether but that's a not a good idea. Basically I don't want to miss any trades but I only want one trade per pair per trading TF.