OPEN-SOURCE SCRIPT
تم تحديثه Higher Timeframe Market Structure

HTF Market Structure – ZigZag, Break of Structure & Supply/Demand
This powerful indicator is designed to identify higher-timeframe market structure using a combination of ZigZag patterns, Break of Structure (BOS) signals, and Supply/Demand zones.
Key Features:
How to Use:
Best Practices:
Customization Options:
This tool is ideal for traders who rely on price action, structure, and smart money concepts. Combine it with your own S&D strategy or integrate it with other confluence tools for even better precision.
This powerful indicator is designed to identify higher-timeframe market structure using a combination of ZigZag patterns, Break of Structure (BOS) signals, and Supply/Demand zones.
Key Features:
- Automatic detection of Higher Highs (HH), Higher Lows (HL), Lower Lows (LL), and Lower Highs (LH)
- Internal structure shifts based on Open or High/Low logic
- Supply and Demand zones plotted on the chart
- Break of Structure (BOS) lines with optional alerts
- Mitigation logic to mark or delete invalidated order blocks
- Customizable aggregation factor to view higher time frame structure on lower time frames
How to Use:
- Focus on market structure and BOS to understand the current trend.
- Watch for internal shifts as early signals of potential reversals.
- Use ZigZag lines to connect swing highs and lows to visualize market rhythm.
- Supply zones (red) and Demand zones (green) are automatically drawn after structure breaks:
- Use Demand Zones in Bullish Markets for the highest probability entries.
- Use Supply Zones in Bearish Markets to align with the prevailing trend.
- Use Demand Zones in Bullish Markets for the highest probability entries.
Best Practices:
- Only use Demand Zones in Bullish markets and Supply Zones in Bearish markets for optimal results.
- Look for price action or reversal signals within these zones to refine your entries.
- Enable alerts to get notified on:
- New order blocks
- Internal shifts
- BOS events
- HH, HL, LL, LH formations
- Liquidity sweeps
- New order blocks
Customization Options:
- Aggregation Factor: Control how many candles are grouped for structure analysis.
- Zone Duration: Define how length of plotted zones.
- Mitigation Settings: Automatically delete or fade zones after mitigation.
- Colors: Choose custom colors for bullish and bearish zones and structure markers.
This tool is ideal for traders who rely on price action, structure, and smart money concepts. Combine it with your own S&D strategy or integrate it with other confluence tools for even better precision.
ملاحظات الأخبار
Updated vocab in inputملاحظات الأخبار
Alerts updated to reflect correct vocabularyملاحظات الأخبار
Internal shift calculation logic updated for accuracy on lower-fractal timeframesملاحظات الأخبار
Input vocabulary updatedملاحظات الأخبار
Added "any alert() function call"ملاحظات الأخبار
Darker internal shift triangles for visual clarityملاحظات الأخبار
Alert fixملاحظات الأخبار
Zone invalidation updated- no invalidation until Aggregated value closes beyond zoneملاحظات الأخبار
Alert conditions updatedملاحظات الأخبار
Line color, width and style are now modifiable.نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.