前5天:=BARSCOUNT(C)>5;
ZUC:=REF(C,1);
ZAFU:=(H-ZUC+0.01)/ZUC*100;
FAZF:=(ZUC-L+0.01)/ZUC*100;
涨5:=ZAFU>=5 AND 前5天;
跌5:=FAZF>=5 AND 前5天;
涨10:=ZAFU>=10 AND 前5天;
跌10:=FAZF>=10 AND 前5天;
涨20:=ZAFU>=20 AND 前5天;
跌20:=FAZF>=20 AND 前5天;
板:=IF(INBLOCK('科创板'),涨20,IF(INBLOCK('创业板') AND DATE>1200823,涨20,IF(INBLOCK('ST板块'),涨5,涨10)));
板跌:=IF(INBLOCK('科创板'),跌20,IF(INBLOCK('创业板') AND DATE>1200823,跌20,IF(INBLOCK('ST板块'),跌5,跌10)));
{股票指标网 }
CC11:=(C+O)/2;
STICKLINE(板,O,CC11,0.01,0),COLOR00FFFF;
STICKLINE(板,C,CC11,0,0),COLOR00FFFF;
STICKLINE(板跌,O,C,1,0),COLORFF0000;