C15:=C;
A15:=MAX(MA(C15,4),MA(C15,8));
B15:=MIN(MA(C15,4),MA(C15,8));
绿灯行15:C15>A15,colorgreen;
红灯停15:C15
STICKLINE(C15>A15,17,20,8,0),colorgreen,LINETHICK2;
STICKLINE(C15
DRAWTEXT(C=C AND CURRBARSCOUNT=100,19,'【15日线】'),colorblue;
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;
CC:=C;
A:=MAX(MA(CC,60),MA(CC,120));
B:=MIN(MA(CC,60),MA(CC,120));
绿灯行:C>A,colorgreen;
绿灯停:C
黄灯观望:A>=C AND C>=B,coloryellow ;
STICKLINE(C>A,2,5,8,0),colorgreen,LINETHICK2;
STICKLINE(C
STICKLINE(A>=C AND C>=B,2,5,8,0),coloryellow,LINETHICK2;
DRAWTEXT(C=C AND CURRBARSCOUNT=100,4,'【120日线】'),colorblue;