Managing multiple open positions

 
Can anyone please show the method or code to open and multiple open positions and to manage them.
 
siddeshsd:
Can anyone please show the method or code to open and multiple open positions and to manage them.

Allowed only one position for a symbol.

PS

Example of the work with several positions can be found in article - A Virtual Order Manager to track orders within the position-centric MT5 environment

Reason: