PureBytes Links
Trading Reference Links
|
I presume you are using 1-min intervals. If
you go to Preferences/Intraday tab, you will see the section beginning
with "Time stamp of compressed intraday bars shows:" with 4 different
choices. You probably have End time of interval checked.
Al Venosa
mleonsprint wrote:
Ok so in 4.60 if your intraday database is set from
say 07:30 to 14:15 you can use the code below to find
the "highest" high since 07:30 and it works "however"
in the beta it seems that the "time" in this case
07:30 has to be set to 07:31 in order to work... Why??
I found it out by accident just not sure why...
SetForeign("ES H5");
SetBarsRequired( 10000, 0 );
x20=HighestSince(Cross(TimeNum(),073000),H,1);
RestorePriceArrays();
Plot(x20,"x20",colorBlue,styleThick);
--- In amibroker@xxxxxxxxxxxxxxx, Graham <kavemanperth@xxxx>
wrote:
> Mark it could be just that the ticker does not have a price or the
> time is outside the chart times.
> As far as I am concerned I always find using Cross better for
finding
> time/date occurences. I changed the time because the market on my
comp
> is 100000-160000
>
> x20=HighestSince(Cross(TimeNum(),103000),H,1);
>
>
>
> On Sat, 12 Feb 2005 05:59:09 -0000, mleonsprint
<mleonsprint@xxxx>
wrote:
> >
> >
> > What is wrong with this code? It works in 4.60 but doesn't
seem to
> > work in the beta right. I am trying to get the highest High
value
> > since 7:30 AM... Any thoughts on possible problems with the
code? I
> > have PLENTY of data in the database for it...
> >
> > Thanks for your help
> > Mark
> >
> > SetForeign("er h5");
> > SetBarsRequired( 10000, 0 );
> > x20=HighestSince(TimeNum()==073000,H,1);
> > RestorePriceArrays();
> > Plot(x20,"x20",colorBlue,styleThick);
> >
> >
> > 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
> >
> >
> >
> >
> >
>
>
> --
> Cheers
> Graham
> http://e-wire.net.au/~eb_kavan/
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Sponsor |
|
|
Yahoo! Groups Links
|
|