通达信到底抓牛副图指标公式源码
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;
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;