A:=MAX(MA(C,5),MA(C,10)); B:=MIN(MA(C,5),MA(C,10));
绿:=C>A,colorligreen;
红:=C<B,colorred;
黄:=C>=B AND C<=A,colorbrown;
F30A:=MAX(MA(C,10),MA(C,20));
F30B:=MIN(MA(C,10),MA(C,20));
绿灯F30:=C>F30A,colorligreen;
红灯F30:=C<F30B,colorred;
黄灯F30:=C>=F30B AND C<=F30A,colorbrown;
STICKLINE(C>A,2.2,3.1,8,0),colorgreen,LINETHICK2;
STICKLINE(C<B,2.2,3.1,8,0),colorred,LINETHICK2;
STICKLINE(C>=B AND C<=A,2.2,3.1,8,0),coloryellow,LINETHICK2;
F60A:=MAX(MA(C,20),MA(C,60));//www.fxjgsw.com
F60B:=MIN(MA(C,20),MA(C,60));
绿灯行F60:=C>F60A,colorligreen;
红灯停F60:=C<F60B,colorred;
黄灯观望F60:=C>=F60B AND C<=F60A,colorbrown;
STICKLINE(C>F30A,1.2,2.1,8,0),colorgreen,LINETHICK2;
STICKLINE(C<F30B,1.2,2.1,8,0),colorred,LINETHICK2;
STICKLINE(C>=F30B AND C<=F30A,1.2,2.1,8,0),coloryellow,LINETHICK2;
FRA:=MAX(MA(C,60),MA(C,120));
FRB:=MIN(MA(C,60),MA(C,120));
绿灯行FR:=C>FRA,colorligreen; |
