百变主图指标 通达信公式(附图)

[复制链接]
查看45 | 回复0 | 2021-8-20 16:38:48 | 显示全部楼层 |阅读模式

 

MA07:MA(C,7),LINETHICK1;

MA13:MA(C,13),LINETHICK2;

MA21:MA(C,21),LINETHICK1;

MA55:MA(C,55),LINETHICK1;

MA233:MA(C,233),LINETHICK1;

买线:=ZIG(3,10);

卖线:=MA(买线,3);

BU:=CROSS(买线,卖线);

SEL:=CROSS(卖线,买线);               

DRAWTEXT(BU,L*0.99,'买'),LINETHICK1,COLOR00AAFF;

DRAWTEXT(SEL,H*1.01,'卖'),LINETHICK1,COLOR00FF00;

AAA1:=STRCAT('沪深总上涨家数:',CON2STR(DYNAINFO(60),0));

AAA2:=STRCAT('沪深总下跌家数:',CON2STR(DYNAINFO(61),0));

DRAWTEXT_FIX(ISLASTBAR,0,0,0,AAA1),COLORRED;

DRAWTEXT_FIX(ISLASTBAR,0,0.06,0,AAA2),COLORGREEN;


14Q25093L0-21515.jpg

14Q25093L0-21515.jpg
回复

使用道具 举报

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

本版积分规则