// Downloaded From https://www.WiseStockTrader.com //COMBINE AFL EMA 5 VS 24 AND STO 5,3,3 EMA5 = EMA(C, 5); EMA20= EMA(C, 10); StochasticD = StochD( 5 , 3 , 3 ); StochasticK = StochK( 5 , 5); EmmaDIFF=(EMA5-EMA20)/EMA20; StochDIFF=abs(StochasticK-StochasticD)/StochasticD; AllDIFF=(EmmaDIFF+StochDIFF)/2; Buy = EMA5>EMA20 AND StochasticK>StochasticD; Filter = EMA5>EMA20 AND StochasticK>StochasticD; Buy = EMA5>EMA20 AND StochasticK>StochasticD AND AllDIFF>=0.25; Filter = Buy; AddColumn(AllDIFF, "Power", 1.5); AddColumn(Buy, "Beli", 1);