OPEN-SOURCE SCRIPT

Hull Moving Average (Open-Close)

130
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.

כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.