指标用法:
蛇背 绿线。
蛇肚 红线。
蛇血 黄线。
蛇骨 紫线。
四根线分别代表不同周期的走势强度。
出现买卖点时会标出买入、逃顶信号。看图操作即可。
蛇背: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;
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;