Here's some code I through together this morning to save time. If you want to put 6 EMA's on a chart, just drop this study in and you're good to go. This covers 3, 5, 9, 50, 100 and 200; but, it can be changed to whatever you wish.
Enjoy,
Cyn ~
####
#EMASix
declare upper;
input price = close;
input length1 = 3;
input length2 = 5;
input length3 = 9;
input length4 = 50;
input length5 = 100;
input length6 = 200;
input displace = 0;
plot AvgExp1 = ExpAverage(price[-displace], length1);
AvgExp1.SetDefaultColor(GetColor(8));
AvgExp1.SetLineWeight(2);
plot AvgExp2 = ExpAverage(price[-displace], length2);
AvgExp2.SetDefaultColor(GetColor(0));
AvgExp2.SetLineWeight(2);
plot AvgExp3 = ExpAverage(price[-displace], length3);
AvgExp3.SetDefaultColor(GetColor(6));
AvgExp3.SetLineWeight(2);
plot AvgExp4 = ExpAverage(price[-displace], length4);
AvgExp4.SetDefaultColor(GetColor(5));
AvgExp4.SetLineWeight(3);
plot AvgExp5 = ExpAverage(price[-displace], length5);
AvgExp5.SetDefaultColor(GetColor(8));
AvgExp5.SetLineWeight(3);
plot AvgExp6 = ExpAverage(price[-displace], length6);
AvgExp6.SetDefaultColor(CreateColor(255,200,0));
AvgExp6.SetLineWeight(3);
![](//investorshub.advfn.com/uimage/uploads/2010/8/24/nxwmcpuppy.gif)