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.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.