Period = 9;
Co_Efficient = Param( "Co_Efficient", .05, 1.0, .05
);
EMACalculated=EMA(Close,Period);
UpperChannel=EMACalculated+EMACalculated*Co_Efficient;
LowerChannel=EMACalculated-EMACalculated*Co_Efficient;
Plot(UpperChannel,"UpperChannel",ColorRed,styleLine);
Plot(LowerChannel,"LowerChannel",ColorWhite,styleLine);
Plot(EMACalculated,"EMA
" +
Period,ColorGreen,styleLine);
Regards
Suresh
Check
AmiBroker web page at:
http://www.amibroker.com/
Check
group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html