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

Re: [amibroker] separate data in a mixed database of EOD and 5-min ?



PureBytes Links

Trading Reference Links

EOD and ID are distinguished by the time part of the quote data.
AFAIK an EOD quote is one which has no time part (ie. is 00:00:00),
all others are intraday. In such a mixed DB you should 
create or import also EOD quotes (vrfy in Quote editor).
Then also the Daily view will function.



----- Original Message ----- 
From: "fox97us" <williamwang97@xxxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Tuesday, October 11, 2005 4:00 AM
Subject: [amibroker] separate data in a mixed database of EOD and 5-min ?


> hello,
> 
>     I have a mixed database containing EOD data and 5-min intrday 
> data. I have to do it thiw way in order to get some value like 52 week 
> high since I only have 3-weeks intraday data.
> 
>    When i calulate the daily volume using the following code, it add 
> EOD data and 5-min data together. So the daily volume is doubled. 
> Although I can divided by 2 for some dates, some data I only have EOD 
> data. So my question is how can I separated the EOD and intradat data 
> in a mixed database?
> 
> 
> dailyvol= TimeFrameGetPrice( "V", inDaily, 0 );
> 
> 
> thanks in advance
> 
> william



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