Charts See the terminal

MA with EMA Cross

A simple and an exponential average of the same length with their crossings marked, flagging when the recent part of the window diverges from the whole.

Moving Average Add to chart

Live MA with EMA Cross preview · BTC/USDT · Binance

What is MA with EMA Cross?

MA with EMA Cross draws a simple moving average and an exponential moving average of the close, both 10 bars by default, and puts a blue cross marker on every bar where they cross. The marker is drawn at the EMA's value and is the same for crossings in either direction.

This is not a fast and slow pair. Both lines cover the same length; what differs is the weighting. The EMA leans on recent bars and the simple average treats every bar in its window alike, so a crossing says the recent part of the window has moved away from the window as a whole. That makes it fire early, and often in a range. It does not confirm trend direction on a longer horizon or predict what comes next.

How to use MA with EMA Cross

  • A cross marker. The two lines have crossed on that bar. The marker looks the same in both directions, so whether the EMA moved above or below the simple average is read from the lines.
  • EMA above the simple average. Recent prices are higher than the window's plain average. EMA below it means they are lower.
  • Early, not confirmed. Because no longer average has to agree, a crossing flags a possible turn early. Many such turns do not develop.
  • Clusters of markers. In a range the two lines sit together and cross on noise, so markers bunch up.

These are ways to read the lines and markers, not entry signals on their own.

Settings

SettingDefaultWhat it changes
Length MA10 Bars in the simple moving average. Minimum 1.
Length EMA10 Bars in the exponential moving average. Setting it differently from Length MA turns the pair into a mix of a speed difference and a weighting difference. Minimum 1.

Adjust the two lengths in the indicator settings. Both averages always use the close.

Calculation

The two lines are a simple and an exponential average of the close, and each bar is checked for a change in which one is on top:

MA  = SMA(close, 10)
EMA = EMA(close, 10), alpha = 2 / (10 + 1) = 0.18

cross marker: EMA has moved from one side of MA to the other

The EMA is the line whose side is read, because it is the one that responds first. Each marker is placed at the EMA's value on the crossing bar and stays on the chart; a later crossing adds a new marker rather than replacing the previous one.

The EMA starts from the simple average of its first bars, so with equal lengths the two lines start at the same value on the first bar where both exist and diverge from there.

Limitations

  • It fires often. Crossing on a weighting difference rather than a length difference means small turns are enough to trigger a marker.
  • Sideways markets produce whipsaws. In a range the two lines cross repeatedly and each crossing gets a marker.
  • No longer-term filter. A crossing says nothing about the direction of a longer trend.
  • The live candle can cross and uncross. While the current candle is open, the lines can cross and separate again. Only a crossing that holds at the close is final.
  • It is not a strategy. On its own it carries no risk management, sizing or exit.

Frequently asked questions

It is a simple moving average and an exponential moving average of the close, both 10 bars by default, with a cross marker on every bar where they cross.

Because the difference between them is the weighting, not the speed. The EMA leans on recent bars and the simple average does not, so a crossing shows recent prices pulling away from the window as a whole. It flags turns early, with more false signals than a fast and slow pair.

Yes. The indicator declares two inputs: Length MA, default 10, and Length EMA, default 10, each with a minimum of 1. There is no source input; both averages use the close. Open the indicator's settings on the chart to change them.

Not on closed bars. Line values and markers on bars that have already closed are not revised. On the live candle, a crossing can show and then go away if the lines separate again before the candle closes. Loading older history recalculates the EMA from a new starting point, so values near the start of the loaded range can shift.

Add to chart