代码1:='000001';
代码2:='000002';
代码3:='000003';
代码4:='000004';
代码5:='000005';
代码6:='000006';
代码7:='000007';
代码8:='000008';
{=====以上代码置前便于更改代码===}
{====这里可以放你自己的公式代码====}
{====以下代码放最后====}
N2:=IF(CURRBARSCOUNT<165,932,0);
M2:=IF(CURRBARSCOUNT<165,937,5);
N3:=IF(CURRBARSCOUNT<165,1000,70);
M3:=IF(CURRBARSCOUNT<165,995,65);
DRAWRECTREL(N2,0,N3,1000,RGB(0,80,0));
DRAWRECTREL(M2,20,M3,980,RGB(0,80,0));
M8:=IF(CURRBARSCOUNT<165,0.94,0.01);
DRAWTEXT_FIX(C>0,M8,0.07,0,'持股代码'),COLORYELLOW;
NM:=IF(CURRBARSCOUNT<165,0.943,0.014);
DRAWTEXT_FIX(C>0,NM,0.19,0,代码1),COLORWHITE;
DRAWTEXT_FIX(C>0,NM,0.29,0,代码2),COLORWHITE;
DRAWTEXT_FIX(C>0,NM,0.39,0,代码3),COLORWHITE;
DRAWTEXT_FIX(C>0,NM,0.49,0,代码4),COLORWHITE;
DRAWTEXT_FIX(C>0,NM,0.59,0,代码5),COLORWHITE;
DRAWTEXT_FIX(C>0,NM,0.69,0,代码6),COLORWHITE;
DRAWTEXT_FIX(C>0,NM,0.79,0,代码7),COLORWHITE;
DRAWTEXT_FIX(C>0,NM,0.89,0,代码8),COLORWHITE;