// Filter Name : Filter fluctuation HF-152 // User: Mostafa Ejarestaghi // Date: 1399/10/26 // version : 1.1.5 // ------------ SUBJECT------------- // website : www.hooshefaal.ir // Email : hooshefaal@gmail.com // --------------END--------------- true == function () { //------------------COMMAND START----------------------- var flag = true; var message = ""; var star =""; var score=0; var support=false; var gravestone=false; (cfield0)=""; (cfield1)=""; (cfield2)=""; // Stoch Astic 14 SHOW 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; if(Math.round(K)<=30){ score+=30; message+="_سطح حمایتی_"; star+="★"; support=true; } // Stoch Astic 14 SHOW // -----سنگ قبر if ( (((pmin)*0.05)+(pmin))<(pmax) && ((pmin)==(pf) || (pmin)==(pl) ) && (pmax)!=(pl) && (pmax)!=(pf) && (([ih][0].PClosing < [ih][1].PClosing) && ([ih][1].PClosing < [ih][2].PClosing) && ([ih][2].PClosing < [ih][3].PClosing)) ) { if ((plp) > 0) { if ((tmin) == (pf)) { gravestone=true; score+=30; message += "سنگ قبر⚋"; star+="★★"; } } if ((plp) < 0) { if ((tmin) == (pl)) { gravestone=true; score+=30; message += "سنگ قبر⚋"; star+="★★"; } } } //================ (cfield0)=score; (cfield1)=star; (cfield2)=message; return true; }() //=========================END FUNCTION =========================