Is it possible to check Open>Close on multiple pairs?

 

Hello,

 

Is it possible to check  if(Open[1]>Close[1]) on multiple pairs of EUR/USD, USD/JPY and GBP/USD, and if true, open a trade with GBP/JPY?

could u help me with a link to figure out how to do it if its possible?

 

Thanks 

 
Leopardos:

Hello,

 Is it possible to check  if(Open[1]>Close[1]) on multiple pairs of EUR/USD, USD/JPY and GBP/USD, and if true, open a trade with GBP/JPY?

could u help me with a link to figure out how to do it if its possible?

It is possible and very easy . .   instead of using Open[] and Close[] you need to use iOpen() and iClose()   . . .  please read the Documentation
Reason: