在线检测未来函数

通达信三龙聚首指标公式

来源:Internet,编辑:股旁网,2024-10-31

X_3:=(C+L+H)/3;
X_4:=EMA(X_3,6);
X_5:=EMA(X_4,5);
STICKLINE(X_4>=X_5,2.5,1.3,3,0),COLORRED,LINETHICK2;
STICKLINE(X_4<X_5,2.5,1.3,3,0),COLORGREEN,LINETHICK2;
能量:=SQRT(vol)*(((C-(H+L)/2))/((H+L)/2));
平滑能量:=EMA(能量,16);
能量惯性:=EMA(平滑能量,16) ;
STICKLINE(能量惯性>0,-0.4,0.9,3,0),COLORRED,LINETHICK2;
STICKLINE(能量惯性<=0,-0.4,0.9,3,0),COLORGREEN,LINETHICK2;
X_2:=(CLOSE-LLV(LOW,38))/(HHV(HIGH,38)-LLV(LOW,38))*100;
中多:=SMA(X_2,5,1);
中空:=SMA(中多,10,1);
STICKLINE(中多>中空,-2.2,-0.8,3,0),COLORRED,LINETHICK2;
STICKLINE(中多<=中空,-2.2,-0.8,3,0),COLORGREEN,LINETHICK2;
X_1:=(CLOSE-LLV(LOW,7))/(HHV(HIGH,7)-LLV(LOW,7))*100;
短多:=SMA(X_1,3,1),COLORRED;
短空:=SMA(短多,3,1),COLORYELLOW;
STICKLINE(短多>短空,-4.1,-2.7,3,0),COLORRED,LINETHICK2;
STICKLINE(短多<=短空,-4.1,-2.7,3,0),COLORGREEN,LINETHICK2;
QS:=1.95,NODRAW;
NL:=0.35,NODRAW;
ZQ:=-1.5,NODRAW;
DQ:=-3.3,NODRAW;
DRAWTEXT(ISLASTBAR,QS,' 趋势'),COLORYELLOW;
DRAWTEXT(ISLASTBAR,NL,' 量能'),COLORYELLOW;
DRAWTEXT(ISLASTBAR,ZQ,' 中期'),COLORYELLOW;
DRAWTEXT(ISLASTBAR,DQ,' 短期'),COLORYELLOW;
AAA:=(3*C+O+H+L)/6;
控盘度:=(EMA(AAA,12)-REF(EMA(AAA,36),1))/REF(EMA(AAA,36),1)*100+50,NODRAW;
低控盘:IF(控盘度>=50 AND 控盘度<60,控盘度,0),COLORYELLOW,NODRAW;
中控盘:IF(控盘度>=60 AND 控盘度<80,控盘度,0),COLORLIRED,NODRAW;
高控盘:IF(控盘度>=80,控盘度,0),COLORMAGENTA,NODRAW;
STICKLINE( 控盘度>=50,-4.6,-5,3,0),COLORYELLOW;
STICKLINE( 控盘度>=60,-4.6,-5,3,0),COLORLIRED;
STICKLINE( 控盘度>=80,-4.6,-5,3,0),COLORMAGENTA;
安全分:SAFESCORE,NODRAW;{低版本的通达信软件,可以删除本行}
VAR1:=(2*C+H+L)/4;
VAR2:=LLV(L,34);
VAR3:=HHV(H,34);
XX:=EMA((VAR1-VAR2)/(VAR3-VAR2)*100,13);
YY:=EMA(0.667*REF(XX,1)+0.333*XX,2) , ;
X10_10:=2*WMA(C,17)-WMA(C,34);
潜力线:=WMA(X10_10,SQRT(34)),COLORWHITE,DOTLINE;
长趋势:IF(YY<XX AND C>潜力线,10,0),COLORMAGENTA,NODRAW;
STICKLINE(长趋势,-4.70,-4.85,3,0),COLORMAGENTA;

通达信三龙聚首指标公式

相关文章