OPEN-SOURCE SCRIPT

4-Bar Reversal Pattern

67
๐Ÿ“Œ Title:
4-Bar Reversal Pattern โ€” Multi-Candle Signal Detector

๐Ÿ“„ Description:
The 4-Bar Reversal Pattern indicator is a powerful price action tool designed to detect significant market reversal signals based solely on candle structure โ€” no moving averages or indicators involved.

๐Ÿ” What it does:

Identifies a unique 4-candle reversal setup:

Long Setup: After 3 consecutive bearish candles, a bullish candle breaks the range (higher high + lower low than the previous bar).

Short Setup: After 3 consecutive bullish candles, a bearish candle breaks the range (lower low + higher high than the previous bar).

Confirms signals only when the current candle closes, increasing signal reliability.

Displays visual labels ("BUY"/"SELL") directly on the chart.

Triggers alerts for long and short setups.

Includes a generic alert option to notify whenever any signal is detected (can be toggled on/off).

โš™๏ธ Customizable Inputs:

Enable/disable generic alert

This indicator is ideal for:

Traders looking for clean, mechanical setups

Price action enthusiasts

Those who trade without lagging indicators

Use it on any timeframe, and combine it with your own filters (RSI, support/resistance, etc.) to refine entries.

Indicator born following the viewing of the following video:
youtube.com/watch?v=B8AKwSfpsHQ

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.