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 |