I'm not the one that asked the question so I specified nothing. But I understand why you did it that way -- the person who asked the question specified the 17,3,3. That at least clears up the question. Now I don't understand why Dick chose those settings. Judith
----- Original Message ---- From: Kevin <[EMAIL PROTECTED]> To: amibroker@yahoogroups.com Sent: Friday, October 17, 2008 7:39:16 PM Subject: [amibroker] Re: Stochastics help needed The N-periods, KSmooth period and DSmooth period were specified by you: // DarkYellow – Stochastic – Period 7 :SK 3: SD 1 – Simple STOCH1 = MA( StochD( 7 , 3 , 1 ) , 1 ); Plot( STOCH1 , "Stoch#1", colorDarkYellow, styleLine ); // Green – Stochastic – Period 5 :SK 3: SD 1 - Expotential STOCH2 = EMA( StochD( 5 , 3 , 1 ) , 1 ); Plot( STOCH2 , "Stoch#2", colorGreen, styleLine ); // Blue – Stochastic – Period 17 :SK 3: SD 3 - Expotential STOCH3 = EMA( StochD( 17 , 3 , 3 ) , 1 ); Plot( STOCH3 , "Stoch#3", colorBlue, styleLine ); --- In [EMAIL PROTECTED] ps.com, ohneclue <[EMAIL PROTECTED] .> wrote: > > I am confused -- why do you have the blue stochastic line code SK3 and SD3 when the other two are SK3 and SD1? Wht advantage do you feel there is to setting the third line different in this respect? > > Judith > ----- Original Message ---- > From: Kevin <[EMAIL PROTECTED] > > To: [EMAIL PROTECTED] ps.com > Sent: Friday, October 17, 2008 5:31:51 PM > Subject: [amibroker] Re: Stochastics help needed > > > /* > DarkYellow – Stochastic – Period 7 :SK 3: SD 1 – Simple > Green – Stochastic – Period 5 :SK 3: SD 1 - Expotential > Blue – Stochastic – Period 17 :SK 3: SD 3 - Expotential > */ > > STOCH1 = MA( StochD( 7 , 3 , 1 ) , 1 ); > STOCH2 = EMA( StochD( 5 , 3 , 1 ) , 1 ); > STOCH3 = EMA( StochD( 17 , 3 , 3 ) , 1 ); > > Plot( STOCH1 , "Stoch#1", colorDarkYellow, styleLine ); > Plot( STOCH2 , "Stoch#2", colorGreen, styleLine ); > Plot( STOCH3 , "Stoch#3", colorBlue, styleLine ); > > --- In [EMAIL PROTECTED] ps.com, "areehoi" <areehoi@ > wrote: > > > > Help would most appreciate in converting the below TC 2005 > Stochastic > > formula into an Amibroker AFL including the PLOT part. My most > > profound thanks for any help given. Thanks > > > > Dick H. > > > > DarkYellow – Stochastic – Period 7 :SK 3: SD 1 – Simple > > Green – Stochastic – Period 5 :SK 3: SD 1 - Expotential > > Blue – Stochastic – Period 17 :SK 3: SD 3 - Expotential __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com