OPEN-SOURCE SCRIPT

Candle Range Detector [UAlgo]

The "Candle Range Detector [UAlgo]" is a Pine Script™ indicator designed to identify trading opportunities based on the concept of price consolidation and breakout. It analyzes the price range of a specified number of previous candles and detects when subsequent candles stay within that range (consolidation). The indicator then highlights potential breakouts above or below the range and provides calculated Take Profit (TP) and Stop Loss (SL) levels based on your chosen method (percentage or Average True Range - ATR).

🔶 Key Features

Configurable Range: Define the minimum number of candles required to establish a valid price range.

cuplikan

Breakout Detection: Identify potential breakouts above or below the established range based on your selection (close price or wick).

cuplikan

Take Profit & Stop Loss Levels: The indicator calculates TP and SL levels based on your chosen method (percentage or ATR) and user-defined multipliers. The calculated TP and SL levels are visualized as horizontal lines with corresponding labels ("Take Profit" and "Stop Loss").

cuplikan

Optional Count Display: You can choose to display the number of candles currently within the range.

🔶 Disclaimer:

Not Financial Advice: This indicator is intended for educational and informational purposes only. It does not constitute financial advice or recommendations to buy, sell, or hold any financial instruments.

Use at Own Risk: Trading involves substantial risk of loss and is not suitable for all investors. Users of this indicator should exercise caution and conduct their own research and analysis before making any trading decisions.

Performance Not Guaranteed: Past performance is not indicative of future results. While the indicator aims to assist traders in analyzing market trends, there is no guarantee of accuracy or success in trading operations.

🔷 Related Scripts

Range Finder [UAlgo]

https://www.tradingview.com/script/iJIdlOP0-Range-Finder-UAlgo/
accumulationAverage True Range (ATR)breakoutbreakouttradingconsolidationcontractionrange

Skrip open-source

Dengan semangat TradingView yang sesungguhnya, penulis skrip ini telah menerbitkannya sebagai sumber terbuka, sehingga para trader dapat memahami dan memverifikasinya. Hormat untuk penulisnya! Anda dapat menggunakannya secara gratis, namun penggunaan kembali kode ini dalam publikasi diatur oleh Tata Tertib. Anda dapat memfavoritkannya untuk digunakan pada chart

Inggin menggunakan skrip ini pada chart?


Get access to our exclusive tools: ualgo.trade

Join Our Discord For Updates: discord.com/invite/kyQkKxUQkW

All scripts & Content Provided by UAlgo Are For Informational & Educational Purposes Only.
Juga di:

Pernyataan Penyangkalan