通达信主力预警副图指标源码贴图

[复制链接]
查看225 | 回复0 | 2021-8-28 02:28:19 | 显示全部楼层 |阅读模式

以下是通达信主力预警副图指标源码贴图(无源码的请下载附件导入)

红线自下而上上穿蓝线时,适当关注,主力数字增加时可持股,相反就减仓。

LC:=REF(CLOSE,1);
 RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
 AR:=SUM(HIGH-OPEN,26)/SUM(OPEN-LOW,26)*100;
卖点警报:=CROSS(85,RSI1)*30,COLOR00FF00,LINETHICK2;
 DRAWTEXT(CROSS(90,RSI1),20,'顶'),COLOR00FF00;
 STICKLINE(卖点警报,0,20,3,0),COLOR00FF00;
 VARB:=SMA(MAX(CLOSE-LC,0),7,1)/SMA(ABS(CLOSE-LC),7,1)*100;
 VARC:=SMA(MAX(CLOSE-LC,0),13,1)/SMA(ABS(CLOSE-LC),13,1)*100;
 VARD:=BARSCOUNT(CLOSE);
买点警报:(VARB< 20 AND VARC< 25 AND VARD> 50 AND AR<70)*30,LINETHICK2,COLOR0078FF;
 BT1:=CROSS(RSI1,25);
 DRAWTEXT(BT1,-100,'底'),COLOR0000FF;
 STICKLINE(BT1,-100,-70,3,0),COLOR0000FF;
主力:EMA( (CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*480,2)*5,LINETHICK1,COLOR0000FF;
散户:EMA( (CLOSE-MA(CLOSE,11))/MA(CLOSE,11)*480,7)*5,LINETHICK2,COLORC87800;
 BT2:=CROSS(主力,散户) AND 主力<-10;
 DRAWICON(CROSS(RSI1,25),主力,26);
 DRAWICON(CROSS(主力,散户) AND 主力<-10,主力,23);
 BT:=FILTER(COUNT(BT1 OR BT2,3)>=2,3);
 STICKLINE(BT,0,50,4,1),COLOR0000FF;
 DRAWTEXT(BT,50,'是底'),COLOR0000FF;
 STICKLINE(BT2,0,20,3,0),COLORFF00FF;
 DRAWTEXT(BT2,20,'启动'),COLORFF00FF;


222277137.jpg

222277137.jpg

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则