A:=MAX(MA(C,60),MA(C,120));B:=MIN(MA(C,60),MA(C,120));绿灯行:C>A,colorgreen;红灯停:C<B,colorred;黄灯观望:A>=C AND C>=B,coloryellow ;STICKLINE(C>A,0,2,8,0),colorgreen,LINETHICK2;STICKLINE(C<B,0,2,8,0),colorred,LINETHICK2;STICKLINE(A>=C AND C>=B,0,2,8,0),coloryellow,LINETHICK2;