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

Re: [amibroker] firstvisiblebarindex



PureBytes Links

Trading Reference Links

Status( "firstbarvisible" ) can be used when you want plot some value
relative to what is shown on the screen. Not any use in an exploration
eg
bar = Status( "firstbarvisible" );
firstbar = bar and ref(bar,-1)==0;
lastbar = bar and ref(bar,1)==0;



as for funny behaviour of some indicator plots, Ab has something
called QuickAFL which allows for calculating and plotting only the
minimum required to show on the screen, mostly for the built in
indicators. To override this you add
SetBarsRequired(10000,10000);
to your plot AFL. This allows for calculating as many bars as you have
included in the brackets, although can slow down the plotting a bit.
Hope I understood your query.

On 7/13/05, Steve Dugas <sjdugas@xxxxxxxxxxx> wrote:
> Thanks Graham. I have just played around with it, When you plot it, the
> value displayed on the label is the first visible bar rather than the last
> visible bar. This makes sense to me, but I have another question if you know
> the answer. It seems that I don't fully understand the way that some
> formulas work when plotted as a chart. In explorer, they all seem to work as
> expected, all array values are correct, etc. But when I plot them, they
> sometimes don't work as expected or sometimes not at all. Do you understand
> which bars AB takes into account on charts and how it handles them, caches
> them, etc? For example, I just plotted this:
> 
> Plot( Status( "firstbarvisible" ), "", colorred, styleline );
> 
> and I don't understand the results that are displayed when when I scroll
> back and forth. I could also show you a couple of other examples. Any ideas?
> 
> Steve
> 
> ----- Original Message -----
> From: "Graham" <kavemanperth@xxxxxxxxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Tuesday, July 12, 2005 8:45 PM
> Subject: Re: [amibroker] firstvisiblebarindex
> 
> 
> > V4.60.1 change log
> >
> > Let me make a guess
> > there are 2 firstvisiblebar and firstvisiblebarindex
> > the first would be the bar number equivalent to cum(1), the second
> > would be the barindex() number ( = cum(1)-1 )
> >
> >
> > On 7/13/05, Steve Dugas <sjdugas@xxxxxxxxxxx> wrote:
> >> 4.70 help file. Search on "firstvisiblebarindex" and you will get 1 hit -
> >> the change log. But there is no explanation and it is not mentioned in
> >> the
> >> help for the Status function.
> >>
> >> ----- Original Message -----
> >> From: "Graham" <kavemanperth@xxxxxxxxx>
> >> To: <amibroker@xxxxxxxxxxxxxxx>
> >> Sent: Tuesday, July 12, 2005 8:28 PM
> >> Subject: Re: [amibroker] firstvisiblebarindex
> >>
> >>
> >> > which version change log was that in?
> >> >
> >> > On 7/13/05, Steve Dugas <sjdugas@xxxxxxxxxxx> wrote:
> >> >> Hi,
> >> >>
> >> >> I see in the change log that the Status function now accepts
> >> >> "firstvisiblebarindex" argument. What is this? Thanks very much!
> >> >>
> >> >> Steve
> >> >>
> >> >> Please note that this group is for discussion between users only.
> >> >>
> >> >> To get support from AmiBroker please send an e-mail directly to
> >> >> SUPPORT {at} amibroker.com
> >> >>
> >> >> For other support material please check also:
> >> >> http://www.amibroker.com/support.html
> >> >>
> >> >>
> >> >>
> >> >>
> >> >> ________________________________
> >> >> YAHOO! GROUPS LINKS
> >> >>
> >> >>  Visit your group "amibroker" on the web.
> >> >>
> >> >>  To unsubscribe from this group, send an email to:
> >> >>  amibroker-unsubscribe@xxxxxxxxxxxxxxx
> >> >>
> >> >>  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
> >> >>  To unsubscribe from this group, send an email to:
> >> >>  amibroker-unsubscribe@xxxxxxxxxxxxxxx
> >> >>
> >> >>  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
> >> >>  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
> >> >> ________________________________
> >> >>
> >> >
> >> >
> >> > --
> >> > Cheers
> >> > Graham
> >> > http://e-wire.net.au/~eb_kavan/
> >> >
> >> >
> >> >
> >> > Please note that this group is for discussion between users only.
> >> >
> >> > To get support from AmiBroker please send an e-mail directly to
> >> > SUPPORT {at} amibroker.com
> >> >
> >> > For other support material please check also:
> >> > http://www.amibroker.com/support.html
> >> >
> >> >
> >> > Yahoo! Groups Links
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >>
> >>
> >>
> >>
> >>
> >> Please note that this group is for discussion between users only.
> >>
> >> To get support from AmiBroker please send an e-mail directly to
> >> SUPPORT {at} amibroker.com
> >>
> >> For other support material please check also:
> >> http://www.amibroker.com/support.html
> >>
> >>
> >> Yahoo! Groups Links
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >
> >
> > --
> > Cheers
> > Graham
> > http://e-wire.net.au/~eb_kavan/
> >
> >
> >
> > Please note that this group is for discussion between users only.
> >
> > To get support from AmiBroker please send an e-mail directly to
> > SUPPORT {at} amibroker.com
> >
> > For other support material please check also:
> > http://www.amibroker.com/support.html
> >
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
> 
> 
> 
> 
> 
> Please note that this group is for discussion between users only.
> 
> To get support from AmiBroker please send an e-mail directly to
> SUPPORT {at} amibroker.com
> 
> For other support material please check also:
> http://www.amibroker.com/support.html
> 
> 
> Yahoo! Groups Links
> 
> 
> 
> 
> 
> 
> 


-- 
Cheers
Graham
http://e-wire.net.au/~eb_kavan/


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Try Online Currency Trading with GFT. Free 50K Demo. Trade 
24 Hours. Commission-Free. 
http://us.click.yahoo.com/DldnlA/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.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/