昨收:=REF(CLOSE,1);
趋势:SMA(MAX(CLOSE-昨收,0),8,1)/SMA(ABS(CLOSE-昨收),8,1)*100,COLOR0080FF,LINETHICK2;
下:20;
上:80;
中:50; DRAWTEXT(CROSS(80,趋势),80,'顶部'),COLORGREEN;
DRAWTEXT(CROSS(趋势,19),18,'底部'),COLORRED;
STICKLINE((CROSS(趋势,15)),50,20,8,0),COLORRED;
DRAWTEXT((CROSS(趋势,15)),45,'黑'),COLORYELLOW;
DRAWTEXT((CROSS(趋势,15)),35,'马'),COLORYELLOW;