【源码分享】黑马红柱副图指标公式(通达信电脑手机版)
电脑版效果展示:
手机版效果展示:
公式源码:
昨收:=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;
赞 (0)