OPEN-SOURCE SCRIPT

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

369
🚀 Auto-Pivot Levels [ChartWhizzperer & Sunny Pro] – Dynamic Edition
Now with
  1. Live Mode,
  2. 4 Pivot Methods
  3. 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 !

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.