Ea lot size problems

 

Hello, please I have a problem with my ea, being that when the ea opens for example

buy orders, lots increment from 1,2,3,4,5,6 etc and buy is not closed, however if there is a sell order, instead of the ea

starting the sell order lots from 1,2,3,4,5 etc it continues from where the buy order have reached, that is starts from 7,8,9,10 etc.

Is there a way to correct this maybe have a separate buy lot and sell lot. I dont like maringale system.

Any help please.

Thanks

Fred

 

If you didn't code the EA by yourself: please consult the person who did. If it's your own code: we can only help if you share the code that causes the issue (=how the lot size is calculated).

 
Chris70:

If you didn't code the EA by yourself: please consult the person who did. If it's your own code: we can only help if you share the code that causes the issue (=how the lot size is calculated).

Thanks Chris70, the developer is struggling but still working on it.

Reason: