About Opening Multiple Position at same time and closing it on diffrent prices in EA

 
Respected members,

I am new to the MQL and trying to write a small EA based on 1-2-3 breakout system I request you to help me for a problem.

I want to open 3 different buy or sell positions on the breakout in same chart but first lot I want to close at 10 pips, second at the calculated objective ( 2-1+3) and third position when the reversal signal happens on opposite side.

May I please request the programmers around here to give me a code example for this function?

Thanks and regards

Madhusoodan
Reason: