以下是通达信堪称一绝指标公式源码和截图
通达信堪称一绝指标公式源码:
Q_1:=C-REF(C,1);
Q_2:=100*EMA(EMA(Q_1,6),6)/EMA(EMA(ABS(Q_1),6),6);
Q_3:=CROSS(EMA(C,19),EMA(C,7));
Q_4:=CROSS(EMA(C,7),EMA(C,19));
Z1:=L=LLV(L,BARSLAST(Q_3)+1);
Z2:=LLV(L,BARSLAST(Q_3)+1);
Z3:=H=HHV(H,BARSLAST(Q_4)+1);
Z4:=HHV(H,BARSLAST(Q_4)+1);
Q_A:=DRAWLINE(Z1,Z2,Z3,Z4,0);
Y1:=H=HHV(H,BARSLAST(Q_4)+1);
Y2:=HHV(H,BARSLAST(Q_4)+1);
Y3:=L=LLV(L,BARSLAST(Q_3)+1);
Y4:=LLV(L,BARSLAST(Q_3)+1);
Q_B:=DRAWLINE(Y1,Y2,Y3,Y4,0);
X1:=LLV(Q_2,2)=LLV(Q_2,7);
X2:=COUNT(Q_2 0,2);
X3:=CROSS(Q_2,MA(Q_2,2));
X4:=REF(Q_B,1) REF(Q_B,2);
X5:=Q_A REF(Q_B,1);
买进:=(X1ANDX2ANDX3)ANDX4ANDX5;
TJ:=IF(Q_B REF(Q_B,1)ANDQ_B=Q_A,1,0);
持股:IF(REF(TJ,1)=0ANDTJ =1,80,20),STICK,COLORRED;
持币:IF(Q_B REF(Q_B,1)ANDQ_B=Q_A,0,20),STICK,COLORGRAY;
地狱线:0,COLORGRAY;
地平线:20,COLORGRAY;
天际线:80,COLORGRAY;
RSV:=(((CLOSE-LLV(LOW,33))/(HHV(HIGH,33)-LLV(LOW,33)))*100);
:SMA(RSV,7,1),COLORWHITE;
:SMA(SMA(RSV,7,1),3,1),COLORYELLOW;
:SMA(SMA(SMA(RSV,6,1),5,1),3,1),COLORMAGENTA;
财神到:CROSS(短线,20),NODRAW;
DRAWICON((CROSS(短线,20)),10,1);
地狱:(CLOSE/COST(13)) =0.8,NODRAW;
STICKLINE(地狱,-1,0,2,0),COLORGREEN;
地狱重生:地狱!=1ANDREF(地狱=1,1),NODRAW;
DRAWICON(地狱重生,20,23);
F:=Ema(CLOSE,10)-EMA(CLOSE,21);
A:=EMA(F,8);
MD:=(F-A)*2;
ZQ:=BArslAst(crOSS(F,A)ANDA =0.05)+1;
LZ:=BARSLASTCOUNT(MD REF(MD,1))
HZ:=BARSLASTCOUNT(MD REF(MD,1))
LZQ:=BARSLASTCOUNT(LZ);
HZQ:=BARSLASTCOUNT(HZ);
LZQTJ:=COUNT(LZQ,ZQ);
HZQTJ:=COUNT(HZQ,ZQ);
NQR:=REF(CLOSE,4);
SRZF:=((CLOSE-NQR)/NQR)*100,NODRAW;
绝杀一号:REF(LZQTJ,1) =2ANDREF(HZQTJ,1) =3ANDHZQTJ=0ANDLZQTJ=0ANDSRZF 2,LINETHICK2;
F:=EMA(CLOSE,10)-EMA(CLOSE,21);
A:=EMA(F,8);
MD:=(F-A)*2;
ZQ:=BARSLAST(CROSS(F,A)ANDA =0.05)+1;
LZ:=BARSLASTCOUNT(MD REF(MD,1))
HZ:=BARSLASTCOUNT(MD REF(MD,1))
LZQ:=BARSLASTCOUNT(LZ);
HZQ:=BARSLASTCOUNT(HZ);
LZQTJ:=COUNT(LZQ,ZQ);
HZQTJ:=COUNT(HZQ,ZQ);
NQR:=REF(CLOSE,4);
SRZF:=((CLOSE-NQR)/NQR)*100,NODRAW;
绝杀一号:REF(LZQTJ,1) =2ANDREF(HZQTJ,1) =3ANDHZQTJ=0ANDLZQTJ=0ANDSRZF 2,LINETHICK2;
通达信堪称一绝指标公式截图