立体金黄涨停K线, 新规涨跌停K线不扰周月线
{立体金黄涨停K线}{立体金黄涨停K线,完美体现20%10%5%,创业、科创板20200823前10%照样变色}ZTB:=IF(INBLOCK('科创板'),1.2,IF(INBLOCK('创业板') AND DATE>1200823,1.2 ,IF(INBLOCK('ST板块'),1.05,1.1)));DTB:=IF(INBLOCK('科创板'),0.8,IF(INBLOCK('创业板') AND DATE>1200823,0.8 ,IF(INBLOCK('ST板块'),0.95,0.9)));涨:=REF(C,1)*ZTB-C<0.0049 AND PERIOD=5;{涨停板}停:=C-REF(C,1)*DTB<0.0051 AND PERIOD=5;{跌停板};STICKLINE(涨,H,L,0,1),COLORYELLOW;STICKLINE(涨,C,O,3.2,0),COLOR117777;STICKLINE(涨,C,O,2.6,0),COLOR119999;STICKLINE(涨,C,O,1.9,0),COLOR11BBBB;STICKLINE(涨,C,O,1.1,0),COLOR11DDDD;STICKLINE(涨,C,O,0.3,0),COLOR44FFFF;STICKLINE(停,H,L,0,1), COLORGREEN;STICKLINE(停,H,L,0,0),COLOR00FF00;STICKLINE(停,C,O,3,0),COLOR009900;STICKLINE(停,C,O,2,0),COLOR00BB00;STICKLINE(停,C,O,1,0),COLOR00DD00;
STICKLINE(停,C,O,0.3,0),COLOR00FF00;