Download MetaTrader 5

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

To add comments, please log in or register
Having questions? Ask them on the Forum - traders will help you!
turtle1000
169
turtle1000 2015.11.12 11:39 

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
9596
Keith Watford 2015.11.12 11:49  
Symbol name is a string so don't check for CADCHF, check for "CADCHF" or whatever your broker uses
turtle1000
169
turtle1000 2015.11.12 14:21  
ok...thanks....
To add comments, please log in or register