Noticed when re testing with MAE/MFE that it is not correct. Strategies with a fixed stop loss always close with the correct stop loss but MAE can be totally of. Example Fixed stop is -34 pip but MAE -210pip
MAE/MFE values may differ from SL/PT prices. It depends on your backtest settings. For example - If you set up commissions, MAE will be higher than PL of an order closed on SL. It is due to the additional cost.
It also depends on the backtesting engine used. MetaTrader4 engine uses preset SL/PT prices when computing PL of orders. In this case MAE is sometimes lower than the actual SL price. MetaTrader5 behaves the same way, but if running with tick precision, real prices reached are used in PL computation.
You can try to run backtest using MetaTrader5 engine with tick precision and without commissions. Then the values should correspond. There may be only a small differences due to rounding.
If you still get diverse values, attach the problematic strategy.
I forgot to mention that I made a little fix in MAE/MFE computation. I may have caused bigger differences for short orders. Please try it after new release and it should be fine
It also depends on the backtesting engine used. MetaTrader4 engine uses preset SL/PT prices when computing PL of orders. In this case MAE is sometimes lower than the actual SL price. MetaTrader5 behaves the same way, but if running with tick precision, real prices reached are used in PL computation.
You can try to run backtest using MetaTrader5 engine with tick precision and without commissions. Then the values should correspond. There may be only a small differences due to rounding.
If you still get diverse values, attach the problematic strategy.