This is an advanced grid system, works with ATR and takes into account the average short level, average long level, and break-even level when setting the next grid levels. The only user input is the targeted profit factor, recommended above 0, below 2.
Lot sizes are dependant of the natural logarithm of opposing direction trades, so the account will try to always stay in balance:
sell size = 0.01 ln(total buy size * 100)/100
buy size = 0.01 ln(total sell size * 100)/100
PM me for more details.
Mql5 forces me to add a picture (of backtest report) but I feel those are a bit deceptive, so I’ll upload a nice teddy bear instead. Enjoy.