造福通达信的指标源码------涨跌停K
涨停实心红,跌停实心兰。股性是否活跃一目了然!!!!!!
EMA5:EMA(C,5);
EMA10:EMA(C,10);
EMA30:EMA(C,30);
EMA60:EMA(C,60);
EMA120:EMA(C,120);
C3:=REF(C,1);
涨停:=IF((C-C3)*100/C3>=(10-0.01*100/C3),1,0);
STICKLINE(涨停,OPEN,CLOSE,2,0),COLORRED;
跌停:=IF((C3-C)*100/C3>=(10-0.01*100/C3),1,0);
STICKLINE(跌停,OPEN,CLOSE,2,0),COLORGREEN;