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

Re: [amibroker] Stochastics formula from TC2000 to AB



PureBytes Links

Trading Reference Links

Cond1 = StochD( 7,3,1 );
and so on

areehoi wrote:

I am trying the replicate the following formula for stochastics that
is used in TC 2000 in Amibroker. Can someone confirm what I've done
is correct … If not how do I accomplish?

Dick H

TC 2000 formula
Stochastics – Period:7 SK:3 SD:1 –Simple
Stochastics – Period:5 SK:3 SD:1 –Exponential
Stochastics – Period:17SK:3 SD:3 –Exponential

AmiBroker formula
Cond1 = StochD( periods = 7, Ksmooth=3, Dsmooth=1 );
Cond2 = StochD( periods = 5, Ksmooth=3, Dsmooth=1 );
Cond3 = StochD( periods = 17, Ksmooth=3, Dsmooth=3 );

Plot( Cond1 , "StochD7", colorRed, styleLine );
Plot( Cond2 , "StochD5", colorGreen, styleLine );
Plot( Cond3 , "StochD17", colorBlue, styleThick );


__._,_.___

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html




Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___