通达信股票公式:股海风帆
通达信股票公式有哪些?通达信股票公式是什么?下面股票知识网为您介绍通达信股票公式。
{参数n:1,100,20}
Z_X1:=REF(EMA(C,N),1);
Z_X2:=(EMA(C,N)-Z_X1)/Z_X1*100;
Z_X3:=REF(EMA(C,N),BARSLAST(CROSS(Z_X2,0))+1);
Z_X4:=REF(EMA(C,N),BARSLAST(CROSS(0,Z_X2))+1);
A1:IF(Z_X2》=0 AND Z_X3=REF(Z_X3,1),Z_X3,DRAWNULL),LINETHICK1,COLORMAGENTA;
A2:DRAWLINE(CROSS(Z_X2,0),Z_X1,CROSS(0,Z_X2),Z_X1,0),LINETHICK1,COLORMAGENTA;
A3:IF(Z_X2《0 AND Z_X4=REF(Z_X4,1),Z_X4,DRAWNULL),LINETHICK1,COLORGREEN;
A4:DRAWLINE(CROSS(0,Z_X2),Z_X1,CROSS(Z_X2,0),Z_X1,0),LINETHICK1,COLORGREEN;
A5:DRAWLINE(CROSS(0,Z_X2) OR CROSS(Z_X2,0),Z_X1,ISLASTBAR,Z_X1,0),LINETHICK1,COLORYELLOW;{黄--最后斜线};
STICKLINE(A2》A1,A1,A2,0,-1),COLORMAGENTA;
STICKLINE(A3》A4,A3,A4,0,-1),COLORGREEN;
STICKLINE(A3》A5,A3,A5,0,-1),COLORBLUE;
TY:=C;
A11:=REF(TY,10)=HHV(TY,2*10+1);
B11:=FILTER(A11,10);
C1:=BACKSET(B11,10+1);
HD:=FILTER(C1,20);
A22:=REF(TY,10)=LLV(TY,2*10+1);
B22:=FILTER(A22,10);
C2:=BACKSET(B22,10+1);
LD:=FILTER(C2,10);
A:=REF(C,BARSLAST(HD));
B:=REF(C,BARSLAST(LD));
T1:=BARSLAST(HD)《BARSLAST(LD) AND NOT(HD) ;
T2:=BARSLAST(HD)》BARSLAST(LD) AND NOT(LD);
波峰:IF(T1》=1,A,DRAWNULL),COLOR33FF00;
波谷:IF(T2》=1,B,DRAWNULL),COLOR00FFFF;
STICKLINE(C》O AND L《波谷 AND C》波谷,C,O,2,0),COLORYELLOW;
更多通达信股票公式知识请关注股票知识网
(股票知识网zhishi.southmoney.com)
要闻导读
|
||||||||||
|