【股票投资】【通达信】RSI趋势指标公式
N:=5;N2:=26; LC:=REF(CLOSE,1); RSI0:=SMA(MAX(CLOSE-LC,0),N,1)/SMA(ABS(CLOSE-LC),N,1)*100-50; R1:MEMA(RSI0,3),COLORWHITE; IF(R1>REF(R1,1)*1.01,R1 ,DRAWNULL),COLORRED; IF(R1R2,R1,R2,0.3,0),COLORLIMAGENTA...
N:=5;N2:=26; LC:=REF(CLOSE,1); RSI0:=SMA(MAX(CLOSE-LC,0),N,1)/SMA(ABS(CLOSE-LC),N,1)*100-50; R1:MEMA(RSI0,3),COLORWHITE; IF(R1>REF(R1,1)*1.01,R1 ,DRAWNULL),COLORRED; IF(R1R2,R1,R2,0.3,0),COLORLIMAGENTA...