PROTECTED SOURCE SCRIPT

zavaUnni- Trendlines Pro & fibonacci Zones

408
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

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.