OPEN-SOURCE SCRIPT
Atualizado 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.
Notas de Lançamento
📌 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.
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.