OPEN-SOURCE SCRIPT
Updated HA Color Change Alerts (fixed v3)

📌 Heikin Ashi Color Change Alerts
This indicator notifies you whenever a Heikin Ashi candle changes color (from red → green or green → red).
🔎 Features
Automatic Heikin Ashi calculation
Uses TradingView’s built-in Heikin Ashi source, so you don’t need to switch your chart to HA candles.
Signals on chart
Plots ▲ (green triangle) when HA changes from red → green and ▼ (red triangle) when HA changes from green → red.
Customizable alerts
You can set TradingView alerts for:
“Heikin Ashi Turned GREEN”
“Heikin Ashi Turned RED”
Options
Show/Hide the Heikin Ashi candles on top of your normal chart.
Choose whether alerts trigger only after bar close, or intrabar as soon as the color flips.
Show or hide the signal markers.
🔔 Use cases
Trend following: enter when HA flips to green, exit when it flips back to red.
Early reversal spotting: get notified when the candle momentum shifts.
Works on any symbol and timeframe.
This indicator notifies you whenever a Heikin Ashi candle changes color (from red → green or green → red).
🔎 Features
Automatic Heikin Ashi calculation
Uses TradingView’s built-in Heikin Ashi source, so you don’t need to switch your chart to HA candles.
Signals on chart
Plots ▲ (green triangle) when HA changes from red → green and ▼ (red triangle) when HA changes from green → red.
Customizable alerts
You can set TradingView alerts for:
“Heikin Ashi Turned GREEN”
“Heikin Ashi Turned RED”
Options
Show/Hide the Heikin Ashi candles on top of your normal chart.
Choose whether alerts trigger only after bar close, or intrabar as soon as the color flips.
Show or hide the signal markers.
🔔 Use cases
Trend following: enter when HA flips to green, exit when it flips back to red.
Early reversal spotting: get notified when the candle momentum shifts.
Works on any symbol and timeframe.
Release Notes
📌 Heikin Ashi Color Change + Balance Candle AlertsThis indicator combines Heikin Ashi color change alerts with Balance Candle detection for more precise trading signals.
🔎 Features
Heikin Ashi Color Change Alerts
Detects when a Heikin Ashi candle flips from red → green or green → red.
Plots ▲ (green triangle) for red→green and ▼ (red triangle) for green→red.
Customizable alerts: trigger on bar close only, or intrabar as soon as the flip happens.
Balance Candle Detection (HA-based)
Identifies a “Balance Candle” when both upper and lower wicks are at least 2× the body size (ratio adjustable).
Works directly on Heikin Ashi candles, regardless of color.
Plots an orange ● marker above candles that meet this condition.
Alert condition available: “Balance Candle (HA)”.
Optional Display
Overlay full Heikin Ashi candles on your chart (without changing chart type).
Enable/disable signal markers separately.
Adjust wick-to-body ratio for Balance Candle detection.
🔔 Use Cases
Trend Following: Enter on HA flips to green, exit when flips back to red.
Reversal Spotting: Get notified when balance-type candles (large wicks, small body) appear, signaling indecision or possible reversal.
Flexible Alerts: Works on any symbol and timeframe, customizable to fit scalping, swing trading, or long-term strategies.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.