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

Re: [amibroker] listing price movements



PureBytes Links

Trading Reference Links

Hi Arthur,

Just happened to have this one laying around.  : - )
Sort results by percent to get intraday range as a percent of the open.

Steve

****************************************************

Periods = 5;

RangePoints = High - Low;
AvgRangePoints = MA( RangePoints, Periods);

RangePct = RangePoints * 100 / Open;
AvgRangePct = MA( RangePct, Periods);

Filter = 1;
AddColumn( AvgRangePoints, "Avg Range - Points", 1.2);
AddColumn( AvgRangePct, "Avg Range - Pct", 1.2);



----- Original Message -----
From: "Arthur Sawilejskij" <arthur@xxxxxxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Friday, May 23, 2003 7:49 AM
Subject: [amibroker] listing price movements


> 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
>
>
>
> 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/
>
>



------------------------ 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/