同花顺抄底王副图指标
源码
DRAWGBK(V>1,STRIP(RGB(60,100,255),RGB(180,180,255),2));
var1:=REF(CLOSE,1);
var2:=SMA(MAX(CLOSE-var1,0),7,1)/SMA(ABS(CLOSE-var1),7,1)*100,coloryellow;
低吸:IF(var2<20,40,20),colorred,linethick2;
走人:IF(var2>80,60,80),COLORFFFF50,linethick2;
var2↑:STICKLINE(FILTER(REF(var2,1)<20 AND var2>REF(var2,1),5),20,40,8,0),colorred;
var2↓:STICKLINE(FILTER(REF(var2,1)>80 AND var2<REF(var2,1),5),60,80,8,0),COLORFFFF50;
DRAWTEXT(FILTER(REF(var2,1)<20 AND var2>REF(var2,1),5),40 ,'低吸' ),COLORFFFFFF;
DRAWTEXT(FILTER(REF(var2,1)>80 AND var2<REF(var2,1),5),60 ,'走人' ),COLORFFFFFF;
80,colorgreen,linethick2;
20,colorred,linethick2;