Question on access to other timeframe

To add comments, please log in or register
Iggy
474
Iggy  

I have an interesting technical question.

When I have an EA on say H1 timeframe and it checks on data on M1 timeframe, and let's say M1 timeframe was not referenced recently on chart so that M1 data is not loaded up to date.

Question is : will M1 data be updated when referenced in the EA without M1 chart active?

Slava
Moderator
13448
Slava  
Iggy
474
Iggy  

Excellent!!! Thank you Stringo.

I understand it is enough to issue ArrayCopySeries(.. MODE_TIME ..) for all values of the timefamre to be loaded.

In other words there is no need to copy high,low, open, close, etc. separately into EA. Then regular iLow, iHigh functions can be used to access them.

Slava
Moderator
13448
Slava  
irusoh1:

In other words there is no need to copy high,low, open, close, etc. separately into EA. Then regular iLow, iHigh functions can be used to access them.


Yes
To add comments, please log in or register