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)
this is only accurate for the 8 hour chart, how can i make it accurate for the 1 hour?
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
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?
+16 Svara
thr0nex layhau
@layhau, make an alert, when the plot crosses 0.5 :)
Svara
Hem Aktie-screener Forex-screener Krypto-screener Ekonomisk kalender Hur det fungerar Diagramfunktioner Priser Ordningsregler Moderatorer Webbsidor och mäklarlösningar Widgets Diagramlösningar Help Center Funktionsförfrågan Blogg och nyheter Frågor och svar Wiki Twitter
Profil Profilinställningar Konto och fakturering TradingView Coins Mina kölappar Help Center Publicerade idéer Följare Följer Privata meddelanden Chatt Logga ut