HomeAmibroker AFL Simple Accurate Stochastic Oscillator - Amibroker AFL Code Click Image To Enlarge. Please Rate And Comment. //Chaloke Stochastic/// x1= StochK(14 ,7 ) ; x2= TEMA(x1 ,5 ) ; x3= EMA(x2 ,5 ) ; Plot(x2, "Simple Stochastic" ,colorBlue,4); Plot(x3,"",colorRed,1);