和气生财主图指标 通达信公式(附图)

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

M1:=4;
M2:=6;
M3:=9;
M4:=13;
M5:=25;
短H1:(EMA(CLOSE,M2)+MA(CLOSE,M2*2)+MA(CLOSE,M2))/3;
短H2:(EMA(CLOSE,M3)+MA(CLOSE,M3*2)+MA(CLOSE,M3*1.5))/3;
长H3:(EMA(CLOSE,M4)+MA(CLOSE,M4*2)+MA(CLOSE,M4*4))/3;
长H4:(EMA(CLOSE,M5)+MA(CLOSE,M5*2)+MA(CLOSE,M5*4))/3;
{STICKLINE(短H1>REF(短H1,1),短H1,短H2,4,1),COLOR0000FF;
STICKLINE(短H1<REF(短H1,1),短H1,短H2,4,1),COLORBLUE;
STICKLINE(长H3>REF(长H3,2),长H3,长H4,8,1),COLORMAGENTA ;
STICKLINE(长H3<REF(长H3,2),长H3,长H4,8,1),COLORGREEN;}
TDS:MA(H,89);
TDX:MA(L,89);
STICKLINE(TDS>REF(TDS,3),TDS,TDX,2,1),COLOR8000FF;
STICKLINE(TDX<REF(TDX,3),TDS,TDX,2,1),COLORYELLOW;
STICKLINE(长H3>REF(长H3,2),长H3,长H4,10,0),COLORMAGENTA ;
STICKLINE(长H3<REF(长H3,2),长H3,长H4,10,0),COLORGREEN;
STICKLINE(短H1>REF(短H1,1),短H1,短H2,10,0),COLOR0000FF;
STICKLINE(短H1<REF(短H1,1),短H1,短H2,10,0),COLORBLUE;
DRAWKLINE(H,O,L,C);

14T63H3FZ-392F.jpg

14T63H3FZ-392F.jpg

 

回复

使用道具 举报

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

本版积分规则