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

Re: [amibroker] Filtering



PureBytes Links

Trading Reference Links




It seems the same with or without LastValue(). See 
how c<15 and ma(v) < 200000? I'm using range =N last days=1.
 
stock       
date        c      
ma(v)
<FONT face=Arial 
size=2>SALNC 11/11/2002 0.09 22614.40 638.85 0.00 0.00 -1.#IO  MICT 6/24/2002 0.10 198766.00 166.45 0.00 0.00 -1.#IO  SITE 11/11/2002 0.10 3848987.50 277.97 0.00 0.00 -1.#IO  PRB 5/13/2003 0.12 485858.00 248.33 0.00 0.00 -1.#IO  AVXT 8/21/2003 0.15 190152.02 212.22 0.00 0.00 -1.#IO  MGL 10/7/2002 0.15 363966.00 206.61 0.00 0.00 -1.#IO  MNTE 12/16/2002 0.15 5956.00 286.27 0.00 0.00 -1.#IO  KFL 10/6/2003 0.18 3898798.00 188.37 0.00 0.00 -1.#IO  
----- Original Message ----- 
From: <A 
title=amibroker@xxxxxx href="">Tomasz Janeczko 
To: <A title=amibroker@xxxxxxxxxxxxxxx 
href="">amibroker@xxxxxxxxxxxxxxx 
Sent: Tuesday, October 07, 2003 3:23 AM
Subject: Re: [amibroker] Filtering

Mike,
 
Don't add Last value, because it will give you last day 
instead of day (or date range) selected.
 

Filter = C > <FONT 
color=#ff00ff size=1>15 AND <FONT 
color=#0000ff size=1>MA(V,<FONT color=#ff00ff 
size=1>50)><FONT color=#ff00ff 
size=1>200000;
AddColumn(C,<FONT color=#ff00ff 
size=1>"c");
AddColumn(<FONT color=#0000ff 
size=1>MA(V,<FONT color=#ff00ff 
size=1>50), "avg 
v");
Best regards,Tomasz Janeczkoamibroker.com
<BLOCKQUOTE 
>
  ----- Original Message ----- 
  <DIV 
  >From: 
  Mike 
  Lucero 
  To: <A title=amibroker@xxxxxxxxxxxxxxx 
  href="">amibroker@xxxxxxxxxxxxxxx 
  Sent: Tuesday, October 07, 2003 11:58 
  AM
  Subject: [amibroker] Filtering
  
  
  I'm Exploring for 1 day, and added LastValues as shown, but I 
  still get stocks in the list with c<15 or avg vol < 200000. What am I 
  doing wrong? 
  Thanks,
  Mike
  Filter = <FONT color=#0000ff 
  size=1>LastValue(C) > <FONT color=#ff00ff 
  size=1>15 AND <FONT color=#0000ff 
  size=1>LastValue(<FONT color=#0000ff 
  size=1>MA(V,<FONT color=#ff00ff 
  size=1>50))><FONT color=#ff00ff 
  size=1>200000;
  AddColumn(C,<FONT color=#ff00ff 
  size=1>"c");
  AddColumn(<FONT color=#0000ff 
  size=1>MA(V,<FONT color=#ff00ff 
  size=1>50), "avg 
  v");<FONT 
  size=1>Send BUG REPORTS to <A 
  href="">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. 
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. 







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.