STICKLINE(C =O OR (C=O AND C REF(C,1)),O,C,4,1),COLORRED;
STICKLINE((C =O AND C H) OR (C=O AND C REF(C,1)),C,H,0.1,0),COLORRED;
STICKLINE((C =O AND L O) OR (C=O AND C REF(C,1)),L,O,0.1,0),COLORRED;
STICKLINE(C O OR (C=O AND C REF(C,1)),O,C,4,0),COLORCYAN;
STICKLINE((C O AND C H) OR (C=O AND C REF(C,1)),C,H,0.1,1),COLORCYAN;
STICKLINE((C O AND L O) OR (C=O AND C REF(C,1)),L,O,0.1,1),COLORCYAN;
压力:HHV(MA((LOW+HIGH+CLOSE)/3,1),34),LINETHICK2,COLORGREEN;
支撑:LLV(MA((LOW+HIGH+CLOSE)/3,1),34),LINETHICK2,COLORRED;
RV:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
RG:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
VA1:=SMA(RV,3,1);
VA2:=SMA(VA1,3,1);
ZZ:=EMA(SMA(RG,3,1),2);
XX:=SMA(ZZ,3,1);
DRAWICON(CROSS(VA1,VA2) AND CROSS(ZZ,XX),L,3);
DRAWICON(CROSS(VA2,VA1) AND CROSS(XX,ZZ),H,4);