PROTECTED SOURCE SCRIPT

RSI, ADX, DI & Bollinger Bands Screener [deepakks444]

### **Indicator Name:**
**RSI, ADX, DI & Bollinger Bands Screener [deepakks444]**

---

### **Purpose:**
This indicator combines several popular technical analysis tools, including RSI, ADX, DI, Bollinger Bands, and Moving Averages, to create a comprehensive screener for identifying potential trading opportunities. It also detects divergences and crossover signals for better entry and exit decisions.

---

### **Key Features:**
1. **RSI (Relative Strength Index):**
- Configurable for up to three different timeframes and lengths.
- Highlights RSI values crossing specific thresholds (e.g., 58 and 42) to signal potential momentum changes.
- Includes visual markers for RSI values overbought, oversold, and divergence detection.

2. **ADX and DI (Directional Movement Index):**
- Tracks ADX values and compares +DI and -DI to assess trend strength and direction.
- Configurable thresholds for ADX and DI levels.
- Dynamic midline plotted at 50 for easy trend visualization.

3. **Bollinger Bands:**
- Provides real-time Bollinger Bands with adjustable length and standard deviation multipliers.
- Detects and alerts when prices cross above or below Bollinger Bands for breakout or reversal signals.

4. **Divergence Detection:**
- Identifies bullish and bearish RSI divergences for potential reversal zones.
- Displays visual markers for divergences directly on the chart.

5. **Customizable Moving Averages (MA):**
- Supports multiple MA types: SMA, EMA, SMMA (RMA), WMA, and VWMA.
- Dynamically changes MA color based on price position relative to the MA.

6. **Alerts:**
- Built-in alert conditions for:
- RSI crossing key levels (58, 42).
- Price crossing Bollinger Bands or moving averages.
- ADX crossing user-defined thresholds.
- Divergences and directional signals (+DI > -DI or vice versa).
- Long and Short signals triggered by combined conditions.

7. **Multi-Symbol Screener:**
- Monitors up to 13 user-defined symbols across multiple timeframes.
- Displays key metrics like RSI for each symbol and timeframe in a tabular format.
- Highlights symbols meeting specific conditions (e.g., RSI overbought/oversold).

8. **User-Friendly Interface:**
- Configurable table position for screener output.
- Adjustable column width and screener position.
- Customizable parameters for every technical indicator and timeframe.

---

### **Inputs and Customization:**

#### **RSI Settings:**
- Configurable lengths for three timeframes (e.g., 14-period RSI for 15m, 1h, and daily charts).
- Overbought and oversold thresholds (default: 60 for overbought, 40 for oversold).

#### **Bollinger Bands Settings:**
- Adjustable length (default: 20) and standard deviation multiplier (default: 2.0).

#### **ADX Settings:**
- Adjustable ADX period, smoothing period, and DI length.
- User-defined ADX threshold to identify strong trends.

#### **Moving Average Settings:**
- Select from various MA types (e.g., SMA, EMA, SMMA, WMA, VWMA).
- Configurable MA length for precise adjustments.

#### **Divergence Detection Settings:**
- User-configurable RSI lookback periods to identify divergence.
- Option to enable or disable divergence detection.

#### **Multi-Symbol Screener:**
- Add up to 13 custom symbols for monitoring.
- Flexible timeframe selection for each symbol.

#### **Display Settings:**
- Choose table position (Top/Bottom Right or Left).
- Customize table column width and screener number.

---

### **Plots and Visuals:**
1. **RSI Panel:**
- Displays RSI values for each symbol and timeframe.
- Highlights RSI values exceeding overbought/oversold thresholds or crossing key levels.

2. **Bollinger Bands:**
- Plots the basis, upper, and lower bands.
- Fills the area between the bands for better visualization of price action.

3. **Moving Average (Dynamic):**
- MA line plotted with dynamic color indicating price position (green for above, red for below).

4. **ADX and DI:**
- Plots ADX and directional lines (+DI, -DI) with dynamic colors based on trend strength.

5. **Divergences:**
- Visual markers for bullish and bearish RSI divergences.

6. **Signals:**
- Buy and Sell markers plotted when signals are triggered.

---

### **Alert Conditions:**
1. **RSI Alerts:**
- RSI crosses above 58 or below 42.

2. **Bollinger Bands Alerts:**
- Price crosses above or below Bollinger Bands.

3. **MA Alerts:**
- Price crosses above or below the selected moving average.

4. **ADX Alerts:**
- ADX crosses above or below the user-defined threshold.

5. **Divergence Alerts:**
- Bullish and Bearish RSI divergence detected.

6. **Trend Signals:**
- Long signal (RSI > 50, +DI > -DI, ADX > threshold).
- Short signal (RSI < 50, -DI > +DI, ADX > threshold).

---

### **How to Use:**
1. Configure the input settings according to your trading strategy.
2. Add up to 13 symbols and define the timeframes you want to monitor.
3. Enable or disable specific features like divergence detection, screener panel, and smoothing.
4. Use the screener table to identify actionable setups quickly.
5. Set alerts for key conditions like RSI levels, price crossovers, and trend signals.

---

### **Best Practices:**
- Combine the screener's output with your trading strategy for better decision-making.
- Use the divergence signals to spot potential reversals early.
- Monitor ADX levels to trade during strong trending markets.
- Configure RSI and Bollinger Band settings to suit the market conditions and asset class.

---

This indicator is a powerful tool for traders seeking a comprehensive analysis of multiple symbols using a combination of RSI, ADX, DI, Bollinger Bands, and Moving Averages. It is especially useful for those looking to detect divergences and receive actionable alerts for improved trading performance.

Disclaimer:
This indicator is designed for educational purposes only and should not be interpreted as financial advice or a recommendation to buy, sell, or hold any financial instrument.

Trading and investing in financial markets involve substantial risks and are not suitable for all investors.
Users are encouraged to perform their own research and consult with a licensed financial advisor or professional before making any trading or investment decisions.
The developer of this script and TradingView are not responsible for any financial losses or decisions based on the use of this indicator.
Past performance is not indicative of future results.
By using this indicator, you acknowledge and accept that you are solely responsible for your own trading and investment decisions. Always trade responsibly and within your financial means.

إخلاء المسؤولية