Read candlesticks from two different currency pair

 

Can anyone point me to some code that shows how to "grab" candlestik informations and compare two candles on two different currency pair?

Here is what is want to do.

Let say i have a candle @ 10:00am on the GBPUSD. I want to be able to read the high, low, open & close on that candle at that currency pair and at the same time i want to read the informations for the same candle on the EURUSD pair still @ 10:00am

How can i do that?

I'll appreciate all input. Thanks!

 

iOpen("EURUSD".....

iOpen("GBPUSD"....

same with iClose, iLow and iHigh

 

Thanks! That was fast :)

Please forget my question. I can see it's pretty good explain in here if i searching for iOpen

Thanks for your help!

 
Open[].. works only for the current chart. if you wnat to access informations from other timeframes/symbols you need to call a funtions. Since Open is already in use, i assue they named it iOpen. Same of course with Volume/High/Low/Open/Close
 
zzuegg:
Open[].. works only for the current chart. if you wnat to access informations from other timeframes/symbols you need to call a funtions. Since Open is already in use, i assue they named it iOpen. Same of course with Volume/High/Low/Open/Close

ok thanks for the explanation.