虚拟涨停K线主图(含创业板、科创板)
在最新的K线上,虚拟画出涨停K线。
{虚拟涨停K线}BK0:=IF(INBLOCK('创业板'),1.2,IF(INBLOCK('科创板'),1.2,IF(INBLOCK('ST板块'),1.05,1.1)));XA0:=IF(DATE<=1200823,1,0);ZTKX:=IF(CURRBARSCOUNT=1,REF(CLOSE,1)*BK0,DRAWNULL),NODRAW;STICKLINE(CURRBARSCOUNT=1 AND XA0=1,REF(CLOSE,1)*1.1,MAX(OPEN,CLOSE),-1,-1),COLORYELLOW;STICKLINE(CURRBARSCOUNT=1,ZTKX,MAX(OPEN,CLOSE),-1,-1),COLORYELLOW;
|