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

Re: [RT] Intelligence trading test



PureBytes Links

Trading Reference Links




Clyde pointed out to me the K and K2 inputs were in 
the wrong place in the code.  The idea was to use them to create narrower 
or wider channels.  Below code has them in the correct place.  
Thankyou Clyde.
 
 
{Duffy Pivot Point Channels}
Inputs: 
Len1(7),Len2(20),PP((H+L+C)/3),K(1.0),K2(1.0);Vars: 
PPA(0),PPA2(0),AVR(0),Avr2(0),HP(0),HP2(0),LP(0),LP2(0),Res(0),Res2(0),Sup(0),Sup2(0);
 
HP=PP+PP-Low;LP=PP-High+PP;PPA=(XAverage(PP,Len1));AVR=K*Average(HP-LP,Len1);Res=PP+AVR;Sup=PP-AVR;
 
Plot1(Res,"Res");Plot2(Sup,"Sup");
 
HP2=PP+2*(PP-Low);LP2=PP-2*(High-PP);PPA2=(Xaverage(PP,Len2));AVR2=K2*Average(HP2-LP2,Len2);Res2=PPA2+AVR2;Sup2= 
PPA2-AVR2;
 
Plot3(Res2,"Res2");Plot4(Sup2,"Sup2");
<BLOCKQUOTE 
>
  ----- Original Message ----- 
  <DIV 
  >From: 
  BobR 
  
  To: <A title=realtraders@xxxxxxxxxxxxxxx 
  href="">realtraders@xxxxxxxxxxxxxxx 
  
  Sent: Friday, April 04, 2003 10:10 
  AM
  Subject: Re: [RT] Intelligence trading 
  test
  
  OK, here is the answer to the previous "trading 
  intelligence test".  Also attached is the Pivot Code used to create the 
  channels.  Modifications, improvements, systems created with them are 
  welcome on this list, ;-)
   
  Enjoy,
  Bobr
  <BLOCKQUOTE 
  >
    ----- Original Message ----- 
    <DIV 
    >From: 
    <A title=bobrabcd@xxxxxxxxxxxxx 
    href="">BobR 
    To: <A 
    title=realtraders@xxxxxxxxxxxxxxx 
    href="">realtraders@xxxxxxxxxxxxxxx 
    
    Sent: Friday, April 04, 2003 8:53 
    AM
    Subject: [RT] Intelligence trading 
    test
    Which trade is next, ;-)To 
    unsubscribe from this group, send an email to:<A 
    href="">realtraders-unsubscribe@xxxxxxxxxxxxxxxYour 
    use of Yahoo! Groups is subject to the <A 
    href="">Yahoo! Terms of Service. 
    To 
  unsubscribe from this group, send an email 
  to:realtraders-unsubscribe@xxxxxxxxxxxxxxxYour 
  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:
realtraders-unsubscribe@xxxxxxxxxxxxxxx





Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.