SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
Strategies & Market Trends : TA-Quotes Plus

 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext  
To: Richard Estes who wrote (7277)10/19/1998 12:33:00 AM
From: TechTrader42  Read Replies (1) of 11149
 
Richard: I'll have to change it then. Is this correct for the Whoops Short:

C<Mov(C,10,S) AND
C<Mov(C,50,S) AND
Ref(C,-1)<Ref(O,-1) AND
O>Ref(C,-1)+0.25

By "prev day close must be below open," you meant the previous day's close was below the previous day's open, right?

In QP, it would be:

//Cooper, Whoops Short Sell
output="Coopwhoop.lst";
input="commplus.lst";
issuetype common;

//Sell short 1/8 below prev close
if close(0)<MovAvg(0,10,cl) and //C<Mov(C,10,S) AND
close(0)<MovAvg(0,50 ,cl) and //C<Mov(C,10,S) AND
close(-1)<open(-1) and
open(0)>close(-1)+.25 then //O>Ref(C,-1)+0.25
println symbol,",", close(0):8:3,",", close(-1):8:3;
endif;

Brooke
Report TOU ViolationShare This Post
 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext