// Filter Name : Tehran Stock Exchange stock information HF-112 // User: Mostafa Ejarestaghi // Date: 1399/11/03 // version : 1.1.1 // ------------ SUBJECT------------- // website : www.hooshefaal.ir // Email : hooshefaal@gmail.com // --------------END--------------- true==function() { var message = ""; var pe=0; var eps=0; var max = [ih][0].PriceMax; var min = [ih][0].PriceMin; for (var ipos = 1; ipos < 15; 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; if(Math.round(K)<=30){ message+="سظح حمایتی"; } if((pe)<10 && (pe)>0){ pe="P/E : "+(pe)+""; }else{ pe="P/E : "+(pe); } if((eps)>2000){ eps="EPS : "+(eps)+""; }else{ eps="EPS : "+(eps); } (cfield0)=(bvol); (cfield1)=(z)*(pc); (cfield2)="تعداد سهام : "+(z)+" "+pe+" "+eps+" "+message; return true; }() //=========================END FUNCTION =========================