Is there a way to add a dynamic increase lot size
-
Hello all. Currently, the Ea is taking trades. Fairly good trades on the backtest. I have a system where on the backtests it adds 0.10 lots to volume per 1 ATR away from stop loss. The issue with this in real time demo is that it get hits with a FIFO violation. The issue is that every add to volume is the same 0.10 lot. is there a way to loop it so that the first will be 0.10 lots and the second will be 0.11 lots and so on and so forth.
Here is a copy of the project. https://fxdreema.com/shared/FLsDDTujb
I would like to know how to loop this properly.
Thank you,
Will -
@william-3 I'm not competely sure what you mean. Is every new trade supposed to increase volume by a 0.01 fixed value or you simply need a variable amount?
-
@l-andorrà hey. thank you for responding. I figured it out. I was trying to scale in, but i kept getting hit with the FIFO violation because my trades were all the same size.
-
@william-3 You're welcome.