Forum

HELP!!!! EA Doesn't Close Any Trades!!!! What's Wrong With My Code????

Help coders, my EA has no trouble opening trades but doesn't close any. I suspect the trouble is in my OrderSelect loop but i can't figure out what's wrong. HELP!!!! //+------------------------------------------------------------------+ //| Signal Begin(Exit Buy)

Problem Closing Single Trade

Hi all, I am having trouble with my EA closing single trade positions. If I have more than 1 trade open the EA works just fine and closes trades when a close signal is generated. However, if there is only 1 trade open, the EA does not close the trade no matter how many times the close signal is

Need Help In Coding 1 Buy, 1 Sell (So Close But Yet Still So Far)

Hello coders, I am still relatively new to coding and I am writing an EA that does pretty much what i want it to. It opens trades when I want it to, it closes them when I want it to, etc. However, I have run into a wall. I want the EA to have a maximum of 2 open orders at any given time. If there is