
A technical analysis script that identifies market structure levels using price action trails and pivot points to track trends and potential reversal zones.
Explore complementary indicator rolesHow it works
The script employs a sophisticated price action trail mechanism that compares current price against previous highest and lowest price points to detect key market structure events. It tracks price extremes by using a step length parameter that defines the number of bars for comparison and a length parameter determining the range for calculating highest/lowest prices since the last price action event.
Additionally, the script calculates pivot point highs and lows by analyzing the number of bars with lower highs or higher lows on either side of a pivot point. These pivot points are then drawn as lines to highlight market structure extremes, providing traders with visual insights into potential trend shifts and critical price levels.
Why it may be useful
By combining pivot analysis with price action trailing techniques, the script offers traders a comprehensive view of market structure that goes beyond traditional indicator approaches. It provides granular insights into price movements, helping traders identify potential trend reversals, support and resistance levels, and critical market turning points with enhanced precision.
The script's ability to dynamically track price action and pivot points allows traders to adapt to changing market conditions quickly. This approach provides a more responsive and contextual understanding of market dynamics, enabling more informed trading decisions across different timeframes and market environments.
When to explore it
This script is most effective in markets with clear trending or ranging characteristics, where price action and pivot points can provide meaningful insights into potential market movements. It works exceptionally well in timeframes ranging from short-term scalping to longer-term swing trading, making it a versatile tool for different trading styles and strategies.
Traders should consider using this script during periods of market volatility, when clear trend identification and potential reversal zones are crucial. It is particularly useful in markets with consistent price action patterns, such as forex, futures, and highly liquid stocks, where price structure and momentum play significant roles in trading decisions.
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.




