DIFF : EMA(CLOSE,S) – EMA(CLOSE,P);
DEA : EMA(DIFF,M);
MACD : 2*(DIFF-DEA), COLORSTICK;
负偏离值:=IF(REF(MACD,1)>macd and DIff/C<-0.064,1,0);
正偏离值:=IF(REF(MACD,1)>MACD and DIff/C>0.064,1,0);
DRAWTEXT(FILTER(负偏离值=1,20),diff/1.03,’偏离’),COLORYELLOW;
DRAWTEXT(FILTER(正偏离值=1,20),diff/1.03,’偏离’),COLORYELLOW;
向上近O轴:=IF(REF(DIFF,1)<DIFF and DIff/C>-PLL,1,0);
向下近O轴:=IF(REF(DIFF,1)>DIFF and DIFF>0 and DIff/C<PLL,1,0);
DRAWTEXT(FILTER(向下近O轴=1,10),diff/1.01,’向下近O轴’),COLORYELLOW;
//九转序列9
G10:=COUNT(CLOSE>REF(CLOSE,4),10)=10;
G9:=COUNT(CLOSE>REF(CLOSE,4),9)=9 AND G10=0;
G8:=COUNT(CLOSE>REF(CLOSE,4),8)=8 AND G9=0;
G7:=COUNT(CLOSE>REF(CLOSE,4),7)=7 AND G8=0;
G6:=COUNT(CLOSE>REF(CLOSE,4),6)=6 AND G7=0;
G5:=COUNT(CLOSE>REF(CLOSE,4),5)=5 AND G6=0;
G4:=COUNT(CLOSE>REF(CLOSE,4),4)=4 AND G5=0;
G3:=COUNT(CLOSE>REF(CLOSE,4),3)=3 AND G4=0;
G2:=COUNT(CLOSE>REF(CLOSE,4),2)=2 AND G3=0;
G1:=CLOSE>REF(CLOSE,4) AND G2=0;
D10:=COUNT(CLOSE<REF(CLOSE,4),10)=10;
D9:=COUNT(CLOSE<REF(CLOSE,4),9)=9 AND D10=0;
D8:=COUNT(CLOSE<REF(CLOSE,4),8)=8 AND D9=0;
D7:=COUNT(CLOSE<REF(CLOSE,4),7)=7 AND D8=0;
D6:=COUNT(CLOSE<REF(CLOSE,4),6)=6 AND D7=0;
D5:=COUNT(CLOSE<REF(CLOSE,4),5)=5 AND D6=0;
D4:=COUNT(CLOSE<REF(CLOSE,4),4)=4 AND D5=0;
D3:=COUNT(CLOSE<REF(CLOSE,4),3)=3 AND D4=0;
D2:=COUNT(CLOSE<REF(CLOSE,4),2)=2 AND D3=0;
D1:=CLOSE<REF(CLOSE,4) AND D2=0;
GG8:=IF(G8=1 AND REFX(G9=1,1),G8,0);
GG7:=IF(G7=1 AND REFX(G9=1,2),G7,0);
GG6:=IF(G6=1 AND REFX(G9=1,3),G6,0);
GG5:=IF(G5=1 AND REFX(G9=1,4),G5,0);
GG4:=IF(G4=1 AND REFX(G9=1,5),G4,0);
GG3:=IF(G3=1 AND REFX(G9=1,6),G3,0);
GG2:=IF(G2=1 AND REFX(G9=1,7),G2,0);
GG1:=IF(G1=1 AND REFX(G9=1,8),G1,0);
DD8:=IF(D8=1 AND REFX(D9=1,1),D8,0);
DD7:=IF(D7=1 AND REFX(D9=1,2),D7,0);
DD6:=IF(D6=1 AND REFX(D9=1,3),D6,0);
DD5:=IF(D5=1 AND REFX(D9=1,4),D5,0);
DD4:=IF(D4=1 AND REFX(D9=1,5),D4,0);
DD3:=IF(D3=1 AND REFX(D9=1,6),D3,0);
DD2:=IF(D2=1 AND REFX(D9=1,7),D2,0);
DD1:=IF(D1=1 AND REFX(D9=1,8),D1,0);
DRAWTEXT(G9=1,macd*1.03,’9′),COLORGREEN;
DRAWTEXT(GG8=1,macd*1.03,’8′),COLORWHITE;
DRAWTEXT(GG7=1,macd*1.03,’7′),COLORWHITE;
DRAWTEXT(GG6=1,macd*1.03,’6′),COLORWHITE;
DRAWTEXT(GG5=1,macd*1.03,’5′),COLORWHITE;
DRAWTEXT(GG4=1,macd*1.03,’4′),COLORWHITE;
DRAWTEXT(GG3=1,macd*1.03,’3′),COLORWHITE;
DRAWTEXT(GG2=1,macd*1.03,’2′),COLORWHITE;
DRAWTEXT(GG1=1,macd*1.03,’1′),COLORWHITE;
DRAWTEXT(D9=1,diff/1.03,’9′),COLORRED;
DRAWTEXT(DD8=1,diff/1.03,’8′),COLORYELLOW;
DRAWTEXT(DD7=1,diff/1.03,’7′),COLORYELLOW;
DRAWTEXT(DD6=1,diff/1.03,’6′),COLORYELLOW;
DRAWTEXT(DD5=1,diff/1.03,’5′),COLORYELLOW;
DRAWTEXT(DD4=1,diff/1.03,’4′),COLORYELLOW;
DRAWTEXT(DD3=1,diff/1.03,’3′),COLORYELLOW;
DRAWTEXT(DD2=1,diff/1.03,’2′),COLORYELLOW;
DRAWTEXT(DD1=1,diff/1.03,’1′),COLORYELLOW;
//8序列
G9:=COUNT(CLOSE>REF(CLOSE,4),9)=9;
//G9:=COUNT(CLOSE>REF(CLOSE,4),9)=9 AND G10=0;
G8:=COUNT(CLOSE>REF(CLOSE,4),8)=8 AND G9=0;
G7:=COUNT(CLOSE>REF(CLOSE,4),7)=7 AND G8=0;
G6:=COUNT(CLOSE>REF(CLOSE,4),6)=6 AND G7=0;
G5:=COUNT(CLOSE>REF(CLOSE,4),5)=5 AND G6=0;
G4:=COUNT(CLOSE>REF(CLOSE,4),4)=4 AND G5=0;
G3:=COUNT(CLOSE>REF(CLOSE,4),3)=3 AND G4=0;
G2:=COUNT(CLOSE>REF(CLOSE,4),2)=2 AND G3=0;
G1:=CLOSE>REF(CLOSE,4) AND G2=0;
D9:=COUNT(CLOSE<REF(CLOSE,4),9)=9;
//D9:=COUNT(CLOSE<REF(CLOSE,4),9)=9 AND D10=0;
D8:=COUNT(CLOSE<REF(CLOSE,4),8)=8 AND D9=0;
D7:=COUNT(CLOSE<REF(CLOSE,4),7)=7 AND D8=0;
D6:=COUNT(CLOSE<REF(CLOSE,4),6)=6 AND D7=0;
D5:=COUNT(CLOSE<REF(CLOSE,4),5)=5 AND D6=0;
D4:=COUNT(CLOSE<REF(CLOSE,4),4)=4 AND D5=0;
D3:=COUNT(CLOSE<REF(CLOSE,4),3)=3 AND D4=0;
D2:=COUNT(CLOSE<REF(CLOSE,4),2)=2 AND D3=0;
D1:=CLOSE<REF(CLOSE,4) AND D2=0;
//GG8:=IF(G8=1 AND REFX(G9=1,1),G8,0);
GG7:=IF(G7=1 AND REFX(G8=1,2),G7,0);
GG6:=IF(G6=1 AND REFX(G8=1,3),G6,0);
GG5:=IF(G5=1 AND REFX(G8=1,4),G5,0);
GG4:=IF(G4=1 AND REFX(G8=1,5),G4,0);
GG3:=IF(G3=1 AND REFX(G8=1,6),G3,0);
GG2:=IF(G2=1 AND REFX(G8=1,7),G2,0);
GG1:=IF(G1=1 AND REFX(G8=1,8),G1,0);
//DD8:=IF(D8=1 AND REFX(D9=1,1),D8,0);
DD7:=IF(D7=1 AND REFX(D8=1,2),D7,0);
DD6:=IF(D6=1 AND REFX(D8=1,3),D6,0);
DD5:=IF(D5=1 AND REFX(D8=1,4),D5,0);
DD4:=IF(D4=1 AND REFX(D8=1,5),D4,0);
DD3:=IF(D3=1 AND REFX(D8=1,6),D3,0);
DD2:=IF(D2=1 AND REFX(D8=1,7),D2,0);
DD1:=IF(D1=1 AND REFX(D8=1,8),D1,0);
//DRAWTEXT(G9=1,HIGH*1.03,’9′),COLORGREEN;
DRAWTEXT(GG8=1,MACD*1.03,’8′),COLORWHITE;
DRAWTEXT(GG7=1,MACD*1.03,’7′),COLORWHITE;
DRAWTEXT(GG6=1,MACD*1.03,’6′),COLORWHITE;
DRAWTEXT(GG5=1,MACD*1.03,’5′),COLORWHITE;
DRAWTEXT(GG4=1,MACD*1.03,’4′),COLORWHITE;
DRAWTEXT(GG3=1,MACD*1.03,’3′),COLORWHITE;
DRAWTEXT(GG2=1,MACD*1.03,’2′),COLORWHITE;
DRAWTEXT(GG1=1,MACD*1.03,’1′),COLORWHITE;
//DRAWTEXT(D9=1,LOW/1.03,’9′),COLORRED;
DRAWTEXT(DD8=1,diff/1.03,’8′),COLORYELLOW;
DRAWTEXT(DD7=1,diff/1.03,’7′),COLORYELLOW;
DRAWTEXT(DD6=1,diff/1.03,’6′),COLORYELLOW;
DRAWTEXT(DD5=1,diff/1.03,’5′),COLORYELLOW;
DRAWTEXT(DD4=1,diff/1.03,’4′),COLORYELLOW;
DRAWTEXT(DD3=1,diff/1.03,’3′),COLORYELLOW;
DRAWTEXT(DD2=1,diff/1.03,’2′),COLORYELLOW;
DRAWTEXT(DD1=1,diff/1.03,’1′),COLORYELLOW;
//7序列
G8:=COUNT(CLOSE>REF(CLOSE,4),8)=8;
//G9:=COUNT(CLOSE>REF(CLOSE,4),9)=9 AND G10=0;
//G8:=COUNT(CLOSE>REF(CLOSE,4),8)=8 AND G9=0;
G7:=COUNT(CLOSE>REF(CLOSE,4),7)=7 AND G8=0;
G6:=COUNT(CLOSE>REF(CLOSE,4),6)=6 AND G7=0;
G5:=COUNT(CLOSE>REF(CLOSE,4),5)=5 AND G6=0;
G4:=COUNT(CLOSE>REF(CLOSE,4),4)=4 AND G5=0;
G3:=COUNT(CLOSE>REF(CLOSE,4),3)=3 AND G4=0;
G2:=COUNT(CLOSE>REF(CLOSE,4),2)=2 AND G3=0;
G1:=CLOSE>REF(CLOSE,4) AND G2=0;
D8:=COUNT(CLOSE<REF(CLOSE,4),8)=8;
//D9:=COUNT(CLOSE<REF(CLOSE,4),9)=9 AND D10=0;
//D8:=COUNT(CLOSE<REF(CLOSE,4),8)=8 AND D9=0;
D7:=COUNT(CLOSE<REF(CLOSE,4),7)=7 AND D8=0;
D6:=COUNT(CLOSE<REF(CLOSE,4),6)=6 AND D7=0;
D5:=COUNT(CLOSE<REF(CLOSE,4),5)=5 AND D6=0;
D4:=COUNT(CLOSE<REF(CLOSE,4),4)=4 AND D5=0;
D3:=COUNT(CLOSE<REF(CLOSE,4),3)=3 AND D4=0;
D2:=COUNT(CLOSE<REF(CLOSE,4),2)=2 AND D3=0;
D1:=CLOSE<REF(CLOSE,4) AND D2=0;
//GG8:=IF(G8=1 AND REFX(G9=1,1),G8,0);
//GG7:=IF(G7=1 AND REFX(G8=1,2),G7,0);
GG6:=IF(G6=1 AND REFX(G7=1,3),G6,0);
GG5:=IF(G5=1 AND REFX(G7=1,4),G5,0);
GG4:=IF(G4=1 AND REFX(G7=1,5),G4,0);
GG3:=IF(G3=1 AND REFX(G7=1,6),G3,0);
GG2:=IF(G2=1 AND REFX(G7=1,7),G2,0);
GG1:=IF(G1=1 AND REFX(G7=1,8),G1,0);
//DD8:=IF(D8=1 AND REFX(D9=1,1),D8,0);
//DD7:=IF(D7=1 AND REFX(D8=1,2),D7,0);
DD6:=IF(D6=1 AND REFX(D7=1,3),D6,0);
DD5:=IF(D5=1 AND REFX(D7=1,4),D5,0);
DD4:=IF(D4=1 AND REFX(D7=1,5),D4,0);
DD3:=IF(D3=1 AND REFX(D7=1,6),D3,0);
DD2:=IF(D2=1 AND REFX(D7=1,7),D2,0);
DD1:=IF(D1=1 AND REFX(D7=1,8),D1,0);
DRAWTEXT(GG7=1,MACD*1.03,’7′),COLORWHITE;
DRAWTEXT(GG6=1,MACD*1.03,’6′),COLORWHITE;
DRAWTEXT(GG5=1,MACD*1.03,’5′),COLORWHITE;
DRAWTEXT(GG4=1,MACD*1.03,’4′),COLORWHITE;
DRAWTEXT(GG3=1,MACD*1.03,’3′),COLORWHITE;
DRAWTEXT(GG2=1,MACD*1.03,’2′),COLORWHITE;
DRAWTEXT(GG1=1,MACD*1.03,’1′),COLORWHITE;
//DRAWTEXT(D9=1,LOW/1.03,’9′),COLORRED;
//DRAWTEXT(DD8=1,LOW/1.03,’8′),COLORYELLOW;
DRAWTEXT(DD7=1,diff/1.03,’7′),COLORYELLOW;
DRAWTEXT(DD6=1,diff/1.03,’6′),COLORYELLOW;
DRAWTEXT(DD5=1,diff/1.03,’5′),COLORYELLOW;
DRAWTEXT(DD4=1,diff/1.03,’4′),COLORYELLOW;
DRAWTEXT(DD3=1,diff/1.03,’3′),COLORYELLOW;
DRAWTEXT(DD2=1,diff/1.03,’2′),COLORYELLOW;
DRAWTEXT(DD1=1,diff/1.03,’1′),COLORYELLOW;
//6序列
//6序列
G7:=COUNT(CLOSE>REF(CLOSE,4),7)=7;
//G9:=COUNT(CLOSE>REF(CLOSE,4),9)=9 AND G10=0;
//G8:=COUNT(CLOSE>REF(CLOSE,4),8)=8 AND G9=0;
//G7:=COUNT(CLOSE>REF(CLOSE,4),7)=7 AND G8=0;
G6:=COUNT(CLOSE>REF(CLOSE,4),6)=6 AND G7=0;
G5:=COUNT(CLOSE>REF(CLOSE,4),5)=5 AND G6=0;
G4:=COUNT(CLOSE>REF(CLOSE,4),4)=4 AND G5=0;
G3:=COUNT(CLOSE>REF(CLOSE,4),3)=3 AND G4=0;
G2:=COUNT(CLOSE>REF(CLOSE,4),2)=2 AND G3=0;
G1:=CLOSE>REF(CLOSE,4) AND G2=0;
D7:=COUNT(CLOSE<REF(CLOSE,4),7)=7;
//D9:=COUNT(CLOSE<REF(CLOSE,4),9)=9 AND D10=0;
//D8:=COUNT(CLOSE<REF(CLOSE,4),8)=8 AND D9=0;
//D7:=COUNT(CLOSE<REF(CLOSE,4),7)=7 AND D8=0;
D6:=COUNT(CLOSE<REF(CLOSE,4),6)=6 AND D7=0;
D5:=COUNT(CLOSE<REF(CLOSE,4),5)=5 AND D6=0;
D4:=COUNT(CLOSE<REF(CLOSE,4),4)=4 AND D5=0;
D3:=COUNT(CLOSE<REF(CLOSE,4),3)=3 AND D4=0;
D2:=COUNT(CLOSE<REF(CLOSE,4),2)=2 AND D3=0;
D1:=CLOSE<REF(CLOSE,4) AND D2=0;
//GG8:=IF(G8=1 AND REFX(G9=1,1),G8,0);
//GG7:=IF(G7=1 AND REFX(G8=1,2),G7,0);
//GG6:=IF(G6=1 AND REFX(G8=1,3),G6,0);
GG5:=IF(G5=1 AND REFX(G6=1,4),G5,0);
GG4:=IF(G4=1 AND REFX(G6=1,5),G4,0);
GG3:=IF(G3=1 AND REFX(G6=1,6),G3,0);
GG2:=IF(G2=1 AND REFX(G6=1,7),G2,0);
GG1:=IF(G1=1 AND REFX(G6=1,8),G1,0);
//DD8:=IF(D8=1 AND REFX(D9=1,1),D8,0);
//DD7:=IF(D7=1 AND REFX(D8=1,2),D7,0);
//DD6:=IF(D6=1 AND REFX(D8=1,3),D6,0);
DD5:=IF(D5=1 AND REFX(D6=1,4),D5,0);
DD4:=IF(D4=1 AND REFX(D6=1,5),D4,0);
DD3:=IF(D3=1 AND REFX(D6=1,6),D3,0);
DD2:=IF(D2=1 AND REFX(D6=1,7),D2,0);
DD1:=IF(D1=1 AND REFX(D6=1,8),D1,0);
//DRAWTEXT(G9=1,HIGH*1.03,’9′),COLORGREEN;
//DRAWTEXT(GG8=1,HIGH*1.03,’8′),COLORWHITE;
//DRAWTEXT(GG7=1,HIGH*1.03,’7′),COLORWHITE;
DRAWTEXT(G6=1,MACD*1.03,’6′),COLORWHITE;
DRAWTEXT(GG5=1,MACD*1.03,’5′),COLORWHITE;
DRAWTEXT(GG4=1,MACD*1.03,’4′),COLORWHITE;
DRAWTEXT(GG3=1,MACD*1.03,’3′),COLORWHITE;
DRAWTEXT(GG2=1,MACD*1.03,’2′),COLORWHITE;
DRAWTEXT(GG1=1,MACD*1.03,’1′),COLORWHITE;
//DRAWTEXT(D9=1,LOW/1.03,’9′),COLORRED;
//DRAWTEXT(DD8=1,LOW/1.03,’8′),COLORYELLOW;
//DRAWTEXT(DD7=1,LOW/1.03,’7′),COLORYELLOW;
DRAWTEXT(D6=1,diff/1.03,’6′),COLORYELLOW;
DRAWTEXT(DD5=1,diff/1.03,’5′),COLORYELLOW;
DRAWTEXT(DD4=1,diff/1.03,’4′),COLORYELLOW;
DRAWTEXT(DD3=1,diff/1.03,’3′),COLORYELLOW;
DRAWTEXT(DD2=1,diff/1.03,’2′),COLORYELLOW;
DRAWTEXT(DD1=1,diff/1.03,’1′),COLORYELLOW;
//定量结构
N1:=BARSLAST(CROSS(DEA,DIFF));
N2:=REF(BARSLAST(CROSS(DEA,DIFF)),N1+1);
M1:=BARSLAST(CROSS(DIFF,DEA));
M2:=REF(BARSLAST(CROSS(DIFF,DEA)),M1+1);
CL1:=LLV(CLOSE,N1+1),NODRAW;
CL2:=REF(CL1,M1+1),NODRAW;
CL3:=REF(CL2,M1+1),NODRAW;
DIFL1:=LLV(DIFF,N1+1),NODRAW;
DIFL2:=REF(DIFL1,M1+1),NODRAW;
DIFL3:=REF(DIFL2,M1+1),NODRAW;
直接底钝化:=CL1<CL2 AND DIFL1>DIFL2 AND REF(MACD,1)<0 AND DIFL2<0,NODRAW;
隔峰底钝化:=CL1<CL3 AND DIFL1<DIFL2 AND DIFL1>DIFL3 AND DIFF<DEA AND REF(MACD,1)<0 AND DIFL3<0,NODRAW;
底部钝化:=(直接底钝化 OR 隔峰底钝化) AND REF(MACD,1)<0,NODRAW;
底钝化:=底部钝化 AND REF(底部钝化,1)=0 AND DIFF<DEA,NODRAW;
底钝化消失:=(REF(直接底钝化,1) AND DIFL1<DIFL2 AND DIFF<DEA) OR (REF(隔峰底钝化,1) AND DIFL1<DIFL3 AND DIFF<DEA),NODRAW;
底部结构:=DIFF>REF(DIFF,1) AND REF(底部钝化,1) AND DIFL1*0.9884<DIFF,NODRAW;
底结构形成:=底部结构 AND REF(底部结构,1)=0,NODRAW;
底再次钝化1:=COUNT(底部结构,5) AND 底部钝化 AND DIFF<REF(DIFF,1)*1.01,NODRAW;
底再次钝化:=底再次钝化1 AND REF(底再次钝化1,1)=0,NODRAW;
M3:=BARSLAST(底结构形成)-1,NODRAW;
M4:=BARSLAST(底钝化 OR 底再次钝化),NODRAW;
M5:=BARSLAST(CROSS(DIFF,0)),NODRAW;
M6:=C<REF(CL1,M3) AND C<REF(CL2,M3) AND M3<M4 AND M3<M5,NODRAW;
底结构消失1:=COUNT(M6,M3)=1 AND REF(M6,1)=0 AND M3<M4 AND M3<M5,NODRAW;
底结构消失:=底结构消失1 AND REF(底结构消失1,1)=0 AND REF(底结构消失1,2)=0,NODRAW;
DRAWTEXT(底结构形成,DIFF/0.88,’结构形成’),COLORMAGENTA;
DRAWTEXT(底钝化 OR 底再次钝化,DIFF/0.80,’钝化’),COLORYELLOW;
DRAWTEXT((底结构消失 OR 底钝化消失) AND 底部钝化=0 AND 底再次钝化=0,DIFF/0.75,’消失’),COLORGREEN;
CH1:=HHV(CLOSE,M1+1),NODRAW;
CH2:=REF(CH1,N1+1),NODRAW;
CH3:=REF(CH2,N1+1),NODRAW;
DIFH1:=HHV(DIFF,M1+1),NODRAW;
DIFH2:=REF(DIFH1,N1+1),NODRAW;
DIFH3:=REF(DIFH2,N1+1),NODRAW;
直接顶钝化:=CH1>CH2 AND DIFH1<DIFH2 AND REF(MACD,1)>0 AND DIFH2>0,NODRAW;
隔峰顶钝化:=CH1>CH3 AND DIFH1>DIFH2 AND DIFH1<DIFH3 AND REF(MACD,1)>0 AND DIFH3>0,NODRAW;
顶部钝化:=(直接顶钝化 OR 隔峰顶钝化) AND REF(MACD,1)>0,NODRAW;
顶钝化:=顶部钝化 AND REF(顶部钝化,1)=0 AND DIFF>DEA,NODRAW;
顶钝化消失:=(REF(直接顶钝化,1) AND DIFH1>=DIFH2 AND DIFF>DEA) OR (REF(隔峰顶钝化,1) AND DIFH1>=DIFH3 AND DIFF>DEA),NODRAW;
顶部结构:=REF(顶部钝化,1) AND DIFF<REF(DIFF,1) AND DIFH1*0.99>DIFF,NODRAW;
顶结构形成:=顶部结构 AND REF(顶部结构,1)=0,NODRAW;
顶再次钝化1:=COUNT(顶部结构,5) AND 顶部钝化 AND DIFF*0.99>REF(DIFF,1),NODRAW;
顶再次钝化:=顶再次钝化1 AND REF(顶再次钝化1,1)=0,NODRAW;
N3:=BARSLAST(顶结构形成)-1,NODRAW;
N4:=BARSLAST(顶钝化 OR 顶再次钝化),NODRAW;
N5:=BARSLAST(CROSS(0,DIFF)),NODRAW;
N6:=C<REF(CH1,N3) AND C<REF(CH2,N3) AND N3<N4 AND N3<N5,NODRAW;
顶结构消失1:=COUNT(N6,N3)=1 AND REF(N6,1)=0 AND N3<N4 AND N3<N5,NODRAW;
顶结构消失:=顶结构消失1 AND REF(顶结构消失1,1)=0 AND REF(顶结构消失1,2)=0,NODRAW;
DRAWTEXT(顶结构形成,DIFF*1.15,’结构形成’),COLORMAGENTA;
DRAWTEXT(顶钝化 OR 顶再次钝化,DIFF*1.20,’钝化’),COLORYELLOW;
DRAWTEXT((顶结构消失 OR 顶钝化消失) AND 顶部钝化=0 AND 顶再次钝化=0,DIFF*1.25,’消失’),COLORGREEN;