PureBytes Links
Trading Reference Links
|
Keith,
I use DEMA(X,10) or DEMA(X,20) almost always.
Quite smooth, insignificant lag, perhaps the best smoothing approach
for any indicator.
DT
--- In amibroker@xxxxxxxxxxxxxxx, "Keith Newhouse" <knewhous@xxxx>
wrote:
> 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/
|