OPEN-SOURCE SCRIPT

Candle Range Trading (CRT) with Alerts

4 472
https://www.tradingview.com/x/6lBTPAnj/
📌 Description:
The Candle Range Trading (CRT) indicator identifies potential reversal or continuation setups based on specific two-candle price action patterns.

It analyzes pairs of candles to detect Bullish or Bearish CRT patterns and provides visual signals (triangles) and alert notifications to support scalp or swing trading strategies.

🔍 How It Works:
🔻 Bearish CRT Pattern:
Candle 1 is bullish

Candle 2 is bearish

Candle 2's high > Candle 1's high

Candle 2 closes within Candle 1’s range
🔺 Red triangle above candle

🔺 Bullish CRT Pattern:
Candle 1 is bearish

Candle 2 is bullish

Candle 2's low < Candle 1's low

Candle 2 closes within Candle 1’s range
🔻 Green triangle below candle

📈 Visual Features:
🔺 Red triangle = Bearish CRT

🔻 Green triangle = Bullish CRT

📏 Optional box showing CRT High and CRT Low

🔔 Built-in Alerts:
Bullish CRT Alert: "Bullish CRT Pattern Detected"

Bearish CRT Alert: "Bearish CRT Pattern Detected"

Set alerts to get notified instantly when a pattern is detected.

⚠️ Note:
Use in conjunction with trend filters, support/resistance, or volume for best results.

Ideal for scalping or short-term trades.

Avoid trading in choppy or low-volume markets.

⚠️ Disclaimer:
This script was generated with the assistance of ChatGPT by OpenAI and is intended for educational and informational purposes only.

All strategies, alerts, and signals derived from this indicator should be thoroughly backtested and validated before using in live trading.

Trading involves substantial risk, and past performance is not indicative of future results. The author and ChatGPT bear no responsibility for any trading losses or financial decisions made using this script.

Users are solely responsible for the risks associated with their trading actions. Always apply proper risk management and perform your own due diligence before making any financial decisions.

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.