在线检测未来函数

通达信主力控盘状态指标公式

来源:Internet,编辑:股旁网,2023-12-08

VAR1:=EMA(WINNER(CLOSE)*7,3);
VAR2:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*8,3);
VAR3:=VAR2/(VAR1+VAR2)*10;
VAR4:=MA(VAR1+VAR2,13);
VAR5:=BARSLAST(VAR3<9 AND REF(VAR3,1)>9);
VAR6:=EMA(VAR3,89);
中线强势:IF(VAR1/(VAR1+VAR2)*20-4>0,2*(VAR1/(VAR1+VAR2)*20-4),0),COLORRED,LINETHICK2;
VAR7:=EMA(中线强势,89);
VAR8:=IF(INTPART(中线强势-VAR7)>0,INTPART(中线强势-VAR7)-1,0);
短线强势:IF(VAR8>0 AND CLOSE>REF(CLOSE,1),VAR8*1.5,0),COLORMAGENTA,LINETHICK3;
VAR9:=EMA(VAR3,8);
VAR10:=IF(中线强势-REF(中线强势,1)>VAR3-REF(VAR3,1),1,0);
STICKLINE(CLOSE>0,中线强势,0,1.5,0),COLORRED;
STICKLINE(VAR3>=90,中线强势,0,1.5,0),COLOR66FFCC;
VAR11:=INTPART(VAR3);
中线控盘:INTPART(中线强势)/5,COLORYELLOW,LINETHICK2;
短线超跌:IF((-VAR8)>0,VAR8,0),COLORBLUE,LINETHICK2;
STICKLINE(短线超跌,VAR8,0,1.5,0),COLORBLUE;
VAR12:=INTPART(VAR4);
STICKLINE(短线强势,VAR8*1.5,0,1.5,0),COLORMAGENTA;
STICKLINE(中线控盘,中线控盘,0,1.5,0),COLORYELLOW;

通达信主力控盘状态指标公式

相关文章