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);
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<O));
QS:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*98,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*98,5,1),3,1);
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);
XG:GL<GL3 AND DF>DFF AND C<O AND C<MA(C,30) AND C<REF(SYY,1) AND GLGTDD;

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。