Level 10 · Lesson 10

Market Efficiency
Ratio

The geometric oscillator. Not a measurement at any bar — a measurement of the shape of the path itself. The difference between travelling and progressing, finally quantified.

Scroll to begin

First — Why This Matters

The Simplest Oscillator in the Suite. And the Deepest.

MER is the shortest Pine script in the ATLAS oscillator family. A few dozen lines. One calculation. One plotted line. No state classifier, no persistence contract, no event markers, no 4-pane logic. It’s stripped down to a single question and a single answer.

And yet conceptually it’s the indicator that operates on the highest level of abstraction. Every other oscillator in the suite — MAE, MSI, MAZ, MPG, MPR, VSI, ERD — measures scalar properties at individual bars. They reduce price to close, high, volume, range, momentum. None of them care about the shape of the path between bars. Price could walk five times the distance to reach the same destination, and none of those indicators would notice.

MER is the only indicator that treats price action as a geometric object. It asks: for all the distance price travelled in the last 14 bars, how much of it produced net movement? The answer is a single number between 0 and 100 that tells you more about trading regime than any trend line, moving-average cross, or ADX reading ever could. Because it measures something none of them can see.

🔎 THE MER AXIOM

Motion is not progress. A chart that’s moving is not necessarily going anywhere. MER is the instrument that quantifies this distinction with a single number.

01 — The Two Measurements

Net Displacement and Path Length

The entire indicator rests on two geometric quantities. Net displacement is the straight-line distance from where price was 14 bars ago to where it is now — one subtraction, absolute value. Path length is the total distance price actually walked, summed bar by bar, every move counted. Same two endpoints can have wildly different path lengths depending on how the path zig-zagged between them.

💡 The Triangle Inequality

A mathematical guarantee: the straight-line distance between two points is always less than or equal to the total length of any path connecting them. Path length ≥ net displacement, always. This is why MER is bounded on [0, 1] by construction — it cannot be larger than 1 because path cannot be smaller than net.

02 — The Ratio

Net Divided By Path

Divide net displacement by path length and you get the Market Efficiency Ratio. If price walks in a perfectly straight line from A to B, net equals path, and MER equals 1.0 (or 100 on the 0-100 scale). If price walks an enormous zig-zag from A to B, net stays the same but path becomes large, pushing MER toward 0. The ratio is a geometric efficiency score — how straight was the walk?

💡 Why This Is Profound

This simple ratio captures something no other indicator can. ATR measures range per bar. Volume measures participation. RSI measures momentum. NONE of them care about whether the movement is net-productive. A market can have high ATR, high volume, strong momentum, and yet be going absolutely nowhere. MER is the indicator that exposes this hidden inefficiency with a single number.

03 — The Three Zones

Teal / Grey / Magenta

The output line is colored by zone. ≥ 70 = TEAL (efficient) — trending regime. 30–70 = GREY (mixed) — transitional or moderately efficient. < 30 = MAGENTA (inefficient) — chop or range regime. The thresholds are tunable via inputs, but 70/30 are calibrated for broad asset cross-compatibility and mirror the upper/lower quartiles of typical MER distributions.

💡 Why 70/30 Specifically

Across a large cross-section of instruments and timeframes, MER distributions tend to spend about 70% of time in the 30-70 mid zone, with 15% each above 70 and below 30. The chosen thresholds roughly match the statistical tails — which means teal and magenta readings are genuinely above or below normal. Adjust the bands if you find your specific instrument systematically clustering differently.

04 — The Path-Displacement Principle ⭐

The Shape of the Path Carries the Signal

This is the conceptual breakthrough. Every other indicator you’ve met — in the ATLAS suite and in retail trading generally — reduces price action to scalar measurements at individual bars. Close prices, high prices, volumes, ranges, ATRs. None of them preserve information about the shape of the path between measurements. Price could walk 10x the distance to reach the same endpoints, and none of them would be any the wiser.

🏘 The Path-Displacement Principle

