Skip to content
All library documents

Adaptive EMA Crossover Forward Simulation with Synthetic Candles

Article MQL5 articles

Summary

This article describes a MetaTrader indicator that projects synthetic candles after a confirmed fast and slow EMA crossover. The signal module latches the crossover direction and anchor, while a calibration step measures recent candles’ average body and upper and lower wick sizes. A projection module combines those measurements with EMA slope to shape a sequence of future OHLC bars, and a renderer places them beyond the current chart.

Projected bodies vary through a decaying wave pattern, wick sizes use measured proportions, and periodic counter-trend candles add pullbacks. As each real bar closes, the projection advances by removing its oldest synthetic candle. The article explains the design and configurable components, but provides no out-of-sample results or evidence that the projected candles forecast future prices accurately. It should be understood as a scenario visualization built from an EMA signal and recent candle characteristics, not as demonstrated predictive performance.

Key ideas

  • A fast and slow EMA crossover sets the projected direction and anchor point.
  • Recent candle body and wick averages calibrate the dimensions of synthetic bars.
  • EMA slope influences projected body size, while a varying envelope and counter-trend bars shape the sequence.
  • The projection advances with each new market candle by removing its oldest projected bar.
  • The article describes a visualization framework and does not demonstrate forecasting accuracy.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.