Hello,
Re-read the article.
If you read the article carefully enough you will see that you should
put that function at the END
of formula if you don't want the functions you are using to add to bar
requirements.
Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
From: "roman_tatkin" <Roman.Tatkin@mail.ru>
To: <amibroker@xxxxxxxxxps.com>
Sent: Tuesday, September 01, 2009 5:51 PM
Subject: [amibroker] Re: Is it possible to avoid drawing of unnecessary
data from database ?
> Hi Tomasz,
>
> Thank you for the rapid answer. I have looked into the material
you've sent, very clear and straight explanation. The only problem
> is that even when I put SetRequiredBars(1000, 0) at the very
beginning of my script nothing changes - I still see all 300000 bars
> on the chart.
>
> 'Use QuickAFL' in the settings of backtester is checked. What I'm
doing wrong ? May be you can provide some primitive script to
> play with to understand how QuickAFL affects things ? Thanks in
advance.
>
> Regards,
> Roman.
>
> --- In amibroker@xxxxxxxxxps.com,
"Tomasz Janeczko" <groups@xxx> wrote:
>>
>> Yes http://www.amibroker.com/kb/2008/07/03/quickafl/
>>
>> Best regards,
>> Tomasz Janeczko
>> amibroker.com
>> ----- Original Message -----
>> From: "roman_tatkin" <Roman.Tatkin@...>
>> To: <amibroker@xxxxxxxxxps.com>
>> Sent: Monday, August 31, 2009 10:37 AM
>> Subject: [amibroker] Is it possible to avoid drawing of
unnecessary data from database ?
>>
>>
>> > Say, I have a database with single ticker that has 300000
bars. I don't want to have all 300000 bars drawn all the time, last
>> > 50000 bars are enough in 90% cases.
>> >
>> > Is it possible to specify the limits that AMI should work
with ? Say, from 2006.01.01 to 2008.01.01 or something like that.
>> >
>> > That's possible when backtesting, however, I could not
find such an option for general purpose drawing.
>> >
>> > Thanks in advance.
>> >
>> >
>> >
>> > ------------------------------------
>> >
>> > **** 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
>> >
>> >
>> >
>>
>
>
>
>
> ------------------------------------
>
> **** 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
>
>
>