使用说明:
稳赚不赔是副图指标,趋势线在下线以下出现‘底部’时股价一般已经过一段下跌,这时注意‘黑马’红柱的信号出现,如果前期出现了‘底部’信号之后又出现了‘黑马’红柱信号就是技术上的买入点。
趋势线在上线之上出现了‘顶部’就要注意短线的调整风险了,一般出现了‘顶部’就要注意获利了结减仓操作了。
本指标是源码,有通达信和大智慧两个版本,还有选股预警公式,没有未来函数。仅供大家学习参考!
参考 稳赚不赔:http://.cn/html/tongdaxingongshi/gs238741.html
{通达信版源码} 昨收:=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;
{通达信版选股}
昨收:=REF(CLOSE,1);
趋势:=SMA(MAX(CLOSE-昨收,0),8,1)/SMA(ABS(CLOSE-昨收),8,1)*100;
选股:CROSS(趋势,15);
{黑马红柱大智慧版源码}
昨收:=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;
{黑马红柱大智慧版预警}
昨收:=REF(CLOSE,1);
趋势:=SMA(MAX(CLOSE-昨收,0),8,1)/SMA(ABS(CLOSE-昨收),8,1)*100;
预警:CROSS(趋势,15);