以下是通达信最好用的背离指标(无源码的请下载附件导入)
HL:=(O+H+L+3*C+REF(C,1))/7;
LC:=REF(HL,1);
RSI1:SMA(MAX(HL-LC,0),9,1)/SMA(ABS(HL-LC),9,1)*100,COLOR00FFFF;
MARSI1:=SMA(RSI1,3,1);
RSI2:SMA(MAX(HL-LC,0),12,1)/SMA(ABS(HL-LC),12,1)*100,COLOR007700;
RSI3:SMA(MAX(HL-LC,0),24,1)/SMA(ABS(HL-LC),24,1)*100,COLORCC7676;
A:20,POINTDOT,COLORRED,LINETHICK3;
D:80,POINTDOT,COLORGREEN,LINETHICK4;
641488915.jpg
|