OPEN-SOURCE SCRIPT
Cập nhật Pivot Premium Suite Nicolau Edition

PivotPro Nicolau — Pivot Points + SuperTrend + EMA with the “Displacement” option
A professional all-in-one indicator combining three powerful technical
analysis tools into a single, clean, and highly configurable solution.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 1. ADVANCED PIVOT POINTS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Calculates and displays Pivot Points with full customization:
- Two calculation methods: Traditional and Fibonacci
- Configurable timeframe: Daily, Weekly, Monthly or Yearly
- Choose how many periods to display (current + previous)
- Labels positioned on Left or Right side of each line
- Individual color control for each level (P, R1, R2, R3, S1, S2, S3)
- Labels follow the line edge automatically — no overlap
- Alerts for price crossing any pivot level
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📈 2. PIVOT POINT SUPERTREND
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
A unique SuperTrend implementation that uses Pivot Highs and Lows
as its center line instead of the traditional midpoint — making it
more reactive to actual market structure:
- ATR-based dynamic bands calculated from pivot-weighted center
- Buy/Sell signals rendered as plotshape (independent from labels)
- Optional Support/Resistance circles from pivot points
- Optional center line display
- Alerts for trend changes and Buy/Sell signals
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📉 3. EMA SUITE WITH SHIFT
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Three fully configurable Exponential Moving Averages with an
exclusive displacement feature:
- EMA 9, EMA 21, EMA 200 — all periods configurable
- Individual color for each EMA
- Each EMA has its own shift toggle and period input
- Positive shift = forward displacement (future projection)
- Negative shift = backward displacement (historical alignment)
- Visual crossover marker between EMA 9 and EMA 21
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ KEY FEATURES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
- Pivot numbers stay visible even when chart objects are hidden
- Buy/Sell labels are independent from Pivot labels
- All colors individually configurable
- Clean, non-overlapping label system
- Full alert support for all signals
Designed for traders who need precision, clarity and full control
over their chart without visual clutter.
A professional all-in-one indicator combining three powerful technical
analysis tools into a single, clean, and highly configurable solution.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 1. ADVANCED PIVOT POINTS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Calculates and displays Pivot Points with full customization:
- Two calculation methods: Traditional and Fibonacci
- Configurable timeframe: Daily, Weekly, Monthly or Yearly
- Choose how many periods to display (current + previous)
- Labels positioned on Left or Right side of each line
- Individual color control for each level (P, R1, R2, R3, S1, S2, S3)
- Labels follow the line edge automatically — no overlap
- Alerts for price crossing any pivot level
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📈 2. PIVOT POINT SUPERTREND
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
A unique SuperTrend implementation that uses Pivot Highs and Lows
as its center line instead of the traditional midpoint — making it
more reactive to actual market structure:
- ATR-based dynamic bands calculated from pivot-weighted center
- Buy/Sell signals rendered as plotshape (independent from labels)
- Optional Support/Resistance circles from pivot points
- Optional center line display
- Alerts for trend changes and Buy/Sell signals
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📉 3. EMA SUITE WITH SHIFT
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Three fully configurable Exponential Moving Averages with an
exclusive displacement feature:
- EMA 9, EMA 21, EMA 200 — all periods configurable
- Individual color for each EMA
- Each EMA has its own shift toggle and period input
- Positive shift = forward displacement (future projection)
- Negative shift = backward displacement (historical alignment)
- Visual crossover marker between EMA 9 and EMA 21
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ KEY FEATURES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
- Pivot numbers stay visible even when chart objects are hidden
- Buy/Sell labels are independent from Pivot labels
- All colors individually configurable
- Clean, non-overlapping label system
- Full alert support for all signals
Designed for traders who need precision, clarity and full control
over their chart without visual clutter.
Phát hành các Ghi chú
Update Charts 1.1Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Fabricio Nicolau
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Fabricio Nicolau
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.