Heikin Ashi 3 Lines Break

Un autre code sympa (prorealcode.com), à base du Heikin Ashi.

Heiken Ashi 3 lines break

Voici de code de l’INDICATEUR

à insérer directement au niveau du graphique principal

once t=1
once a0=(close)
once a1=(close)
once a2=(close)
once a3=(close)

if t=1 and close>a3 then
a0=a1
a1=a2
a2=a3
a3=close
elsif t=1 and close<a0 then
t=-1
a1=a3
a0=a3
a3=close
elsif t=-1 and close<a3 then
a0=a1
a1=a2
a2=a3
a3=close
elsif t=-1 and close>a0 then
t=1
a1=a3
a0=a3
a3=close

endif

cc = customclose
return cc as " customclose " , a0 coloured by t[1] as "cassure"
Share Button