// Filter Name : Saturated area of buying and increasing sellers // User: mostafa ejarestaghi // Date: 1399/10/16 // description : www.hooshefaal.ir true==function() { // Stoch Astic 14 var max = [ih][0].PriceMax; var min = [ih][0].PriceMin; for (var ipos = 0; ipos < 14; ipos++) { if (max < [ih][ipos].PriceMax) max = [ih][ipos].PriceMax; } for (var ipos = 0; ipos < 14; ipos++) { if (min > [ih][ipos].PriceMin) min = [ih][ipos].PriceMin; } K = ((((pc)-min) / (max - min)) * 100); D=(K +((([ih][0].PClosing-min)/(max - min))*100)+((([ih][1].PClosing-min)/(max-min))*100))/3; // Stoch Astic 14 if (2*((ct).Buy_CountI) <= (ct).Sell_CountI) { if(Math.round(K)>=70){ return true; } } }() //=========================END FUNCTION =========================