A30:MA(C,30),COLOR00FF00;
M20:=ATAN((A20/REF(A20,1)-1)*100)*180/3.14159;
QSXS:=M30>0;
A51:=IF(BETWEEN(M5,0,45),25,A50);
MA5:=IF(M5>75,75,A52)*QSXS;
A201:=IF(BETWEEN(M20,0,45),25,A200);
MA20:=IF(M20>75,75,A202)*QSXS;
A301:=IF(BETWEEN(M30,0,45),25,A300);
MA30:=IF(M30>75,75,A302)*QSXS;
XGSJ:=BARSLAST(CROSS(REF(MA5-1,1),MA5));
启动:=IF(CROSS(列车,45),50,25);
买票:=IF(站台=-25 AND COUNT(站台=-25,3)>=2 AND C>=REF(C,4),25,-10);
{以下设置主图显示方式}
STICKLINE(MA30>0,A30,(A20+A30)/2,4,1),COLOR00FF00;
{DRAWTEXT(列车=50,A30-0.20, '列车'),COLOR88FFFF;
STICKLINE(站台=-25,A30,A30*0.98,4,0),COLORFFFF00;
DRAWTEXT(买票=25,A30*0.97, '票'),COLORFF8800;