顶底探针指标 通达信公式(附图)

[复制链接]
查看128 | 回复0 | 2021-8-20 19:58:53 | 显示全部楼层 |阅读模式

RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*10;
K:SMA(RSV,3,1),COLORWHITE;
D:SMA(K,3,1),COLORYELLOW;
J:3*K-2*D,COLORYELLOW;
IF(K<REF(K,1),K,DRAWNULL),COLORGREEN,LINETHICK1;
IF(D<REF(D,1),D,DRAWNULL),COLORGREEN,LINETHICK1;
IF(J<REF(J,1),J,DRAWNULL),COLORFFFF00,LINETHICK1;
IF(K>REF(K,1),K,DRAWNULL),COLORRED,LINETHICK1;
IF(D>REF(D,1),D,DRAWNULL),COLORRED,LINETHICK1;
IF(J>REF(J,1),J,DRAWNULL),COLORFF00FF,LINETHICK1;
探针1:=0.01*MA(AMOUNT,13)/MA(VOL,13);
探针2CLOSE-探针1)/探针1*100,COLORRED,LINETHICK1;
DRAWTEXT("ZXNH.ZXNH"=1 AND 探针2<=-2,探针2,'买'),COLORMAGENTA;
DRAWTEXT("ZXNH.ZXNH"=1 AND 探针2>2,探针2,'卖'),COLORGREEN;
 

 

回复

使用道具 举报

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

本版积分规则