VAR0 :=1;
红 : EMA(C,8 * VAR0),COLORRED,LINETHICK3;
绿 : EMA(C,21 * VAR0),COLORGREEN,LINETHICK2;
上内轨 : (MA(C,60 * VAR0)) + (2 * (STD(C,60 * VAR0))),COLORCYAN;
下内轨 : (MA(C,60 * VAR0)) - (2 * (STD(C,60 * VAR0))),COLORCYAN;
牛熊分界线 : EMA(C,144 * VAR0),COLORBLUE;
C3:=REF(C,1); {指标公式网}
涨停:=IF((C-C3)*100/C3>=(10-0.01*100/C3),1,0);
STICKLINE(涨停,OPEN,CLOSE,2,0),COLORYELLOW;
跌停:=IF((C3-C)*100/C3>=(10-0.01*100/C3),1,0);
STICKLINE(跌停,OPEN,CLOSE,2,0),COLOR00AA00 ;