OPEN-SOURCE SCRIPT

Three Bar Reversal Pattern [LuxAlgo]

The Three Bar Reversal Pattern indicator identifies and highlights three bar reversal patterns on the user price chart.

The script also provides an option for incorporating various trend indicators used to filter out detected signals, allowing them to enhance their accuracy and help obtain a more comprehensive analysis.

🔶 USAGE

スナップショット

The script automates the detection of three-bar reversal patterns and provides a clear, visually identifiable signal for potential trend reversals.

スナップショット

When a reversal chart pattern is confirmed and price action aligns with the pattern, the pattern's boundaries are extended, forming levels, with the upper boundary often acting as a resistance and the lower boundary as a support.

スナップショット

The script allows users to filter patterns based on a specific trend direction detected by multiple trend indicators. Users can choose to view patterns that are either aligned with the detected trend or opposite to it.

スナップショット

Included trend indicators are: Moving Average Cloud, Supertrend, and Donchian Channels.

スナップショット

🔶 DETAILS

The three-bar reversal pattern is a technical analysis pattern that signals a potential reversal in the prevailing trend. The pattern consists of three consecutive bar formations:

  • First Bar and Second Bar: 2 consecutive of the same sentiment, representing the prevailing trend in the market.
  • Third Bar: Confirms the reversal by closing beyond the high or low of the first bar, signaling a potential change in market sentiment.


Various types of three-bar reversal patterns are documented. The script supports two main types:

  • Normal Pattern: Detects three-bar reversal patterns without requiring the third bar closing price to surpass the high (bullish pattern) or low (bearish pattern) of the first bar. It identifies basic formations signaling potential trend reversals.
  • Enhanced Pattern: Specifically identifies three-bar reversal patterns where the third bar closing price surpasses the high (bullish pattern) or low (bearish pattern) of the first bar. This type provides a more selective signal for stronger trend reversals.


スナップショット

🔶 SETTINGS

  • Pattern Type: Users can choose the type of 3-bar reversal patterns to detect: Normal, Enhanced, or All. "Normal" detects patterns that do not necessarily surpass the high/low of the first bar. "Enhanced" detects patterns where the third bar surpasses the high/low of the first bar. "All" detects both Normal and Enhanced patterns.
  • Derived Support and Resistance: Toggles the visibility of the support and resistance levels/zones.


🔹 Trend Filtering

  • Filtering: Allows users to filter patterns based on the trend indicators: Moving Average Cloud, Supertrend, and Donchian Channels. The "Aligned" option only detects patterns that align with the trend and conversely, the "Opposite" option detects patterns that go against the trend.


🔹 Trend Indicator Settings

  • Moving Average Cloud: Allows traders to choose the type of moving averages (SMA, EMA, HMA, etc.) and set the lengths for fast and slow-moving averages.
  • Supertrend: Options to set the ATR length and factor for Supertrend.
  • Donchian Channels: Option to set the length for the channel calculation.


🔶 RELATED SCRIPTS

breakoutChart patternsluxalgoreversalreversalpatternthreebarTrend Analysis

オープンソーススクリプト

TradingViewの精神に則り、このスクリプトの作者は、トレーダーが理解し検証できるようにオープンソースで公開しています。作者に敬意を表します!無料で使用することができますが、このコードを投稿で再利用するには、ハウスルールに準拠する必要があります。 お気に入りに登録してチャート上でご利用頂けます。

チャートでこのスクリプトを利用したいですか?


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.
他のメディア:

免責事項