OPEN-SOURCE SCRIPT
Updated

Pivot Premium Suite Nicolau Edition

290
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.
Release Notes
Update Charts 1.1

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.