释放双眼,带上耳机,听听看~!
益盟操盘手:主图K线涨停、跌停标记公式代码
直接添加到MA 里面使用,注意备份,最好自己建1个MA的指标,这样修改后就会自动保存了
涨停:=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,9,0),COLORwhite;
STICKLINE(跌停,OPEN,CLOSE,1,0),COLORwhite;
DRAWTEXT(跌停,H+0.3,’跌’),COLORwhite;