OPEN-SOURCE SCRIPT
High Time Frame (HTF) Swing Points

Identify and display swing highs and lows across multiple higher timeframes on a chart, overlaying horizontal lines and customizable labels at these swing points.
Timeframes
Swing Levels
Tags
Use Cases
Timeframes
- Five user-defined higher timeframes (default settings: 5-minute, 15-minute, 1-hour, 4-hour, and daily)
- Manually show/hide individual timeframes
- When chart’s timeframe is set higher than one of the five configured, the indicator will automatically hide it. This helps to prevent clutter when navigating between timeframes on the chart
Swing Levels
- Configure the line color, opacity, width and weather it’s solid/dotted/dashed
- Once swing levels are identified, the indicator will look for the chart candle where the line starts
- When price crosses the swing level, the line will be terminated
Tags
- Customize the tag text for each individual timeframe, using blank if a tag is not desired for that timeframe
- A tag text color can be set for all tags or base it on the line color
- Set tag text size based on: Auto, Tiny, Small, Normal, Large
- Choose how far to the right of the line the tag text should appear, as an integer representing the size of a candle
- Choose to clear the tag or leave it in place after price crosses a swing level
Use Cases
- Visualize key swing points from higher timeframes to identify potential reversal or breakout zones
- Identify possible low resistance liquidity run (LRLR) areas
- Use swing points for stop placement or as targets or draws on liquidity
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.