Sounds like you need to count the number of matching Brackets. There are online tools which can help with this if you search google otherwise you'll need to count.
- Use SRC
- I use notepad2 with matching () {} highlighting, jump to matching, etc.
- All code after a return is unreachable. Missing bracket?
// no opened orders identified if(AccountFreeMargin()<(1000*Lots)) { Print("We have no money. Free Margin = ", AccountFreeMargin()); return(0); // check for long position (BUY) possibility if(MacdCurrent<0 && MacdCurrent>SignalCurrent ...

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
Hi I am trying to put a stoploss this EA, but I can not.
Anyone know how do I fix the error '\ end_of_program' - ending bracket '}' expectedto terminate the program. //+------------------------------------------------------------------+