Download MetaTrader 5

Non-standard Chart Time-frames

To add comments, please log in or register
jamesh99
52
jamesh99  

Hi

Is it possible within MQL4/5 to use a chart time-frame other than the default ones?

For example if I wished to calculated an MACD using a 30-second time-frame?

Many thanks,

James 

Ex Ovo Omnia
3315
Ex Ovo Omnia  
jamesh99:

Hi

Is it possible within MQL4/5 to use a chart time-frame other than the default ones?

For example if I wished to calculated an MACD using a 30-second time-frame?

Many thanks,

James 

With MT4 it is possible, and as far as I understand, the ability of custom charting is going to become a part of the MT5 later this year.
jamesh99
52
jamesh99  

OK. So how in MT4?

In the chart withing the GUI there is a fixed list of time-frames none of which is between tick and 1 minute.

In code the ENUM_TIMEFRAMES syntax doesn't support a time-frame other than those pre-defined. 

 

Thanks,

James 

To add comments, please log in or register