M:=60;
D:=60;
K:=9;
ZFF:=25;
DFF:=30;
GL:=IF(MA(C,10)>MA(C,M),(MA(C,10)-MA(C,M))/MA(C,M)*100,(MA(C,10)-MA(C,M))/MA(C,10)*100);
GL1:=MA(GL,M),NODRAW;
GL2:=HHV(GL1,K)*0.99;
GL3:=LLV(GL1,D)*1.2;
DF:=(HHV(C,D)-C)/C*100;
ZF:=(C-LLV(C,K))/LLV(C,K)*100;
SY:=REF(C,BArslAST(C>O));
SYY:=REF(C,BARSLAST(C
TYP:=(CLOSE+HIGH+LOW)/3;
cci:=(TYP-MA(TYP,18))/(0.015*AVEDEV(TYP,18));
GLGTKK:=IF(CCI>200 OR QS>90,1,0);
GLGTDD:=IF(CCI<-200 OR QS<10,1,0);
DRAWICON(GL