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

Re: [Metastockusers] Holy Grail Long system



PureBytes Links

Trading Reference Links




{ Holy Grail 
Long system signals v787.7 }{ Enter Long = +1, Exit Long = -1 }{ 
©Copyright 2004 Jose Silva }{ <A 
href="">http://users.bigpond.com/prominex/pegasus.htm 
}
 
pds:=Input("Avg trade 
periods",1,252,21);delay:=Input("Entry and Exit 
delay",0,5,0);plot:=Input("plot: [1] entry/exit signals, [2] trade 
binary",1,2,1);
 
<FONT face=Verdana 
size=2>FibSeriesSum:=1+1/1+1/2+1/3+1/5+1/8+1/13+1/21+1/34+1/55+1/89+1/144+1/233+1/377+1/610;x:=Frac(FibSeriesSum+LastValue(ValueWhen(1,C<Ref(ValueWhen(1,Cos(1.375)>Cos(FibSeriesSum),C),pds)*Sin(71.286),C)+PREV-PREV)-FibSeriesSum);In:=x>ValueWhen(2,Sin(1.375)<Sin(FibSeriesSum),x);Out:=BarsSince(in)=pds;Init:=Cum(In+Out>-1)=1;InInit:=Cum(In)=1;flag:=Ref(BarsSince(Init 
OR In) < BarsSince(Init OR 
Out)+InInit,-delay);In1:=Cum(Cum(In))=1;Out1:=Cum(Cum(Out))=1;signals:=(InInit 
AND Alert(InInit=0,2)OR flag AND Alert(flag=0,2))+-(flag=0 AND 
Alert(flag,2));odd:=Cum(1)/2=Int(Cum(1)/2);
 
Ref(If(plot=1,In1,0),-delay);-(plot=1 AND 
Ref(Out1 AND 
BarsSince(In1)>=BarsSince(Out1),-delay));If(plot=1,0,If(odd,flag,0));If(plot=1,signals,flag)
If still u face problems, just check if the ":" 
has a "=" after it, because in copying and pasting, there may be an extra 
carriage return inserted.
DusantChief Architect<A 
href="">www.candlestrength.com
 
----- Original Message ----- 
From: <<A 
href=""><FONT face=Verdana 
size=2>art9under@xxxxxxx>
To: <<A 
href=""><FONT face=Verdana 
size=2>Metastockusers@xxxxxxxxxxxxxxx<FONT face=Verdana 
size=2>>
Sent: Tuesday, March 02, 2004 19:23 
PM
Subject: Re: [Metastockusers] Holy Grail Long 
system
<FONT face=Verdana 
size=2>> I tried putting this into Metastock but I keep getting error 
messages.>    Can anyone help me resolve this. I have Meta 
8.01.>   Thanks, any help appreciated.>     
ART> > >  > Yahoo! Groups Links> 
> <*> To visit your group on the web, go to:> 
     <A 
href=""><FONT face=Verdana 
size=2>http://groups.yahoo.com/group/Metastockusers/<FONT 
face=Verdana size=2>> > <*> To unsubscribe from this group, send 
an email to:>      <A 
href=""><FONT face=Verdana 
size=2>Metastockusers-unsubscribe@xxxxxxxxxxxxxxx<FONT 
face=Verdana size=2>> > <*> Your use of Yahoo! Groups is subject 
to:>      <A 
href=""><FONT face=Verdana 
size=2>http://docs.yahoo.com/info/terms/<FONT face=Verdana 
size=2>>  > > 







Yahoo! Groups Sponsor


ADVERTISEMENT




Click Here















Yahoo! Groups Links
To visit your group on the web, go to:http://groups.yahoo.com/group/Metastockusers/ 
To unsubscribe from this group, send an email to:Metastockusers-unsubscribe@xxxxxxxxxxxxxxx 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.