OPEN-SOURCE SCRIPT
Hull Moving Average (Open-Close)

Hull Moving Average (Open-Close) with Advanced Alerts
Overview
This indicator presents an enhanced version of the Hull Moving Average (HMA) that uses the average of open and close prices as its source calculation. It features multiple alert conditions and visual signals to help traders identify trend direction changes and potential entry points with precision.
Key Features
Unique Source Calculation: Uses (open + close)/2 instead of the typical close price, providing a balanced view of price action
Dynamic Coloring: Optional setting colors the HMA green when rising and red when declining for instant visual trend recognition
Multiple Alert Conditions:
HMA Direction Change: Alerts when the HMA changes direction
HMA Up/Down Specific Alerts: Separate alerts for upward and downward turns
Candle Body Cross: Alerts when a candle's body crosses above or below the HMA
Visual Signals: Triangle markers show HMA direction changes, and circles indicate candle body crosses
Input Parameters
Length: Period for HMA calculation (default: 9)
Dynamic Color: Toggles color-changing HMA based on direction (default: true)
Alert Conditions
HMA Up: Triggers when the HMA turns upward
HMA Down: Triggers when the HMA turns downward
HMA Direction Change: General alert for any direction change
Candle Body Cross HMA: Triggers when a full candle body crosses the HMA
Usage
Trend Identification: The HMA's slope and color indicate trend direction
Entry Signals: Candle body crosses above/below HMA may suggest potential entry points
Confirmation: Use in conjunction with other indicators for trade confirmation
Ideal For
Swing traders looking for trend direction changes
Day traders seeking precise entry signals
Price action traders who prefer open-close averaged calculations
This indicator provides a clean, customizable implementation of the Hull Moving Average with multiple alert options suitable for various trading styles.
Note: This is a technical analysis tool and should be used as part of a comprehensive trading strategy. Always practice risk management.
Overview
This indicator presents an enhanced version of the Hull Moving Average (HMA) that uses the average of open and close prices as its source calculation. It features multiple alert conditions and visual signals to help traders identify trend direction changes and potential entry points with precision.
Key Features
Unique Source Calculation: Uses (open + close)/2 instead of the typical close price, providing a balanced view of price action
Dynamic Coloring: Optional setting colors the HMA green when rising and red when declining for instant visual trend recognition
Multiple Alert Conditions:
HMA Direction Change: Alerts when the HMA changes direction
HMA Up/Down Specific Alerts: Separate alerts for upward and downward turns
Candle Body Cross: Alerts when a candle's body crosses above or below the HMA
Visual Signals: Triangle markers show HMA direction changes, and circles indicate candle body crosses
Input Parameters
Length: Period for HMA calculation (default: 9)
Dynamic Color: Toggles color-changing HMA based on direction (default: true)
Alert Conditions
HMA Up: Triggers when the HMA turns upward
HMA Down: Triggers when the HMA turns downward
HMA Direction Change: General alert for any direction change
Candle Body Cross HMA: Triggers when a full candle body crosses the HMA
Usage
Trend Identification: The HMA's slope and color indicate trend direction
Entry Signals: Candle body crosses above/below HMA may suggest potential entry points
Confirmation: Use in conjunction with other indicators for trade confirmation
Ideal For
Swing traders looking for trend direction changes
Day traders seeking precise entry signals
Price action traders who prefer open-close averaged calculations
This indicator provides a clean, customizable implementation of the Hull Moving Average with multiple alert options suitable for various trading styles.
Note: This is a technical analysis tool and should be used as part of a comprehensive trading strategy. Always practice risk management.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.