逃跌KD--优化了,很好用

[复制链接]
查看41 | 回复0 | 2022-7-24 07:34:16 | 显示全部楼层 |阅读模式

VN1:=7;N2:=27;
RSV:=(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100;
短K:SMA(RSV,3,1),COLOR8060FF,LINETHICK0;
短D:SMA(短K,3,1),COLORCCDD33,LINETHICK0;
RSV1:=(CLOSE-LLV(LOW,N2))/(HHV(HIGH,N2)-LLV(LOW,N2))*100;
中K:=SMA(RSV1,5,1),COLOR0000EF,LINETHICK0;
中D:=SMA(中K,10,1),COLOR008000,LINETHICK0;

STICKLINE(中K>中D,中K,中D,2,0),COLOR0000EF;
STICKLINE(中K<=中D,中K,中D,2,0),COLOR00FF00;
STICKLINE((中K>中D AND (中K<=REF(中K,1))),中K,中D,1.5,0),COLORFF3000;
STICKLINE((中K<=中D AND (中K>=REF(中K,1))),中K,中D,1.5,0),COLOR00FFFF;
STICKLINE(短K>短D,短K,短D,3.5,1),COLOR8080FF;
STICKLINE(短K<=短D,短K,短D,3.5,1),COLORCCDD33;
STICKLINE((短K<=短D AND (短K>=REF(短K,1))),短K,短D,2.1,0),COLORFFFFFF;
STICKLINE((短K>短D AND (短K<=REF(短K,1))),短K,短D,2,0),COLORFFA2AF;
{五指山万泉河}
M1:= (7*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1)-3*
     SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1)-
    SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1),
    2,1)),COLORWHITE;
山:EMA((CLOSE-LLV(CLOSE,55))/(HHV(CLOSE,55)-LLV(LOW,55))*100,5),
      COLORFF00FF,LINETHICK3;{五指山}
山1:IF(山>REF(山,1),山,DRAWNULL),COLORFFFFFF,LINETHICK3;
河: EMA(MA(M1,5),3),LINETHICK3,COLOR00BFFF;{万泉河}
河1:IF(河>REF(河,1),河,DRAWNULL),COLORFFFF00,LINETHICK3;
{逃过最近史上三次大跌的指标};
清仓:95,COLORGREEN;
减仓:90,COLORCYAN;
警觉:80,COLORFF90FF;
EE:10,COLORRED;
DRAWTEXT(ISLASTBAR,清仓-2,'清仓   .');
DRAWTEXT(ISLASTBAR,减仓-2,'减仓   .');
DRAWTEXT(ISLASTBAR,警觉-2,'警觉   .');
RFF4060;

217144401.JPG

217144401.JPG

 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则