The recognition that price action is a geometric object — a path with a length and a shape — and not just a sequence of scalar events. Two markets with identical closes 14 bars ago and identical closes now can have completely different trading characteristics depending on how price travelled between those endpoints. A straight-line walk at MER ≈ 95 is a trend. A violent zig-zag at MER ≈ 12 is a chop war. Same starting point, same ending point, same ATR, same net change in price. Totally different regime. MER is the only indicator in the suite that treats this distinction as foundational.

Four portable applications:

  • 1. Trend-follow filter. Trend systems need directional efficiency to work. MER < 30 is a hard veto on new trend entries, regardless of what any other indicator says. The chop cost in a low-MER environment will systematically destroy trend P&L via repeated stop-outs, even when the directional call is correct. Use MER as the first gate: no MER, no trend trade.
  • 2. Mean-reversion enabler. The exact opposite symmetry. Range/rotation strategies thrive in chop. MER < 30 is a GREEN LIGHT for mean-reversion entries. The same chop that kills trenders feeds mean-rev P&L. Run DIFFERENT STRATEGIES in DIFFERENT MER ZONES — this is the heart of regime-aware trading.
  • 3. Cross-instrument ranking. When scanning a watchlist for trend setups, rank by MER. The ticker with MER=75 and rising is geometrically a better trend candidate than the ticker with MER=20, regardless of their respective MPR or MSI readings. Pressure without efficiency converts to losses; efficiency without pressure doesn’t generate trades. You need both — and MER is the cleanest efficiency filter you have.
  • 4. Time-of-day awareness. US equity MER has a textbook intraday pattern — open chop, morning trend, lunch chop, afternoon trend, close drift. Professionals time entries to the efficient windows and stand aside during the chop phases. Knowing your instrument’s intraday MER rhythm is a free edge most retail traders never acquire.

05 — Chop Cost

The Distance That Didn't Count

An intuitive companion measurement to MER: chopCost = pathLen - netMove. This is the distance price walked that did NOT contribute to net displacement — all the zig-zags, retraces, and counter-moves added up. In a straight-line trend, chop cost is near zero. In a perfectly ranged market, chop cost is the vast majority of the path. The Pine source exports this as its own data window value.

💡 Chop Cost Is Money Cost

Chop cost isn’t just a geometric quantity — it’s a monetary one for most strategy types. Trend-followers PAY for chop cost directly through stopped-out trades. Mean-reverters EARN on chop cost through fade trades. Breakout traders get chopped up by false signals during high-chop phases. Knowing the current chop cost as a percentage of total path is knowing how hostile your specific strategy’s environment is right now.

06 — Lookback Length

Tuning Window Size to Timeframe

The len input controls how many bars MER measures over. Default 14. Shorter (5-8) — highly reactive, catches micro-regime changes, suitable for scalping and very short timeframes. Default (14) — balanced for general analysis across asset classes. Longer (20-30) — smooth, slow, confirms regime shifts only after they’re well established, suitable for swing trading and higher timeframes.

💡 Match Lookback to Trading Timeframe

A scalper trading 1m charts and using MER with a 30-bar lookback is getting MER’s view of the last half hour — way too slow. A swing trader on daily charts using MER with 5-bar lookback is getting MER reacting to single-day flips — way too fast. Rough rule: use a lookback that covers about one-third of your average holding period. Adjust from there based on observed MER behavior on your specific instruments.

07 — EMA Smoothing

Reducing Jaggedness Without Losing Signal

Raw MER can be jagged bar-to-bar, especially in marginal regimes near the 30/70 thresholds where single-bar movements flip the color. The smoothLen input applies an EMA on top of raw MER (default 5). The smoothed line reduces zone-flip noise while preserving the underlying regime signal. Can be disabled via useSmoothing=false if you want the raw reactivity.

💡 Smoothing Trade-off

EMA(5) adds about 3 bars of lag in exchange for significantly fewer zone flips. For most use cases this trade is worth it — the confusion cost of constant color flickering exceeds the lag cost. For alert-driven entries where precision matters, consider disabling smoothing and using raw MER. For visual regime assessment on a chart, smoothing on is the default for a reason.

