OPEN-SOURCE SCRIPT
已更新 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.
發行說明
📌 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.
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。