OPEN-SOURCE SCRIPT
Hierarchical High Low Structure

This indicator identifies hierarchical market structure using three levels of swing highs and lows:
* **SH / SL** — Short-Term High / Low
* **MH / ML** — Mid-Term High / Low
* **LH / LL** — Long-Term High / Low
Each level is derived from the previous one using the same symmetrical pivot logic. The script also connects confirmed MH/LH and ML/LL points with an alternating structure line, keeping the more extreme point when multiple highs or lows appear consecutively.
Swing points are confirmed only after the required right-side structure forms, so labels are plotted back on the original pivot bar. This indicator is intended for market structure analysis, not as a standalone trading signal.
* **SH / SL** — Short-Term High / Low
* **MH / ML** — Mid-Term High / Low
* **LH / LL** — Long-Term High / Low
Each level is derived from the previous one using the same symmetrical pivot logic. The script also connects confirmed MH/LH and ML/LL points with an alternating structure line, keeping the more extreme point when multiple highs or lows appear consecutively.
Swing points are confirmed only after the required right-side structure forms, so labels are plotted back on the original pivot bar. This indicator is intended for market structure analysis, not as a standalone trading signal.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.