please help

 

hi

in my EA that use for eur/usd chart i need for example a data from gbp/usd chart like (iopen("gbpusd",period_h1,0) when wrote this order in if() operator can not execute that but when use in operation print() excution of that is ok.

an unteresting that after compiling the error is zero but the execution in if() operation is not work!!!!!!why?

thanks

 
aminkam:

hi

in my EA that use for eur/usd chart i need for example a data from gbp/usd chart like (iopen("gbpusd",period_h1,0) when wrote this order in if() operator can not execute that but when use in operation print() excution of that is ok.

an unteresting that after compiling the error is zero but the execution in if() operation is not work!!!!!!why?

thanks

Can you show your code?

 
robofx.org wrote >>

Can you show your code?

hi

my problem is solved

thanks for your attention

Reason: