What is EMA Cross?
EMA Cross draws two exponential moving averages of the close, a short one of 9 bars in orange and a long one of 26 bars in green, and marks every bar where they cross with a blue cross. The marker is the same for both directions and sits at the short line's value; which line ends up on top shows the direction.
Because an exponential average has no hard window, a crossing here means new prices have outweighed the accumulated past, not that an old bar has dropped out. In practice it crosses earlier and more often than the simple-average version, sooner on real turns and sooner on false ones too. It does not filter crossings, predict whether a move will continue, or tell you where to exit.
How to use EMA Cross
- Short line crossing above. A marker where the orange short EMA moves above the green long one means recent prices now carry the average above the longer one.
- Short line crossing below. A marker where the short EMA moves below the long one means the reverse.
- Clusters of markers. Several markers close together usually mean a range, where the lines sit on top of each other and cross on noise.
- The gap between the lines. A widening gap after a crossing shows the move extending. A narrowing gap warns that the next crossing may be close.
These are ways to read the lines and markers, not entry signals on their own.
Settings
| Setting | Default | What it changes |
|---|---|---|
| Short | 9 | Bars in the short exponential average. Lower crosses sooner and more often. Minimum 1. |
| Long | 26 | Bars in the long exponential average. Higher crosses less often and later. Minimum 1. |
Adjust the two lengths in the indicator settings. Both averages use the close.
Calculation
Both lines are exponential moving averages of the close, and each bar is checked for a change in which one is on top:
alpha = 2 / (length + 1)
short = EMA(close, 9) alpha 0.2
long = EMA(close, 26) alpha 0.074
marker: short and long have swapped places since the previous bar
Each EMA starts from the simple average of its first bars and settles from there, the same way as the standalone EMA. Each marker is placed at the short line's value on the crossing bar and stays on the chart; a later crossing adds a new marker rather than replacing the previous one.
Limitations
- Crossings come late. Earlier than with simple averages, but still after the turn in price has happened.
- More false crossings. The same responsiveness that makes it cross sooner on real turns also makes it cross on short-lived moves.
- Sideways markets produce whipsaws. In a range the two lines cross repeatedly and each crossing gets a marker.
- The live candle can cross and uncross. While the current candle is open, the lines can cross and then 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 two exponential moving averages of the close, 9 and 26 bars by default, with a marker on every bar where they cross. The marker is the same for both directions; the order of the lines after the crossing shows which way it went.
MA Cross uses simple averages, which weight every bar in the window equally and drop old bars abruptly. EMA Cross uses exponential averages, which weight recent bars more heavily. With the same lengths, EMA Cross usually crosses earlier and more often.
Yes. The indicator declares two inputs: Short, default 9, and Long, default 26, both with a minimum of 1. Both averages always 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 averages from a new starting point, so values near the start of the loaded range can shift.