同花顺顶底K线副图指标
源码
见顶线:90,linethick1 ,color55aa77;
见底线:10,linethick1 ,color888888;
var1 := REF(OPEN,1);
var2:=SMA(MAX(OPEN-var1,0),6,1)/SMA(ABS(OPEN-var1),6,1)*100;
var3:= REF(CLOSE,1);
var4:=SMA(MAX(CLOSE-var3,0),6,1)/SMA(ABS(CLOSE-var3),6,1)*100;
var5:= REF(HIGH,1);
var6:=SMA(MAX(HIGH-var5,0),6,1)/SMA(ABS(HIGH-var5),6,1)*100;
var7:= REF(LOW,1);
var9:=SMA(MAX(LOW-var7,0),6,1)/SMA(ABS(LOW-var7),6,1)*100;
var8:=(MIN(OPEN,CLOSE)-LOW)/LOW*100>VOL/CAPITAL*0.001 ;
var10:=(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,13))*100;
var11:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
var12:=EMA(var11,8)*10<-26;
var13:=IF(var8 AND MA(var10,5)<50 AND var12,30,0);
开盘值:=var2,POINTDOT, LINETHICK0 ;
收盘值:=var4,POINTDOT, LINETHICK0 ;
最高值:=var6,POINTDOT, LINETHICK0 ;
最低值:=var9,POINTDOT, LINETHICK0 ;
STICKLINE(收盘值>开盘值,开盘值,最低值,0.5,1),colorred;
STICKLINE(收盘值>开盘值,最高值,收盘值,0.5,1),colorred;
STICKLINE(收盘值>开盘值,收盘值,开盘值,5,1),colorred;
STICKLINE(收盘值<开盘值,最高值,开盘值,0.5,1),COLORFFFF00;
STICKLINE(收盘值<开盘值,最低值,收盘值,0.5,0),COLORFFFF00;
STICKLINE(收盘值<开盘值,收盘值,开盘值,5,0),COLORFFFF00;
入顶:80,LINETHICK1,coloryellow;
入底:20,linethick1,COLORf00ff0;
操盘线:((WINNER(13,CLOSE))*(80)),Color00ff00;