通达信大盘预测主图指标
源码
{大盘预测 TDX主图} MA1:MA(CLOSE,5); MA2:MA(CLOSE,9),LINETHICK2; MA3:MA(CLOSE,14),LINETHICK2; MA4:MA(CLOSE,20); MA5:MA(CLOSE,30); MA6:MA(CLOSE,117); 条件:CROSS(MA2,INDEXC) AND MA3 REF(MA3,1) AND MA1 DRAWTEXT(条件,H*1.015,'↙大跌开始'); DRAWTEXT(5,10,'■ 跌破9日均线或14日均线要注意: '),COLOR00FFFF,LINETHICK3,NODRAW; DRAWTEXT(5,8,' 大盘 '),COLOR00A9FF,LINETHICK5,NODRAW; DRAWTEXT(5,30,'■大盘指数跌破9日均线第二第三日5日 '),COLORFFFF00,LINETHICK3,NODRAW; DRAWTEXT(22,50,'均线回升可解除大跌信号 '),COLORFFFF00,LINETHICK3,NODRAW; VAR1:=EMA((CLOSE-LLV(LOW,10))/(HHV(HIGH,25)-LLV(LOW,10))*4,7); 休息: DRAWTEXT(CROSS(3,VAR1),L,'休息了↗'),COLOR00FFFF;