通达信睛天副图指标
STICKLINE(C>0,0,120,6,0),COLORFFB06C;
涨跌幅度线:=SMA(EMA((C-REF(C,1))/REF(C,1),5)*100,3,1)*10;
短线天使:CROSS(涨跌幅度线,0)*15,COLORYELLOW,LINETHICK3;
DRAWTEXT(短线天使=15,20,''),COLORYELLOW;
DIFF := EMA(CLOSE,12) - EMA(CLOSE,26);
DEA :=EMA(DIFF,9);
MACD :=1000* (2*(DIFF-DEA))/EMA(C,30);
RSV:= (CLOSE-LLV(LOW,4))/(HHV(HIGH,4)-LLV(LOW,4))*100;
FASTK:=SMA(RSV,3,1);
龙K:=SMA(FASTK,2,1);
龙D:=SMA(龙K,5,1);
STICKLINE(龙K>=龙D,龙D,龙K,5,0),COLOR000085;
STICKLINE(龙K<龙D,龙D,龙K,5,0),COLOR324800;
VAR8:=MA(CLOSE,27);
VAR9:=(CLOSE-VAR8)/VAR8*100;
VARA:=MA(VAR9,2);
VARB:=BARSLAST(CROSS(-10,VARA)=1);
VARD:=VARA<-10 AND VARB>3;
贪嘴乐: IF(VARA>REF(VARA,1) AND VARD AND VARA<-15,30,0),LINETHICK4,LINESTICK,COLORFFA2AF;
DRAWICON(贪嘴乐>0,40,1);
狗:=LLV(LOW,10);
年:=HHV(H,25);
到来:=EMA((C-狗)/(年-狗)*4,4);
恭喜:STICKLINE(CROSS(到来,0.3),80,100,10,0), COLOR00CCFF,LINETHICK1;
STICKLINE(CROSS(到来,0.3),90,100,10,0),COLORRED,LINETHICK1;
VAR1:=3;
VAR2:=((3 * SMA((((CLOSE - LLV(LOW,27)) / (HHV(HIGH,27) - LLV(LOW,27))) * 100),5,1)) - (2 * SMA(SMA((((CLOSE - LLV(LOW,27)) / (HHV(HIGH,27) - LLV(LOW,27))) * 100),5,1),3,1)));
股价启动在即:IF(CROSS(VAR2,VAR1),100,0),COLORWHITE,STICK,LINETHICK6;
秘密买点:IF((VAR2 <= 3),25,0),LINESTICK,LINETHICK4;
机构建增补仓:IF((VAR2 < 5),45,0),COLORFF00FF;
DRAWTEXT(VAR2<5,50,''),COLORFF00FF;
VAR3:=PEAKBARS(3,10,1);
VAR5:=IF(VAR3=1,50,0);
头部:= IF(VAR5=50,100,0);
下雨:IF(头部>REF(头部,1),80,120),COLORRED;
DRAWTEXT(下雨=80,80,'下雨' ),COLOR00FF00;