MA(CLOSE,20) MA(CLOSE,30) AND MA(CLOSE,30) MA(CLOSE,60) AND MA(CLOSE,60) MA(CLOSE,120) AND CLOSE MA(CLOSE,120) AND MA(CLOSE,100) MA(CLOSE,400) AND MA(CLOSE,100) MA(CLOSE,200);
X_1:=REF(CLOSE,1);
趋势线:SMA(MAX(CLOSE-X_1,0),8,1)/SMA(ABS(CLOSE-X_1),8,1)*100,COLOR0080FF,LINETHICK2;
上位线:80,COLORCYAN;
中位线:50,COLORMAGENTA;
下位线:20,COLORYELLOW;{www.9m8.cn 九毛八公式指标网}
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;