OPEN-SOURCE SCRIPT

Pivot Points mura vision

102
What it is
A clean, single-set pivot overlay that lets you choose the pivot type (Traditional/Fibonacci), the anchor timeframe (Daily/Weekly/Monthly/Quarterly, or Auto), and fully customize colors, line width/style, and labels. The script never draws duplicate sets—exactly one pivot pack is displayed for the chosen (or auto-detected) anchor.

How it works
  • Pivots are computed with ta.pivot_point_levels() for the selected anchor timeframe.
  • The script supports the standard 7 levels: P, R1/S1, R2/S2, R3/S3.
  • Lines span exactly one anchor period forward from the current bar time.
  • Label suffix shows the anchor source: D (Daily), W (Weekly), M (Monthly), Q (Quarterly).

Auto-anchor logic
  • Intraday ≤ 15 min → Daily pivots (D)
  • Intraday 20–120 min → Weekly pivots (W)
  • Intraday > 120 min (3–4 h) → Monthly pivots (M)
  • Daily and above → Quarterly pivots (Q)

This keeps the chart readable while matching the most common trader expectations across timeframes.

Inputs
  • Pivot Type — Traditional or Fibonacci.
  • Pivots Timeframe — Auto, Daily (1D), Weekly (1W), Monthly (1M), Quarterly (3M).
  • Line Width / Line Style — width 1–10; style Solid, Dashed, or Dotted.
  • Show Labels / Show Prices — toggle level tags and price values.
  • Colors — user-selectable colors for P, R*, S*.


How to use
  1. Pick a symbol/timeframe.
  2. Leave Pivots Timeframe = Auto to let the script choose; or set a fixed anchor if you prefer.
  3. Toggle labels and prices to taste; adjust line style/width and colors for your theme.
  4. Read the market like a map:
  • P often acts as a mean/rotation point.
  • R1/S1 are common first reaction zones; R2/S2 and R3/S3 mark stronger extensions.
  • Confluence with S/R, trendlines, session highs/lows, or volume nodes improves context.

Good practices
  • Use Daily pivots for intraday scalps (≤15m).
  • Use Weekly/Monthly for swing bias on 1–4 h.
  • Use Quarterly when analyzing on Daily and higher to frame larger cycles.
  • Combine with trend filters (e.g., EMA/KAMA 233) or volatility tools for entries and risk.

Notes & limitations
  • The script shows one pivot pack at a time by design (prevents clutter and duplicates).
  • Historical values follow TradingView’s standard pivot definitions; results can vary across assets/exchanges.
  • No alerts are included (levels are static within the anchor period).

إخلاء المسؤولية

لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.