if (Order == SIGNAL_CLOSEBUY && ((EachTickMode && !TickCheck) && (!EachTickMode && (Bars!== BarCount))
You don't need all those brackets
if (Order == SIGNAL_CLOSEBUY && EachTickMode && !TickCheck && !EachTickMode && Bars!== BarCount)
+ DoubleToStr(Bid, Digits) +
What is this supposed to do?
if (!EachTickMode) BarCount = Bars; IsTrade == False;
Did you mean this or
if (!EachTickMode) { BarCount = Bars; IsTrade == False; }
?
continue;
continue what?
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hello, I've read a few posts about unbalanced parenthesis, but trying to apply it to my error didn't work!
This is my code
if (Order == SIGNAL_CLOSEBUY && ((EachTickMode && !TickCheck) && (!EachTickMode && (Bars!== BarCount))
OrderClose(OrderTicket(), OrderLots(), Bid, Slippage, MediumSeaGreen);
+ DoubleToStr(Bid, Digits) +
if (!EachTickMode) BarCount = Bars;
IsTrade == False;
))
continue;
}
}
}
}
}