This Pine Script is a version 5 indicator for TradingView, designed to display and analyze market conditions on price charts. It's named "Dragon Double RSI Overbought-Oversold With Label" and has the short title "D-DRO2." Here are the key features of this indicator:
1. **Indicator Settings**:
- This indicator is named "Dragon Double RSI Overbought-Oversold With Label" and has a short title "D-DRO2."
- It is overlaid on the price chart and allows you to set a maximum number of labels (max_labels_count).
2. **Moving Average (MA1)**:
- This indicator offers the option to display a customizable moving average (MA1).
- You can configure the period, type (SMA, EMA, etc.), data source, and resolution for MA1.
- MA1 is calculated based on your chosen settings and displayed on the chart.
3. **Fast RSI**:
- You can configure the period and data source for the Fast RSI and set overbought and oversold levels.
- The Fast RSI is calculated using the specified settings.
- Labels are added when the Fast RSI crosses overbought or oversold levels, and you can adjust the label size.
4. **Slow RSI**:
- You can configure the period and data source for the Slow RSI and set overbought and oversold levels.
- The Slow RSI is calculated based on your specified settings.
- Labels are added when the Slow RSI crosses overbought or oversold levels, with customizable label size.
5. **Alerts**:
- Alerts are generated for both Fast RSI and Slow RSI, separately and in combination (overbought and oversold).
- Alert messages are created when the conditions for these alerts are met.
This script offers the flexibility to visualize and receive alerts for both Fast and Slow RSI indicators, as well as providing control over various settings like label size, RSI period, and source. Traders can use this indicator to identify potential buy or sell opportunities based on RSI conditions and moving averages.
Please note that this script is written in Pine Script version 5, which is used in TradingView. You can customize the settings and use it on the TradingView platform to analyze price charts and receive alerts based on RSI conditions.