All indicators

ZigZag Percent Reversal(Multiple) - Forecast Areas

May 16, 2019

Static chart image
Price Action BasedForecastingPivot Based (Retrospective)

The ZigZag Percent Reversal(Multiple) - Forecast Areas tool identifies potential reversal zones by analyzing multiple ZigZag iterations and calculating statistical price and time targets. It provides traders with a visual representation of where a trend is likely to conclude based on historical price ranges and bar counts.

Usage

The script utilizes five concurrent ZigZag calculations, each with a progressively larger percentage reversal requirement. By analyzing the "Price Range" and "Bar Range" (time) of previous legs, the indicator projects a shaded forecast area on the chart.

  • Trend Identification: The forecast areas shift based on the current direction of the multiple ZigZag components.
  • Probability Zones: Darker or more concentrated areas indicate a statistical confluence where multiple ZigZag scales suggest a potential pivot.
  • Time & Price Targets: The horizontal extent of the forecast area suggests the expected duration of the current leg, while the vertical extent suggests the target price level.

Details

The script functions by capturing the distance (price) and duration (bars) between pivots for five different ZigZag sensitivities. It then applies a weighting mechanism to these occurrences to calculate an average expected range and its standard deviation.

The "Forecast Areas" are constructed using these statistical measures, projecting a normal distribution of potential pivot points from the most recent confirmed pivot. This "naive forecasting" approach assumes that future market swings will likely mirror the statistical properties of recent swings.

Settings

  • Offset: Shifts the forecast visualization horizontally on the chart.
  • Percent of last pivot price for zigzag reversal: The base percentage required for the first ZigZag to identify a trend change.
  • Step scale between ZigZags Percent: The incremental percentage added to each subsequent ZigZag iteration (e.g., if base is 1% and step is 0.5%, the iterations are 1%, 1.5%, 2%, etc.).
  • Length of occurrences to weight: Determines the lookback period for the moving average calculation of price and bar ranges. A lower value makes the forecast more reactive to recent volatility.

FAQ

How do I interpret the shaded forecast areas?

The shaded areas represent the statistical expectation of where the current price move might end. If price enters a dense forecast zone, the probability of a ZigZag reversal increases based on historical averages.

Why are there multiple ZigZags being calculated?

Using multiple sensitivities allows the tool to account for both minor fluctuations and major trend shifts simultaneously, providing a more robust "cluster" of potential reversal points rather than a single line.

How can I access ZigZag Percent Reversal(Multiple) - Forecast Areas?

You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.

Free indicator

Get free access to this indicator on the platforms below.

TradingView
NinjaTrader
MetaTrader 4/5

Unlock the entire LuxAlgo Library

Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.