通达信大盘预测(源码 副图 风险区 安全区)
2016-04-26 21:24:00来源:本站整理浏览:195
N:=30;
M1:=3;
M2:=3;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV,M1,1);
D:SMA(K,M2,1);
M3:=CONST(20);
风险区:M3,COLOR00DD00;
M5:=CONST(10);
QQ:M5,COLOR00DD00;
M4:=CONST(90);
安全区:M4,COLOR00DD00;
DRAWTEXT(CROSS(D,M4),M4,'风险区'),COLORMAGENTA;
DRAWTEXT(CROSS(D,M5),M5,'安全区'),COLORMAGENTA;