only place trade on corect chart

 

If I want to place a trade only if its on the correct chart how would I achieve that. This is what I have now but I feel like this is the wrong syntax.


      if(Symbol == EURGBP && GBP_Band > EUR_Band && GbpEurDiff > gap && previousK < previousD && currentK > currentD && currentD < 20)
        {
        EnterTrade(OP_BUY);
        }
 
SirFency:

If I want to place a trade only if its on the correct chart how would I achieve that. This is what I have now but I feel like this is the wrong syntax.


specify the Symbol in OrderSend

Reason: