MA(C,20)<MA(C,30) AND MA(C,30)<MA(C,60) AND MA(C,60)<MA(C,120) AND C>MA(C,120) AND
MA(C,100)>MA(C,400) AND MA(C,100)>MA(C,200);
昨收:=REF(CLOSE,1);
趋势:SMA(MAX(CLOSE-昨收,0),8,1)/SMA(Abs(CLOSE-昨收),8,1)*100,COLOR0080FF,LINETHICK2;
下:20,colorcyan;
上:80,colorcyan;
中:50,colormagenta;
DRAWTEXT(crOSS(80,趋势),83,'顶部'),colorgreen;
DRAWTEXT(CROSS(趋势,19),18,'底部'),colorred;
STICKLINE((CROSS(趋势,15)),50,20,8,0),colorred;
DRAWTEXT((CROSS(趋势,15)),45,'黑'),coloryellow;
DRAWTEXT((CROSS(趋势,15)),35,'马'),coloryellow;