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

[amibroker] Code for smoothing



PureBytes Links

Trading Reference Links

Hi all,

I am looking for help with code for smoothing Chande's Momentum 
Indicator, details of which are below.  If some one can show me how 
to apply smoothing I would be grateful.

Also does anyone have the code, or know where I can find it,  for 
VEL, a smoothed momentum indicator. I understand it has been coded in 
AFL although I cannot find it in the libary.

Regards,
Keith.

//{Chande's Momentum Indicator}
CMI=100 * 
((Sum(IIf(C>Ref(C,-1),(C-Ref(C,-1)),0),14)) - 
(Sum(IIf(C<Ref(C,-1),(Ref(C,-1)-C),0),14))) / 
((Sum(IIf(C>Ref(C,-1),(C-Ref(C,-1)),0),14) + 
(Sum(IIf(C<Ref(C,-1),(Ref(C,-1)-C),0),14))));
Plot(CMI,"CMI",colorRed,styleLine);


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get A Free Psychic Reading! Your Online Answer To Life's Important Questions.
http://us.click.yahoo.com/Lj3uPC/Me7FAA/ySSFAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/