Download MetaTrader 5

Unbalanced parenthesis

To add comments, please log in or register
Orann
8
Orann  

Have an unbalance here somewhere,

 

 {   
         
            if (Order == SIGNAL_CLOSEBUY && (EachTickMode && !TickCheck)) && (!EachTickMode && (Bars!== BarCount) 

               OrderClose(OrderTicket(), OrderLots(), Bid, Slippage, MediumSeaGreen);

                + DoubleToStr(Bid, Digits) +
               
            if (!EachTickMode) BarCount = Bars;

               IsTrade == False;

        )

            }
                  }

              }

          }
Keith Watford
Moderator
9641
Keith Watford  
         
            if (Order == SIGNAL_CLOSEBUY && (EachTickMode && !TickCheck)) && (!EachTickMode && (Bars!== BarCount)) 

               OrderClose(OrderTicket(), OrderLots(), Bid, Slippage, MediumSeaGreen);

                + DoubleToStr(Bid, Digits) +
               
            if (!EachTickMode) BarCount = Bars;

               IsTrade == False;

        )

You need to add the extra ")" highlighted first and remove the 2nd highlighted

I believe that I have asked you before, what is this supposed to do?


                + DoubleToStr(Bid, Digits) +
To add comments, please log in or register