PureBytes Links
Trading Reference Links
|
Stephane,
AddToComposite does not fill the holes. This is the reason why we see
undesirable troughs in a "normal" composite graph.
Try the simplest
AddToComposite(1,"~count","v");
Buy=0;
in a small database [a WL with 2-3 stocks] with holes.
If the database has 3 stocks, the Foreign("~count","v") will not be
equal to 3 for any bar.
Of course you will see the holes if you select a ticker with full
data.
If you select the bad stock, then you will not see the holes, since
they just occur in the place of missing data !!
The addition of AddToComposite() is executed for all dates. If Feb18
is not a data day for stock XX, then it will not contribute to the
final sum for this date.
A similar problem will occur if extra data are included by some
mistake. Feb15, 2004 was not a trading bar but, if your ASCII series
is XX,20040215,30,31,29,30,1000 it will be imported without problem
and stay there until the delete operation.
Dimitris Tsokakis
--- In amibroker@xxxxxxxxxxxxxxx, "Stephane Carrasset"
<nenapacwanfr@xxxx> wrote:
> Hello, Dimitri or Hermann or anyone
>
> do you remember if the addto comp function fills the holes in case
> of missing quotes?
> because i have some minors differences between my built in
composite
> function in a dll and the addtocomp function?
>
> Thanks in advance
>
> Stephane
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
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/
|