Mutiple trades by EA

 
How can I modify an EA code to open multiple trade upon a signal change ?

E.g. two 1 lots instead of one 2 lots.
 

The OrderSend() function creates the buy order.

Send two orders with half the current volume (number of lots) instead of one.

Reason: