在线检测未来函数

新旧涨跌停幅度标识主图公式

来源:Internet,编辑:股旁网,2020-10-26

涨幅20:=(CODELIKE('688') OR (CODELIKE('300') AND DATE>=1200823));
BARPOS:=BARSCOUNT(CLOSE)+1;
ZT:=IF(NAMELIKE('S') OR NAMELIKE('*'),105,IF(涨幅20,IF(BARPOS>5,120,DRAWNULL),110));
昨收:=REF(C,1);
ZTJ:=昨收*ZT;
涨停:=ROUND(H*100)>=ROUND(ZTJ) AND PERIOD=5;
DT:=IF(NAMELIKE('S') OR NAMELIKE('*'),95,IF(涨幅20,IF(BARPOS>5,80,DRAWNULL),90));
DTJ:=昨收*DT;
跌停:=ROUND(L*100)<=ROUND(DTJ) AND PERIOD=5;
DRAWTEXT(涨停 AND 跌停 AND PERIOD=5,L-0.05,'天地板'),COLORCC00CC;{从跌停到涨停}
STICKLINE(涨停 AND C>=O,O,C,3,0 ),COLORWHITE;
STICKLINE(涨停 AND C>=O,O,L,0,0 ),COLORWHITE;
STICKLINE(涨停 AND C>=O,C,H,0,0 ),COLORWHITE;
STICKLINE(跌停 AND C<O,H,L,0,0 ),COLORGREEN;
STICKLINE(跌停 AND C<O,O,C,3,0 ),COLORGREEN;

新旧涨跌停幅度标识主图公式

相关文章