OPEN-SOURCE SCRIPT
HMA + Supertrend + Clean S/R Signals

**HMA + Supertrend + Clean S/R Signals (15m Engine)**
This indicator is a streamlined, signal-focused trading tool designed to eliminate chart clutter while delivering high-quality, rule-based trade signals. It combines Hull Moving Average (HMA), Supertrend direction, and pivot-based Support & Resistance into a single, clean system.
All calculations are internally based on the 15-minute timeframe, allowing consistent signal behavior across any chart timeframe.
**Core Features:**
• **HMA + Supertrend Confluence Signals**
Buy and sell signals are only generated when price crosses the HMA and aligns with Supertrend direction. This ensures entries occur with both momentum and trend confirmation, helping reduce false signals.
• **Hidden Indicator Logic (Clean Chart)**
The HMA and Supertrend are fully integrated but not plotted on the chart. Only actionable signals are displayed, keeping the chart minimal and easy to read.
• **Pivot-Based Support & Resistance**
Support and resistance levels are derived from confirmed swing highs and lows (pivots), providing stable and meaningful price levels.
• **Touch & Break Detection**
– Touch signals identify when price interacts closely with support or resistance
– Break signals confirm when price closes beyond these levels
Both are filtered using tolerance settings and cooldown timing to prevent excessive signals.
• **Noise Reduction System**
Built-in cooldown logic and tighter detection conditions help ensure signals are selective and relevant rather than frequent and distracting.
• **Fully Customizable**
All key parameters—including HMA length, Supertrend settings, pivot strength, tolerance levels, and signal visibility—can be adjusted to match your preferences.
**Best Use Case:**
Ideal for traders who want a clean chart with clear, confirmation-based signals driven by trend direction, momentum, and key price levels.
This indicator is a streamlined, signal-focused trading tool designed to eliminate chart clutter while delivering high-quality, rule-based trade signals. It combines Hull Moving Average (HMA), Supertrend direction, and pivot-based Support & Resistance into a single, clean system.
All calculations are internally based on the 15-minute timeframe, allowing consistent signal behavior across any chart timeframe.
**Core Features:**
• **HMA + Supertrend Confluence Signals**
Buy and sell signals are only generated when price crosses the HMA and aligns with Supertrend direction. This ensures entries occur with both momentum and trend confirmation, helping reduce false signals.
• **Hidden Indicator Logic (Clean Chart)**
The HMA and Supertrend are fully integrated but not plotted on the chart. Only actionable signals are displayed, keeping the chart minimal and easy to read.
• **Pivot-Based Support & Resistance**
Support and resistance levels are derived from confirmed swing highs and lows (pivots), providing stable and meaningful price levels.
• **Touch & Break Detection**
– Touch signals identify when price interacts closely with support or resistance
– Break signals confirm when price closes beyond these levels
Both are filtered using tolerance settings and cooldown timing to prevent excessive signals.
• **Noise Reduction System**
Built-in cooldown logic and tighter detection conditions help ensure signals are selective and relevant rather than frequent and distracting.
• **Fully Customizable**
All key parameters—including HMA length, Supertrend settings, pivot strength, tolerance levels, and signal visibility—can be adjusted to match your preferences.
**Best Use Case:**
Ideal for traders who want a clean chart with clear, confirmation-based signals driven by trend direction, momentum, and key price levels.
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.