Increase lotsize if new order opened

 
Hello guys, I want to ask how to do to let the ea increase the lotsize every time when a new order gets open ? Greetings 
 
Faat94: how to do to let the ea increase the lotsize every time when a new order gets open ?
You code it so it does that.
double lotsize = 0.01; // Global or static
:
OnTick(){
   int ticket = OrderSend(...)
   if(ticket < 0) Alert(...)
   else lotsize += 0.01; // Increase for next open.
}
Was that so hard?
 
Thanks for trying to help me but it doesent work. My idea was that every time when the ea places an order the lotsize has to grow. For example : Multiplikator : 2  First order : 0.01 , Second Order : 0.02 , Third Order : 0.04 ..
 
You don't want to do that type of lots increments since there are limits you can go for the lots and to be honest, it is not in your favor. It is especially dangerous when there are sudden movements and you could loss many pips.
Reason: