TIKI Indicator

The TIKI is just like the TICK indicator on the NYSE but only measures the Dow 30 stocks. Extreme readings (26-30) are indicative of buy/sell programs hitting the market. A reading of 30 indicates all 30 Dow stocks are on an uptick. The indicator flags all readings of 26, 28, and 30 (+/-) with blue, yellow, and magenta triangles respectively. Read more on the TIKI and its use in John Carter’s Mastering the Trade.

TIKI Indicator

TIKI Indicator

# TIKI
# http://www.thinkscripter.com
# thinkscripter@gmail.com
# Last Update 25 Jan 2009

declare lower;

def highExtreme = 26;
def LowExtreme = -26;
input emaPeriod = 10;

plot h = high("$TIKI");
h.setPaintingStrategy(paintingStrategy.HISTOGRAM);
h.setDefaultColor(color.green);

plot l = low("$TIKI");
l.setDefaultColor(color.red);
l.setPaintingStrategy(paintingStrategy.HISTOGRAM);

plot zero = 0;
zero.setDefaultColor(color.white);

plot extH=highExtreme;
extH.setDefaultColor(color.red);

plot extL=LowExtreme;
extL.setDefaultColor(color.green);

plot c = close("$TIKI");
c.setStyle(curve.POINTS);
c.setDefaultColor(color.white);

plot ave = expAverage((h+l+c)/3,emaPeriod);
ave.setDefaultColor(color.white);
ave.setLineWeight(2);

plot extremeH = if(h >=highExtreme, h, double.nan);
def extremeHColor = if(h==30, 0,if(h >=28,8,  1));
extremeH.assignValueColor(getColor(extremeHColor));;
extremeH.setStyle(curve.POINTS);
extremeH.setpaintingStrategy(paintingStrategy.LINE_VS_TRIANGLES);

plot extremeL = if(l<=lowExtreme, l, double.nan);
def extremeLColor = if(l==-30, 0,if(l<=-28,8,  1));
extremeL.assignValueColor(getColor(extremeLColor));;
extremeL.setStyle(curve.POINTS);
extremeL.setpaintingStrategy(paintingStrategy.LINE_VS_TRIANGLES);
This entry was posted in Indicator and tagged , , . Bookmark the permalink.

One Response to TIKI Indicator

  1. ThinkScripter says:

    Please ensure that you use the icons in the upper right of the code window to copy/paste the code. The second icon copies the code straight to your clipboard. If you try to do this manually you will include the line numbers and the code will not work in TOS.
    -Eric

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>