some1o1

HEIKIN ASHI COLOUR CHANGE ALERT

This can be used to trigger an alert if Heikin Ashi bar changes color :)
Ta bort från favoritskript Lägg till som favoritskript
study("HEIKIN ASHI COLOUR CHANGE ALERT")

haclose = ((open + high + low + close)/4)
haopen = na(haopen[1]) ? (open + close)/2 : (haopen[1] + haclose[1]) / 2

UP = haclose > haclose [1]? 0:1
DOWN =  haclose <= haclose [1]? 1:0

plot(UP)
plot(DOWN)

Kommentarer

hi thank you for the good work. i'm trying this out at the moment, however, i can only have the alert triggered when the Heikin Ashi bar turned from Green to Red but not the other way round, any idea why or how can i fix it?
+20 Svara
thr0nex layhau
@layhau, make an alert, when the plot crosses 0.5 :)
+1 Svara
this is only accurate for the 8 hour chart, how can i make it accurate for the 1 hour?
+10 Svara
Can someone show hot to set it up in the alerts and an example?
+2 Svara
Just want it to buy once
and next time it's going to buy is when it's opposite color
Svara
very interesting
someone who wants to put up a picture of how an alurt is going to look
Svara
Hem Aktie-screener Forex-screener Krypto-screener Ekonomisk kalender Hur det fungerar Diagramfunktioner Priser Tipsa en vän Ordningsregler Hjälpcenter Webbsidor och mäklarlösningar Widgets Diagramlösningar Lightweight Charting Library Blogg och nyheter Twitter
Profil Profilinställningar Konto och fakturering Referred friends Coins Mina kölappar Hjälpcenter Publicerade idéer Följare Följer Privata meddelanden Chatt Logga ut