Download MetaTrader 5

Tick Data with 99% modeling quality & A MQL Code Snippet

To add comments, please log in or register
Winsor Hoang
5061
Winsor Hoang  

I ran across a website that mention about a MQL code snippet, which will enable you to correctly backtest your strategy on price based charts. Does anyone have more info on this? 

 

#include <CustomChartingBacktest.mqh>

and at the very top of the void OnTick() function add the following function call:

if(skipFirstTickOnBacktest()) return; 

To add comments, please log in or register