Download MetaTrader 5

Non-standard Chart Time-frames

To add comments, please log in or register
Join MQL5 Cloud Network. Start earning money!
jamesh99
50
jamesh99 2016.04.27 14:43 

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
3121
Ex Ovo Omnia 2016.04.27 16:28  
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
50
jamesh99 2016.04.28 16:33  

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