PROTECTED SOURCE SCRIPT

zavaUnni- Trendlines Pro & fibonacci Zones

92
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
  • 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

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.