通达信顶底探针副图源码
2016-11-23 18:54:00来源:本站整理浏览:166
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);
探针2:(CLOSE-探针1)/探针1*100,COLORRED,LINETHICK1;
DRAWTEXT('ZXNH.ZXNH'=1 AND 探针2<=-2,探针2,'买'),COLORMAGENTA;
DRAWTEXT('ZXNH.ZXNH'=1 AND 探针2>2,探针2,'卖'),COLORGREEN;
- 上一篇公式:通达信飞龙彩带主图指标源码
- 下一篇公式:通达信VOL主力买卖副图源码