DA:=2230911;
XZ:=IF(DATE<DA,1,DRAWNULL);
DI:=(EMA(CLOSE,12)-EMA(CLOSE,26))*XZ;
DE:=(EMA(DI,9))*XZ;
M:=(DI-DE)*2*XZ;
R:=IF(CODELIKE('60') OR CODELIKE('00'),10,20)*XZ;
ZT:=100*(C/REF(C,1)-1)>R-0.01/REF(C,1)*100;
DT:=100*(C/REF(C,1)-1)<-R+0.01/REF(C,1)*100;
SPAN:=BARSLAST(EVERY(ZT,2));
量:=REF(V,1)=LLV(V,SPAN);
共振:=M>REF(M,1) AND REF(M,1)<REF(M,2);
XG:SPAN<=13 AND SPAN>=5 AND 量 AND 共振;
九毛八公式解读
DA赋值:2230911 XZ赋值:如果日期R-0.01/1日前的收盘价*100 DT赋值:100*(收盘价/1日前的收盘价-1)<-R+0.01/1日前的收盘价*100 SPAN赋值:上次最近2日一直存在ZT距今天数 量赋值:1日前的成交量(手)=SPAN日内成交量(手)的最低值 共振赋值:M>1日前的M AND 1日前的M<2日前的M 输出XG:SPAN<=13 AND SPAN>=5 AND 量 AND 共振