Unbalanced parenthesis

Back to topics list To post a new topic, please log in or register
avatar
2
ocoyle55 2016.02.17 02:14
 

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;

        )

            }
                  }

              }

          }
avatar
Moderator
3427
GumRai 2016.02.17 02:24 #
 
         
            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) +
Back to topics list  

To add comments, please log in or register