蛇背:MA(C,20)+20/10*STD(CLOSE,20),COLORGREEN,LINETHICK2;
蛇肚:MA(C,20)-20/10*STD(CLOSE,20),COLORRED,LINETHICK2;
蛇血线:EMA(CLOSE,12),COLORYELLOW,LINETHICK2;
蛇骨线:EMA(CLOSE,24),COLORMAGENTA,LINETHICK2;
IF(蛇血线 =REF(蛇血线,1),蛇血线,DRAWNULL),COLORRED,LINETHICK3;
IF(蛇血线 =REF(蛇血线,1),蛇血线,DRAWNULL),COLORGREEN,LINETHICK2;
C1:=(CLOSE+LOW+HIGH)/3;
DRAWICON(蛇血线,L*0.97,1);
DRAWICON(CROSS(蛇血线,蛇骨线),LOW*0.98,7);
DRAWICON(蛇骨线,H*1.03,2);
DRAWICON(CROSS(蛇骨线,蛇血线),HIGH*1.02,8);
STICKLINE(蛇血线 =蛇骨线,LOW,HIGH,0,0),COLORLIRED;
VAR6:=REF(C,1);
VAR7:=SMA(MAX(C-VAR6,0),6,1)/SMA(ABS(C-VAR6),6,1)*100;
DRAWTEXT(CROSS(84,VAR7),H*1.01,'逃顶'),COLORYELLOW ;
STICKLINE(蛇血线 =蛇骨线,LOW,HIGH,0.0,1),COLORLIRED;
STICKLINE(蛇血线 =蛇骨线,CLOSE,OPEN,3,1),COLORLIRED;
STICKLINE(蛇血线 蛇骨线,LOW,HIGH,0.0,1),COLORCYAN;
STICKLINE(蛇血线 蛇骨线,CLOSE,OPEN,3,1),COLORCYAN;