OPEN-SOURCE SCRIPT

Last Low/High Targets X966 v1.4

712
# X966 – Last Low/High → W3 Targets

X966 is a market structure indicator designed to identify high-probability trading opportunities using **LL → HL** and **HH → LH** formations, followed by confirmed breakout or retest entries.

## How it works

* Detects significant swing highs and swing lows.
* Identifies Higher Low (HL) and Lower High (LH) structures.
* Automatically plots the breakout/entry level.
* Waits for a confirmed breakout or retest based on user settings.
* Projects TP1, TP2, and TP3 using either Fibonacci Expansion or ATR.
* Calculates an automatic invalidation/stop-loss level.
* Assigns a Quality Score based on market structure, breakout confirmation, displacement, volume, and optional higher-timeframe trend bias.

## Features

* Supports both Long and Short setups.
* Multiple entry modes: Breakout, Retest, or Both.
* Late Breakout Capture to detect breakouts occurring before pivot confirmation.
* Automatic Risk/Reward calculation.
* Built-in dashboard displaying setup status, quality score, entry, stop-loss, and targets.
* Smart confirmed-bar alerts in both English and Arabic.

**Disclaimer:** This indicator is designed to assist market structure analysis and trade planning. It should be used alongside sound risk management and overall market context rather than as a standalone trading system.



# X966 – Last Low/High → W3 Targets

مؤشر يعتمد على تحليل هيكل السوق (Market Structure) لاكتشاف فرص الشراء والبيع بعد تكوّن نماذج **LL → HL** أو **HH → LH**، ثم ينتظر تأكيد الاختراق قبل إعطاء إشارة دخول مع أهداف ووقف خسارة محسوبة تلقائياً.

### آلية العمل

* يحدد آخر القيعان والقمم المهمة.
* يكتشف تكوّن **Higher Low (HL)** أو **Lower High (LH)**.
* يرسم مستوى الاختراق (Entry / Break Level).
* ينتظر اختراق أو إعادة اختبار حسب الإعدادات.
* يحسب أهداف TP1 و TP2 و TP3 باستخدام **Fibonacci Projection** أو **ATR**.
* يحدد وقف الخسارة (Invalidation / Stop Loss) تلقائياً.
* يعطي **Quality Score** لتقييم قوة الفرصة اعتماداً على هيكل السوق، الاختراق، الزخم (Displacement)، الحجم (Volume)، واتجاه الفريم الأكبر (HTF Bias) عند تفعيلها.

### المميزات

✅ يدعم صفقات الشراء والبيع.
✅ اختيار الدخول عند الاختراق أو إعادة الاختبار أو الاثنين معاً.
✅ التقاط الاختراقات التي حدثت قبل تأكيد المحور (Late Breakout Capture).
✅ أهداف تلقائية مع حساب نسبة العائد إلى المخاطرة (Risk/Reward).
✅ لوحة معلومات تعرض حالة الصفقة والجودة والأهداف.
✅ تنبيهات ذكية بالعربي والإنجليزي بعد إغلاق الشمعة لتقليل الإشارات الوهمية.

### ملاحظة

المؤشر أداة تساعد على قراءة هيكل السوق، وليس نظام تداول آلي. يفضل استخدامه مع إدارة رأس مال مناسبة والتأكيد من حركة السعر والسياق العام للسوق.

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

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