Projecting EMA Crossover Scenarios with Decaying Slope and Noise
Summary
This article describes a MetaTrader 5 indicator that turns a fast and slow EMA crossover into a charted sequence of synthetic future candles. It anchors the projection to the crossover on a closed bar, measures the EMA slope there, and propagates that slope across a selected number of future bars. The step size decays over time, while controlled randomness in candle direction and wick size makes the path less mechanically straight.
The indicator supports automatic or manual anchoring, displays projected candle bodies and wicks, and can invalidate an active scenario when price moves beyond a configured pip threshold. It also includes labels, a separator line, and cleanup logic for chart objects. The article presents the design and code structure but supplies no statistical test showing that the projections predict actual prices. The generated candles are scenarios based on a fixed slope and noise model, so their visual plausibility should not be mistaken for a forecast with demonstrated accuracy. The proposed use is as a framework for considering trade management, not as a market oracle.
Key ideas
- The projection begins at a closed-bar EMA crossover and uses the EMA slope measured at that point.
- Future candle steps shrink through a decay factor, while randomized direction and wick sizes add variation.
- The indicator supports automatic or manual anchors and configurable scenario invalidation.
- Chart labels, separator lines, and object cleanup help manage the visual projection.
- The article provides no evidence that its synthetic candles predict market prices accurately.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.