Thank you TJ and Steve Dugas.
Best regards, Jan Malmberg _____ Från: [email protected] [mailto:[EMAIL PROTECTED] För Tomasz Janeczko Skickat: den 6 april 2008 00:46 Till: [email protected] Ämne: Re: [amibroker] Maximum bars question. Hello, Change 200 in the param function with any higher number you want. Time to read the User's Guide: http://www.amibroke <http://www.amibroker.com/f?param> r.com/f?param P = ParamField("Price field",-1); Periods = Param("Periods", 15, 2, 200, 1, 10 ); // change 200 with anything you want to increase maximum parameter Plot( MA( P, Periods ), _DEFAULT_NAME(), ParamColor( "Color", colorCycle ), ParamStyle("Style") ); Best regards, Tomasz Janeczko amibroker.com ----- Original Message ----- From: Jan Malmberg <mailto:[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <mailto:[email protected]> ps.com Sent: Sunday, April 06, 2008 12:04 AM Subject: [amibroker] Maximum bars question. Hi everyone, I was wondering, AmiBroker only allows 200 bars to be used when displaying Moving Averages for instance, although the program will display more than that if you add tons of MAs, which Ive tried. My question is, when writing AFL, can I ask the program to use more than 200 daily bars in the formulas, or should I use some neat coding trick to use weekly values mixed with daily values (which I will then have to do). Best regards, Jan Malmberg
