A professional TradingView Pine Script indicator combining Fibonacci 0.618 retracement levels with RSI signals for enhanced technical analysis.
- Automatic Detection: Identifies swing highs and lows automatically
- Dual Direction Analysis: Shows both bullish (BUY) and bearish (SELL) 0.618 levels
- Visual Elements:
- Color-coded lines (Green for bullish, Red for bearish)
- Price labels with exact values
- Optional boxes around Fibonacci levels
- Swing point markers with arrows
- Connecting lines between swing points
- Customizable Settings:
- Adjustable swing length sensitivity
- Line width control
- Optional line extension to the right
- Configurable box distance from candles
- Smart Signal Generation: Shows labels only at crossover moments
- Overbought/Oversold Detection:
- Oversold signals when RSI crosses below 30 (default)
- Overbought signals when RSI crosses above 70 (default)
- Customizable Parameters:
- Adjustable RSI length (default: 14)
- Custom overbought/oversold levels
- Multi-timeframe support
- Color customization for labels and text
Built-in alert conditions for:
- RSI Oversold conditions
- RSI Overbought conditions
- Price crossing above bullish Fibonacci 0.618 level
- Price crossing below bearish Fibonacci 0.618 level
- Open TradingView and navigate to the Pine Editor
- Create a new indicator
- Copy and paste the code from
fibonacci_rsi_indicator.pine - Click "Add to Chart"
| Parameter | Default | Description |
|---|---|---|
| Show Fibonacci 0.618 | ✓ | Enable/disable Fibonacci levels |
| Swing Length | 40 | Sensitivity for swing detection (higher = stronger swings) |
| Line Width | 2 | Thickness of Fibonacci lines |
| Extend Line to Right | ✓ | Extend lines into future |
| Box Distance from Candles | 25 | Distance of labels/boxes from last candle |
| Show Fibonacci Box | ✓ | Display boxes around Fibonacci levels |
| Parameter | Default | Description |
|---|---|---|
| Show RSI Signals | ✓ | Enable/disable RSI signals |
| RSI Timeframe | Current | Timeframe for RSI calculation |
| RSI Length | 14 | Period for RSI calculation |
| Oversold Level | 30 | RSI level for oversold signals |
| Overbought Level | 70 | RSI level for overbought signals |
| Colors | Customizable | Label and text colors |
- Bullish Setup: Look for price to approach the green BUY 0.618 level for potential long entries
- Bearish Setup: Watch for price to reach the red SELL 0.618 level for potential short entries
- The indicator automatically updates levels based on the most recent swing highs and lows
- Oversold Signals: Blue labels appear when RSI drops below the oversold level (potential buy opportunity)
- Overbought Signals: Orange labels appear when RSI rises above the overbought level (potential sell opportunity)
- Combine with Fibonacci levels for confirmation
- Best Entry Points: When RSI oversold signal appears near Fibonacci 0.618 bullish level
- Best Exit Points: When RSI overbought signal appears near Fibonacci 0.618 bearish level
- Click on the indicator name in the chart
- Select "Create Alert"
- Choose from available conditions:
- RSI Oversold
- RSI Overbought
- Fib Buy Signal
- Fib Sell Signal
- Configure your notification preferences
- Version: Pine Script v6
- Overlay: Yes (displays on price chart)
- Max Lines: 500
- Max Labels: 100
- Max Boxes: 50
Contributions, issues, and feature requests are welcome! Feel free to check the issues page.
This project is open source and available under the MIT License.
CODE_FINANCE Team
- 📧 Email: [email protected]
- 💬 Telegram: @code_finance
- 🐙 GitHub: @CODE-FINANC
If you find this indicator helpful, please give it a star! ⭐
This indicator is for educational and informational purposes only. It should not be considered as financial advice. Always do your own research and consider consulting with a qualified financial advisor before making trading decisions. Past performance does not guarantee future results.
Happy Trading! 📈💰