通达信大私募主图指标源码

[复制链接]
查看33 | 回复0 | 2022-7-24 06:49:40 | 显示全部楼层 |阅读模式

通达信大私募主图指标源码

MA10:MA(CLOSE,10),LINETHICK1,COLORYELLOW;

MA20:MA(CLOSE,20),LINETHICK1,COLORMAGENTA;

MA60:MA(CLOSE,60),LINETHICK1,COLORGREEN;

MA120:MA(CLOSE,120),LINETHICK1,COLORGRAY;

MA250:MA(CLOSE,250),LINETHICK1,COLORBLUE;

买线:=EMA(C,4);

卖线:=EMA(SLOPE(C,20)*10+C,35);

DRAWTEXT(CROSS(买线,卖线),LOW*0.98,'买'),COLORRED,LINETHICK2;

DRAWTEXT(CROSS(卖线,买线),HIGH*1.02,'卖'),COLORGREEN;

STICKLINE(买线>=卖线,LOW,HIGH,0,0),COLORLIRED;

STICKLINE(买线>=卖线,CLOSE,OPEN,3,2),COLORLIRED;

STICKLINE(买线<卖线,LOW,HIGH,0,0),COLORCYAN;

STICKLINE(买线<卖线,CLOSE,OPEN,3,2),COLORCYAN;

STICKLINE(OPEN>CLOSE,CLOSE,OPEN,2.5,0),COLORCYAN;

622566319.jpg

622566319.jpg

回复

使用道具 举报

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

本版积分规则