debugging, how to set default period

 

Hi,

I want to debug using a certain period (ex. M5) however, the chart opens up using H1 period by default. Is there a way to change the period when debugging. I tried Debug.tpl but it only loads the chart objects and indicators I require but not the time frame.

Cheers. 

Documentation on MQL5: Standard Constants, Enumerations and Structures / Objects Constants / Object Types
  • www.mql5.com
Standard Constants, Enumerations and Structures / Objects Constants / Object Types - Documentation on MQL5
 

See Debugging in the MetaEditor Help:

Presetting

Before you start the program debugging, it's necessary to check its parameters in the "Debugging" tab of the MetaEditor options window. In this window you can specify a symbol and a chart period, in which the debugging of applications will be performed. Such a chart will be temporarily created each time when debugging is started, and it will be deleted after the debugging completion.

The "debug.tpl" template located in the /profiles/templates folder of the client terminal is applied to a chart created for debu

Reason: