程序化指标公式
问答中心

通达信多头趋势副图指标公式

通达信指标 2021-01-09阅读量:3022

安装后如下图,友情提示(指标只是辅助,不作建议) 所有程序均为免费分享。

不会安装点击 安装指南 步骤操作。

CXH:=(EMA(C,3)-EMA(L,30))/EMA(L,30)*600;
ZB:=EMA(CXH,7);
DQS:=3*CXH-2*ZB;
FG:=(CXH-ZB)/6;
PH1:=EMA(ZB,1);
PH2:=PH1-FG*1;
PH3:=PH1-FG*2;
PH4:=PH1-FG*3;
PH5:=PH1-FG*4;
PH6:=PH1-FG*5;
PH7:=EMA(ZB,7);
PH8:=IF(PH1<REF(PH1,1) AND PH1<PH7,PH1,DRAWNULL);
PH9:=IF(PH2<REF(PH2,1) AND PH2<PH7,PH2,DRAWNULL);
PH10:=IF(PH3<REF(PH3,1) AND PH3<PH7,PH3,DRAWNULL);
PH11:=IF(PH4<REF(PH4,1) AND PH4<PH7,PH4,DRAWNULL);
PH12:=IF(PH5<REF(PH5,1) AND PH5<PH7,PH5,DRAWNULL);
PH13:=IF(PH6<REF(PH6,1) AND PH6<PH7,PH6,DRAWNULL);
PH14:=IF(PH7<REF(PH7,1),PH7,DRAWNULL);
PH15:=IF(PH1>REF(PH1,1) AND PH1>PH7,PH1,DRAWNULL);
PH16:=IF(PH2>REF(PH2,1) AND PH2>PH7,PH2,DRAWNULL);
PH17:=IF(PH3>REF(PH3,1) AND PH3>PH7,PH3,DRAWNULL);
PH18:=IF(PH4>REF(PH4,1) AND PH4>PH7,PH4,DRAWNULL);
PH19:=IF(PH5>REF(PH5,1) AND PH5>PH7,PH5,DRAWNULL);
PH20:=IF(PH6>REF(PH6,1) AND PH6>PH7,PH6,DRAWNULL);
PH21:=IF(PH7>REF(PH7,1),PH7,DRAWNULL);
DRAWTEXT_FIX(1,0.02,0,0,'☆微信公众号:(程序化指标) ☆'),COLORRED;
DRAWBAND(PH1,RGB(250,250,0),PH1,RGB(250,250,0));
DRAWBAND(PH2,RGB(250,250,0),PH2,RGB(250,250,0));
DRAWBAND(PH3,RGB(250,250,0),PH3,RGB(250,250,0));
DRAWBAND(PH4,RGB(250,250,0),PH4,RGB(250,250,0));
DRAWBAND(PH5,RGB(250,250,0),PH5,RGB(250,250,0));
DRAWBAND(PH6,RGB(250,250,0),PH6,RGB(250,250,0));
DRAWBAND(PH7,RGB(250,250,0),PH7,RGB(250,250,0));
DRAWBAND(PH8,RGB(0,250,0),PH8,RGB(0,250,0));
DRAWBAND(PH9,RGB(0,250,0),PH9,RGB(0,250,0));
DRAWBAND(PH10,RGB(0,250,0),PH10,RGB(0,250,0));
DRAWBAND(PH11,RGB(0,250,0),PH11,RGB(0,250,0));
DRAWBAND(PH12,RGB(0,250,0),PH12,RGB(0,250,0));
DRAWBAND(PH13,RGB(0,250,0),PH13,RGB(0,250,0));
DRAWBAND(PH14,RGB(0,250,0),PH14,RGB(0,250,0));
DRAWBAND(PH15,RGB(250,0,250),PH15,RGB(250,0,250));
DRAWBAND(PH16,RGB(250,0,250),PH16,RGB(250,0,250));
DRAWBAND(PH17,RGB(250,0,250),PH17,RGB(250,0,250));
DRAWBAND(PH18,RGB(250,0,250),PH18,RGB(250,0,250));
DRAWBAND(PH19,RGB(250,0,250),PH19,RGB(250,0,250));
DRAWBAND(PH20,RGB(250,0,250),PH20,RGB(250,0,250));
DRAWBAND(PH21,RGB(250,0,250),PH21,RGB(250,0,250));
DRAWICON(CROSS(CXH,ZB),CXH,42);
DRAWICON(CROSS(ZB,CXH),CXH,43);



版权声明

所有指标均为免费分享。

文章内容来自互联网,本网站无任何收费项目也不推荐股票
广告投放请自行识别风险。

分享:

扫一扫在手机阅读、分享本文

程序化指标公众号

左边广告一

关闭

右边广告二

关闭