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

[Metastockusers] Re: Clayburg Dual Indicators Binary Code Problem



PureBytes Links

Trading Reference Links

Gordon, I just plot them all in the same window and color them 
differently, have them plot as a histogram
--- In Metastockusers@xxxxxxxxxxxxxxx, Gordon Sutherland 
<gosuth@xxxx> wrote:
> Oops! Looks like living in the Antipodes has gotten my orientation 
wrong
> with the Williams %R Calibration! Please disregard my previous post
> below 'correcting' the Williams %R Binary Wave - my humble 
apologies to
> Henry.
>  
> As penance I have combined the three Dual Indicators' Binary waves 
which
> I find helpful for chart plotting and in systems work. Obviously, 
you
> will need to have created the previous indicators and binary files
> before applying the undermentioned:
>  
> If(Fml("Clayburg Dual Stoch Binary") +  
> Fml("Clayburg Dual Will%R Binary") + 
> Fml("Clayburg Dual RSI Binary") = 3,3,
> If(Fml("Clayburg Dual Stoch Binary") +  
> Fml("Clayburg Dual Will%R Binary") + 
> Fml("Clayburg Dual RSI Binary") = -3,-3,0));
>  
> Now back to trying to get my orientation right with the Williams %
R!!!
>  
> Regards,
>  
> Gordon Sutherland
> 
> -----Original Message-----
> From: Gordon Sutherland [mailto:gosuth@x...] 
> Sent: Monday, 24 November 2003 12:40 p.m.
> To: Metastockusers@xxxxxxxxxxxxxxx
> Subject: RE: [Metastockusers] Re: Clayburg Dual Indicators Binary 
Code
> Problem
> 
> 
> Many thanks to Henry for posting the Dual Oscillator Coding from 
John
> Clayburg's excellent book "Four Steps to Trading Success".
>  
> I have coded this stuff also both into Metastock and into AIQ as a
> system. I think there may be one slight error in the coding 
supplied by
> Henry for the Binary Wave for the Williams %R - the signals should 
be
> reversed. This is an easy slip to make given that the calibration 
of the
> Williams %R is 'upside down'. Thus I would change the following 
code
> from the post below from:
>  
> Dual Will%R Binary Signal
> 
> Per1:=Input("Fast",2,100,50);
> Per2:=Input("Slow",5,200,75);
> A1:=WillR(Per1);
> A2:=WillR(Per2);
> D:=If(A1<-88 AND A2<-70 AND Cross(A1,Ref(A1,-1)),-1,If(A1>-12 AND 
> A2>-30 AND Cross(Ref(A1,-1),A1),1,0));
> D;
>  
> and substitute with:
>  
> Dual Will%R Binary Signal
> 
> Per1:=Input("Fast",2,100,50);
> Per2:=Input("Slow",5,200,75);
> A1:=WillR(Per1);
> A2:=WillR(Per2);
> D:=If(A1<-88 AND A2<-70 AND Cross(A1,Ref(A1,-1)),1,If(A1>-12 AND 
> A2>-30 AND Cross(Ref(A1,-1),A1),-1,0));
> D;
>  
> Perhaps Henry would kindly revisit the code and either confirm the
> correction or confirm that I have got it 'upside down' which is not
> unusual!
>  
> Regards,
>  
> Gordon Sutherland
> 
> -----Original Message-----
> From: Henry Z Kaczmarczyk [mailto:henry1224@x...] 
> Sent: Monday, 24 November 2003 11:11 a.m.
> To: Metastockusers@xxxxxxxxxxxxxxx
> Subject: [Metastockusers] Re: Clayburg Dual Indicators Binary Code
> Problem
> 
> 
> The indicators are correct as per John Clayburg's book.
> They are not meant to be exact entry signals, only to be used as 
> setups. The entry points are from Fractals, similar to Bill 
Williams 
> Profitunity System.
> --- In Metastockusers@xxxxxxxxxxxxxxx, "johndoeforever49" 
> <JohnDoeForever@xxxx> wrote:
> > Henry, I must be doing something wrong the Clayburg Binary Code 
> for 
> > the RSI because it only gave two signals for the entire year on 
> the 
> > SPY daily. The signals came in June.
> > 
> > I dropped the indicator in a window expecting the signals to be 
1 
> or -
> > 1, which they were. Outside of those two signals everything else 
> was 
> > flatline.
> > 
> > John
> > 
> > 
> > --- In Metastockusers@xxxxxxxxxxxxxxx, "Henry Z Kaczmarczyk" 
> > <henry1224@xxxx> wrote:
> > > Here are the Dual indicators that are in his book 4 steps to 
> > trading 
> > > success
> > > 
> > > Dual RSI
> > > 
> > > Per1:=Input("Fast",2,50,5);
> > > Per2:=Input("Slow",10,100,14);
> > > A1:=RSI(Per1);
> > > A2:=RSI(Per2);
> > > 70;30;A1;A2;
> > > 
> > > Dual RSI Binary Signal
> > > 
> > > Per1:=Input("Fast",2,50,5);
> > > Per2:=Input("Slow",10,100,14);
> > > A1:=RSI(Per1);
> > > A2:=RSI(Per2);
> > > D:=If(A1<30 AND A2<30 AND Cross(A1,Ref(A1,-1)),-1,If(A1>70 AND 
> > A2>70 
> > > AND Cross(Ref(A1,-1),A1),1,0));
> > > D;
> > > 
> > > Dual Stoch Fast
> > > 
> > > Per1:=Input("length of Fast stoch",1,100,7);
> > > Per2:=Input("length of Slow stoch",1,100,45);
> > > Per3:=Input("length of 1st ma",1,100,3);
> > > Per4:=Input("length of 2nd ma",1,100,3);
> > > S1:=Mov(Mov((((CLOSE-LLV(L,Per1))/(HHV(H,Per1)-LLV(L,Per1)))
> > > *100),Per3,S),Per4,S);
> > > S2:=Mov(Mov((((CLOSE-LLV(L,Per2))/(HHV(H,Per2)-LLV(L,Per2)))
> > > *100),Per3,S),Per4,S);
> > > 90;70;30;10;S1;S2;
> > > 
> > > Dual Stoch Fast Binary Signal
> > > 
> > > Per1:=Input("length of Fast stoch",1,100,7);
> > > Per2:=Input("length of Slow stoch",1,100,45);
> > > Per3:=Input("length of 1st ma",1,100,3);
> > > Per4:=Input("length of 2nd ma",1,100,3);
> > > S1:=Mov(Mov((((CLOSE-LLV(L,Per1))/(HHV(H,Per1)-LLV(L,Per1)))
> > > *100),Per3,S),Per4,S);
> > > S2:=Mov(Mov((((CLOSE-LLV(L,Per2))/(HHV(H,Per2)-LLV(L,Per2)))
> > > *100),Per3,S),Per4,S);
> > > D:=If(S1<10 AND Cross(S1,Ref(S1,-1)) AND S2<30,-1,If(S1>90 AND 
> Cross
> > > (Ref(S1,-1),S1) AND S2>70,1,0));
> > > D;
> > > 
> > > Dual Will%R
> > > 
> > > Per1:=Input("Fast",2,100,50);
> > > Per2:=Input("Slow",5,200,75);
> > > A1:=WillR(Per1);
> > > A2:=WillR(Per2);
> > > -88;-70;-30;-12;A1;A2;
> > > 
> > > Dual Will%R Binary Signal
> > > 
> > > Per1:=Input("Fast",2,100,50);
> > > Per2:=Input("Slow",5,200,75);
> > > A1:=WillR(Per1);
> > > A2:=WillR(Per2);
> > > D:=If(A1<-88 AND A2<-70 AND Cross(A1,Ref(A1,-1)),-1,If(A1>-12 
> AND 
> > > A2>-30 AND Cross(Ref(A1,-1),A1),1,0));
> > > D;
> > > 
> > > 
> > > 
> > > Henry
> 
> 
> 
> To unsubscribe from this group, send an email to:
> Metastockusers-unsubscribe@xxxxxxxxxxx
> 
> 
> 
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
> <http://docs.yahoo.com/info/terms/> . 
> 
> 
> 
> Yahoo! Groups Sponsor	
>  
> 
<http://rd.yahoo.com/SIG=12cn72s4j/M=259395.3614674.4902533.1261774/D
=eg
> 
roupweb/S=1705001779:HM/EXP=1069717244/A=1524963/R=0/*http://hits.411
web
> .com/cgi-bin/autoredir?
camp=556&lineid=3614674&prop=egroupweb&pos=HM> 	
>  
> <http://us.adserver.yahoo.com/l?
M=259395.3614674.4902533.1261774/D=egrou
> pmail/S=:HM/A=1524963/rand=486511365> 	
> 
> To unsubscribe from this group, send an email to:
> Metastockusers-unsubscribe@xxxxxxxxxxx
> 
> 
> 
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
> <http://docs.yahoo.com/info/terms/> .


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/zMEolB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
Metastockusers-unsubscribe@xxxxxxxxxxx

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/