08 — Regime Detection

MER as an Intrinsic Trend-vs-Chop Detector

MER is arguably the cleanest trend-vs-chop detector available because it measures the defining property of trend (directional efficiency) directly, rather than inferring trend from derived quantities like moving averages or momentum oscillators. There’s no MA cross to wait for, no ADX threshold to cross, no divergence to interpret — just a geometric ratio that goes high when the path is straight and low when the path is chaotic.

💡 MER vs ADX

ADX is the classical trend strength indicator. It measures momentum persistence via smoothed directional movement. The problem: ADX can be elevated during strong bi-directional chop — violent moves in both directions register as “strong trend” because ADX doesn’t distinguish between directional efficiency and directional magnitude. MER does. An asset can have high ADX and low MER simultaneously (violent chop). MER is the more honest trend detector because it asks the right question.

09 — Strategy Filter

The Symmetric Regime Gate

The most important operational use of MER is as a symmetric strategy filter. For trend-following: MER ≥ 70 = green light, 30-70 = caution, < 30 = VETO. For mean-reversion: the verdicts are exactly inverted — MER < 30 = green light, 30-70 = caution, ≥ 70 = VETO. Same MER reading, opposite strategy verdicts. The disciplined trader runs DIFFERENT PLAYBOOKS in DIFFERENT MER ZONES rather than forcing one strategy across all regimes.

💡 The Symmetric Regime Doctrine

Most retail traders learn one strategy (usually trend-follow via MA crosses) and run it regardless of regime. The result: systematic losses during chop phases. The professional response is regime-aware rotation: trend systems in high MER, mean-rev systems in low MER, reduced activity in the mid zone. This requires having multiple strategies in the toolkit, but the MER gate makes the rotation rule objective. You don’t have to intuit when to switch — MER tells you.

10 — The Three Oscillator Axes

MER × MSI × MPR

Three genuinely orthogonal oscillator axes. MSI = regime classification (overall market state). MPR = directional pressure. MER = geometric efficiency. A clean-trend setup is the rare case where all three align: MSI in a trend state, MPR in RELEASE with a clear direction, MER above 70 and rising. When all three agree, the environment is actively cooperating with your trade. When they disagree, you’re fighting the regime on at least one axis.

💡 MER Is the Tiebreaker

When MSI and MPR disagree on regime (common during transitions), MER is the cleanest tiebreaker because it measures the underlying geometry directly. MSI might be classifying based on lagged signals; MPR might be reacting to transient pressure spikes. MER measures what actually happened to the price path. Use it as the final arbiter when the other oscillators conflict.

11 — Across Asset Classes

Typical MER Behavior by Market

Different asset classes have characteristic MER distributions. Crypto — high average MER (45-65) with occasional extreme readings in either direction; trends can be very clean and breakouts are often geometrically efficient. Equities — moderate average MER (40-55); often efficient during trend days, often chop-dominated in range days. FX Majors — lower average MER (30-45); range-biased by default, true trending phases are the exception. Knowing your asset class’s typical MER distribution helps calibrate expectations.

💡 No Volume Dependency

Unlike MPG, ERD, and several other oscillators, MER is purely price-based. No volume input, no reliance on tick volume quality on FX feeds. This makes MER the MOST reliable oscillator on Forex, where volume data quality varies wildly by broker and pair. If you trade Forex extensively, MER earns disproportionate weight in your regime assessment.

12 — Intraday Patterns

The Time-of-Day MER Cycle

US equity indices have a textbook intraday MER cycle driven by institutional participation patterns. 9:30-10:00 (Open) — low MER, price discovery chop. 10:00-11:30 (Morning trend) — high MER, institutional positioning. 11:30-14:00 (Lunch) — low MER, reduced volume and chop. 14:00-15:30 (Afternoon trend) — high MER, second institutional window. 15:30-16:00 (Close) — mid-high MER, positioning for close. Professionals time entries to the efficient windows.

