PureBytes Links
Trading Reference Links
|
Here is a quick [visual] check :
Scan the same WL with
AddToComposite(20,"~D","O");
AddToComposite(40,"~D","H");
AddToComposite(10,"~D","L");
AddToComposite(30,"~D","C");
AddToComposite(1000,"~D","V");
Buy=0;
Your ~D ticker should have the same OHLCV for each bar. If some
candles are different, then missing/excessive/wrong data is the
problem and there is no doubt about it.
Dimitris Tsokakis
--- In amibroker@xxxxxxxxxxxxxxx, "DIMITRIS TSOKAKIS" <TSOKAKIS@xxxx>
wrote:
> --- In amibroker@xxxxxxxxxxxxxxx, "aereoplain" <aereoplain@xxxx>
> wrote:
>
> >
> > I do have a watchlist containing only the stocks in the composite
> > (and only the stocks called for in the above lines of code).
> Jason,
> since you scan only the WL, you dont need at all w statements.
> Check please your WL for missing/excessive data [use the database
> purify tool], I think this is the reason of your troubles. See also
> my recent post about reset/delete action.
> Your problem will be solved in one way or the other, AddToComposite
()
> works. [I *t r a d e* AddToComposite() results in quite sensitive
> calculations, as the StochD() of the whole N100 market or much more
> complicated formulas and did not notice any problem...]
> Dimitris Tsokakis
------------------------ Yahoo! Groups Sponsor --------------------~-->
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~->
Check AmiBroker web page at:
http://www.amibroker.com/
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/
|