TradeReign
Back to HomeEducation HubCompatibilityAboutDisclosures
TradingView Indicators

TradingView Zig Zag Indicator Why the latest projected pivot moves

The dashed Zig Zag line points to a possible pivot. Watch what happens when a lower low arrives before that pivot has enough bars to its right.

Quick Answer

Open the built-in Zigzag’s Inputs. Pivot legs controls the bar window, and Price deviation for reversals (%) sets the move required for a new opposite leg. Calculate projected pivots enables the realtime dashed preview, which can update or disappear.

Start 7-Day TrialCompare three chart snapshots

Set Pivot legs and the reversal percent

Add the built-in Zigzag from the Indicators menu and open its Inputs. Choose Pivot legs and Price deviation for reversals (%). TradingView divides Pivot legs by two and rounds down for the number of bars on each side. An input of 4 therefore checks two bars on the left and two on the right.

For a new opposite-direction leg, compare the change with the reversal percent using the last saved pivot as the base. From a high of 6,000.00, a 0.15% reversal down is 9.00 points. A low of 5,992.00 is only eight points away, so it can fail the distance check even if the neighboring bars confirm it as a pivot.

Why the dashed Zig Zag projection moves or disappears

These synthetic MES snapshots assume the 6,000.00 high has already been saved. Pivot legs is 4 and the reversal threshold is 0.15%. At 10:05 a.m. ET, the low of 5,988.00 is 12 points away, but its right-side window is still open. A dashed leg can point to that low when Calculate projected pivots is enabled.

At 10:10, the next bar reaches 5,986.00. The old projected endpoint no longer qualifies. The new low is 14 points from the saved high, so the preview can move to it. The 10:15 and 10:20 lows are higher. At the 10:20 close the two-bar right side is complete, and the new pivot meets both the bar and distance requirements.

Turn Calculate projected pivots off to remove the dashed preview. With the option on, TradingView also removes the previous projection when there is no eligible candidate. The chart shows a worked illustration of the rules using bar closes. The built-in projection is a realtime feature and can update during the live session.

One potential Zig Zag leg across three observations

Synthetic MES 5-minute candles. Times are bar closes in ET.

Marker 1 is a saved high at 6,000.00. Marker 2 drops to 5,988.00, meeting the 0.15% distance rule. The dotted amber leg is provisional while the right-side bars are still missing.

Check when a solid line first appeared

A historical solid segment can end on a candle that closed before the pivot was confirmed. In this example, the solid line points to 10:10, and the earliest completed-bar confirmation is 10:20. Log both timestamps if you review a setup using the line.

TradingView also documents that the latest solid segment can be redrawn. A later confirmed high that is more extreme than the last saved high can replace it. Keep a screenshot at the decision time if your journal needs to reconstruct the endpoint you actually saw.

Sources

Official References

Platform details on this page were checked against these official resources.

TradingView’s built-in Zigzag indicatorDocuments projection behavior, bar windows and reversal thresholds.TradingView’s ZigZag Pine libraryShows the official library’s terminology and implementation notes for developers.
Related Guides

Keep Building the Rule System

Check when a Pine pivot confirms

Separate the confirmation candle from the earlier plotted pivot.

Compare NinjaTrader ZigZag deviation units

Check how Points and Percent filter the same price move.

FAQ

Common Questions

Why did my TradingView Zig Zag dashed line disappear?

The dashed line represents a possible pivot. TradingView can move or remove it as prices change, and it is hidden when Calculate projected pivots is off.

Does Pivot legs 10 require ten later candles?

The built-in Zigzag divides 10 into five bars on each side. A close-confirmed candidate needs the five bars on its right.

Risk Disclosure

Futures trading contains substantial risk and is not suitable for every investor. TradeReign is a trading-discipline and rule-enforcement application. It does not provide trading advice, trade signals, investment recommendations, or performance guarantees.

TradeReign is not a broker-dealer, futures commission merchant, or investment advisor.

Futures trading contains substantial risk and is not for every investor. An investor could potentially lose all or more than the initial investment. Only risk capital - money that can be lost without jeopardizing financial security or lifestyle - should be used for trading. Past performance is not necessarily indicative of future results.