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

Re: [amibroker] Re: Help with formula ( need more eyes )



PureBytes Links

Trading Reference Links




Thanks ZS, I got that part correct last 
night....will post the completed code soon...
 
Anthony
<BLOCKQUOTE 
>
  ----- Original Message ----- 
  <DIV 
  >From: 
  spade_hu 
  To: <A title=amibroker@xxxxxxxxxxxxxxx 
  href="">amibroker@xxxxxxxxxxxxxxx 
  Sent: Sunday, July 20, 2003 6:16 AM
  Subject: [amibroker] Re: Help with 
  formula ( need more eyes )
  Hi Anthony,I don't know what you want to do, but I 
  think it should 
  bepat=IIf(x==1,Configuration1,IIf(x==2,Configuration2,IIf(x==3,Configuration3,IIf(x==4,Configuration4,IIf(x==5,Configuration5,IIf(x==6,Configuration6,IIf(x==7,Configuration7,IIf(x==8,Configuration8,0))))))));rather 
  thanpat=IIf(x=1,Configuration1,IIf(x=2,Configuration2,IIf(x=3,Configuration3,IIf(x=4,Configuration4,IIf(x=5,Configuration5,IIf(x=6,Configuration6,IIf(x=7,Configuration7,IIf(x=8,Configuration8,0))))))));Zs.--- 
  In amibroker@xxxxxxxxxxxxxxx, "Anthony Faragasso" <ajf1111@xxxx> 
  wrote:> This formula is not completed, but will run in AA....select 
  watchlist or all> stocks...needs multiple tickers at this point to 
  check...set n=last> quotaions and n=1...click explore......My out put 
  of results shows> configuration 8 for all tickers....my eyes are going 
  cross...I can not see> the light....can someone see what is going 
  on....thanks> > I will post the completed formula....when we get 
  past this point...> > //reliable daily index and stock trending 
  signals> > //Anthony Faragasso> > //July 
  2003> > RatioA = ( High / Low ) /( Ref(High,-1) / Ref(Low,-1) 
  );> > RatioB = ( Close / Open ) /( Ref( Close,-1) / Ref(Open,-1) 
  );> > RatioC = ( Volume / Ref( Volume,-1) );> > 
  Configuration1= RatioA > 1 AND RatioB > 1 AND RatioC > 1;> 
  > Configuration2= RatioA > 1 AND RatioB > 1 AND RatioC <= 
  1;> > Configuration3= RatioA > 1 AND RatioB <= 1 AND 
  RatioC > 1;> > Configuration4= RatioA > 1 AND RatioB <= 
  1 AND RatioC <= 1;> > Configuration5= RatioA <= 1 AND 
  RatioB > 1 AND RatioC > 1;> > Configuration6= RatioA <= 
  1 AND RatioB > 1 AND RatioC <= 1;> > Configuration7= 
  RatioA <= 1 AND RatioB <= 1 AND RatioC > 1;> > 
  Configuration8= RatioA <= 1 AND RatioB <= 1 AND RatioC <= 1;> 
  > 
  x=IIf(Configuration1,1,IIf(Configuration2,2,IIf(Configuration3,3,IIf(Configu> 
  ration4,4,IIf(Configuration5,5,IIf(Configuration6,6,IIf(Configuration7,7,IIf> 
  (Configuration8,8,0))))))));> > 
  pat=IIf(x=1,Configuration1,IIf(x=2,Configuration2,IIf(x=3,Configuration3,IIf> 
  (x=4,Configuration4,IIf(x=5,Configuration5,IIf(x=6,Configuration6,IIf(x=7,Co> 
  nfiguration7,IIf(x=8,Configuration8,0))))))));> > 
  totpat=Cum(pat);> > Filter=1;> > 
  AddColumn(Cum(1),"bars",1);> > 
  AddColumn(x,"Configuration",1);> > 
  AddColumn(totpat,"TP",1);> > AddColumn(ratioA,"A",1.2);> 
  > AddColumn(ratioB,"B",1.2);> > 
  AddColumn(ratioC,"C",1.2);> > Anthony> > > 
  ---> Outgoing mail is certified Virus Free.> Checked by AVG 
  anti-virus system (<A 
  href="">http://www.grisoft.com).> Version: 
  6.0.502 / Virus Database: 300 - Release Date: 7/18/2003
  Send BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to 
  suggest@xxxxxxxxxxxxx-----------------------------------------Post 
  AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A 
  href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check 
  group FAQ at: <A 
  href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
  Your use of Yahoo! Groups is subject to the <A 
  href="">Yahoo! Terms of Service. 
  
<BLOCKQUOTE 
><FONT 
  face="Courier New">---Outgoing mail is certified Virus 
  Free.Checked by AVG anti-virus system (<A 
  href="">http://www.grisoft.com).Version: 6.0.502 
  / Virus Database: 300 - Release Date: 
7/18/2003






Yahoo! Groups Sponsor


  ADVERTISEMENT 









Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html



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