PROTECTED SOURCE SCRIPT
zavaUnni- Trendlines Pro & fibonacci Zones

zavaUnni- Trendlines Pro & fibonacci Zones is a momentum-based trading tool that automatically detects pivot points to visualize real-time trendlines, zigzag structures, and Fibonacci retracement zones.
Key Features
1. Divergence-Based Pivot Detection
2. Automatic Fibonacci Retracement Zones
3. Supertrend-Based Zigzag and Trendlines
Settings Overview
Key Features
1. Divergence-Based Pivot Detection
- Utilizes popular momentum indicators like RSI, CCI, MACD CCI, OBV, etc.
- Automatically detects significant highs/lows based on divergence signals
- These pivot points are used to construct trendlines and calculate retracement zones
2. Automatic Fibonacci Retracement Zones
- Draws Fibonacci levels such as 0.382, 0.618, and 0.786 from detected pivot highs/lows
- Supports both initial fixed levels and dynamic updated zones based on live price action
- Recalculates zones automatically when specific price conditions are met
3. Supertrend-Based Zigzag and Trendlines
- detect real-time trend direction changes
- Plots zigzag lines between significant pivot highs/lows
- Automatically generates trendlines only when slope conditions are met (e.g., below -3° or above +1°)
- Invalidates and resets trendlines if broken or the slope becomes too flat/steep
Settings Overview
Index
Selects the indicator (RSI, CCI, MACDcci, OBV, etc.) used for pivot detection
zigzag Length
Supertrend sensitivity period for direction changes
Fibonacci_bg
Toggle background color fill for Fibonacci zones
Fibonacci_label
Show labels for each Fibonacci level (23.6%, 38.2%, etc.)
Bull Trend Line Color
Color of upward trendlines
Bear Trend Line Color
Color of downward trendlines
zigzag_color
Color of the zigzag lines
Protected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Protected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.