”就 ok 了
代码如下:
{均线代码,5,10,20,60 的}
M5:MA(C,5);
M10:MA(C,10);
M20:MA(C,20);
M60:MA(C,60);
{显示基本信息}
{DRAWTEXT_FIX...HYBLOCK);
所属概念:=STRCAT('概念:',GNBLOCK);
所属风格:=STRCAT('风格:',FGBLOCK);
主营业务:=STRCAT('主营:',EXTERNSTR(0,2));
DRAWTEXT_FIX...(ISLASTBAR,0.01,0.01,0,所属概念),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.01,0.05,0,所属风格),COLORLIGREEN;
DRAWTEXT_FIX...(ISLASTBAR,0.01,0.10,0,所属地域),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.01,0.15,0,所属行业),COLORLIGREEN;
{DRAWTEXT_FIX