通达信变色幅图指标源码
(通达信):
LC:=REF(CLOSE,1);
RSI6:SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100,LINETHICK2;
MA6 :MA(RSI6,6),COLORGREEN;
IF(MA6>REF(MA6,1) OR RSI6>MA6,MA6,DRAWNULL),COLORRED,LINETHICK2;
(同花顺)
LC:=REF(CLOSE,1);
RSI6:SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100,color00ffff,LINETHICK2;
MA6 :MA(RSI6,6),color009fff;//
PARTLINE(MA6,MA6>REF(MA6,1) OR RSI6>MA6,RGB(255,0,0),MA6<=REF(MA6,1) OR RSI6<=MA6,RGB(0,255,0)),LINETHICK2;