Here is one approach: period = iif(name() == "xyz", 5, 50); plot(ma(c, period), "", color);
Bill ----- Original Message ----- From: "triangle702000" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Saturday, March 22, 2008 8:13 PM Subject: [amibroker] MA for a specific stock? > I'm wondering if there is a way to assign a moving average only to one > specific stock and not to every one in the database.For example,if I > have a 50 day and a 200 day MA applied to all stocks,but I find that > for "XYZ" a 59 day MA follows the trend a bit better,can I apply a 59 > day MA only to XYZ while keeping the 50 and 200 day for the rest? > > I know I can simply add the 59 day,but I'd rather not have it on all > the other charts if it's possible.Thanks. -jim > > > > > ------------------------------------ > > 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 > > > > > > -- > No virus found in this incoming message. > Checked by AVG. > Version: 7.5.519 / Virus Database: 269.21.7/1335 - Release Date: 3/19/2008 > 9:54 AM > >
