同花顺做盘副图指标
源码
DRAWGBK(V 1,STRIP(RGB(60,100,255),RGB(180,180,255),1));
VAR1:=(EMA(C,6)-EMA(C,14))*100+50;
VAR2:=EMA(VAR1,5);
VAR3:=((HHV(H,21)-C)/(HHV(H,21)-LLV(L,21)))*100-10;
VAR4:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
VAR5:=SMA(VAR4,13,8);
VAR6:=SMA(VAR3,21,8);
VAR7:=MA(C,80)-MA(C,10)/7;
VAR8:=EMA(C,5);
VAR9:=MA((LLV(C,9))*1.1,14);
VAR10:=2*VAR9-VAR8-C*0.1;
VAR11:=IF(((VAR8-VAR10)*5 0),(POW((VAR8-VAR10)*5,2))/10,(-1*(POW((VAR8-VAR10)*(5),2)))/(10));
VAR12:=IF((VAR11 0),VAR11-0,12);
VAR13:=SMA(MAX(C-REF(C,2),0),7,1)/SMA(ABS(C-REF(C,2)),7,1)*100;
趋势:CEILING(SMA(VAR5,13,8)),LINETHICK2,Color55FFFF;
STICKLINE(趋势 趋势 OR 趋势 REF(趋势,1),100,0,10,0),ColorA800A8;
STICKLINE(趋势 趋势 OR 趋势 REF(趋势,1),50,0,10),Color418200;
操盘: MA(3*SMA((C-LLV(L,21))/(HHV(H,21)-LLV(L,21))*100,5,1)-2*
SMA(SMA((C-LLV(L,21))/(HHV(H,21)-LLV(L,21))*100,5,1),3,1),5),LINETHICK2,Color6A006A;
STICKLINE(FILTER(CROSS(趋势,VAR12)AND 趋势 REF(C,1) OR
CROSS(趋势,操盘) AND 趋势 20 OR 趋势 REF(趋势,1)
AND 趋势 35 AND C REF(C,1),5),5,50,2,2),ColorF6F6F6;
底部:IF((趋势-VAR6 (-65)),1,12),COLORF0F000,LINETHICK2;
顶部:IF((趋势-VAR6 85),95,100),COLORF0F000,LINETHICK2;
黄金区: DRAWICON(IF(VAR13 15,15,0),23,11),COLOR000000,LINETHICK2;
强弱界:50,POINTDOT,COLORaabbdd,linethick2;