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

[amibroker] Re: MA for a specific stock?



PureBytes Links

Trading Reference Links

for multiple stocks what modification would be needed?

--- In amibroker@xxxxxxxxxxxxxxx, "wavemechanic" <timesarrow@xxx> 
wrote:
>
> Here is one approach:
> 
> period = iif(name() == "xyz", 5, 50);
> plot(ma(c, period), "", color);
> 
> Bill
> 
> ----- Original Message ----- 
> From: "triangle702000" <jkra70@xxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> 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
> > 
> >
>



------------------------------------

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/