PureBytes Links
Trading Reference Links
|
you need to follow the examples and information that is provided in
all the help
You need to get the data back to teh base time period, then expand the
compressed data to fill the base period array
timeframeset(indaily);
avgvolume=MA(V,30);
timeframerestore();
addcolumn( timeframeexpand( avgvolume, indaily, expandlast) , "avgvolume");
I cannot answer as to whether the combined intraday and eod of day
data in the same database causes any problems, as the eod is given a
timestamp of 11:30pm I believe, and his could overlap the intraday
times depending on your location and market. I keep them in separate
databases so that they do not interfere with each others values
--
Cheers
Graham
AB-Write >< Professional AFL Writing Service
Yes, I write AFL code to your requirements
http://e-wire.net.au/~eb_kavan/ab_write.htm
On 9/27/05, fox97us <williamwang97@xxxxxxxxxxxx> wrote:
> hello,
>
>
> I have a database has mixed EOD and 5-min data. When I use the function
> of timeframeset(), it does not work well.
>
> For example, I set the database as 5-min intraday database. When i want
> to get an avg daily volume, i wrote
>
> timeframeset(indaily);
> avgvolume=MA(V,30);
> addcolumn(avgvolume, "avgvolume");
>
> then i click explore, it does not give me the avg volume of 30 days.
>
>
> anyone can help????
>
------------------------ Yahoo! Groups Sponsor --------------------~-->
Try Online Currency Trading with GFT. Free 50K Demo. Trade
24 Hours. Commission-Free.
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~->
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For other support material please check also:
http://www.amibroker.com/support.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|