Hello Jim
by using button SRC and pasting all your code their or Attach file: you most likely will get meaningful help
Best

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
I know nothing about writing code, but I piece mealed my way through writing my EA. I have one problem, my broker allows hedging, My system needs to open 1 stop order Buy above and one sell stop below the market but only seems to place one side. I think the error is here:
-----> if(Ticket > 0) {
Does this line stop another order from opening?
By the way the
Order = SIGNAL_BUY;
and
Order = SIGNAL_SELL;
Have the same criteria
Any help would help.
Jim