昨收:=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;