I generated a strategy that uses "Risk Fixed % of Account" and in the SQX backtest, shows a rising lot size over time.
When exported to MQ4 and backtested using tick data, the results look quite similar, but it looks like a fixed lot size is used.
Please see attached SQ4 and MQ4 file.
If I've set something wrong, please let me know.
Regards,
Mike
Status changed from New to Fixed
Fixed. There was a bug in MQL code for strategies that don't use stop loss
2018.08.21 22:04:03.270 2007.02.15 16:00:03 Strategy 0.194962 EURUSD,H1: - SQ LOG 2007.02.15 16:00 Calculated LotSize is <= 0. Using LotsIfNoMM value: 0.1)