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

Re: [amibroker] Re: Help with intermittent plots



PureBytes Links

Trading Reference Links

If you are using loops it is best to add setbarsrequired(10000,10000);
to your code. This turns off the fastafl in AB which limits the bars
calculated to just the window. No good for using loops that loop
through all data.



-- 
Cheers
Graham
AB-Write >< Professional AFL Writing Service
Yes, I write AFL code to your requirements
http://www.aflwriting.com


On 18/04/07, trb0428 <tombrowne34@xxxxxxxxxxx> wrote:
> Dennis,
>
> I once had a similar problem. I had two issues that i fxed that
> corrected the intermittent plots.
>
> 1) Some of the stocks in my database did not have quotes for the
> entire period that I was trying to calculate in my formulas.
>
> 2)I had formula errors. For instance,you need to be sure that there
> are valid quote values for the range used by all your formulas. For
> example, if your formula is trying to use a calculated value that
> does not yet exist( ie. a 20 day moving average value is not available
> until the 21st day).
>
> I found and corrected these types of issues with my code and the
> intermittent plot problem cleared up. Without knowing your code I
> can't offer any specific advice. Good luck.
>
> Tom
>
> --- In amibroker@xxxxxxxxxxxxxxx, Dennis Brown <see3d@xxx> wrote:
> >
> > I have an interesting situation that I have lived with for a long
> > time, but now it is getting in my way.
> >
> > I have indicators that I have made that iterate through the bars in
> a
> > loop (Ehlers filters).  The resulting plots of the data generated
> > will be visible in the window intermittently.  If I adjust the
> number
> > of bars viewed or move the display by one bar left or right, it
> will
> > cause the indicator plot to appear or be gone.  The problem was
> worse
> > when I used the built in Avg vs Close, so I had to generate my own
> > Avg data.
> >
> > Before, I just adjusted the display a bit to get my plot visible,
> but
> > now I am generating more complex iterations and the problem has
> > become intolerable.
> >
> > Has anyone else run into this problem?
> >
> > What caused it and how did you fix it?
> >
> > Thanks,
> >
> > Dennis
> >


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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

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/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> 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/