PureBytes Links
Trading Reference Links
|
Thank you, Jayson for your help...just one question,
Start=DateNum()==1030102;
why 103 for year 2003?
Thanks again for your quick response...
Nurudin
--- In amibroker@xxxxxxxxxxxxxxx, "Jayson" <jcasavant@xxxx> wrote:
> First break down what you are trying to do...
>
> 1)set a start date
> 2)set a min MA of volume
> 3)measure the ROC over the time period
>
> The first condition is found using the Datenum() function
> the second is simple found using greater than
> the third requires you to count the bars since condition one and
apply the
> ROC to that time frame....
>
>
> Start=DateNum()==1030102;
> count=LastValue(BarsSince(Start),1);
> Croc=ROC(C,count);
> testvol=MA(V,20)>1000000;
>
> Filter= testvol AND LastValue(croc)>5;
>
> AddColumn(ValueWhen(start,C,1),"close at start");
> AddColumn(C,"close today");
> AddColumn(croc,"ROC");
>
> Explore your watchlist for the results.....
>
>
> Jayson
> -----Original Message-----
> From: nurudinkaba [mailto:n.kaba@x...]
>
> i'd like to filter symbols that have gained 5% since the beginning
of
> the calendar year and have a 20 day moving average of Volume greater
> then 1,000,000...
>
> Any help would be appreciated.
>
> Thanks
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Make Money Online Auctions! Make $500.00 or We Will Give You Thirty Dollars for Trying!
http://us.click.yahoo.com/yMx78A/fNtFAA/46VHAA/GHeqlB/TM
---------------------------------------------------------------------~->
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 http://docs.yahoo.com/info/terms/
|