Wave Consolidation [LuxAlgo]

The Wave Consolidation indicator uses market profiles to highlight consolidation zones based on upward and downward moves determined when a Higher-High or Lower-Low is created.

Users can control the amount of consolidation zones to display and the sensitivity of the swing point detection used to return those zones.


These zones are intended as areas of interest to traders where price has seen historical interactions, which can be interpreted as support and resistance. By identifying these areas of interest before the price returns to them, traders are able to anticipate and prepare for various scenarios and respond dynamically to the behavior of the market, as seen below.

  1. Rejection: A quick move away from the zone may indicate that the area is either overvalued or undervalued, leading to a fast movement in the opposite direction.

  2. Breakthrough: Moving beyond a zone could indicate acceptance at that specific price, potentially signaling a shift in momentum or the start of a new trend. In a strong major trend, zones created from smaller trends could be used as price targets for taking profit and managing risk.

  3. Consolidation: Holding these zones might suggest a market in balance at these levels, this could lead to opportunities for range-bound trading.

Below is an example of the Rejection and Consolidation scenarios described above.

Note: By analyzing the tests and retests of these zones, traders can also gain further insight into where participants are interacting in the market.


The full process for acquiring and managing these zones is described in the sub-sections below.

🔹 Creation

By only considering market movements creating a higher-high or lower-low, we can identify meaningful, directional, moves which can then be used to calculate zones.

Once a move is identified, the script calculates a volume profile spanning the length of the given move.

The width of the zones is determined starting from the POC of the profile and expanding outwards until the value of the profile's row falls below the profile's average.

Note: By increasing the "Multiplier" Input, Users can increase the threshold the script uses to determine zone width in multiples of Standard Deviations above the Average.

While this area is similar to a VP Value Area, it is not intended to replicate a value zone. The calculation is not concerned with capturing any % of the total profile's volume within the zone and only analyzes based on a fixed inclusion threshold.

🔹 Management

To keep clutter to a minimum, If a new zone overlaps a recently created zone, the zones are grouped as one. This is especially helpful in areas where prices are ranging, creating multiple zones in a very similar area.

Zones before management:

Zones after management:

🔹 Deletion

Just because a zone is crossed, does not make it immediately unimportant!

Once a Zone is mitigated (crossed in the opposite direction of its bias) it is reduced to a single dotted line representing the outer threshold for the zone. These lines are important to watch, as the price will often retest a break. For this reason, they will stay on the chart until the next swing point is detected when they will finally be deleted for good.

Below is an example of activity around a broken zone before it is deleted.

Below is the same example 2bBars later, once the new swing is confirmed, the dotted lines are deleted and new zones are created.

Notice how the newly formed resistance zone is in the same area where we noticed sellers previously.



  • Display Structure: Determines if swing structures are displayed.
  • Structure Length: Sets Length for structure identification.


  • Volume-Based Calculations: Opt to use a "Volume" based Profile Calculation instead of the default "Price Action" based Calculation.
  • Display Count: Sets the specific number of bullish and bearish zones to display on the chart.
  • Multiplier: Sets the multiplier to use for the value cut-off for determining zone boundaries.


  • Display Average Lines: Toggles on/off the average (mid) lines for the zones.

Get access to our exclusive tools:

Join our 150k+ community:

All content provided by LuxAlgo is for informational & educational purposes only. Past performance does not guarantee future results.
Skrypt open-source

Zgodnie z prawdziwym duchem TradingView, autor tego skryptu opublikował go jako open-source, aby traderzy mogli go zrozumieć i zweryfikować. Brawo dla autora! Możesz używać go za darmo, ale ponowne wykorzystanie tego kodu w publikacji jest regulowane przez Dobre Praktyki. Możesz go oznaczyć jako ulubione, aby użyć go na wykresie.

Wyłączenie odpowiedzialności

Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.

Chcesz użyć tego skryptu na wykresie?