Backtesting issue

nicknamed

Newbie
Messages
1
Likes
0
Is it possible to run backtest exactly through whole bars and not only for open? In case of open prices it generates in OHLC the open price for HLC too thus in OHLC there are four open prices. That is logic from the name but I need MT to go through all bar values. If I run it on every tick on minute data, it internally generates values for the bar like every 10 seconds. How may I switch this off. Looks like what I need for backtest is something between every tick and open prices. I am rewriting one script from one language to metatrader and need to compare it on something that is comparable.
Thanx for any info
N.
 
Hi,

Every tick simulation method is misunderstanding, because MetaTrader doesn't store every tick, its simply interpolate values between two 1-minute bars.

I don't know how to switch it off, but you can filter them by checking bars time, for example skip every bar with second number greater then zero and should be fine ...

Cheers,
Příbuzný
 
Top