在线检测未来函数

通达信私募内部抓涨指标公式

来源:Internet,编辑:股旁网,2023-06-02

A:=(C*2+H+L)/4*10;
A1:=EMA(A,13)-EMA(A,34);
A2:=EMA(A1,5);
A3:2*(A1-A2)*5.5;
A4:IF(A3>=0,A3,0);
A5:=A4>REF(A4,1) AND REF(A3<0,1);
A6:=REF(A4,1)<=REF(A4,2)AND A4>REF(A4,1);
A7:= C/REF(C,1)>1.07;
STICKLINE(A5 AND A6 AND A7,HHV(A4,60),0,2,0),COLORRED;
STICKLINE(A5 OR A6 AND A7,HHV(A4,60)/2,0,2,0),COLORWHITE;
STICKLINE(A5 OR A6 AND C/REF(C,1)<1.07 AND H/REF(C,1)>1.07,HHV(A4,60)/3,0,2,0),COLORGREEN;
STICKLINE(A3>0,0,A3,0,-1),COLORLIRED;
STICKLINE(A3<0,0,A3,0,-1),COLORLIBLUE;
ZP:=A5 OR A6 AND A7;
涨幅:DRAWNUMBER(ZP,0,(C-REF(C,1))/REF(C,1)*100),COLORWHITE;
ZP1:=A5 AND A6 AND A7;
涨幅1:DRAWNUMBER(ZP1,0,(C-REF(C,1))/REF(C,1)*100),COLORRED;
ZP2:=A5 OR A6 AND C/REF(C,1)<1.07 AND H/REF(C,1)>1.07;
涨幅2:DRAWNUMBER(ZP2,0,(C-REF(C,1))/REF(C,1)*100),COLORGREEN;

通达信私募内部抓涨指标公式

相关文章