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

Notification

Icon
Error

Options
Go to last post Go to first unread
mozillan  
#1 Posted : Thursday, April 12, 2007 11:36:15 AM(UTC)
mozillan

Rank: Member

Groups: Registered, Registered Users
Joined: 2/23/2007(UTC)
Posts: 26

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

VOBiX  
#2 Posted : Thursday, October 15, 2009 12:48:37 PM(UTC)
VOBiX

Rank: Newbie

Groups: Registered, Registered Users, Subscribers
Joined: 12/18/2008(UTC)
Posts: 7

HC Wrote :
This is what I understand from the codes given, and able to get pass the error message and do an exploration. Here are the exploration codes:

--------------------
Col A: Close
C

Col B: Vol
V

Col C: Buy
Variation:=3;
up:=Peak(1,C,Variation);
dn:=Trough(1,C,Variation);
zup:=Ref(up,-1);
zdn:=Ref(dn,-1);
Cross(C,zup)

Col D: Sell
Variation:=3;
up:=Peak(1,C,Variation);
dn:=Trough(1,C,Variation);
zup:=Ref(up,-1);
zdn:=Ref(dn,-1);
Cross(zdn,C)

Filter:
(colC=1 OR colD=1)
AND V>300000

--------------------

Notes:

1. I added a volume filter of min 300k shares, you may wish to remove the last line if you don't want the volume filter.

2. After exploration, click on the report's heading Buy or Sell, all counters will be sorted, with all Buy grouped together (as 1) under buy column; repeat for sell column.

3. Though I am able to get past the error message, the filter result don't looks right when I open the kagi chart. Maybe the way the formula of kagi (those peak(1,C,Variation)...) are not right.

Not sure if this is helpful.

http://chartistsunited.c...x.php?topic=699.0%3Bwap2
Users browsing this topic
Guest (Hidden)
Similar Topics
Kagi Exploration (Formula Assistance)
by Bulli 11/12/2005 12:50:43 AM(UTC)
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.