Get Updates:
Email
Twitter
RSS

Like the Heikini-Ashi trend mechanism but don’t like the candlesticks? This one’s for you. It plots a signal on the price bar when the Heikin-Ashi trend changes while using traditional candlesticks or bar charts.

Heikin-Ashi Signals

Heikin-Ashi Signals


# HEIKINASHISIGNALS
# (c) 2009 http://www.thinkscripter.com
# thinkscripter@gmail.com
# Last Update 28 FEB 2009

def haclose = (open + high + low + close) / 4;
rec haopen = CompoundValue(1, (haopen[1] + haclose[1]) / 2, (open[1] + close[1]) / 2);
def diff = haclose - haopen;

plot HASignal = if diff>0 and diff[1]<=0 then low*0.999 else if diff<0 and diff[1]>=0 then high*1.001 else double.nan;
HASignal.setStyle(curve.POINTS);
HASignal.setPaintingStrategy(paintingStrategy.LINE_VS_TRIANGLES);
HASignal.setLineWeight(1);
HASignal.assignValueColor(if diff>0 then color.green else color.red);

2 Responses to “Heikin-Ashi Signals”

  1. JayTrader says:

    Thanks for the cool scripts man! I’m playing around with Verroot and this candle indicator…thanks a mili :)

  2. Joy says:

    Anybody coding these in eld format for tradestation? Especially interested in the 3/10? Thanks!

Leave a Reply