referencing other instruments

 

If I had an EA attached to a GBPUSD chart and I want reference the high and low of other instruments 10 periods back (i.e Low[10]) how am I am to do this? Low[10] just gives me low of current symbol and

MarketInfo(EURUSD,MODE_LOW) just gives me the low of current bar of EURUSD. I would like to retrieve Low[10] for EURUSD while the EA is attached to GBPUSD.

 

iLow . . . iLow( string symbol, int timeframe, int shift)


variable = iLow("EURUSD", 0, 10);

https://docs.mql4.com/series/iLow

 
RaptorUK:

iLow . . . iLow( string symbol, int timeframe, int shift)


https://docs.mql4.com/series/iLow


Thanks a lot
Reason: