Multi-Timeframe EMA Alignment
Compares a fast and slow EMA on three selected timeframes without reading an unfinished higher-timeframe candle.
Start with the input, not the story.
Whether the fast EMA is above, below or equal to the slow EMA on each selected timeframe; it measures shared trend state, not three independent signals.
Plain-language formula
Platform implementations can differ in price input, smoothing, indexing and rounding. Record the exact settings and provider before comparing results.
Where it may help
Making top-down trend eligibility explicit and auditing exactly when higher-timeframe context became available.
Where it struggles
Lagging turns, sideways markets, missing higher-timeframe history and charts whose timeframe is above one of the selected inputs.
Add a different measurement.
A complementary tool should answer a different question, such as volatility, regime or position risk. Test the base rule before testing the combination.
The shortcut to avoid
Counting three green rows as three independent confirmations even though all rows transform the same price series.
A testable next step
Freeze the EMA periods and timeframes, then compare a closed-bar alignment rule with a single-timeframe EMA control across trend and range regimes; include delayed entry, spread and an untouched out-of-sample period.
Download the editable research tool
Source code is provided for education and inspection. It does not place trades. Review, compile in MetaEditor and test on a demo account before any other use.
Download .mq5 source ↓Read install notes, permissions and limitations →