N:=28;
LOCK:=IF(CURRENTDATE<1160101,1,0);
VAR1:MD(CLOSE,20);
PARTLINE(VAR1>REF(VAR1,2),VAR1),LINETHICK2,colorFF;
PARTLINE(VAR1=REF(VAR1,2),VAR1),LINETHICK2,colorFF0000;
PARTLINE(VAR1<REF(VAR1,2),VAR1),LINETHICK2,colorFF00;
DRAWTEXT(BARPOS=SYSPARAM(2),SYSPARAM(4),STKNAME+' '+STKLABEL+'\n所属板块:'+BLKNAME),colorFFFFFF;