INVITE-ONLY SCRIPT
Range Detector Indicator [CTZ]

# Range Detector Indicator [CTZ] - Description & Usage Guide
## What It Is
The Range Detector Indicator is an advanced technical analysis tool that identifies market trends and range-bound conditions using dynamic pivot-based bands. It combines deviation-based pivot detection with adaptive upper and lower bands to help traders identify optimal entry and exit points.
## Key Features
- **Dynamic Bands**: Upper and lower bands that adapt to market conditions based on pivot points
- **Trend Detection**: Automatically identifies bullish, bearish, and ranging market states
- **Real-Time Dashboard**: Displays current signals, band levels, and distances in an easy-to-read table
- **Buy/Sell Signals**: Generates alerts when price hits the lower band (BUY) or upper band (SELL)
- **Visual Labels**: Marks significant trend changes directly on the chart (L = Long, S = Short, R = Range)
- **Customizable Alerts**: Get notified of trend changes and band touches
## How to Use It
### Basic Setup
1. **Add to Chart**: Apply the indicator to your TradingView chart
2. **Configure Settings**:
- **Deviation (2.5 default)**: Higher values create wider bands; lower values make bands tighter
- **Depth (50 default)**: Number of bars analyzed for pivot detection; higher values smooth the bands
- **Bands % Offset (0.5% default)**: Additional percentage buffer for band placement
### Reading the Signals
**Dashboard Signals:**
- **BUY**: Price has hit the lower band - potential buying opportunity
- **SELL**: Price has hit the upper band - potential selling opportunity
- **NEUTRAL**: Price is between bands - wait for clearer signal
**Trend States:**
- **BULLISH (Green)**: Uptrend confirmed - look for dips to buy
- **BEARISH (Red)**: Downtrend confirmed - look for rallies to sell
- **RANGING (Orange)**: No clear trend - use mean reversion strategy
### Trading Strategy
1. **Buy Signal**: When price touches the lower band AND dashboard shows "BUY"
2. **Sell Signal**: When price touches the upper band AND dashboard shows "SELL"
3. **Stop Loss**: Place stops below the lower band (for buys) or above the upper band (for sells)
4. **Target**: Opposite band or use the mid-band as a partial profit target
### Dashboard Information
- **Signal**: Current market signal (BUY/SELL/NEUTRAL)
- **Current Price**: Real-time price
- **Upper Band**: Resistance level with distance percentage from current price
- **Lower Band**: Support level with distance percentage from current price
- **Trend**: Overall market direction (BULLISH/BEARISH/RANGING)
### Best Practices
- Works best on timeframes 15min and above
- Combine with other indicators for confirmation
- Use in trending markets for best results
- Adjust Deviation and Depth based on asset volatility
- Enable alerts to catch opportunities in real-time
### Alert Types Available
1. **Long Alert**: Bullish trend confirmed
2. **Short Alert**: Bearish trend confirmed
3. **Range Alert**: Market entering range-bound state
4. **Buy Signal**: Price hit lower band
5. **Sell Signal**: Price hit upper band
This indicator is ideal for swing traders, day traders, and anyone looking to identify high-probability entries based on dynamic support and resistance levels.
## What It Is
The Range Detector Indicator is an advanced technical analysis tool that identifies market trends and range-bound conditions using dynamic pivot-based bands. It combines deviation-based pivot detection with adaptive upper and lower bands to help traders identify optimal entry and exit points.
## Key Features
- **Dynamic Bands**: Upper and lower bands that adapt to market conditions based on pivot points
- **Trend Detection**: Automatically identifies bullish, bearish, and ranging market states
- **Real-Time Dashboard**: Displays current signals, band levels, and distances in an easy-to-read table
- **Buy/Sell Signals**: Generates alerts when price hits the lower band (BUY) or upper band (SELL)
- **Visual Labels**: Marks significant trend changes directly on the chart (L = Long, S = Short, R = Range)
- **Customizable Alerts**: Get notified of trend changes and band touches
## How to Use It
### Basic Setup
1. **Add to Chart**: Apply the indicator to your TradingView chart
2. **Configure Settings**:
- **Deviation (2.5 default)**: Higher values create wider bands; lower values make bands tighter
- **Depth (50 default)**: Number of bars analyzed for pivot detection; higher values smooth the bands
- **Bands % Offset (0.5% default)**: Additional percentage buffer for band placement
### Reading the Signals
**Dashboard Signals:**
- **BUY**: Price has hit the lower band - potential buying opportunity
- **SELL**: Price has hit the upper band - potential selling opportunity
- **NEUTRAL**: Price is between bands - wait for clearer signal
**Trend States:**
- **BULLISH (Green)**: Uptrend confirmed - look for dips to buy
- **BEARISH (Red)**: Downtrend confirmed - look for rallies to sell
- **RANGING (Orange)**: No clear trend - use mean reversion strategy
### Trading Strategy
1. **Buy Signal**: When price touches the lower band AND dashboard shows "BUY"
2. **Sell Signal**: When price touches the upper band AND dashboard shows "SELL"
3. **Stop Loss**: Place stops below the lower band (for buys) or above the upper band (for sells)
4. **Target**: Opposite band or use the mid-band as a partial profit target
### Dashboard Information
- **Signal**: Current market signal (BUY/SELL/NEUTRAL)
- **Current Price**: Real-time price
- **Upper Band**: Resistance level with distance percentage from current price
- **Lower Band**: Support level with distance percentage from current price
- **Trend**: Overall market direction (BULLISH/BEARISH/RANGING)
### Best Practices
- Works best on timeframes 15min and above
- Combine with other indicators for confirmation
- Use in trending markets for best results
- Adjust Deviation and Depth based on asset volatility
- Enable alerts to catch opportunities in real-time
### Alert Types Available
1. **Long Alert**: Bullish trend confirmed
2. **Short Alert**: Bearish trend confirmed
3. **Range Alert**: Market entering range-bound state
4. **Buy Signal**: Price hit lower band
5. **Sell Signal**: Price hit upper band
This indicator is ideal for swing traders, day traders, and anyone looking to identify high-probability entries based on dynamic support and resistance levels.
仅限邀请脚本
只有作者授权的用户才能访问此脚本。您需要申请并获得使用许可。通常情况下,付款后即可获得许可。更多详情,请按照下方作者的说明操作,或直接联系CryptoTradingZone。
TradingView不建议您付费购买或使用任何脚本,除非您完全信任其作者并了解其工作原理。您也可以在我们的社区脚本找到免费的开源替代方案。
作者的说明
Join our Telegram Group for Free
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
仅限邀请脚本
只有作者授权的用户才能访问此脚本。您需要申请并获得使用许可。通常情况下,付款后即可获得许可。更多详情,请按照下方作者的说明操作,或直接联系CryptoTradingZone。
TradingView不建议您付费购买或使用任何脚本,除非您完全信任其作者并了解其工作原理。您也可以在我们的社区脚本找到免费的开源替代方案。
作者的说明
Join our Telegram Group for Free
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。