Join our facebook group for Amibroker afl code discussion https://www.facebook.com/groups/603980776889348

Perfect Stochastic Crossover


Perfect Stochastic Crossover

//www.aflcode.com
_SECTION_BEGIN("Stochastic %K");
periods = Param( "Periods", 45, 1, 200, 1 );
Ksmooth = Param( "%K avg", 9, 1, 200, 1 );
Plot( StochK( periods , Ksmooth), _DEFAULT_NAME(), ParamColor( "Color", colorCycle ), ParamStyle("Style") );
_SECTION_END();

_SECTION_BEGIN("Stochastic %D");
periods = Param( "Periods", 45, 1, 200, 1 );
Ksmooth = Param( "%K avg", 9, 1, 200, 1 );
Dsmooth = Param( "%D avg", 9, 1, 200, 1 );
Plot( StochD( periods , Ksmooth, DSmooth ), _DEFAULT_NAME(), ParamColor( "Color", colorCycle ), ParamStyle("Style") );
_SECTION_END();
Previous
Next Post »