OPEN-SOURCE SCRIPT

FibLines and pivot points

619
This indicator integrates Fibonacci retracements and pivot points to identify potential support and resistance levels for trading decisions. The script calculates pivot points using standard formulas (Classic, Fibonacci, Woodie, or Camarilla) and overlays Fibonacci retracement levels based on recent price swings.

Key Features:
  • Pivot Points Calculation: Computes support and resistance levels using the chosen pivot formula.
  • Fibonacci Retracements: Automatically plots retracement levels from recent highs and lows.
  • Confluence Zones: Highlights areas where Fibonacci levels align with pivot points for stronger signals.
  • Customization: Allows traders to select different pivot types, timeframes, and Fibonacci settings.
  • Alerts & Signals: Generates alerts when price approaches a significant confluence zone.

How It Works:
  1. Detects recent highs and lows for Fibonacci retracement calculation.
  2. Computes pivot points and their support/resistance levels.
  3. Identifies key Fibonacci levels (e.g., 23.6%, 38.2%, 50%, 61.8%, 78.6%).
  4. Plots both sets of levels on the chart, highlighting overlapping zones.
  5. Provides visual signals & alerts when price interacts with these levels.

This indicator helps traders spot potential reversal or breakout areas by leveraging the strength of both Fibonacci and pivot points.

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.