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

[Metastockusers] Clayburg Dual Indicators Binary Code Problem



PureBytes Links

Trading Reference Links

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


------------------------ 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/