OPEN-SOURCE SCRIPT
Pivot Points mura vision

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
Auto-anchor logic
This keeps the chart readable while matching the most common trader expectations across timeframes.
Inputs
How to use
Good practices
Notes & limitations
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
- Pick a symbol/timeframe.
- Leave Pivots Timeframe = Auto to let the script choose; or set a fixed anchor if you prefer.
- Toggle labels and prices to taste; adjust line style/width and colors for your theme.
- 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).
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
✅My Telegram
t.me/trading_mura
t.me/trading_mura
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
✅My Telegram
t.me/trading_mura
t.me/trading_mura
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.