DIF:=100*(EMA(CLOSE,12)-EMA(CLOSE,26));
DEA:=EMA(DIF,9);
死叉:=crOSS(DEA,DIF);
N1:=BArslAST(死叉);
CL1:=LLV(C,N1+1);
CL2:=REF(CL1,N1+1);
DIFL1:=LLV(DIF,N1+1);
DIFL2:=REF(DIFL1,N1+1);
DIFL3:=REF(DIFL2,N1+1);
pdiFL2:=IF(DIFL2>0,INTPART(LOG(DIFL2))-1,INTPART(LOG(-DIFL2))-1);
mdiFL2:=INTPART(DIFL2/POW(10,PDIFL2));
PDIFL3:=IF(DIFL3>0,INTPART(LOG(DIFL3))-1,INTPART(LOG(-DIFL3))-1);
MDIFL3:=INTPART(DIFL3/POW(10,PDIFL3));
MDIFB2:=INTPART(DIF/POW(10,PDIFL2));
MDIFB3:=INTPART(DIF/POW(10,PDIFL3));
直接底背离:(CL1<CL2 ) AND (MDIFB2>MDIFL2) AND (macd<0 AND REF(MacD,1)<0) AND MDIFB2<=REF(MDIFB2,1);

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