Use this indicator directly on TradingView — the world's most popular charting platform.
Measured Move & Fibonacci Extension Zones shades a zone only where the AB=CD measured move and a BC Fibonacci extension land on the same price at an older swing.
OVERVIEW
After an A-B-C swing, traders usually draw two projections by hand. The AB=CD measured move repeats the A-B leg from C, and the Fibonacci extension multiplies the B-C pullback. Most of the time the two point to different prices, and the chart fills with lines you can't rank. This script runs both on every confirmed swing and shades only the places where they meet. By default it also needs an older swing high or low inside that place that no later bar has traded through. That is a price where the market turned before.
When the two projections don't meet, the swing gets one dashed AB=CD line from C, with a note saying why no zone was drawn. Between swings, the leg now running is lettered, and the script shows where its pullback would have to turn for a zone to form.
The tool does not tell you to trade. It gives no entry, no stop and no exit. A zone is arithmetic on one swing, not a forecast. To check that arithmetic honestly, every zone is paired with a random band of the same width that is tested the same way. The strip at the bottom of the chart shows how often each one turned on the chart you are looking at. On many charts the two come out about even, and the strip shows that too.
KEY CONCEPTS
Both projections start at C, so whether they agree depends on only one thing: how deep the pullback went.
The A-B-C swing. These are three confirmed swing points. A to B is the impulse and B to C is the pullback. The next leg, C to D, is still unknown.
AB=CD measured move. D = C + (B - A), so the new leg repeats the A-B leg. An input lets you use 1.272 times the A-B leg instead.
BC Fibonacci extension. D = C + k x (B - C). By default k is 1.272, 1.618, 2.0 and 2.618.
Where they agree. Setting the two equal gives BC / AB = 1 / k. So the 1.272 extension meets the AB=CD price when C has retraced about 0.786 of A-B. The 1.618 meets it at 0.618, the 2.0 at 0.5 and the 2.618 at about 0.382. A pullback of 0.25 meets none of them, so that swing gets a line, not a zone.
Older untaken swing. This is a swing high or low older than A that no later bar has traded through. It is what makes a zone more than two numbers that happen to match.
Random band. Each zone gets a band of the same width on the same side of price. Its distance from price is drawn from the chart's earlier zones, and it has the same expiry and the same rule at C. It answers one question: did the zones pick better places than chance on this chart?
HOW IT WORKS
On each confirmed bar, the script works through these steps in order.
- Swings. A pivot high or low needs 5 bars on its right and up to 10 on its left. The left window stops at the last swing of the other kind when that swing is closer, but never at fewer than 3 bars. A pivot of the other kind must also lie at least 1.5 ATR(14) from the last swing point, as on a zigzag. A more extreme pivot of the same kind replaces the last one. The newest three swing points are A, B and C, and C must be a pullback inside A-B.
- Projection. From C, the script works out the AB=CD price and the four extension prices.
- Agreement. If the AB=CD price and an extension land within 0.5 ATR of each other, they agree. The ATR is read on the bar that confirms C. The agreeing prices, plus 0.3 ATR above and below, make the zone.
- Older swing. By default the zone is drawn only when a swing point older than A sits inside it and has not been traded through since. The zone's tag names the extensions that agreed and that swing, for example an untaken low.
- No zone. If no zone is drawn, the swing gets a dashed AB=CD line from C, and its note gives the reason: no extension agrees, no untaken swing, no older swing, swing in far half, beyond X or no X yet, or reached before C confirmed. A dotted path runs from C to the zone or the line. Once ten legs have finished, a dotted mark shows where C plus this chart's median C-D leg lands, measured as a multiple of A-B.
- Life of a zone. If price reached the zone before C confirmed, the zone is skipped and never counted. A close beyond C voids it. A zone not reached within twice the A-B duration, and within at least 30 bars, is missed. When a bar touches the zone and closes beyond its far edge, the zone ran on. Otherwise the zone turned if price then moves 1 ATR back before it moves 1 ATR on through. A bar that does both counts as ran on.
- Random band. Each zone's band takes the same test on the same bar, so the two turn rates can be compared side by side.
- Between swings. Once a projection has ended, the leg now running is lettered A and B, with B? while B is unconfirmed. A dashed window marks the pullback depths, as a share of the leg, where a turn would draw a zone under the rules that are on. If there is no window and B is confirmed, the pullback's extreme is lettered C? and a dashed AB=CD preview runs from it. If there is neither, dotted lines from B mark the agreement depths, tagged like C 0.618: BC 1.618. An ended swing that reached its projection can stay beside the running leg, faded and lettered a, b, c in lower case.
- Figures. The strip's first line shows the current status, the share of past legs that went the full AB=CD distance and the median leg. Its second line shows how often the counted zones turned and how often their random bands turned. Hover over a cell to see the counts.
FEATURES
- Zones are drawn only where the AB=CD price and a BC extension agree. Their height comes from a separate padding input, so how strict the match is and how tall the zone is are set apart.
- An older-swing filter is on by default. Two stricter rules are optional: the swing must sit in the near half of the zone, or the zone must lie inside the prior X-A leg.
- When no zone is drawn, the swing gets a single AB=CD line with its reason, so every swing still shows what the projections gave.
- Swings are lettered and joined by dashed legs, with a dotted path from C and a median leg mark built from this chart's own finished legs.
- Between swings, the leg now running gets a pullback window, an AB=CD preview or its agreement depths.
- Finished zones stay on the chart with a tag naming the extensions and the outcome: turned, ran on or missed.
- Every zone has a random band, and a two-line strip compares the two. A full nine-line table is available instead.
- Two alerts: one when a new zone is drawn, and one when a bar closes inside a live zone. Both are checked on closed bars.
- Colours follow the chart theme. Text is drawn in front of the candles, so no candle crosses a word.
HOW TO USE
Read the chart from left to right, in the order the tool built it.
- Start with the strip. Before you trust any zone, compare the two turn rates on the second line. If zones and random bands turn about as often, the zones on this chart picked no better places than chance. In that case, treat them only as a map of where the two projections meet.
- Read the tag, then the box. A live zone names its extensions and the older swing on a tag beyond its far edge. A finished zone keeps its extensions and its outcome on a tag under the box.
- A line is an answer too. The note on the dashed AB=CD line tells you why the projections did not meet. A shallow pullback usually reads no extension agrees.
- Watch the window. Between swings, the dashed window shows which pullback depth would produce a zone. If the pullback turns somewhere else, expect a line, not a zone.
- Use the median leg as a yardstick. If the median leg mark sits well short of the AB=CD price, full measured moves are not typical on this chart.
- Match the timeframe to the swing. With the older swing rules on, daily charts draw few zones. Charts from 15 minutes to 4 hours give more swings to study.
- Change strictness with care. A wider tolerance or more padding draws more zones and takes in older swings more often. Check the strip after each change.
- The decision stays with you. A zone shows where the arithmetic lands. Whether to act there, where to put your risk and when to stand aside is your call.
SETTINGS REFERENCE
Swings
- Pivot left bars (10): bars to the left of a pivot that must stay below a high or above a low. Never fewer than 3.
- Pivot right bars (5): closed bars needed on the right before a pivot confirms. Pivots and zones appear this many bars after the turn.
- Minimum swing, x ATR (1.5): the distance a pivot of the other kind must be from the last swing point. 0 counts every pivot.
Projection
- AB=CD ratio (1.0): the C-D leg as a multiple of A-B. 1.272 is the other choice.
- BC extension 1 to 4 (on; 1.272, 1.618, 2.0, 2.618): each ratio can be turned on or off and edited.
- Agreement tolerance, x ATR (0.5): how close the two prices must be. A smaller value draws fewer zones.
- Zone padding, x ATR (0.3): added above and below the agreeing prices to set the zone's height.
- Zones at an older swing only (on): draws a zone only when a swing older than A sits inside it.
- Older swing not crossed since (on): that swing must still be untaken. When unticked, the tag names it old high or old low.
- Older swing in the near half (off): the swing must sit in the half of the zone that price reaches first.
- Zones inside the prior leg only (off): the zone must lie inside the X-A leg, the XABCD frame.
- ATR length (14): the ATR that scales the minimum swing, the tolerance, the padding and the touch test.
- Expire after, x A-B duration (2.0): counted from C. Every zone stays live for at least 30 bars.
Display
- Zones kept on chart (8, from 1 to 20) and Closed zones kept (Reached only; also Reached and expired, All, None).
- AB=CD line when no zone is drawn, Median leg mark, X-A-B-C swing and older swing, Path from C to the projection, Pullback window and AB=CD preview, Agreement depths on the last leg, Text on live zones: all on.
- Colours: Up projection, Down, Swing and missed zones.
Statistics
- Figures (Strip; also Full table, Off) and Position (Auto).
- Zones counted (50, from 5 to 500): how many finished zones and random bands the figures follow. The leg record keeps the same number of swings.
- Touch test distance, x ATR (1.0): how far price must move back, or on through, after a touch.
LIMITATIONS
- The tool does not tell you to trade. It gives no entry, no stop and no exit. A zone is arithmetic, not a forecast and not a level that holds.
- The strip compares zones with random bands on each chart, and the two often come out about even. Figures depend on the symbol, the data feed, the timeframe and the loaded history. The same market on another feed or timeframe shows different figures.
- With the older swing rules on, many swings get only the AB=CD line, and daily charts draw few zones.
- Pivots confirm 5 bars late, after the bars set by Pivot right bars. Letters and zones appear at that point and are drawn back on the pivot bars.
- The running leg's letters, window, preview and depths exist on the last bars only. They move with each new extreme, can follow a high or low that has not confirmed yet (marked with a question mark), and are replaced when C confirms.
- Finished tags follow the left edge of the view, so the script recalculates when you scroll. Zones and alerts do not change; only the position of those tags does.
- With the strip at the bottom, the price scale keeps extra room under the lowest candle or drawing.
- No drawing reaches more than about 4,900 bars back.
- When zoomed out, a finished tag can cover candles.
- No volume is used. On Heikin Ashi, Renko and other synthetic charts, the swings are built from synthetic prices, so use standard candles.
CREDITS
- The AB=CD swing goes back to H. M. Gartley's 1935 writing on swing patterns. Larry Pesavento and Scott Carney later tied it to Fibonacci ratios.
- The Fibonacci ratios come from the sequence Leonardo of Pisa published in 1202.
- Average True Range: J. Welles Wilder Jr., 1978.
- Written from scratch in Pine Script v6, open source under the Mozilla Public License 2.0.
Look first. Then leap.
Trading involves risk. This indicator is an analysis tool, not financial advice: use it alongside your own analysis and risk management.
Frequently Asked Questions
What is the Measured Move & Fibonacci Extension Zones indicator?
Measured Move & Fibonacci Extension Zones shades a zone only where the AB=CD measured move and a BC Fibonacci extension land on the same price at an older swing.
Is Measured Move & Fibonacci Extension Zones free to use on TradingView?
Yes, Measured Move & Fibonacci Extension Zones is completely free to use. You can add it directly to your TradingView charts at no cost.
How do I add Measured Move & Fibonacci Extension Zones to my TradingView chart?
Open TradingView, click on "Indicators" at the top of your chart, search for "Measured Move & Fibonacci Extension Zones" by FibAlgo, and click to add it. It will appear on your chart immediately.
What trading strategies work best with Measured Move & Fibonacci Extension Zones?
Measured Move & Fibonacci Extension Zones is commonly used for Fibonacci analysis. It works well as part of a multi-indicator confirmation strategy on any timeframe.
Learn More
- Fibonacci Trading Strategy: The Complete GuideMaster Fibonacci retracement, extension, and time zones for crypto and forex trading. Learn how institutional traders use Fibonacci levels.
- Risk Management in Crypto Trading: The Complete Survival GuideMaster position sizing, stop losses, portfolio allocation, and emotional discipline for crypto trading. Learn why risk management matters most.
- Best TradingView Indicators: Top 15 Tools Every Trader NeedsComprehensive ranking of the best TradingView indicators for crypto, forex, and stocks. Includes setup guides, settings optimization, and strategy combinations.
Start Using Measured Move & Fibonacci Extension Zones
This indicator is free to use on TradingView. Add it to your charts and use it alongside your own analysis.
Related indicators
View All
Perfect Entry Zone
Adaptive Fibonacci-based support and resistance indicator for TradingView that marks the retracement zones where past swings turned most often, together with Fibonacci time zones.
See Details
Perfect Retracement Zone
Dynamic Fibonacci retracement indicator for TradingView that identifies statistically significant support and resistance zones using pivot frequency analysis.
See Details
Screener (PEZ)
Multi-symbol TradingView screener that monitors up to 10 symbols simultaneously with Fibonacci range positions, trend direction, and zone status.
See Details
ICT Premium & Discount
TradingView indicator that detects ICT Premium and Discount zones in real-time using zigzag analysis with Equilibrium and OTE retracement highlights.
See Details
Adaptive Deviation Channels
TradingView indicator that creates dynamic support and resistance zones by analyzing historical pivot point deviations from a central moving average.
See Details