「翔博精选指标」变异三指金叉指标
2021-12-17原创 编 辑:翔博软件
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;
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;