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

RE: [Metastockusers] Re: Clayburg Dual Indicators Binary Code Problem



PureBytes Links

Trading Reference Links




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.
<FONT face=Arial color=#0000ff 
size=2> 
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:
<FONT face=Arial color=#0000ff 
size=2> 
<FONT face=Arial color=#0000ff 
size=2>If(Fml("Clayburg Dual Stoch Binary") +  Fml("Clayburg Dual 
Will%R Binary") + Fml("Clayburg Dual RSI Binary") = 3,3,
<FONT face=Arial color=#0000ff 
size=2>If(Fml("Clayburg Dual Stoch Binary") +  Fml("Clayburg Dual 
Will%R Binary") + Fml("Clayburg Dual RSI Binary") = 
-3,-3,0));
<FONT face=Arial color=#0000ff 
size=2> 
Now 
back to trying to get my orientation right with the Williams 
%R!!!
 
<FONT face="Kunstler Script" color=#008000 
size=5>Regards,
<FONT face="Kunstler Script" color=#008000 
size=5> 
Gordon 
Sutherland

  
  <FONT 
  face=Tahoma size=2>-----Original Message-----From: Gordon 
  Sutherland [mailto:gosuth@xxxxxxxxxxxx] Sent: Monday, 24 November 
  2003 12:40 p.m.To: 
  Metastockusers@xxxxxxxxxxxxxxxSubject: 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".
  <FONT face=Arial color=#0000ff 
  size=2> 
  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:
  <FONT face=Arial color=#0000ff 
  size=2> 
  Dual 
  Will%R Binary 
  SignalPer1:=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;
  <FONT face=Arial color=#ff0000 
  size=2> 
  and 
  substitute with:
  <FONT face=Arial color=#0000ff 
  size=2> 
  Dual 
  Will%R Binary 
  SignalPer1:=Input("Fast",2,100,50);Per2:=Input("Slow",5,200,75);A1:=WillR(Per1);A2:=WillR(Per2);<FONT 
  color=#008000>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;
  <FONT face=Arial color=#ff0000 
  size=2> 
  <FONT face=Arial color=#0000ff 
  size=2>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!
   
  <FONT face="Kunstler Script" color=#008000 
  size=5>Regards,
  <FONT face="Kunstler Script" color=#008000 
  size=5> 
  Gordon 
  Sutherland
  
    
    <FONT 
    face=Tahoma size=2>-----Original Message-----From: Henry Z 
    Kaczmarczyk [mailto:henry1224@xxxxxxxxx] Sent: Monday, 24 
    November 2003 11:11 a.m.To: 
    Metastockusers@xxxxxxxxxxxxxxxSubject: [Metastockusers] Re: 
    Clayburg Dual Indicators Binary Code ProblemThe 
    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;> > > > 
    > > > > HenryTo unsubscribe 
    from this group, send an email 
    to:Metastockusers-unsubscribe@xxxxxxxxxxxYour 
    use of Yahoo! Groups is subject to the <A 
    href="">Yahoo! Terms of Service. 
    To 
  unsubscribe from this group, send an email 
  to:Metastockusers-unsubscribe@xxxxxxxxxxxYour use 
  of Yahoo! Groups is subject to the <A 
  href="">Yahoo! Terms of Service. 







Yahoo! Groups Sponsor


  ADVERTISEMENT 









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.