OPEN-SOURCE SCRIPT

Rising & Falling Window Signals [LuxAlgo]

By LuxAlgo
Wizard
The Rising & Falling Window Signals indicator identifies Rising & Falling Window formations on the chart and manages them for use as support and resistance zones. The Rising and Falling Window methods used in this indicator are based on Steve Nison's techniques, emphasizing the importance of these areas to better identify continuation momentum and likely reversal points.

Various filtering settings are included to identify zones of a specific width, as well as hide shorter zones from displaying on their chart, helping the users focus on the most significant zones.

🔶 USAGE

snapshot

A Window (Rising or Falling) forms when the candle wicks from 2 consecutive candlesticks do not overlap, causing a gap. This gap is considered as a strong market sentiment of upward or downward movement, allowing traders to anticipate the likely direction of future prices.

snapshot

  • The formation of a Rising Window is a typical indication that a bullish trend is likely to follow.
  • The formation of a Falling Window is a typical indication that a bearish trend is likely to follow.


After forming a window, we can interpret the zone as a likely area of support and resistance for the price to return to and react from.

Generally, the extremities of the window are used as support and resistance levels, with opposite extremities being regarded as the strongest point of support/resistance. However, when the window is exceptionally wide, the mid-point is looked upon as the strongest point of support/resistance. Once the price closes beyond the window, the window is no longer seen as supportive.

snapshot

🔶 DETAILS

The script uses a fairly simple concept and implements it with familiar size and mitigation checks. From the settings of this script, the zones can be controlled based on user preferences.

🔹 Horizontal Zone Control

Horizontal Control Settings manipulate the extension and zone display for each zone; however, these settings do not affect the identification of each zone.

  • Maximum Live Zone Length: This determines the maximum duration of a zone. Zones will stop extending once the zone is mitigated, or if it has reached the maximum zone length determined by this setting.
  • Minimum Inactive Zone Length: This will hide mitigated (inactive) zones that are shorter than this setting value, this is used to free up the chart from irrelevant zones.

    snapshot
  • Extend Historical Zones on Touch: If a zone is unmitigated, but has stopped extending, it is considered a "historical" zone. If the price returns to a historical zone, this setting will cause it to extend to the current bar.

    snapshot


🔹 Vertical Zone Control

Vertical Control Settings filter out windows that are wider or thinner than the desired width range. Each of these settings is specified as "ATR Multipliers".

  • Minimum Width: Filters out any zones whose width is lower than ATR * Minimum Width.
  • Maximum Width: Filters out any zones whose width is higher than ATR * Maximum Width.

    snapshot


🔹 Signal Types

Signals are used to identify interactions with the Rising & Falling Window zones. The script has 3 different identification types to choose from:

Note: These are all bullish (rising window) examples of each signal.
  • Regular: The "regular" signal will fire when the price crosses above the upper extremity of an unmitigated zone.
  • Engulfing: The "engulfing" signal will fire when a bullish engulfing candlestick pattern occurs while one or more of the candle's wicks are touching the zone.
  • Wick: The "wick" signal will fire when the low of the candle is below the top of a zone, but the candle then closes above the top of the zone.


snapshot

🔶 SETTINGS

🔹 Horizontal Zone Control

  • Maximum Live Zone Length: Maximum duration of newly formed zones.
  • Minimum Inactive Zone Length: Hides Zones whose length is lower than this setting.
  • Extend Historical Zones on Touch: Extend historical unmitigated zones when the price reaches the zone to the current bar.


🔹 Vertical Zone Control

  • Minimum Width: ATR multiplier used to filter out any zones whose width is lower than ATR * Minimum Width.
  • Maximum Width: ATR multiplier used to filter out any zones whose width is higher than ATR * Maximum Width.
  • Show Midlines: Determine if the zone midlines are displayed.


🔹 Signals

  • Show Zone Tests: Determine if signals appearing on zone tests are displayed.
  • Test Type: Sets the signal method for zone tests.
  • Signal Size: Sets label size for displayed signals.
Chart patternsfallingwindowgapluxalgopriceactionanalysisreversalrisingwindowsignalsSupport and Resistancesupportandresistancezones
LuxAlgo
Wizard
Get access to our exclusive tools: luxalgo.com

Join our 150k+ community: discord.gg/lux

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

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer