OPEN-SOURCE SCRIPT
Session Based Support & Resistance (Custom HTF Anchor)

HTF SESSION SUPPORT & RESISTANCE
HTF Session Support & Resistance is designed to estimate potential support and resistance levels using a custom Higher Timeframe (HTF) calculation.
━━━━━━━━━━━━━━━━━━━━
🟡 Main Levels
The indicator plots three main types of levels:
━━━━━━━━━━━━━━━━━━━━
🟡 How to Use
This indicator is intended to help identify potential areas where price may react:
━━━━━━━━━━━━━━━━━━━━
⚙️you can custom your own HTF session anchor time, making it easier to align the levels with your preferred market session.
⚠️ Like any technical indicator, these levels should be used together with price action and your own trading strategy, not as standalone buy or sell signals.
━━━━━━━━━━━━━━━━━━━━
I hope this indicator helps simplify your chart analysis and becomes a useful part of your trading workflow.
Best regards,
Algedo
HTF Session Support & Resistance is designed to estimate potential support and resistance levels using a custom Higher Timeframe (HTF) calculation.
━━━━━━━━━━━━━━━━━━━━
🟡 Main Levels
The indicator plots three main types of levels:
- Support & Resistance – Calculated from the previous HTF candle.
- Pivot – The central reference level (yellow line).
- Expansion Levels – Additional outer levels based on a customizable multiplier (default: 0.9).
━━━━━━━━━━━━━━━━━━━━
🟡 How to Use
This indicator is intended to help identify potential areas where price may react:
- Potential support and resistance zones.
- Pullbacks or reversals around the Pivot level.
- Profit targets and risk management.
- Stronger reactions near the Expansion Levels.
━━━━━━━━━━━━━━━━━━━━
⚙️you can custom your own HTF session anchor time, making it easier to align the levels with your preferred market session.
⚠️ Like any technical indicator, these levels should be used together with price action and your own trading strategy, not as standalone buy or sell signals.
━━━━━━━━━━━━━━━━━━━━
I hope this indicator helps simplify your chart analysis and becomes a useful part of your trading workflow.
Best regards,
Algedo
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.