Grid EA - Lot Calculation Code MT5

 

Hello!

I have been searching really everywhere but I was not able to find what I was looking for. So I would appreciate your help!

I have got an EA based on grid strategy. But it works only with martingale. I would like to change the code and make it add lots by one (0.01, 0.02, 0.03 etc.). Could somebody help me with a code for this? I am a newbie in metaeditor and I don´t know what to do.

Thank you!