通达信精准买卖副图指标源码

[复制链接]
查看203 | 回复0 | 2021-8-20 19:25:27 | 显示全部楼层 |阅读模式

以下是通达信精准买卖副图指标源码(无源码的请下载附件导入)

VAR1:=(CLOSE-MA(CLOSE,SHORT))/MA(CLOSE,SHORT)*100;
 VAR2:=(CLOSE-LLV(LOW,LONG))/(HHV(HIGH,LONG)-LLV(LOW,LONG))*100;
 VAR3:=SMA(VAR2,2,1);
顶:100+(-ABS(VAR1)),COLORRED;
股价:SMA(VAR3,2,1);
底:ABS(VAR1),COLORGREEN;
生死线:50,COLORFFAA00,LINETHICK3;
 A:80;
 B:20;
买:STICKLINE(CROSS(股价,底),3,20,2,0),COLORRED,LINETHICK1;
 STICKLINE(CROSS(股价,底),20,25,2,0),COLORFF9900,LINETHICK1;
 DRAWTEXT(CROSS(股价,底),30,' 买'),COLORFFFFCC;
卖:STICKLINE(CROSS(股价,顶),70,90,2,0),COLORRED,LINETHICK1;
 STICKLINE(CROSS(股价,顶),90,99,2,0),COLORFF9900,LINETHICK1;
 DRAWTEXT(CROSS(股价,顶),70,' 卖'),COLORFFFFCC;

631344991.jpg

631344991.jpg

回复

使用道具 举报

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

本版积分规则