It is because the param in the AFL is limited to this number
Periods = Param("Periods", 15, 2, 200, 1, 10 );
Change the 200 to larger number-- Cheers Graham Kav AFL Writing Service http://www.aflwriting.com 2008/6/19 NW Trader <[EMAIL PROTECTED]>: > Hi Ash, > > Works fine for me. Has for years (since '99). > > is there any reason that AB will not plot a moving average longer than 200? > Yes -- not enough data. > > Do you have 500+ days (or whatever periods you are using) available? Do you > understand how a moving average is computed? After buying a program like > AB, is there any reason that one would not understand how to use it? AB is > great, but it cant invent historical data to write a MA longer than the > available data. > > Hint: Make certain that you have at least 1000 periods in your database. > If you are using the canned formula (and set number of bars to load to > 1000) if you want to see it from at least the last 500 bars, or use > SetBarsRequired at the top of your personal formula. Why more than 500? -- > learn the formula and you'll understand. > > Peace and Justice --- Patrick > > ----- Original Message ----- > From: Ashley Webb > To: [email protected] > Sent: Wednesday, June 18, 2008 4:03 PM > Subject: [amibroker] why wont AB plot a 500sma? > After all these years of development is there any reason that AB will > not plot a moving average longer than 200? > Thanks > Ash > > > ------------------------------------ > > 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 > > > >
