Download MetaTrader 5
To add comments, please log in or register
All activity of the MQL5.community members is displayed on a single page!
Orann
8
Orann 2016.02.17 01: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;

        )

            }
                  }

              }

          }
Keith Watford
Moderator
7990
Keith Watford 2016.02.17 01: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) +
/
To add comments, please log in or register