Docs·Web App·Indicators

EMA / MA stack

Stack of two exponential moving averages and one weighted moving average, plus optional break-of-structure markers — the cleanest trend read on the chart.

The EMA indicator paints up to three configurable moving averages directly on the candle chart — two EMAs (fast / slow) and one WMA (anchor). When you turn more than one of them on, the lines form a stack — a layered set of trend lines you read top-to-bottom for bias. An optional break-of-structure layer marks the bars where price closes through the most recent swing high or low and drops a stop-level line you can use as an invalidation reference. The simplest indicator on the platform and the foundation most other reads sit on top of.

EMA / WMA stack on the candle chart with break-of-structure markers and stop-level lines

Settings reference

The dialog has two groups — Moving averages for the lines themselves, Market structure for the BOS layer.

SectionSettingDefaultNotes
Moving averagesShow EMA 1OffFirst moving average. Painted with a colour gradient that shifts with how fast it's accelerating — easier to spot a trend roll-over without reading the slope directly.
Show EMA 2OffSecond moving average. Painted as a single flat-colour line, sits between EMA 1 and the WMA in the stack.
Show WMAOnAnchor / long-term line. Weighted moving average — newer bars carry more weight than older ones. Always painted behind the EMAs so it doesn't clutter near-term reads.
EMA 1 lengthRange 2-500. Pick a length appropriate for the chart timeframe (see Pitfalls).
EMA 2 lengthRange 2-500. Usually set well above EMA 1 length so the two lines actually separate on the chart.
WMA lengthRange 2-1000. The longest line in the stack — keep it long enough to feel like an anchor, not a third near-term EMA.
Market structureShow break-of-structureOffToggle the BOS layer. Marks bars that close through the most recent swing high (bullish BOS) or low (bearish BOS).
Swing lengthRange 2-50. Bars on each side that have to be lower (for a swing high) or higher (for a swing low) for the pivot to count. Smaller values find more swings; larger values keep only the major ones.

All lengths and toggles persist per browser — change them once, the chart reopens with the same configuration.

What it draws

Once the indicator is on, the chart can show up to three lines plus the BOS layer.

LayerLookWhat it tells you
WMAThin amber line, painted behind everythingThe long-term anchor. Bias is up while price holds above; down while below.
EMA 2Solid blue mid-weight lineThe medium-term direction. Sits between the WMA and EMA 1 in the stack when bias is clean.
EMA 1Gradient line (green when accelerating up, red when accelerating down, neutral grey in the middle)The near-term direction. The colour saturation tracks how strongly the line is bending — flat regimes paint grey, breakouts paint vivid green or red.
BOS markerBOS label at the breakout bar plus a dashed line extending forwardA swing high (BOS green) or swing low (BOS red) just got taken out. The dashed line is a stop-level reference for trades taken in the break direction; an S/R tag prints at the right edge of the line.

When EMA 1 sits above EMA 2 sits above WMA you're looking at a bull stack — every line agrees the trend is up, with the fastest reacting line on top. The mirror order is the bear stack. A stack that is constantly crossing itself is a chop regime — there is no clean trend to ride.

How to read it

  • Bull stack — EMA 1 above EMA 2 above WMA, all sloping up. Look for entries on pullbacks toward EMA 1 or EMA 2; the WMA acts as the deeper invalidation level.
  • Bear stack — EMA 1 below EMA 2 below WMA, all sloping down. Mirror logic: short rallies into the EMAs, full reversal below the WMA.
  • EMA 1 colour flip — the gradient turning from green to red (or back) is your earliest sign the near-term trend is rolling. Always corroborate with structure before acting on it alone — the colour can flicker in chop.
  • EMA 1 crossing EMA 2 — a classic short-term trend flip. Wait for a same-direction BOS in the same area before treating it as a regime change rather than a head-fake.
  • Pullback to the anchor — price retracing to the WMA in a bull stack is a high-quality continuation setup. Pair with a momentum read (see RSI) and a participation read (see Volume / CVD) to filter false pullbacks.
  • BOS aligned with the stack — a bull BOS while the stack is bullish is a continuation signal. The dashed stop-level line is your structural invalidation; if price closes back through it, the break failed.
  • BOS against the stack — a bear BOS while the stack is still bullish is a warning, not a flip. Wait for the stack to roll over (EMA 1 colour shifts, EMA 1 / EMA 2 cross) before treating it as a reversal.

Common pitfalls

  • Spaghetti charts — three lines is the practical maximum. Stacking five or six moving averages produces a tangle that's actually harder to read than no MA at all. If you want more context, layer structure indicators (see Smart Ranges) on top of the stack, not more EMAs.
  • Length mismatched to timeframe — a very short length on a high timeframe paints a line that constantly chases price; a very long length on a sub-minute chart paints a line so slow it might as well be horizontal. Always tune lengths against the candle interval you actually trade on.
  • EMA 1 and EMA 2 set too close together — if the two lengths are similar, the lines hug each other and the "stack" only ever shows two visible levels (the doubled-up EMAs and the WMA). Keep meaningful separation between them.
  • Reading EMA crosses in a sideways market — crossovers fire constantly in chop and almost all of them are false. Pair the cross with a BOS in the same direction, or skip it and wait for clear stack alignment.
  • Trusting the BOS without the structural context — a BOS marker means this swing was taken out, not the trend has changed. A swing-high break in an otherwise-bearish market is often just the stop-hunt before continuation down. Always read the marker against the stack and the wider price action — use the Live Signals indicator if you want a more opinionated read that already combines structure with momentum.
  • Swing length too small — drop the swing length too low and every minor wiggle becomes a "swing"; BOS markers fire on noise. Bump it up until only the structural pivots you'd mark by hand survive.

What's next

  • RSI — momentum to pair with the EMA trend read.
  • Live Signals — opinionated bullish / bearish call-outs that already combine the trend / structure / momentum lens.
  • Smart Ranges — supply / demand zones and FVGs that sit naturally on top of the EMA stack.
  • Volume — confirm that the move driving an EMA cross is backed by participation, not thin liquidity.
  • CVD — see which side is actually paying for the trend the EMA stack is showing.