Backtesting irregularities

 

Hi All,

I am running a simple EA that executes trades whenever the close price of the current bar is near a certain level. So for example, if the price is 1.5000, and I have a 4 point boundary, the model will trade when the price is between 1.4996 and 1.5004. I m running the EA using open prices only. When reviewing trades on visual mode, there are instances where the price closes on the boundary and executes a trade, and there are other instances where it closes at the same price and does not do a trade. So I have 2 questions:

1. Are there any known issues with visual mode, or with using the open prices only option? I have selected this option as I only want to evaluate and trade every 5 minutes (I am running the EA on M5 data)

2  Should the trades on visual mode exactly match those seen in the Journal or the results tab?

 
  1. Live is not open prices only. Modify your EA to only check the first tick of a new bar and eliminate any possible problem.
  2. yes
  3. Can price != price ? - MQL4 forum
Reason: