No need for a GV. You can get this information directly. Just use iOpen(otherSymbol, otherTimeframe, index)
But remember that if this symbol and timeframe are not already open in a chart then MT may not have the data available and you might need to loop around again until the data is there.
No need for a GV. You can get this information directly. Just use iOpen(otherSymbol, otherTimeframe, index)
But remember that if this symbol and timeframe are not already open in a chart then MT may not have the data available and you might need to loop around again until the data is there.
thank u so much
but do u know how can i do some thing if my symbol is special symbol, i wrote this but it gives me error like undeclared identifer
if(AUDNZD== Symbol())
but do u know how can i do some thing if my symbol is special symbol, i wrote this but it gives me error like undeclared identifer
if(AUDNZD== Symbol())
Of course it does, you have not declared a variable and named it AUDUSD.
Symbol() is a string.
Maybe you mean
if("AUDNZD"== Symbol())
Of course it does, you have not declared a variable and named it AUDUSD.
Symbol() is a string.
Maybe you mean
oohhhhh thank u so much
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
hi guys
how can i use other charts h1 open price in my expert? i guess i should use terminal global variable if yes, how i should set it?