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

[amibroker] Re: Possible AB bug or is it my coding? Code works in 4.60 but not in the beta's



PureBytes Links

Trading Reference Links


AL YOUR A LIFE SAVER!!!!!!!!!!!!!!

I have done everything, ripped the code up from limb to limb trying to
figure what is bad and what isn't yadda yadda.... ugh... YOU HAVE NO
IDEA how much I APPRECIATE YOUR HELP!!!!!!!

Thanks again
Mark
--- In amibroker@xxxxxxxxxxxxxxx, Al Venosa <advenosa@xxxx> wrote:
> 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/ <http://e-wire.net.au/%7Eeb_kavan/>
> >
> >
> >
> >
> >
> > 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*
> > ADVERTISEMENT
> >
> >
> >
------------------------------------------------------------------------
> > *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
> >      
<mailto:amibroker-unsubscribe@xxxxxxxxxxxxxxx?subject=Unsubscribe>
> >        
> >     * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> >       Service <http://docs.yahoo.com/info/terms/>.
> >
> >





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Has someone you know been affected by illness or disease?
Network for Good is THE place to support health awareness efforts!
http://us.click.yahoo.com/Rcy2bD/UOnJAA/cosFAA/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/