PROTECTED SOURCE SCRIPT
Ghost Pivots Lite

Ghost Pivots Lite
This indicator identifies potential swing points in real time using price-action thresholds and pivot analysis. It highlights momentum shifts that may precede breakouts or breakdowns while keeping the chart clean and overlay-friendly. The white text/circles/lines exhibited in the chart are to display what the Ghost Pivots look like when fully enabled in Settings/Style.
Key Features
Real-time detection of swing highs and lows based on customizable pivot length and swing thresholds.
Visual cues using dashed lines and labels for clear swing identification.
Minimal overlay elements to avoid clutter.
Works across all timeframes.
How It Works
The indicator calculates pivot highs and lows and applies a minimum swing-percentage threshold. When price movement meets or exceeds that threshold, the script plots a dashed line and label at the swing point. This offers a visual reference for momentum changes without issuing trading signals.
Why This Approach
Standard pivot indicators may lag or trigger excessively in volatile conditions. By combining pivots with a percentage-based swing filter, this version emphasizes meaningful momentum shifts and reduces noise.
How to Use (Step by Step)
Add the indicator to your chart.
Adjust outputs to your chart in Settings-Style
-Toggle on/off the ghosts
-Toggle on/off the lines from the ghost pivots
-Adjust precision-default is 1. Choices are 0-8.
Each stock or ETF has different behavior. This tool comes defaulted (1) to use with the SPY etf-adjust accordingly for others.
Notes
For informational and educational purposes only.
No financial, trading, or investment advice.
Alerts are observational only and do not include automated instructions.
Effective on any timeframe; consider reviewing historical examples with different settings/styles to understand behavior.
Protection Note
Source code is protected to safeguard proprietary swing-momentum logic combining pivot thresholds with price-percentage filters not available in standard open-source pivot indicators.
This indicator identifies potential swing points in real time using price-action thresholds and pivot analysis. It highlights momentum shifts that may precede breakouts or breakdowns while keeping the chart clean and overlay-friendly. The white text/circles/lines exhibited in the chart are to display what the Ghost Pivots look like when fully enabled in Settings/Style.
Key Features
Real-time detection of swing highs and lows based on customizable pivot length and swing thresholds.
Visual cues using dashed lines and labels for clear swing identification.
Minimal overlay elements to avoid clutter.
Works across all timeframes.
How It Works
The indicator calculates pivot highs and lows and applies a minimum swing-percentage threshold. When price movement meets or exceeds that threshold, the script plots a dashed line and label at the swing point. This offers a visual reference for momentum changes without issuing trading signals.
Why This Approach
Standard pivot indicators may lag or trigger excessively in volatile conditions. By combining pivots with a percentage-based swing filter, this version emphasizes meaningful momentum shifts and reduces noise.
How to Use (Step by Step)
Add the indicator to your chart.
Adjust outputs to your chart in Settings-Style
-Toggle on/off the ghosts
-Toggle on/off the lines from the ghost pivots
-Adjust precision-default is 1. Choices are 0-8.
Each stock or ETF has different behavior. This tool comes defaulted (1) to use with the SPY etf-adjust accordingly for others.
Notes
For informational and educational purposes only.
No financial, trading, or investment advice.
Alerts are observational only and do not include automated instructions.
Effective on any timeframe; consider reviewing historical examples with different settings/styles to understand behavior.
Protection Note
Source code is protected to safeguard proprietary swing-momentum logic combining pivot thresholds with price-percentage filters not available in standard open-source pivot indicators.
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由使用,沒有任何限制 — 點擊此處了解更多。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由使用,沒有任何限制 — 點擊此處了解更多。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。