DPA:=MAX(MA(INDEXC,60),MA(INDEXC,120));
DPB:=MIN(MA(INDEXC,60),MA(INDEXC,120));
绿灯行DP:INDEXC>DPA,colorgreen;
红灯停DP:INDEXC<DPB,colorred;
黄灯观望DP:INDEXC>=DPB AND INDEXC<=DPA,coloryellow;
STICKLINE(INDEXC>DPA,4.3,5,8,0),colorgreen,LINETHICK2;
STICKLINE(INDEXC<DPB,4.3,5,8,0),colorred,LINETHICK2;
STICKLINE(INDEXC>=DPB AND INDEXC<=DPA,4.3,5,8,0),coloryellow,LINETHICK2;