Indicator Help-Amibroker

#1
I need Slow Stochastic Indicator for Amibroker with Following Parameters

Period D - 3
Period K -5
Smooth - 2

Please let me know the Code or link

Please help. Thanks
 

johnnypareek

Well-Known Member
#2
I need Slow Stochastic Indicator for Amibroker with Following Parameters

Period D - 3
Period K -5
Smooth - 2

Please let me know the Code or link

Please help. Thanks
here it is:-

HTML:
Kperiods = Param( "K Periods", 5, 1, 200, 1 );
Dperiods = Param( "D Periods", 3, 1, 200, 1 );

Ksmooth = Param( "%K avg", 2, 1, 200, 1 );
Dsmooth = Param( "%D avg", 2, 1, 200, 1 );
myStochD =StochD( dperiods , Ksmooth, DSmooth );
myStochK =StochK( kperiods , Ksmooth);
Overbought = 80 ;
Oversold =20 ;
Center = 50 ;
 
 
 
Plot( myStochD, "Stochastic %D"+_PARAM_VALUES( ), ParamColor( "ColorD", colorRed ), ParamStyle(" StyleD") );
Plot( myStochK, "Stochastic %K", ParamColor( "ColorK", colorBlue ), ParamStyle(" StyleK") );
 
#3
here it is:-

HTML:
Kperiods = Param( "K Periods", 5, 1, 200, 1 );
Dperiods = Param( "D Periods", 3, 1, 200, 1 );

Ksmooth = Param( "%K avg", 2, 1, 200, 1 );
Dsmooth = Param( "%D avg", 2, 1, 200, 1 );
myStochD =StochD( dperiods , Ksmooth, DSmooth );
myStochK =StochK( kperiods , Ksmooth);
Overbought = 80 ;
Oversold =20 ;
Center = 50 ;
 
 
 
Plot( myStochD, "Stochastic %D"+_PARAM_VALUES( ), ParamColor( "ColorD", colorRed ), ParamStyle(" StyleD") );
Plot( myStochK, "Stochastic %K", ParamColor( "ColorK", colorBlue ), ParamStyle(" StyleK") );
Thanks a Lot
 

Similar threads

Intraday Higher Leverage

Save up to 90% in brokerage and get higher leverage for intraday trades.

Name:Phone:
Email:City:
State:
Are you a day trader?