OPEN-SOURCE SCRIPT
Auto-Pivot Levels with Alerts and 4 methods [ChartWhizzperer]

🚀 Auto-Pivot Levels [ChartWhizzperer & Sunny Pro] – Dynamic Edition
Now with
Free, Open Source, Pine Script v6-compliant.
🟢 NEW: Live Mode (Ultra-Dynamic, Repainting) – Switchable in UI!
Instantly switch between Classic (session-based, repaint-free) and Live (rolling window, real-time, repainting) using the simple checkbox in the settings!
Live Mode recalculates all pivots on every tick/bar, using the current high/low/close for the chosen session (daily, weekly, monthly).
Perfect for:
Classic Mode: For traditional, stable levels based on confirmed session data – ideal for backtesting and trading history.
📊 Four Calculation Methods (Choose What Fits YOU):
1️⃣ Classic
2️⃣ Fibonacci
3️⃣ Camarilla
4️⃣ Woodie
Switch methods anytime in the UI – the script recalculates instantly and keeps your chart clean!
🔔 Level-Specific Alerts – PineConnector Ready!
Dedicated alert for EVERY level and direction (Up/Down):
Pivot (P), R1, R2, R3, S1, S2, S3
No configuration hassle:
All alerts are pre-defined in the TradingView Alert Panel.
Machine-readable message format:
PIVOT=R1 DIR=UP SYMBOL={{ticker}} PRICE={{close}}
Direct plug-and-play with PineConnector, webhooks, Discord, Telegram, bots, and other automation tools.
Never miss a breakout, reversal, or key support/resistance touch.
🛠 Powerful Customization & Performance
💡 How To Use – Quick Start
🤖 Who Is It For?
Active scalpers & bot traders: Live Mode + PineConnector-ready alerts = instant, automated reactions.
Swing and position traders: Use Classic Mode for stable, repaint-free levels.
Strategy developers: Seamless integration into automated and manual trading workflows.
🏷 License & Community
Open Source, Non-Commercial:
Free for personal & educational use under CC BY-NC-SA 4.0.
Feedback, bug reports & ideas:
Drop a comment, or contact me for feature requests.
Trade smart. Trade dynamic. Unlock the true power of pivots – with ChartWhizzperer !
Now with
- Live Mode,
- 4 Pivot Methods
- PineConnector-Ready Alerts!
Free, Open Source, Pine Script v6-compliant.
🟢 NEW: Live Mode (Ultra-Dynamic, Repainting) – Switchable in UI!
Instantly switch between Classic (session-based, repaint-free) and Live (rolling window, real-time, repainting) using the simple checkbox in the settings!
Live Mode recalculates all pivots on every tick/bar, using the current high/low/close for the chosen session (daily, weekly, monthly).
Perfect for:
- Scalping and high-frequency trading
- Real-time bot/automation setups (PineConnector-ready)
- Fast-moving or breakout markets
Classic Mode: For traditional, stable levels based on confirmed session data – ideal for backtesting and trading history.
📊 Four Calculation Methods (Choose What Fits YOU):
1️⃣ Classic
- Standard pivot calculation.
- Based on previous session’s High, Low, Close.
- Simple, proven, and suitable for any asset.
2️⃣ Fibonacci
- Projects levels using Fibonacci ratios of the prior session’s range.
- Great for traders who want to align pivots with fib retracements and extensions.
3️⃣ Camarilla
- Uses unique multipliers for support/resistance, focusing on mean reversion and volatility.
- Popular among futures and forex day traders.
4️⃣ Woodie
- Puts extra weight on previous Close for more responsive pivots.
- Often used in trending or choppy conditions.
Switch methods anytime in the UI – the script recalculates instantly and keeps your chart clean!
🔔 Level-Specific Alerts – PineConnector Ready!
Dedicated alert for EVERY level and direction (Up/Down):
Pivot (P), R1, R2, R3, S1, S2, S3
No configuration hassle:
All alerts are pre-defined in the TradingView Alert Panel.
Machine-readable message format:
PIVOT=R1 DIR=UP SYMBOL={{ticker}} PRICE={{close}}
Direct plug-and-play with PineConnector, webhooks, Discord, Telegram, bots, and other automation tools.
Never miss a breakout, reversal, or key support/resistance touch.
🛠 Powerful Customization & Performance
- Session selection: Daily, Weekly, Monthly (choose what suits your trading style).
- Show/hide any level (Pivot, R1–R3, S1–S3) for minimal chart clutter.
- Color selection for each level to match your theme or highlight key pivots.
- Auto-cleanup: Old lines and labels are cleared on every recalculation or session change for maximum performance and visual clarity.
- Zero runtime errors: Strict Pine Script v6 practices for stability.
💡 How To Use – Quick Start
- Add the indicator to your TradingView chart.
- Pick your calculation method (Classic, Fibonacci, Camarilla, Woodie).
- Set session type (Daily, Weekly, Monthly).
- Switch between Classic and Live Mode with a single click in settings.
- Customize your levels (on/off, colors).
- Open the Alert Panel, select any pre-configured alert (e.g. "R2 Cross Down"), and go live!
- Connect with PineConnector or any webhook system instantly using the pre-formatted alert messages.
🤖 Who Is It For?
Active scalpers & bot traders: Live Mode + PineConnector-ready alerts = instant, automated reactions.
Swing and position traders: Use Classic Mode for stable, repaint-free levels.
Strategy developers: Seamless integration into automated and manual trading workflows.
🏷 License & Community
Open Source, Non-Commercial:
Free for personal & educational use under CC BY-NC-SA 4.0.
Feedback, bug reports & ideas:
Drop a comment, or contact me for feature requests.
Trade smart. Trade dynamic. Unlock the true power of pivots – with ChartWhizzperer !
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.