PureBytes Links
Trading Reference Links
|
Jayson,
I tired yours ref(c,-1), but, it was repairing only the first missing
bar at the end [as it should be].
The solution is a ref(c,-X), when X counts the consequtive missing
bars.
DT
--- In amibroker@xxxxxxxxxxxxxxx, "Jayson" <jcasavant@xxxx> wrote:
> Dimitris,
> I just ran a simple scan....
>
> Filter=V==0;
> Buy=1;
> AddColumn(C,"");
>
> It seems that OHLC are all the same number (yesterdays close) on
bars where
> V==0. Perhaps this is data vendor specific. I use QP
>
> Jayson
> -----Original Message-----
> From: DIMITRIS TSOKAKIS <TSOKAKIS@xxxx> [mailto:TSOKAKIS@x...]
> Sent: Tuesday, March 04, 2003 12:57 PM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] Re: how do i fix holes for composites
>
>
> Jayson,
> when a bar is missing, the exploration does not "see" it at all,
> consequently we can not read V=0 for this bar.
> DT
> --- In amibroker@xxxxxxxxxxxxxxx, "Jayson" <jcasavant@xxxx> wrote:
> > Peter,
> > perhaps you could do it with an IIF statement. something like
> > iif(v==0,ref(c,-1),c). This would check for 0 volume and if found
> replace
> > the c with yesterdays close?? A different approach might be to
> simply filter
> > out the very thinly traded stocks all together....
> >
> > Jayson
> > -----Original Message-----
> > From: amiabilityy <amiabilityy@xxxx> [mailto:amiabilityy@x...]
> > Sent: Tuesday, March 04, 2003 8:52 AM
> > To: amibroker@xxxxxxxxxxxxxxx
> > Subject: [amibroker] how do i fix holes for composites
> >
> >
> > Hi members, is it possible to fix holes in the data for
> composites
> > for the days that the stock doesnt trade.
> >
> >
> > Thanks
> > peter.
> >
> >
> > Yahoo! Groups Sponsor
> > ADVERTISEMENT
> >
> >
> >
> >
> > Send BUG REPORTS to bugs@xxxx
> > Send SUGGESTIONS to suggest@xxxx
> > -----------------------------------------
> > 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
> >
> > Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service.
>
>
> Yahoo! Groups Sponsor
> ADVERTISEMENT
>
>
>
>
> Send BUG REPORTS to bugs@xxxx
> Send SUGGESTIONS to suggest@xxxx
> -----------------------------------------
> 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
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
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
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
|