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

 

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.... 

 
Symbol name is a string so don't check for CADCHF, check for "CADCHF" or whatever your broker uses
 
ok...thanks....
Reason: