OPEN-SOURCE SCRIPT

RDW Pivot Detector

The RDW Pivot Detector is a versatile Pine Script indicator designed to identify and visualize pivot points in price action, enhancing traders' ability to spot potential reversals and continuation zones. This script includes dynamic support and resistance levels, giving traders a clearer understanding of market structure and trends.

Key Features:
Pivot Point Detection:

Identifies both regular and missed pivot points (highs and lows).
Displays labels for pivot highs (▼) and pivot lows (▲) with customizable colors and tooltips.
Missed pivots are marked with 👻 symbols for better clarity.
Dynamic Support & Resistance:

Tracks support and resistance levels using the lowest low and highest high within a user-defined lookback period.
Customizable Visualization:

Dashed lines for missed pivots, and solid lines for valid pivots.
Custom color options for both regular and missed pivots.
RS Rating (Relative Strength Filter):

Integrates a dummy RS rating to highlight buy signals based on user-defined thresholds.
How to Use:
Add to Chart:

Open TradingView and apply the script to your desired asset chart.
Setup Options:

Pivot Length: Adjust the sensitivity of pivot detection.
Display Preferences:
Toggle regular (▼, ▲) or missed (👻) pivots using the options in the settings menu.
Colors: Customize pivot label and line colors to suit your charting preferences.
Dynamic Levels:

Enable the dynamic support and resistance to monitor key price levels and adjust the "Lookback Period" to align with your trading strategy.
RS Rating Integration:

Use the RS rating filter for buy signal generation. Adjust the threshold (default is 40) to match your criteria for identifying strong stocks.
Interpret Signals:

Buy Signal: Triggered when RS Rating exceeds the user-defined threshold. Combine this with identified pivot lows (▲) for potential entry zones.
Sell Signal: Look for pivot highs (▼) near resistance levels to anticipate potential selling opportunities.
Recommendations:
Use the RDW Pivot Detector alongside other technical indicators for confirmation, such as moving averages or oscillators.
Test the settings on multiple timeframes and markets to find optimal parameters that align with your trading strategy.
Combine missed pivots and dynamic levels for trend-following or reversal strategies.
This script is a powerful tool for identifying key market levels and can be customized to fit any trading style!
Pivot PointsPivot points and levels

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer