[TL5 AzMoh] TrendLines TrendLines is an advanced, non-repainting trendline indicator that automatically detects and plots market structure using pivot points and fractals.
It is designed for traders who want clean, structure-aware trendlines without manually drawing lines or dealing with repainting noise.
This script combines major structural trendlines with recent & historical auto trendlines, giving you both the big picture and the current micro-structure on the same chart.
🔹 What This Indicator Does
Detects pivot-based trendlines to capture dominant market structure
Draws fractal-based auto trendlines for recent and historical price action
Uses multiple lookback lengths (10 & 20) to adapt to different market conditions
Automatically cleans up older lines to keep charts uncluttered
Ensures non-repainting behavior once pivots/fractals are confirmed
🔹 Key Features
✅ Pivot High / Pivot Low validated trendlines
✅ Fractal-based recent vs historical trendlines
✅ Multi-length detection (10 & 20)
✅ Structural filtering to avoid weak or invalid lines
✅ Automatic line management (no chart overload)
✅ Works on any market & any timeframe
🔹 How to Use
Apply on any timeframe (recommended: M5–H1 for intraday trading)
Use trendlines as context and confirmation, not standalone signals
Combine with:
VWAP
Liquidity levels
Market structure / session highs & lows
Watch how price respects, rejects, or breaks these lines
🔹 Who This Is For
Discretionary traders
Intraday & structure-based traders
Traders who prefer clean charts and non-repainting tools
⚠️ Disclaimer
This indicator is provided for educational and informational purposes only.
It does not constitute financial advice.
Trading involves risk, and past performance does not guarantee future results.
Pine Script®指標






















