PureBytes Links
Trading Reference Links
|
You can't change the TimeFrame to a lower value than your database,
which is EOD. The only part about Mixed EOD/RT is that it allows the
current quote (apparently every 5 minutes in your case) to take the
place of the current EOD value. So, you have no data smaller than daily
bars and you cannot change the timeframe to a value less than 1 day.
--
Terry
| -----Original Message-----
| From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On
| Behalf Of Graham
| Sent: Tuesday, September 27, 2005 01:39
| To: amibroker@xxxxxxxxxxxxxxx
| Subject: Re: [amibroker] timeframeset
|
| 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
|
|
|
|
|
------------------------ 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/
|