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

Re: [amibroker] Re: listing price movements



PureBytes Links

Trading Reference Links

Arthur,
 
How about this..is this what you are looking for.
/**********************************************/
 
period=25;//Set to your time period.

DailyRange=ATR(period);//Average True Range

Filter=1;

AddColumn(dailyrange,"Range",1.2);
 
 /***************************************************/

load into AA, select your watchlist...n last quotations and n=1....Set your
period above...
click explore.

Anthony
-------Original Message-------
 
From: amibroker@xxxxxxxxxxxxxxx
Date: Friday, May 23, 2003 3:47:17 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Re: listing price movements
 
I think using the WriteIf() function and setting the condition to the 
most recent date would work.  Sorry, I don't have access to my Ami 
right now.  (c'mon who likes my word play?)
 
--- In amibroker@xxxxxxxxxxxxxxx, Arthur Sawilejskij <arthur@xxxx> 
wrote:
> I have a watchlist of some 200 stock and I want to find out the 
average 
> daily price movement between high and low for each stock for a 
period of a 
> few years  so I can rank the stock and watch the most volatile for 
intraday 
> trading.
> 
> I tried playing around with a few scripts - but everything I try 
ends up 
> giving me a long list of 100's of vlaues for each stock. :(
> 
> All I want is a list of 1 value for each stock of the average daily 
price 
> movement for a particular period.
> 
> Can anyone help me with this please?
> 
> Arthur
 
 
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. 
 
 

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get A Free Psychic Reading! Your Online Answer To Life's Important Questions.
http://us.click.yahoo.com/Lj3uPC/Me7FAA/uetFAA/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/