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

Re: [amibroker] off topic : statistics analysis



PureBytes Links

Trading Reference Links




Load into AA.....n last quotations and n=1.....and 
click explore.....
 
substitute with any pattern you wish in the Pat1 
and Pat2 variables.....
 

//patterns
pat1=Ref<FONT 
face="Courier New" size=1>(C,-<FONT face="Courier New" color=#ff00ff 
size=1>1) > <FONT 
face="Courier New" color=#0000ff size=1>Ref<FONT face="Courier New" 
size=1>(O,-<FONT face="Courier New" color=#ff00ff 
size=1>1) AND C > O;
Pat2=Ref<FONT 
face="Courier New" size=1>(C,-<FONT face="Courier New" color=#ff00ff 
size=1>1)-<FONT 
face="Courier New" color=#0000ff size=1>Ref<FONT face="Courier New" 
size=1>(O,-<FONT face="Courier New" color=#ff00ff 
size=1>1) > <FONT 
face="Courier New" color=#ff00ff size=1>3<FONT face="Courier New" 
size=1> AND C > O;
/**************************************/<FONT 
face="Courier New" size=1>
pattot1=Cum<FONT 
face="Courier New" size=1>(pat1);
pattot2=Cum<FONT 
face="Courier New" size=1>(pat2);<FONT 
color=#ff0000 size=1>
//# of bars
bars=Cum<FONT 
size=1>(1<FONT 
size=1>);
//% Pattern
Cond1=(Cum<FONT 
size=1>(pat1)/Cum<FONT 
size=1>(1<FONT 
size=1>))*100;
Cond2=(Cum<FONT 
size=1>(pat2)/Cum<FONT 
size=1>(1<FONT 
size=1>))*100;
Filter=1<FONT 
size=1>;
AddColumn(bars,<FONT color=#ff00ff 
size=1>"bars",<FONT color=#ff00ff 
size=1>1);
AddColumn(pat<FONT face="Courier New" 
size=1>tot1,"# 
Pat1",<FONT color=#ff00ff 
size=1>1);
AddColumn(Cond1,<FONT color=#ff00ff 
size=1>"%Pattern",<FONT color=#ff00ff 
size=1>1.2);
AddColumn(pat<FONT face="Courier New" 
size=1>tot2,<FONT color=#ff00ff 
size=1>"#Pat2",<FONT color=#ff00ff 
size=1>1);
AddColumn(Cond2,<FONT color=#ff00ff 
size=1>"%Pat2",<FONT color=#ff00ff 
size=1>1.2);
<BLOCKQUOTE 
>
  ----- Original Message ----- 
  <DIV 
  >From: 
  <A title=kk2628@xxxxxxxxxxxxxxxx 
  href="">kk12338 
  To: <A title=amibroker@xxxxxxxxxxxxxxx 
  href="">amibroker@xxxxxxxxxxxxxxx 
  Sent: Friday, June 06, 2003 5:52 AM
  Subject: [amibroker] off topic : 
  statistics analysis
  Hi,What would be the best way/software to carry out 
  statistic analysis on stock data ? Currently I use Excel but the process 
  is pretty tedious when I want to analyse more than 1 stock. Some 
  rules that I have in mind for example:I want to know for a stock how 
  many times/by percentage if yesterday close>open and today 
  close>open.how many times/by percentage yesterday (close-open) > 
  3 points and today close>open ?If AB can do these tasks it will 
  be best so that I do not have to convert 
  data.ThanksKK
  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.488 
  / Virus Database: 287 - Release Date: 6/5/2003






Yahoo! Groups Sponsor












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.