通达信擒牛指标公式
A:=MA(C,3),LINETHICK2,COLORYELLOW;
B:MA(CLOSE,5),LINETHICK1,COLORRED;
CC:MA(CLOSE,10),LINETHICK1,COLORGREEN;
D:=MA(CLOSE,20),LINETHICK2,COLORBLUE;
E:MA(CLOSE,30),LINETHICK2,COLORWHITE;
F:=MA(CLOSE,40),LINETHICK2,COLORMAGENTA;
G:=MA(CLOSE,50),LINETHICK1,COLORBROWN;
HH:MA(CLOSE,60),LINETHICK3,COLORGRAY;
I:=MA(CLOSE,70),LINETHICK1,COLORGRAY;
J:=MA(CLOSE,80),LINETHICK1,COLORYELLOW;
K:MA(CLOSE,90),LINETHICK1,COLORRED;
LL:=MA(CLOSE,100),LINETHICK1,COLORGREEN;
M:=MA(CLOSE,110),LINETHICK1,COLORBLUE;
N:MA(CLOSE,120),LINETHICK1,COLORWHITE;
OO:=MA(CLOSE,130),LINETHICK1,COLORMAGENTA;
PP:=MA(CLOSE,140),LINETHICK1,COLORBROWN;
Q:=MA(CLOSE,150),LINETHICK1,COLORGRAY;
R:MA(CLOSE,160),LINETHICK1,COLORGRAY;
S:=MA(CLOSE,170),LINETHICK1,COLORYELLOW;
T:MA(CLOSE,180),LINETHICK1,COLORRED;
U:=MA(CLOSE,190),LINETHICK1,COLORGREEN;
VV:MA(CLOSE,200),LINETHICK1,COLORBLUE;
W:=MA(CLOSE,210),LINETHICK1,COLORWHITE;
X:MA(CLOSE,220),LINETHICK1,COLORMAGENTA;
Y:=MA(CLOSE,230),LINETHICK1,COLORBROWN;
Z:=MA(CLOSE,240),LINETHICK1,COLORGRAY;
A1:MA(CLOSE,250),LINETHICK1,COLORGRAY;
A2:=MA(CLOSE,260),LINETHICK1,COLORYELLOW;
A3:=MA(CLOSE,270),LINETHICK1,COLORRED;
A4:=MA(CLOSE,280),LINETHICK1,COLORGREEN;
A5:MA(CLOSE,290),LINETHICK1,COLORBLUE;
A6:=MA(CLOSE,300),LINETHICK1,COLORWHITE;
A7:=MA(CLOSE,310),LINETHICK1,COLORMAGENTA;
A8:=MA(CLOSE,320),LINETHICK1,COLORBROWN;
A9:=MA(CLOSE,330),LINETHICK1,COLORGRAY;
A10:MA(CLOSE,340),LINETHICK1,COLORGRAY;
A11:=MA(CLOSE,350),LINETHICK1,COLORYELLOW;
A12:MA(CLOSE,360),LINETHICK1,COLORRED;
A13:MA(CLOSE,370),LINETHICK1,COLORGREEN;
牛熊线:EMA(C,250),CIRCLEDOT,COLOR00FFFF;
{obv}
{OBV新高}
VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
OBV:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);
OBV最高:=HHV(OBV,200);
OBV创新高:=OBV>REF(OBV最高,1);
DRAWICON(OBV创新高>0,l,4);
941177533.jpg
|