
A unique trading script that tracks historical market highs and lows using customizable length and lookback parameters to calculate midline and Fibonacci levels.
Explore complementary indicator rolesHow it works
The script employs a two-step process for identifying market highs and lows using adjustable parameters. The length parameter determines how long a max/min value is retained, resetting if the recorded point is older than specified. When a reset occurs, the lookback parameter comes into play, scanning backward through a defined number of candles to establish a new max/min point.
This dynamic approach allows traders to adaptively track significant price levels. By continuously updating and recalculating historical extremes, the script creates a flexible framework for identifying potential support and resistance zones, midlines, and Fibonacci-based trading levels.
Why it may be useful
Tracking historical price extremes provides traders with critical insights into market structure and potential turning points. By dynamically adjusting max/min calculations, the script offers a more responsive and context-aware approach to identifying key price levels compared to static methods.
The customizable length and lookback parameters enable traders to fine-tune the indicator to different market conditions and timeframes. This flexibility allows for more personalized analysis, helping traders adapt their strategy to the unique characteristics of specific financial instruments and trading environments.
When to explore it
This script is most effective in markets with clear trend characteristics and sufficient price movement. It works particularly well in liquid markets like forex, futures, and major stock indices where price action tends to be more predictable and structured.
Traders should consider using this method during periods of established trend momentum, when price is showing consistent directional movement. It is especially useful for identifying potential entry and exit points, helping traders make more informed decisions about market trends and potential reversal zones.
Keep exploring
What we’ve verified
Access, alerts and repainting behaviour have not been independently verified for this indicator. Check the creator’s current publication and settings.
General descriptions and classifications are recovered research. Verified details above identify the specific checks we have completed. Check the creator’s current publication for later changes.






![[GrandAlgo] Liquidity Pivot Cloud - LPC chart preview](https://s3.tradingview.com/i/IP50XY46.png?v=1741214073)