PROTECTED SOURCE SCRIPT

MM-Auto SQ9 V1.0

94
MM-Auto SQ9 V1.0 — Automatic Square-of-9 levels from a selected pivot (Bottom/Top). Choose base shape or Custom Angle, optional half-angles, cycles, and full color/style control.
Disclaimer: Educational purposes only — not financial advice.

**What it is**
A visual Gann Square-of-9 level engine. It projects horizontal SQ9 price levels from a single pivot using root/square transforms, with selectable geometric bases (90°/60°/72°/120°/45°) or a **Custom Angle**, optional **Sub-Angles (half-angles)**, multi-cycle expansion, full styling control, and a **draggable 0-line** pivot.

**Key features**

* **Draggable 0-line:** Drag the pivot line on the chart and drop it on any swing high/low — no need to type the reference price. Levels recalc instantly.
* **Bottom/Top modes** for projection direction.
* **Shapes or Custom Angle** (Square/Octagon/Hexagon/Triangle/Pentagon or your own).
* **Sub-Angles (½)** with separate style/color.
* **Cycles** to extend the grid.
* **Clean UI**: labels (size/distance), line thickness/style/colors, pivot line style.

**Inputs (quick guide)**
Pivot Price • Pivot Type (Bottom/Top) • Space Multiplier • Geometric Shape / Custom Angle Value • Number of Cycles • Show Sub-Angles & Line Style • Colors & Line Thickness • Labels (on/size/distance).

**Workflow**

1. Drag the **0-line** to your pivot (any swing high/low) or set **Pivot Price** and **Bottom/Top**.
2. Pick shape or **Custom Angle**; increase **Cycles** if needed.
3. Tune **Space Multiplier** to align levels with historical reactions.
4. (Optional) Enable **Sub-Angles** for finer structure.
5. Observe **bounce / break / retest** around levels and combine with your system.

**Pro tips**

* Use a **structural swing** as pivot.
* Reduce clutter by lowering cycles or disabling sub-angles.
* Pair with **market structure / volume / ATR / fractals** for decision support.
* Adjust label size/distance to keep charts clean.

**Troubleshooting (dragging)**
If the 0-line doesn’t move, ensure drawings are **unlocked** and “Move drawings” is enabled in chart settings.

**Disclaimer & Rights**
Educational purposes only — **not financial advice**.
Script programmed by **Mohammad Murad (MM)**.
© 2025 **Mohammad Murad**. **All rights reserved.** No unauthorized copying, distribution, or resale.


## 🇸🇦/🇸🇾 الوصف العربي

**ما هو المؤشّر؟**
محرّك مستويات جان **Square-of-9** يعرض مستويات سعرية أفقية من **Pivot** واحد باستخدام تحويل الجذر/التربيع، مع اختيار شكل زاوي جاهز (90°/60°/72°/120°/45°) أو **زاوية مخصّصة**، وخيار **أنصاف الزوايا**، ودورات متعددة، وتحكّم كامل بالمظهر، وميزة **سحب خط الصفر** لتغيير المحور بسرعة.


**أهم الميزات**

* **سحب خط الصفر:** اسحب خط الـ0 (Pivot) وضعه على أي قاع/قمة — بدون إدخال السعر يدويًا. تُعاد الحسابات فورًا.
* وضعا **Bottom/Top** لتحديد اتجاه الإسقاط.
* **أشكال جاهزة أو زاوية مخصّصة**.
* **أنصاف الزوايا (½)** بنمط/لون مستقلين.
* **الدورات (Cycles)** لتوسعة الشبكة.
* **تحكّم بصري كامل**: عناوين بحجم/مسافة، سماكة/نمط/ألوان الخطوط، ونمط خط المحور.

**الإعدادات باختصار**
Pivot Price • Pivot Type (Bottom/Top) • Space Multiplier • Geometric Shape / Custom Angle • Number of Cycles • Sub-Angles & Line Style • الألوان والسماكات • إعدادات العناوين (إظهار/حجم/مسافة).

**طريقة الاستخدام**

1. اسحب **خط الصفر** إلى القاع/القمة المطلوبة أو حدّد **Pivot Price** واختر **Bottom/Top**.
2. اختر الشكل أو **زاوية مخصّصة**؛ وفعّل **Cycles** إذا لزم.
3. عدّل **Space Multiplier** حتى ترى احتراماً تاريخياً للمستويات.
4. (اختياري) فعّل **أنصاف الزوايا** للدقة.
5. راقب **الارتداد/الاختراق/إعادة الاختبار** وادمجها مع نظامك.

**نصائح**

* اختر Pivot بنيوي واضح (Swing).
* لتقليل الزحمة: خفّض الدورات أو عطّل أنصاف الزوايا.
* دمجها مع **بنية السوق/الفوليوم/ATR/الفراكتلات** يدعم القرار.
* تحكّم بحجم/مسافة العناوين للحفاظ على نظافة الشارت.

**حلّ مشكلة السحب**
إذا ما تحرّك خط الصفر: تأكّد أن الرسومات **غير مقفولة** وأن خيار تحريك الرسومات مفعّل في إعدادات الشارت.

**إخلاء مسؤولية وحقوق**
لأغراض تعليمية فقط — **ليست نصيحة مالية**.
السكربت مبرمج بواسطة **Mohammad Murad (MM)**.
© 2025 **Mohammad Murad**. **جميع الحقوق محفوظة.** يُمنع النسخ/التوزيع/البيع دون إذن.


#Gann #SquareOf9 #SQ9 #Angles #CustomAngle #SupportResistance #PineScript #TradingView

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.