// Filter Name : Dragonfly BY ANALYZE FILTER HF-115
// User: Mostafa Ejarestaghi
// Date: 1399/11/09
// version : 1.1.1
// ------------ site inormation -------------
// website : www.hooshefaal.ir
// Email : hooshefaal@gmail.com
//Telegram Channel : @hooshefaal
//Telegram Support : @hooshefaal_support
// Instagram Page : @hooshefaal.ir
//whatsapp number : 09364549266
// --------------END---------------
true==function()
{
//------------------COMMAND START-----------------------
//سنجاقک
var message = "";
var star ="";
var score=0;
(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+="★";
}
if(Math.round(K)>=70){
score+=30;
message+="_سطح مقاومتی_";
star+="⚠";
}
if((pmin)*1.05<(pl) && (pl) == (pf) && (pf) > (pc)&&(pmax)==(pl)){
(cfield0)=score;
(cfield1)=star;
(cfield2)=message;
return true;
}
//-------------------- COMMAND END---------------------
}()
//=========================END FUNCTION =========================