Hello,
If you read the manual, you would now that SetBarsRequired changes the
number of bars used by the formula.
If you call it with sbrAll, it uses all bars. Is it self-explaining I
guess. If say "I want all bars" - you get all.
If you don't say this - you get visible bars only. What is so hard to
understand?
Best regards,
Tomasz Janeczko
amibroker.com
On 2010-05-07 16:13, Paolo wrote:
> BarIndex() for AB v5.30 should now returns values always starting from zero
> (even if QuickAFL is turned on) as per the help manual of the new version.
>
> But when I try to plot the below code I get different results when
> uncommenting the first line.
>
> I'd like to get an indicator of total number of data points from the first
> one available up to the selected one.
>
> Paolo
>
> //SetBarsRequired( sbrAll, sbrAll );
> Plot(BarIndex(), "BI", colorRed, styleLine);
>
>
>
> ------------------------------------
>
> **** IMPORTANT PLEASE READ ****
> This group is for the discussion between users only.
> This is *NOT* technical support channel.
>
> TO GET TECHNICAL SUPPORT send an e-mail directly to
> SUPPORT {at} amibroker.com
>
> TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
> http://www.amibroker.com/feedback/
> (submissions sent via other channels won't be considered)
>
> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> http://www.amibroker.com/devlog/
>
> Yahoo! Groups Links
>
>
>
>
>