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;
|