💡 The Lunch Chop Trap

The single most common intraday MER mistake: trading trend signals generated during the lunch chop (11:30-14:00). Signals during this window often look compelling in isolation but fail to follow through because the geometric environment is hostile to directional strategies. A simple rule: apply your trend strategy only when MER is above 50 AND the current time is in a morning or afternoon trend window. The edge from respecting this alone is often worth more than most entry-refinement tweaks.

13 — Common Mistakes

Four Ways Traders Misuse MER

Each mistake stems from a core misunderstanding of what MER measures — usually by confusing geometric efficiency with direction, volatility, or momentum.

🧭

Treating MER as a direction signal

MER is DIRECTIONLESS by construction — it uses |close - close[14]|, absolute value. A powerful uptrend and a powerful downtrend produce identical MER values. MER tells you whether the move is efficient, not which way it’s going. Direction comes from MPR, MSI, or price action. Never use MER as a bullish/bearish indicator.

📊

Assuming high volatility implies high MER

These are independent. A market can be wildly volatile AND inefficient (violent chop) or quietly trending AND highly efficient. High ATR says nothing about path efficiency. The Path-Displacement Principle exists precisely because these are separate measurements. Check both.

🎯

Using the same MER playbook for trend and mean-rev

MER is a SYMMETRIC filter: low MER vetoes trend but ENABLES mean-rev; high MER enables trend but VETOES mean-rev. The disciplined response is to run DIFFERENT STRATEGIES IN DIFFERENT ZONES, not one strategy across all zones. This is where MER pays for itself — it tells you which playbook to run.

Ignoring the intraday MER pattern on equities

US equity indices have a textbook intraday MER cycle: open chop → morning trend → lunch chop → afternoon trend → close drift. Trading trend setups through the lunch chop (11:30-14:00) is systematically unprofitable even when signals look good. Respect the time-of-day geometry.

14 — Cheat Sheet

MER In One Page

Architecture

Single bounded scalar line in [0, 100]. No state classifier, no histogram, no event markers. The simplest oscillator in the suite.

Core Formula

MER = |close - close[14]| / Σ|close[i] - close[i+1]| — net displacement over path length.

Zones

≥ 70 (teal) = efficient/trending • 30-70 (grey) = mixed • < 30 (magenta) = chop/range.

Path-Displacement Principle (★)

Price action as a geometric object. Shape of path contains information no scalar indicator captures.

Primary Application

Symmetric strategy filter. Trend-follow: green above 70, veto below 30. Mean-rev: inverted verdicts.

Tuning

len default 14 (match to timeframe). smoothLen default 5 (EMA). Bands 30/70 tunable.

Asset Class Reliability

Works on everything — price-only, no volume dependency. Especially valuable on Forex.

Data Window Exports

Net displacement · Path length · Efficiency [0-1] · Efficiency [0-100] · Chop cost · Chop %.

15 — Scenario Game

Reading MER Through the Path-Displacement Lens

Five scenarios testing whether you read MER as a geometric efficiency measurement with symmetric strategy implications — or whether you’re still treating it as a trend signal or a direction tool.

Round 1 of 5

Score: 0/5

You look at a stock and see ATR is elevated (volatility expanding), volume is above average, and price has travelled a huge range over the last 14 bars. MER reads 11. What does MER tell you that the other readings didn’t?

16 — Knowledge Check

Final Quiz — 8 Questions

Question 1 of 8

Market Efficiency Ratio (MER) is calculated as:

Question 2 of 8

The Path-Displacement Principle states that:

Question 3 of 8

MER values are bounded in the range:

Question 4 of 8

MER reading 70+ (teal zone) means:

Question 5 of 8

MER reading below 30 (magenta zone) means:

Question 6 of 8

For a TREND-FOLLOWING strategy, MER < 30 should:

Question 7 of 8

For a MEAN-REVERSION strategy, MER < 30 should:

Question 8 of 8

The default MER lookback length in the Pine source is:

← Back to Academy