Forum

Multicurrenncy Expert Advisor

Hi, I wrote an Expert Advisor dealing with multicurrenncy (one pair chart is open, and others-we call it "foreign" pairs- are not open). When referring to any "foreign" pairs to get for example the High of the last closed candle (shift=1) in M15 chart like: double lastHigh = iHigh ( "GBPUSD" , 15

iHigh from other pairs

Hi, I am simply using iHigh() and iLow() to get information from other pairs iHigh(Currency[i], 15, 1)-iLow(Currency[i], 15, 1); where Currency[i] is array of defined currencies and I am accessing them one by one using loop, 15 is the time frame, and 1 is the last closed candle. These pairs are