以下是通达信涨跌停标识(源码主图益盟 贴图)(无源码的请下载附件导入)
涨跌停标识(源码 主图 益盟 贴图)
涨停:=IF(REF(C,1)*1.095-C<0.01 ,1,0);
STICKLINE(涨停,OPEN,CLOSE,4,0),COLORRED;
STICKLINE(涨停,OPEN,CLOSE,3,0),COLORRED;
DRAWTEXT(涨停,L-0.1,'涨停'),COLORRED;
C3:=REF(C,1);
跌停:=IF((C3-C)*100/C3>=(10-0.01*100/C3),1,0);
STICKLINE(跌停,OPEN,CLOSE,4,0),COLOR00FF00;
STICKLINE(跌停,OPEN,CLOSE,3,0),COLOR00FF00;
DRAWTEXT(跌停,H+0.3,'跌停'),COLOR00FF00;
655444315.jpg
655588483.jpg
|