The main conclusion of this article is short. Passing validation did not show that the trading logic behaves correctly under execution delay. With a two-step entry, the question that matters is whether the EA keeps control of the position when a modify or a close fails or arrives late. In the builds tested here, it did not always keep that control. more...
Your Strategy Tester report gives you a Sharpe ratio and you feel good about it. But here's the question nobody's report answers: is that number real, or did you just get lucky with a short sample? Bailey and Lopez de Prado proposed the Probabilistic Sharpe Ratio (PSR) for exactly this case. Given your actual sample size and returns that rarely fit a textbook bell curve, PSR estimates the probability that your true edge beats some benchmark SR*. Minimum Track Record Length (MinTRL) is the ...
The usual way to handle an economic release inside an Expert Advisor is to treat it as a category. It has a name, a currency, a scheduled time, and an importance flag, and the standard thing to do with it is to stand aside: block trading for thirty minutes either side of anything marked high impact. The only tuning available is the importance threshold and the width of the window, and neither of those has anything to do with the release itself. more...
Part 4 of this series extracted the divergence logic into DivergenceEngine.mqh and demonstrated it in a small Adaptive Parabolic SAR EA. That article closed by pointing at something the demonstration had deliberately left alone. In most systems, Parabolic SAR is a trailing-stop tool rather than an entry trigger, and the same adaptive acceleration factor can be used to tighten or loosen a trailing stop on an already-open position from an Expert Advisor that knows nothing about this series. ...
Momentum analysis can help traders observe changes in the strength and direction of price movement, but direct price movement can be difficult to interpret when it is affected by short-term fluctuations. This article demonstrates how to build a Two-Pole Momentum Oscillator in MQL5. It measures price deviation from a moving average, normalizes it using the recent mean and standard deviation, and applies two-stage smoothing to produce the final oscillator. more...