OPEN-SOURCE SCRIPT

AUTO FIB PRO - VWAP Bias and Retrace Breakouts (DAX NQ) v6

54
AUTO FIB PRO by funnelzon automatically detects swing points (pivot highs/lows), draws dynamic Fibonacci levels, highlights the key retracement area (0.236–0.618), and prints continuation-style BUY/SELL signals after a retrace. It also includes VWAP + VWAP zone (ATR-based), a configurable trend filter (EMA200 / HTF EMA200 / VWAP / combined “BEST”), session & volatility filters, a CHOP blocker, a top-right “traffic light” status panel, and optional manual R/S zones (R1–R4 & S1–S4) with width presets and background highlighting.

1) Auto Swing → Auto Fibonacci

The script detects swing points using pivot highs/lows.

Once two valid swing points are available (P1 → P2), it plots Fibonacci levels:

0.236 / 0.382 / 0.500 / 0.618 / 0.786 / 1.000

Lines extend to the right and update automatically with new swings.

2) Retracement Box (0.236–0.618)

The yellow retracement box marks the key pullback area between 0.236 and 0.618.

Optional ATR padding can slightly widen the box (helps with “near touches”).

3) VWAP + VWAP Zone + VWAP Bias Label

VWAP line is optional.

VWAP zone is an ATR-based band around VWAP.

Bias label shows: BULL / BEAR / NEUTRAL, placed outside the chart (left/right selectable).

4) Filters (to avoid low-quality market phases)

Session Filter (DAX / NQ sessions in CET)

ATR-Min Filter (blocks low volatility)

CHOP Filter (blocks markets that get “stuck” inside the retracement zone for too long)

5) Signals (Continuation After Retrace)

Default behavior (Continuation ON):

Retracement zone must be touched first (setup becomes “armed”).

Signal triggers only when price breaks out across the box edge:

BUY: crossover above retrace top + bullish candle + filters OK

SELL: crossunder below retrace bottom + bearish candle + filters OK

Alternative (Continuation OFF):

More aggressive signals can trigger already inside the retracement box.

6) Signal Quality Modes

MORE Trades: looser rules, more signals (optional counter-trend allowed)

A+ ONLY: stricter rules (RSI + EMA slope + trend alignment)

7) Traffic-Light Panel (Top Right)

Shows in real time:

Auto preset type (DAX/NQ + Scalp/Swing + FAST/STABLE)

STATUS: TRADE OK / NO TRADE (and the reason)

Direction: LONG / SHORT / WAIT

Selected trend filter mode

VWAP bias

Pivot length

8) Manual Support/Resistance Zones (R1–R4 & S1–S4)

8 zones as price “areas” (boxes), extended left/right in time

Width presets: Narrow / Normal / Wide or Manual (Points/ATR)

Optional background highlighting when price is inside a zone
Key Features

Auto Swing Detection (Pivot High/Low) → builds P1 → P2 swing

Auto Fibonacci Levels: 0.236 / 0.382 / 0.500 / 0.618 / 0.786 / 1.000

Retracement Box: 0.236–0.618 (+ optional ATR padding)

VWAP Line + VWAP Zone (ATR-based)

VWAP Bias Label: BULL / BEAR / NEUTRAL (outside the chart)

Trend Filter Modes: OFF / EMA200 / HTF EMA200 / VWAP / HTF EMA200 + VWAP (BEST)

Trade Quality Modes:

MORE Trades (looser, more signals)

A+ ONLY (stricter: RSI + EMA slope + trend alignment)

Gate Filters:

Session filter (DAX / NQ CET sessions)

ATR-min filter (blocks low volatility)

CHOP filter (blocks extended sideways inside retrace zone)

Traffic Light Panel (Top Right): STATUS, DIR, FILTER, VWAP BIAS, PivotLen

Manual Zones (R1–R4 / S1–S4):

Width presets: Narrow / Normal / Wide (or Manual via Points/ATR)

Optional background highlight when price is inside a zone

Signals (Logic)

Default (Continuation ON):

Setup becomes “armed” after retracement zone touch

Signal triggers only on breakout:

BUY: close crosses above retrace top + bullish candle + filters OK

SELL: close crosses below retrace bottom + bearish candle + filters OK

Continuation OFF: more aggressive signals can trigger already inside the retracement box.

Recommended Setup (Quick Presets)

Clean & Reliable (recommended)

Auto Presets: ON

Mode: AUTO / SCALP (1/5/15)

Auto Fib Mode: STABLE

Quality: A+ ONLY

Continuation: ON

Trend Filter: HTF EMA200 + VWAP (BEST)

Session filter: ON

ATR-min: ON

CHOP filter: ON

More Trades

Auto Fib Mode: FAST

Quality: MORE Trades

Trend Filter: VWAP or EMA200

FAQ (Quick)

Q: Why do I see “NO TRADE” in the panel?
A: One of the gate filters blocks signals (outside session, ATR too low, or CHOP detected).

Q: Why no signals even though price is moving?
A: A valid swing (P1→P2) must exist, retrace zone must be touched (Continuation ON), and trend/quality filters must pass.

Q: What does CHOP mean here?
A: Price stayed inside the retracement zone for too many bars → higher noise → signals disabled until conditions improve.

Q: DAX vs NQ feels different — what should I change first?
A: Start with Market Preset, then adjust VWAP zone ATR mult and CHOP bars limit.

Disclaimer

Educational/analytical tool only. Not financial advice. Use risk management and confirm signals with market context.

คำจำกัดสิทธิ์ความรับผิดชอบ

ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน