// Stoch Astic 14 SHOW VALUE IN (cfield1) AND (cfield2) -- BEGIN // Filter Name : Stoch Astic // User: Mostafa Ejarestaghi // Date: 1399/12/11 // version : 1.1.2 // ------------ site inormation ------------- // website : www.hooshefaal.ir // Email : hooshefaal@gmail.com //Telegram Channel : @hooshefaal //Telegram Support : @hooshefaal_support //Telegram seller : @hooshefaal_seller // Instagram Page : @hooshefaal.ir //whatsapp number : 09364549266 // --------------END--------------- true == function () { if ((pe)<20) { //-------- YOUR COMMAND BEGIN ---------- var max = [ih][0].PriceMax; var min = [ih][0].PriceMin; for (var ipos = 0; ipos < 14; ipos++) { if([ih][ipos].PriceMax>0){ if (max < [ih][ipos].PriceMax) max = [ih][ipos].PriceMax; } } for (var ipos = 0; ipos < 14; ipos++) { if([ih][ipos].PriceMin>0){ 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; (cfield1)= Math.round(K); (cfield2)= Math.round(D); return true; //-------- YOUR COMMAND END ---------- } //==================END IF ================ } () // Stoch Astic 14 SHOW VALUE IN (cfield1) AND (cfield2) -- END // -----WWW.HOOSHEFAAL.IR-----