Dear Everyone,
I came across a post in Paritech forums, where the member who posted wanted to know how to write a Kagi exploration. It goes like this:
Topic: Metastock - Kagi chart Exploration
I have been using Kagi charts to select stocks now for some time on a manual basis (looking at each chart individually) and now would like to be able to run an exploration to look for situations where the thin line turns to a thick line. More specifically, I have changed the colours to: Thick lines - Green, Thin lines - Red; therefore I would like to find stocks where the red line has just turned Green.
I have no idea as to how to construct such an exploration. Is there anyone who can help me please.
Cheers
Lee
Reply:
Variation:=3;
up:=Peak(1,C,Variation);
dn:=Trough(1,C,Variation);
zup:=Ref(up,-1);
zdn:=Ref(dn,-1);
long entry / exit short : Cross(C,zup)
short entry / exit long: Cross(ZDN,C)
is this ok?
--------------------
Mauinna
URL:-http://www.paritech.com.au/forums/cgi-bin/ultimatebb.cgi?ubb=get_topic;f=15;t=000268
That's what I want to know too. Is this ok? Are not the Peak and Trough functions based on hindsight? Kindly enlighten.
Topic: Metastock - Kagi chart Exploration