OPEN-SOURCE SCRIPT
已更新

HA Color Change Alerts (fixed v3)

164
📌 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.
版本注释
📌 Heikin Ashi Color Change + Balance Candle Alerts

This 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提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。