C30:=C;
A30:=MAX(MA(C30,8),MA(C30,15));
B30:=MIN(MA(C30,8),MA(C30,15));
绿灯行30:C30>A30,COLORGREEN;
红灯停30:C30
STICKLINE(C30>A30,12,15,8,0),COLORGREEN,LINETHICK2;
STICKLINE(C30
DRAWTEXT(C=C AND CURRBARSCOUNT=100,14,'【30日短线】'),COLORBLUE;
C60:=C;
A60:=MAX(MA(C60,15),MA(C60,30));
B60:=MIN(MA(C60,15),MA(C60,30));
绿灯行60:C60>A60,COLORGREEN;
红灯停60:C60
STICKLINE(C60>A60,7,10,8,0),COLORGREEN,LINETHICK2;
STICKLINE(C60
DRAWTEXT(C=C AND CURRBARSCOUNT=100,9,'【60日看中线】'),COLORBLUE;