PROTECTED SOURCE SCRIPT

ICT Smart Entry - Auto Adaptive Dual Gold & BTC (v6 Light)

87
Publication Description (English first, detailed)

What this script does (originality & concept):
This is a closed-form ICT-style Smart Entry helper designed specifically for Gold (XAUUSD) and Bitcoin (BTCUSD). It fuses four components into a single flow: (1) swing-based market structure (BOS up/down), (2) fair-value-gap presence to filter weak breaks, (3) liquidity sweep context using recent local extremes, and (4) an auto-adaptive threshold that scales with ATR to avoid false breaks in calm markets and over-sensitivity in volatile regimes. When a valid BOS aligns with context (FVG + sweep), the tool derives the most recent opposite candle and builds an Order Block (OB) zone. Entries are signaled only when price revisits the OB and a cooldown is respected.

How the components work together:

Adaptive threshold (ATR): compares current ATR to a long ATR average and sets the BOS strength dynamically (Calm/Normal/Volatile).

BOS & swings: detects last swing high/low and requires the close to exceed it by a dynamic ATR multiple.

FVG filter: requires a simple two-bar imbalance (bull/bear) around the break to represent displacement.

Liquidity sweep: checks if recent local highs/lows were swept before the break to bias entries.

OB derivation: finds the last opposite candle within a lookback window and builds a forward-extended box.

Execution helper: when price trades back inside the OB, it prints an entry label plus SL at the opposite side of the box and two fixed R targets (1R and 2R). Alerts are provided for BUY/SELL entries.

How to use it:

Add to any chart (built for XAUUSD & BTCUSD; works on others too).

Choose your session, swing lengths, lookback, and cooldown. Leave “Enable Auto Adaptation” on by default.

Wait for an OB to appear after a valid BOS+FVG+sweep.

When price returns to the box, consider the printed entry with SL at the other side of the box and 1R/2R targets.

Optional: Use higher-TF bias confluence and your own risk rules.

Notes & limits:

This is an execution assistant, not a full strategy. It does not place orders or guarantee results.

OBs are regenerated; only the latest box is kept for clarity.

Alerts fire on entry confirmation only.

Past performance is not indicative of future results.

Inputs (summary): ATR period; swing lengths; OB lookback & extension; session filter; cooldown bars.

Arabic (for convenience):
هذا المؤشر يجمع هيكلة السوق (BOS)، وفجوة القيمة العادلة (FVG)، وسياق سحب السيولة، مع عتبة متكيفة بالـATR. عند تحقق BOS قوي مع FVG وسحب سيولة، يحدد آخر شمعة معاكسة ويُنشئ منطقة OB. عند عودة السعر للصندوق، يظهر دخول مع SL عند الجهة المقابلة وهدفين 1R/2R. يفضّل استخدامه مع تأكيدات من فريم أعلى وإدارة مخاطر صارمة. هذا أداة مساعدة وليست إستراتيجية تنفيذ أوامر.

Quick compliance checklist

✅ Title: English, ASCII only (no emoji, no fancy dash).

✅ UI text: English, ASCII only here.

✅ No ALL CAPS in title/description (only acronyms like ICT/BTC).

✅ Description: Detailed, explains originality + how parts interact + how to use.

✅ Chart info: Script adds a small header label with Symbol/TF/Script name.

✅ No mashup-without-purpose: Description justifies each component and why they’re combined.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.