DRAWTEXT(底背離,0.10,‘ 底背離’),COLORFF00FF;
A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));
頂背離:=REF(CLOSE,A2+1)《CLOSE AND REF(DIFF,A2+1)》DIFF AND CROSS(DEA,DIFF),NODRAW;
頂背:DRAWLINE(A2=0,DEA,頂背離,DEA,0),COLORGREEN,LINETHICK2;
DRAWTEXT(低位金叉 AND 二次金叉 AND 底背離,0.275,‘三全項’),COLOR0000FF,LINETHICK2;
DRAWICON(CROSS(DIFF,DEA),DEA,1);
DRAWICON(CROSS(DEA,DIFF),DEA,2);
WW:=DEA》REF(DEA,1);
DD:=CROSS(DIFF,REF(DIFF,1));
反身向上:IF((WW AND DD),0.25,0),COLORWHITE;
DRAWTEXT(反身向上,0.17,‘ 反身上’),COLORWHITE;
AD:=LOW=LLV(LOW,14) AND LOW《REF(LOW,1) AND LOW《REF(LOW,5) AND MACD》REF(MACD,1) AND 0》MACD AND 0》REF(MACD,1);
DRAWICON(AD,MACD,9);
(南方財富網SOUTHMONEY.COM)