PROTECTED SOURCE SCRIPT

RSI Divergence Visualizer

100
[Note: This is an Alpha release. May have some bugs, please add issues in comments or ping me directly]

This indicator is a powerful tool for spotting potential trend reversals by automatically identifying and visualizing RSI divergences. It plots both regular bullish and bearish divergences directly on the chart and in the RSI pane, drawing clear lines to connect the relevant pivot points on both the price and the oscillator.

The visualizer also includes several features to enhance your analysis:

  • RSI and SMA: The standard RSI line is plotted along with an RSI SMA (Simple Moving Average) to help you gauge the overall trend and momentum.
  • Color-Coded Zones: Clear color-coded zones for overbought (red), oversold (green), and neutral (purple) conditions are displayed, making it easy to see when the RSI is reaching extremes.
  • Customization: You can adjust the RSI Length, Smoothing Length, and Pivot Lookback sensitivity to fine-tune the indicator to your specific trading strategy and timeframe.


Future Features

  • Expanded Divergence Types: The indicator will be enhanced to detect Hidden Bullish and Hidden Bearish divergences, which signal trend continuation. This will provide a more comprehensive view of potential trading opportunities.
  • Advanced Confirmation Logic: We will introduce new options to confirm a divergence, giving you greater control:
    • RSI Level Confirmation: The ability to specify any RSI level (e.g., 30 or 70) for confirmation, rather than being limited to the midpoint of 50.
    • Price Action Confirmation: A divergence will be marked as complete when the price breaks out above the previous pivot high for a bullish divergence or breaks down below the previous pivot low for a bearish divergence. This is a powerful signal that the trend has reversed.







Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.