通达信英雄一号主图指标公式
2020/11/17 18:34:52
{蓝}DRAWBAND(MA(C,120),RGB(0,0,255),LLV(C,420),RGB(0,190,255));
K线:DRAWKLINE(H,O,L,C);
A:=(3*C+L+O+H)/6;
HJX21:=(21*A+20*REF(A,1)+19*REF(A,2)+18*REF(A,3)+17*REF(A,4)+16*REF(A,5)+
15*REF(A,6)+14*REF(A,7)+13*REF(A,8)+12*REF(A,9)+11*REF(A,10)+
10*REF(A,11)+9*REF(A,12)+8*REF(A,13)+7*REF(A,14)+6*REF(A,15)+
5*REF(A,16)+4*REF(A,17)+3*REF(A,18)+2*REF(A,19)+
REF(A,21))/231;
HJX3:=(3*A+2*REF(A,1)+REF(A,2))/6;
DC:EMA(HJX3,4),COLORLIMAGENTA;
DC1:EMA(DC,3),COLORRED;
DC2:EMA(DC,5),COLORRED;
AA:=AMOUNT/V/100;
VARA:=EMA((((AA-EMA(AA,13))/EMA(AA,13))*(0-100)),5);
QQ:=EMA(((VARA/10)+EMA(AA,13)),0);
行情线:=MA(AA,1);
重心:=(C+0.618*REF(C,1)+0.382*REF(C,1)+0.236*REF(C,3)+0.146*REF(C,4))/2.382;
【操盘线】:EMA(((SLOPE(C,22)*20)+C),55),COLORYELLOW,LINETHICK4;
【黄金线】:IF(重心>=【操盘线】,【操盘线】,DRAWNULL),COLORRED,LINETHICK2;
【空仓线】:IF(重心<【操盘线】,【操盘线】,DRAWNULL),COLORCYAN,LINETHICK2;
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
DRAWTEXT(CROSS(88,RSI),HIGH * 1.02,'顶'),COLOR00FFFF;
MA18:=MA(CLOSE,18);
MTM:=C-REF(C,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
买:=LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2));
DRAWTEXT(FILTER(买=1,5),LOW,'★买'),COLORRED;
流通市值:(FINANCE(40)/100000000),NODRAW,COLORRED;
投股票 网 www.tou18.c n
股市公式下载推荐