OPEN-SOURCE SCRIPT

Pvt Fibo S&R to Target 12

557
Pvt Fibo S&R to Target 12 is an institutional-grade breakout and automated target management engine built completely on classical Daily/Weekly/Monthly Pivot Points and Fibonacci Support/Resistance (S/R) levels.

Instead of chasing lagging signals, this script monitors the heavy institutional liquidity pools yoked tightly to major horizontal key levels. By processing live price action through three selectable algorithmic breakout frameworks simultaneously, it provides non-repainting, highly optimized breakout signals coupled with an automated 2-tier take-profit sequence.

🎯 The 3 Multi-Mode Algorithmic Breakout Engines
To adapt to varying market environments, the script operates 3 distinct breakout styles (all active by default to maximize strategic flexibility):

Mode 1 (Volume & Candle Anatomy Expansion): Triggers only when the main pivot line is violated by a candle with significant volume (surpassing its 20-period SMA) and a tightly packed, dominant body ratio (Marubozu style). This mode filters out low-volume institutional retail traps (fakeouts).

Mode 2 (Direct Raw Momentum Breakout): Fires immediately upon a raw crossover/crossunder of the key horizontal line. It completely strips away filters to capitalize on sudden, news-driven, hyper-aggressive market expansions where speed is paramount.

Mode 3 (Safe-Zone Hold Confirmation): A strict trend-verification system designed for conservative execution. Rather than reacting to the initial breach, it tracks market absorption by requiring the price to successfully close and hold on the breakout side for X consecutive bars without slipping back across the line.

💰 Automated Target Lifecycle Management (Target 1-2)
The script is natively engineered with a stateful order sequence controller optimized for webhook routers like WunderTrading. It eliminates manual intervention by actively trailing the position's lifecycle:

The Entry: When any selected Mode condition is met, an entry signal (L1/L2/L3 or S1/S2/S3) prints visually on the chart and triggers the entry webhook message.

Target 1 (Partial Take-Profit): The exact moment the live price breaches the first major Fibonacci extension line (R1 for Longs, S1 for Shorts), a TARGET-1 alert fires. This allows automated bots to scale out partially or move stops to break-even.

Target 2 (Take-Profit & Position Liquidation): When the price strikes the primary institutional target line (R2 for Longs, S2 for Shorts), a TARGET-2 alert fires. Simultaneously, the internal position script state completely resets to zero, terminating the trade lifecycle securely without needing to wait for a lagging opposite signal.

🛠️ Key UI Parameters for Fine-Tuning
Pivot Calculation Period: Shift smoothly between D (Daily), W (Weekly), or M (Monthly) horizontal levels. Daily/Weekly lines are highly recommended for intraday timeframes.

Volume Multiplier: Increase this value (e.g., 1.8 or 2.0) to restrict Mode 1 signals only to massive, institutional-sized volume anomalies.

Min Candle Body Ratio (%): Filter out indecisive dojis or long-wick candles by demanding a solid, determined candle structure during breakout tests.

Safe-Zone Bar Count (X): Adjust the number of consecutive candle closes required for Mode 3 validation before entering.

⚡ Best Testing Environments & Timeframes
Top Performing Timeframes: * 15-Minute (15m) and 1-Hour (1h) charts provide the ultimate balance between asset noise reduction and massive intra-week trend capture.

5-Minute (5m) charts work excellent for scalpers, provided you raise the Volume Multiplier to counter micro-fakeouts.

Optimal Trading Assets: * Cryptocurrencies: High-momentum majors (BTC, ETH) that experience explosive expansion out of tight sideways consolidation ranges.

Indices & Commodities: NASDAQ (NAS100), S&P500, and GOLD (XAU/USD) due to their aggressive trend continuity when major daily key levels break.

Forex Major Pairs: EUR/USD, GBP/USD, and USD/JPY during high-liquidity New York and London session overlaps.

إخلاء المسؤولية

لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.