[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Active Trader KISS Article, December 2002



PureBytes Links

Trading Reference Links

James... I haven't tried this, but it looks like you just forgot to add the
calculated value to the high of the previous day / subtract from the low of
previous day. In any case, try this:

If Close > High[1] + (High[1]*1.005) then buy at market;

If Close < Low[1]  - (Low[1]*1.005) then sell at market;

BTW, there's something screwed up with the representation of the code in the
article. Take a look at the chart on page 40. The sells that are shown on
the 18th and 24th did not close below the previous bars close. Hmmm...  go
figure...

----- Original Message -----
From: "James F. Anderson III" <jayanderson@xxxxxxxxxxxxxxx>
To: "Omega List" <omega-list@xxxxxxxxxx>
Sent: Monday, November 18, 2002 9:00 PM
Subject: Active Trader KISS Article, December 2002


> The following Metastock code was listed in the December 2002 issue of
Active
> Trader magazine:
>
> Enter long C>(Ref(HHV(H,1),-1)*(1.005))
> Close long C<(Ref(LLV(L,1),-1)*(1.005))
> Enter short C<(Ref(LLV(L,1),-1)*(1.005))
> Close short C>(Ref(HHV(H,1),-1)*(1.005))
>
> This code was contained as part of an article about a trading strategy for
> stocks, and was shown on page 38.  I've tried to reproduce this code into
> EL, but my results have not been successful.  The following EL code is
what
> I have managed to come up with so far.  If anyone has coded this system,
> could they possibly point me in the right direction?
>
> If Close > (High[1]*1.005) then buy at market;
>
> If Close < (Low[1]*1.005) then sell at market;
>
> Thanks,
>
> James Anderson
>
>
>
>
>
>
>