logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
MS Support  
#1 Posted : Friday, October 14, 2011 1:42:12 PM(UTC)
MS Support

Rank: Advanced Member

Groups: Moderators, Registered, Registered Users, Subscribers
Joined: 10/8/2010(UTC)
Posts: 1,934

Thanks: 85 times
Was thanked: 154 time(s) in 150 post(s)
Jay Kaeppel’s article, “The JK HiLo Index” explains how to calculate the named index.

  1. Tools menu, select New to open the Indicator Editor for a new indicator.
  2. NNH:=Security("C:\MetaStock Data\BM Data\X.NASD-H",C);

    NNL:=Security("C:\MetaStock Data\BM Data\X.NASD-L",C);

    ti:= Security("C:\MetaStock Data\BM Data\X.NASD-T",C);

    r1:= Mov((Min(NNH,NNL)/ti) * 100, 10, S);

    factor:= If(r1>=2.15 OR r1<=0.40, r1, 1);

    r2:= Mov(NNH/ti, 10, S);

    (factor * r2) * 100

    5. Click

    The formula list above is using the broad market data installed with MetaStock for Windows.

    If you wish to use a different data vendor or a different market, you will need to change the first three lines. They also reference an exact ticker symbol in that folder. Just change the path and ticker symbol information to point to the data you are using.

    Some data sources may not have a symbol for Total Issues Traded. It requires adding one more Security() function call and changing the definition of the ti variable. Our users of MetaStock Professional will want to use this version:

    ADI:=Security("C:\MetaStock Data\BM Data\us&ADVQ",C);

    DCI:=Security("C:\MetaStock Data\BM Data\us&DECQ",C);

    NNH:=Security("C:\MetaStock Data\BM Data\us&YHIQ",C);

    NNL:=Security("C:\MetaStock Data\BM Data\us&YLOQ",C);

    ti:= ADI+DCI;

    r1:= Mov((Min(NNH,NNL)/ti) * 100, 10, S);

    factor:= If(r1>=2.15 OR r1<=0.40, r1, 1);

    r2:= Mov(NNH/ti, 10, S);

    (factor * r2) * 100
Users browsing this topic
Guest (Hidden)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.