Forum

Help close positions

Hi guys, beginner here new to making EA's. Time to put my pride aside and ask for help, I cant figure this one out. I want to close any opened buy positions when a sell condition is met, and close any opened sell positions when a buy condition is met. Here's the code! And much appreciated in

MQL5 open 4 positions per trade

Hey guys, I'm quite new to MQL5 so this might be a noob question. When I get my entry signal I want to open 4 positions, each with the same Stop loss but but different Take profits. So I guess my question is how to I open 4 positions and how do I set each position with its own take profit level