Pivot Reversal Strategy New - Alerts
Jul 26, 2019

The Pivot Reversal Strategy New - Alerts indicator is a trend-following tool designed to identify potential market reversals and breakouts based on historical pivot high and low points. It aims to provide clear entry signals by tracking price action relative to these established pivot levels, helping traders capture momentum shifts.
Usage
The indicator can be used to identify breakout opportunities when the price moves beyond recent pivot levels. A "BUY" signal is generated when the current high exceeds the most recent pivot high, suggesting a bullish breakout. Conversely, a "SELL" signal is triggered when the current low drops below the most recent pivot low, suggesting a bearish breakdown.
The tool includes logic to filter out consecutive entries of the same type and ensures that signals alternate between long and short to maintain a clear directional bias. Traders can use the "High Price Line" and "Low Price Line" as dynamic support and resistance levels to gauge the strength of the current trend.
Details
The script utilizes the ta.pivothigh and ta.pivotlow functions to determine significant price structural points. A pivot is confirmed only after a specific number of bars have passed to the right of the high or low, ensuring the point is a local extremum.
- Pivot High: The highest point reached within a window defined by the Left and Right Bars settings.
- Pivot Low: The lowest point reached within a window defined by the Left and Right Bars settings.
- Entry Logic: The script stores the price of the most recent confirmed pivot. An entry signal is validated when price breaks through these stored levels, provided the previous signal was of the opposite direction.
Settings
- Left Bars: The number of bars to the left of a potential pivot point required for confirmation.
- Right Bars: The number of bars to the right of a potential pivot point required for confirmation. Higher values result in more significant but lagging pivot points.
FAQ
How do I use the signals from this indicator?
The "BUY" and "SELL" labels indicate potential trend reversals or breakouts. Many traders use these in conjunction with other volume or momentum indicators to confirm the strength of the move.
What do the horizontal lines represent?
The green line represents the most recent confirmed Pivot High, while the red line represents the most recent confirmed Pivot Low. These act as the threshold levels for the entry signals.
Where can I access this tool?
You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
Free indicator
Get free access to this indicator on the platforms below.
Unlock the entire LuxAlgo Library
Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.