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

[Metastockusers] Re: Carlos



Hello Carlos,

If you go to Google and search for "Chande Trend Index" then click on 
'translate this page' on the very first hit, you will find a formula there.

Here is my effort at creating the Metastock code from the formula on that page:

Lookback:= Input("Lookback",1,100,21);
LL:= Log(C/(Ref(C,-1)));
XX:= LL / Lookback;
SD:= Stdev((((LL-XX)*(LL-XX))/Lookback),Lookback);
Log(C/Ref(C,-Lookback)) / (SD*Sqr(Lookback))

Needless to say, the plot bears no relation to the illustration on the site.

Good luck!

Regards,
Kevin

At 16:25 04/11/2003 -0800, you wrote:
>
>Hi Kevin,
>
>If you send me the CTI formula I may give it a go and
>help you with the MetaStock code.
>
>I had been looking with a Goggle search, but
>couldn't't found any explanation really.
>
>Carlos.
>=
>
>__________________________________
>Do you Yahoo!?
>Protect your identity with Yahoo! Mail AddressGuard
>http://antispam.yahoo.com/whatsnewfree



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Rent DVDs Online - Over 14,500 titles.
No Late Fees & Free Shipping.
Try Netflix for FREE!
http://us.click.yahoo.com/xlw.sC/XP.FAA/3jkFAA/zMEolB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
Metastockusers-unsubscribe@xxxxxxxxxxx

 

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





PureLinks - Finance Banners.
PureLinks - Finance Banners.