通达信变异三指金叉指标公式
-
相关简介:AAA:=AMOUNT/VOL/100; RSV:=(AAA-LLV(AAA,9))/(HHV(AAA,9)-LLV(AAA,9))*100; K:=SMA(RSV,3,1); D:=SMA(K,3,1); J:=K*3-D*2; CCI1:=(AAA-MA(AAA,14))/(0.015*AVEDEV(AAA,14)); DIF:=EMA(AAA,12)-EMA(AAA,26); DEA:=EMA(DIF,9); KDJ:IF(JD,50,DRAWNULL),COLORYELLOW,LINET
-
文章来源:股海网作者:股海网发布时间:2019-01-25浏览次数:
AAA:=AMOUNT/VOL/100;
RSV:=(AAA-LLV(AAA,9))/(HHV(AAA,9)-LLV(AAA,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=K*3-D*2;
CCI1:=(AAA-MA(AAA,14))/(0.015*AVEDEV(AAA,14));
DIF:=EMA(AAA,12)-EMA(AAA,26);
DEA:=EMA(DIF,9);
KDJ:IF(J>D,50,DRAWNULL),COLORYELLOW,LINETHICK2;
DRAWICON(J>D,40,1);
CCI:IF(CCI1>0,0,DRAWNULL),COLORLIMAGENTA,LINETHICK2;
DRAWICON(CCI1>0,-10,1);
MACD:IF(DIF>DEA,-50,DRAWNULL),COLORRED,LINETHICK2;
DRAWICON(DIF>DEA,-60,1);
TJ:=KDJ AND CCI AND MACD;
出击:IF(TJ,-80,-70),COLORWHITE;