PureBytes Links
Trading Reference Links
|
Thanks a lot, I don't have the book either but I'll run some tests with
this.
Thanks again, Mike M
-----Original Message-----
From: The Omega Man [mailto:editorial@xxxxxxxxxxxxx]
Sent: Monday, October 05, 1998 8:10 PM
To: Michael Mason; Omega-list@xxxxxxxxxx
Subject: Re: OmegaMan - Can you please help with this system?
Mike wrote:
<<I found this trading system written for Metastock and would like to use it
in Trade Station it's Jeff
Coppers "Hit & Run 2"...>>
You found it written for what? MetaWhat? Never heard of it. Now, if you
had been talking about an Omega product, say TradeStation, you might want to
code Cooper's system as follows:
If ADX(14) > 30
and DMIPlus(14) > DMIMinus(14)
and ((L<L[1] and L[1]<L[2] and L[2]<L[3])
{three lower lows}
or (L[1]<L[2] and L[2]<L[3] and (H<H[1] and L>L[1])) {or two
lower lows and an inside day}
or ((L[2]>L[3] and H[2]<H[3]) and L<L[1] and L[1]<L[2])) {or an inside
day and two lower lows}
then buy;
If ADX(14) > 30
and DMIPlus(14) < DMIMinus(14)
and ((H>H[1] and H[1]>H[2] and H[2]>H[3]) {three
higher highs}
or (H[1]>H[2] and H[2]>H[3] and (H<H[1] and L>L[1])) {or two higher
highs and an inside day}
or ((L[2]>L[3] and H[2]<H[3]) and H>H[1] and H[1]>H[2])) {or an inside
day and two higher highs}
then sell;
I don't have Mr. Cooper's book so I do not know whether these are the
conditions he uses in his system. If you can clarify what all of his
conditions are (both for entry and exit) then I'll be glad to double check
this code.
Good trading,
The Omega Man
Man does not belong on his knees
-----Original Message-----
From: Michael Mason <Mason98@xxxxxxxxxxxxxxxx>
To: Omega-list@xxxxxxxxxx <Omega-list@xxxxxxxxxx>
Date: Monday, October 05, 1998 5:43 AM
Subject: OmegaMan - Can you please help with this system?
Hi OmegaMan,
I thought this might be right up your alley... I found this trading system
written for Metastock and would like to use it in Trade Station it's Jeff
Coppers "Hit & Run 2", I thought I could rewrite it myself but find it over
my head, could you please take a look at it?
Thanks for your time, Mike M.
>>"Hit and Run Trading - The Short-Term Stock Trader's Bible" - by Jeff
>>Cooper
>>
>>Cooper 1234
>>
>>This system requires the following.
>>
>>1. The 14-day ADX >=30
>>2. The 14-day +DI must be greater than the 14-day -DI
>>3. Lastly there must be consecutive days where the closing price is
>>less than the previous day or the first day is lower and the second
>>and third day must less than or equat to its previous day.
>>
>>Formula I called "HAR2" (means "Hit & Run 2," I guess):
>>
>> If((ADX(14)>30) AND ((PDI(14))>(MDI(14))),-1,0)
>>
>>Formula "OneTwoThreeFour":
>>
>> If( (Fml( "HAR2" )=-1) AND (Fml( "ThreeLL" )=-1) ,-1 ,0 )
>>
>>Formula "ThreeLL" (three lower lows):
>>
>> If( (LOW<Ref(LOW,-1)) AND ((Ref(LOW,-1))<(Ref(LOW,-2))) AND
>>((Ref(LOW,-2))<(Ref(LOW,-3))),-1,0)
>>
>>Formula "ThreeHH" (three higher highs):
>>
>> If( (HIGH>Ref(HIGH,-1)) AND ((Ref(HIGH,-1))>(Ref(HIGH,-2))) AND
>>((Ref(HIGH,-2))>(Ref(HIGH,-3))),1,0)
>>
>>From: Chuck Engstrom <engstrom@xxxxxxx>
>>====================================================================
>>{Cooper 1234 buy}
>>
>>(ADX(14) > 30 AND PDI(14) > MDI(14)) AND {3 LOWER LOWS IN A ROW}
>>((L < Ref(L,-1) AND Ref(L,-1) < Ref(L,-2) AND Ref(L,-2) < Ref(L,-3))
>>OR
>>{2 LOWER LOWS IN A ROW AND AN INSIDE DAY}
>>(Ref(L,-2) < Ref(L,-3) AND Ref(L,-1) < Ref(L,-2) AND H <= Ref(H,-1)
>>AND L >= Ref(L,-1)) OR
>>{AN INSIDE DAY AND 2 LOWER LOWS}
>>(Ref((H <= Ref(H,-1) AND (L >= Ref(L,-1))),-2) AND Ref(L,-1) <
>>Ref(L,-2) AND L < Ref(L,-1)))
>>---------------------------------------------------------------
>>{Cooper 1234 sell}
>>
>>(ADX(14) > 30 AND PDI(14) < MDI(14)) AND {3 HIGHER HIGHS IN A ROW}
>>((H > Ref(H,-1) AND Ref(H,-1) > Ref(H,-2) AND Ref(H,-2) > Ref(H,-3))
>>OR
>>{2 HIGHER HIGHS IN A ROW AND AN INSIDE DAY}
>>(Ref(H,-2) > Ref(H,-3) AND Ref(H,-1) > Ref(H,-2) AND H <= Ref(H,-1)
>>AND L >= Ref(L,-1)) OR
>>{AN INSIDE DAY AND 2 HIGHER HIGHS}
>>(Ref((H <= Ref(H,-1) AND (L >= Ref(L,-1))),-2) AND Ref(H,-1) >
>>Ref(H,-2) AND H > Ref(H,-1)))
>>
>>From: "Stephen Danik" <steve_dk@xxxxxxxxxxx>
>>====================================================================
>>180 b
>>
>>C > Mov(C,10,S) AND C > Mov(C,50,S) AND
>>Ref(C,-1) <= (Ref(L,-1)+(Ref(H-L,-1)*.25)) AND C >= L + ((H-L) *
>>.75)
>>
>>180 s
>>
>>C < Mov(C,10,S) AND C < Mov(C,50,S) AND
>>Ref(C,-1) >= (Ref(L,-1)+(Ref(H-L,-1)*.75)) AND C <= L + ((H-L) *
>>.25)
>>----------
>>Boomer b
>>
>>ADX(14) > 30 AND PDI(14) > MDI(14) AND H <= Ref(H,-1) AND Ref(H,-1) <=
>>Ref(H,-2) AND
>>L >= Ref(L,-1) AND Ref(L,-1) >= Ref(L,-2)
>>
>>Boomer s
>>
>>ADX(14) > 30 AND PDI(14) < MDI(14) AND H <= Ref(H,-1) AND Ref(H,-1) <=
>>Ref(H,-2) AND
>>L >= Ref(L,-1) AND Ref(L,-1) >= Ref(L,-2)
>>----------
>>Expansion b
>>
>>C > Ref(HHV(C,42),-1) AND H-L >= Ref(HHV((H-L),9),-1)
>>
>>Expansion s
>>
>>C < Ref(LLV(C,42),-1) AND (H-L) >= Ref(HHV((H-L),9),-1)
>>----------
>>Pivot b
>>
>>H-L > Ref(HHV((H-L),9),-1) AND ((L <= Mov(C,50,S)) OR Ref(L,-1) <=
>>Ref(Mov(C,50,S),-1))
>>AND C > Mov(C,50,S)
>>
>>Pivot s
>>
>>H-L > Ref(HHV((H-L),9),-1) AND ((H >= Mov(C,50,S)) OR Ref(H,-1) >=
>>Ref(Mov(C,50,S),-1))
>>AND C < Mov(C,50,S)
>>----------
>>Gilligan b
>>
>>GapDown() AND O < Ref(LLV(L,41),-1) AND C >= ((H+L)/2) AND C >= O
>>
>>Gilligan s
>>
>>GapUp() AND O > Ref(HHV(H,41),-1) AND C <= ((H+L)/2) AND C <= O
>>----------
>>Lizard b
>>
>>O >= L + ((H-L) * .75) AND C >= L + ((H-L) * .75) AND L <
>>Ref(LLV(L,9),-1)
>>
>>Lizard s
>>
>>O <= L + ((H-L) * .25) AND C <= L + ((H-L) * .25) AND H >
>>Ref(HHV(H,9),-1)
>>----------
>>Slingshot b
>>
>>(Ref(H > Ref(HHV(H,42),-1),-1) AND
>>L <= (Ref(L,-1) - .125)) OR (Ref(H > Ref(HHV(H,42),-1),-2) AND
>>Ref(L<=(Ref(L,-2) - .125),-1))
>>
>>Slingshot s
>>
>>2ML:=LLV(L,42);
>>(Ref(L < Ref(2ml,-1),-1) AND
>>H >= (Ref(H,-1) + .125)) OR (Ref(L < Ref(2ml, -1),-2) AND Ref(H >=
>>(Ref(H,-2) + .125),-1))
>>----------
>>Whoops b
>>
>>C<Mov(C,10,S) AND C<Mov(C,50,S) AND O<Ref(C,-1)-0.25
>>
>>Whoops s
>>
>>C>Mov(C,10,S) AND C>Mov(C,50,S) AND O>Ref(C,-1)+0.25
>>----------
|