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

Re: Systems tester query



PureBytes Links

Trading Reference Links

Long:=RSI(5)>Ref(RSI(5),-1) AND C<Ref(C,-5) AND C<=Mov(C,5,S);
If(Long=1 AND (C>(Mov(C,5,S) OR (Ref(Long,-10)=1 AND Ref(Long,-11)=0)),0,Long)

Regards,
Ton Maas
ms-irb@xxxxxxxxxxxxxxxx
Dismiss the ".nospam" bit (including the dot) when replying.
Homepage  http://home.planet.nl/~anthmaas


----- Oorspronkelijk bericht ----- 
Van: <MFall31148@xxxxxxx>
Aan: <metastock@xxxxxxxxxxxxx>
Verzonden: zaterdag 23 september 2000 7:14
Onderwerp: Systems tester query


> Group -
>     saw a piece in the most recent "Active Trader" magazine.  They had the 
> TradeStation code for EOD but not the MetaStock.  Can someone help here?  
> It's as follows:
>
> Enter Long if
>  1) today's five-day RSI is greater than yesterday's five-day RSI;
>  and
>  2) today's close is below the close of five days ago;
>  and
>  3) today's close is less then or equal to the average of the last five day's closes.

Long:=RSI(5)>Ref(RSI(5),-1) AND C<Ref(C,-5) AND C<=Mov(C,5,S);

> Exit tomorrow at the market if:
>  1) today's close is higher than the average of the last five days' closes;
>  or
>  2) you have been in the trade 10 days.

If(Long=1 AND (C>(Mov(C,5,S) OR (Ref(Long,-10)=1 AND Ref(Long,-11)=0)),0,Long)

> This system buys "Calls" and says that it works with the S&P 500 and NYSE 
> indexes, and individual stocks.  Any help writing the MetaStock (6.52 only!) 
> code is greatly appreciated.  Thanks...Milt Fall [mfall31148@xxxxxxx]