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.
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。