Is it possible to use price data of different time frames in an EA?

 

Hi, MQL experts:


I would like to implement my trading algorithms in one EA with the price data of different time fames, say H1 and M30.

Is it possible to do that? (I only knew that an EA can apply to one chart with its price data of single time frame, but I don't know if it's possible to simutaneously read price data of difference time frames.)

Thanks for your help.


Claude.

 
claude:

Hi, MQL experts:


I would like to implement my trading algorithms in one EA with the price data of different time fames, say H1 and M30.

Is it possible to do that? (I only knew that an EA can apply to one chart with its price data of single time frame, but I don't know if it's possible to simutaneously read price data of difference time frames.)

Thanks for your help.


Claude.

Ha...I found out the answer by myself... :-P

Here it is:

https://docs.mql4.com/series


Claude.

 

pretty cool huh?

MQL4 has it all [generally] - just problem of digging deep enough..


Congratulations Claude

:o)