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

Notification

Icon
Error

Options
Go to last post Go to first unread
Jedixs  
#1 Posted : Wednesday, August 16, 2006 4:47:39 PM(UTC)
Jedixs

Rank: Member

Groups: Registered, Registered Users
Joined: 12/11/2005(UTC)
Posts: 16
Location: Mexico City

last year an article in futures magazine came out with a formula they called "doublekey" based on daily price movements. equis helped in trasposing it to a metastock formula, but i can't remember if it generated buy or sell signals, and it gave only a few signals in a year- i use it to alert me to stocks that generated this signal and further analysis (any advice is welcome)

(Ref(H,-1)>Ref(H,-2) AND Ref(C,-1)<Ref(C,-2) AND C<Ref(C,-1) AND
H>Ref(H,-1) AND L<Ref(L,-1) AND Ref(C>((H-L)*.75)+L,-2))
OR (Ref(L,-1)<Ref(L,-2) AND Ref(C,-1)>Ref(C,-2) AND C>Ref(C,-1) AND
H>Ref(H,-1) AND L<Ref(L,-1) AND Ref(C<((H-L)*.25)+L,-2))

(By ;Mike Arnoldi)

This fomrula gives a rew sell signals in a year...I need the opposite version of this formula if it is possible....

regards..

henry1224  
#2 Posted : Wednesday, August 16, 2006 6:54:55 PM(UTC)
henry1224

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 10/29/2004(UTC)
Posts: 1,394
Location: Glastonbury, CT

Was thanked: 2 time(s) in 2 post(s)

The above formula has two signals, they are connected by the "or" statement.

Define each signal to plot it's own +1 ,-1

(Ref(H,-1)>Ref(H,-2) AND Ref(C,-1)<Ref(C,-2) AND C<Ref(C,-1) AND
H>Ref(H,-1) AND L<Ref(L,-1) AND Ref(C>((H-L)*.75)+L,-2))
OR (Ref(L,-1)<Ref(L,-2) AND Ref(C,-1)>Ref(C,-2) AND C>Ref(C,-1) AND
H>Ref(H,-1) AND L<Ref(L,-1) AND Ref(C<((H-L)*.25)+L,-2))

Revised

A:= (Ref(H,-1)>Ref(H,-2) AND Ref(C,-1)<Ref(C,-2) AND C<Ref(C,-1) AND
H>Ref(H,-1) AND L<Ref(L,-1) AND Ref(C>((H-L)*.75)+L,-2));
B:= (Ref(L,-1)<Ref(L,-2) AND Ref(C,-1)>Ref(C,-2) AND C>Ref(C,-1) AND
H>Ref(H,-1) AND L<Ref(L,-1) AND Ref(C<((H-L)*.25)+L,-2));

If(A,1,If(B,-1,0))

henry1224  
#3 Posted : Wednesday, August 16, 2006 7:20:12 PM(UTC)
henry1224

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 10/29/2004(UTC)
Posts: 1,394
Location: Glastonbury, CT

Was thanked: 2 time(s) in 2 post(s)

an Opposite signal will give +2 ,-2 signals, the original will give +1,-1

A:= (Ref(H,-1)>Ref(H,-2) AND Ref(C,-1)<Ref(C,-2) AND C<Ref(C,-1) AND
H>Ref(H,-1) AND L<Ref(L,-1) AND Ref(C>((H-L)*.75)+L,-2));
B:= (Ref(L,-1)<Ref(L,-2) AND Ref(C,-1)>Ref(C,-2) AND C>Ref(C,-1) AND
H>Ref(H,-1) AND L<Ref(L,-1) AND Ref(C<((H-L)*.25)+L,-2));

AR:= (Ref(H,-1)<Ref(H,-2) AND Ref(C,-1)>Ref(C,-2) AND C>Ref(C,-1) AND
H<Ref(H,-1) AND L>Ref(L,-1) AND Ref(C<((H-L)*.75)+L,-2));
BR:= (Ref(L,-1)>Ref(L,-2) AND Ref(C,-1)<Ref(C,-2) AND C<Ref(C,-1) AND
H<Ref(H,-1) AND L>Ref(L,-1) AND Ref(C>((H-L)*.25)+L,-2));

If(A,1,If(B,-1,If(AR,2,If(BR,-2,0))))

Users browsing this topic
Guest (Hidden)
Similar Topics
Double Key Reversal (Formula Assistance)
by Lance 10/12/2010 8:30:56 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.