【通达信源码分享】通道指标能通吃震荡和趋势,看你怎么利用了
2022-09-07未知 编 辑:掌上指标
公式源码:
LC:= REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),13,1)/SMA(ABS(CLOSE-LC),13,1)*100;
MA1:=MA(RSI,34);
UP:MA1+1.6185*STD(RSI,34),COLORMAGENTA;
DN:MA1-1.6185*STD(RSI,34),COLORMAGENTA;
MI:(UP+DN)/2,COLORYELLOW;
MR:SUM(RSI,2)/2,COLORGREEN,LINETHICK2;
MS:SUM(RSI,7)/7,COLORRED,LINETHICK2;
K1:50,COLORWHITE;
K2:68,COLORWHITE;
K3:32,COLORWHITE;