only place trade on corect chart

To add comments, please log in or register
SirFency
173
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.


      if(Symbol == EURGBP && GBP_Band > EUR_Band && GbpEurDiff > gap && previousK < previousD && currentK > currentD && currentD < 20)
        {
        EnterTrade(OP_BUY);
        }
Mohamad Zulhairi Baba
16377
Mohamad Zulhairi Baba  
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

To add comments, please log in or register