通达信黑马红柱指标公式

通达信潜龙抄底选股指标公式

通达信黑马红柱指标公式:

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

通达信提前知道顶和底指标公式