以下是通达信分时狙击涨停(源码分时副图贴图)无未来
{分时涨停阻击}
猎手: (EXPMA(CLOSE,500)-REF(EXPMA(CLOSE,500),1))/REF(EXPMA(CLOSE,500),1)*100, COLORSTICK;
主力:EXPMA( (EXPMA(CLOSE,500)-REF(EXPMA(CLOSE,500),1))/REF(EXPMA(CLOSE,500),1)*100,120)-0.0004,LINETHICK5,COLORMAGENTA;
散户:EXPMA( (EXPMA(CLOSE,500)-REF(EXPMA(CLOSE,500),1))/REF(EXPMA(CLOSE,500),1)*100,200),LINETHICK5,COLORGREEN;
DRAWICON(CROSS(EXPMA(猎手,120)-0.0004,EXPMA(猎手,200)),EXPMA(猎手,200)*1,34);
DRAWICON(CROSS(EXPMA(猎手,200),EXPMA(猎手,120)-0.0004),EXPMA(猎手,200)*1,35);
Q:=BETWEEN(C/(SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL*100,BARSCOUNT(C))),1.05,0.95);
Q2:=IF(Q=0,MA(C,BARSCOUNT(C)),(SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL*100,BARSCOUNT(C))));
DRAWICON(CROSS((C/Q2),1.03),0.02,5);
STICKLINE(CROSS((C/Q2),1.03),0.02,0,4,0)COLORYELLOW;