why different the result of "open price only" and "every tick" at the Strategy tester ?

 

Why different the result of "open price only" and "every tick" at the Strategy tester ?

At the Strategy tester,

the result of back test is different at the following cases.

"Every tick(the most precise method based on all available least timeframes to generate each tick

"Open prices only(fastest method to analyze the bar just completed, only for EAs that explicitly control bar opening .

When I use the "Open prices only .. ", Is it wrong to use the following code ?

macdHistCurrent = iMACD(NULL, 0, 12, 26, 9, PRICE_CLOSE, MODE_MAIN, 0);

----------------

PRICE_CLOSE <= I think that it use the only close price.

and.. what case is the same with real trading ? Every tick ?

 

it is different in most time.In a single bar,there are a lot of ticks in real market or tick by tick backtest mode, so that when you use open only mode, it only consider one value at starting a new bar and ignore the rest ticks. that is why the result could be much different. it is hard to say how these two mode can get same result.

Reason: