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 amibroker@xxxxxxxxx ps.com, ohneclue <ohneclue@xx .> 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 <kbens0n@xxx >
> To: amibroker@xxxxxxxxx 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 amibroker@xxxxxxxxx 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