Download MetaTrader 5

how to do check the current chart symbol....

To add comments, please log in or register
turtle1000
128
turtle1000  

I was hoping someone would know how to check the current chart symbol....for the example below

i have tested a couple of variations... such as...

if( Symbol()==CADCHF) {gur=gur+1;}

thanks in advance.... 

Keith Watford
Moderator
9643
Keith Watford  
Symbol name is a string so don't check for CADCHF, check for "CADCHF" or whatever your broker uses
turtle1000
128
turtle1000  
ok...thanks....
To add comments, please log in or register