通道买卖,通道类指标(通达信公式 主图 源码 测试图)

[复制链接]
查看95 | 回复0 | 2022-6-27 14:46:31 | 显示全部楼层 |阅读模式

 通道买卖,通道类指标

 
X00:=(C+H+O+L)/4;
X01:=IFF(CURRBARSCOUNT>1,XMA(X00,5),0.740524*X00+0.35541*REF(X00,3)-0.0316004*REF(X00,4)-0.0374119*REF(X00,3)-0.0218805*REF(X00,4)-0.00386503*REF(X00,5)-0.00102704*REF(X00,6)-0);
X02:=IFF(CURRBARSCOUNT>1,XMA(X01,5),0.740524*X01+0.35541*REF(X01,3)-0.0316004*REF(X01,4)-0.0374119*REF(X01,3)-0.0218805*REF(X01,4)-0.00386503*REF(X01,5)-0.00102704*REF(X01,6)-0);
X03:=IFF(CURRBARSCOUNT>1,XMA(X02,5),0.740524*X02+0.35541*REF(X02,3)-0.0316004*REF(X02,4)-0.0374119*REF(X02,3)-0.0218805*REF(X02,4)-0.00386503*REF(X02,5)-0.00102704*REF(X02,6)-0);
X04:=IFF(CURRBARSCOUNT>1,XMA(X03,5),0.740524*X03+0.35541*REF(X03,3)-0.0316004*REF(X03,4)-0.0374119*REF(X03,3)-0.0218805*REF(X03,4)-0.00386503*REF(X03,5)-0.00102704*REF(X03,6)-0);
X05:=IFF(CURRBARSCOUNT>1,XMA(X04,5),0.740524*X04+0.35541*REF(X04,3)-0.0316004*REF(X04,4)-0.0374119*REF(X04,3)-0.0218805*REF(X04,4)-0.00386503*REF(X04,5)-0.00102704*REF(X04,6)-0);
X06:=IFF(CURRBARSCOUNT>1,XMA(X05,5),0.740524*X05+0.35541*REF(X05,3)-0.0316004*REF(X05,4)-0.0374119*REF(X05,3)-0.0218805*REF(X05,4)-0.00386503*REF(X05,5)-0.00102704*REF(X05,6)-0);
X07:=IFF(CURRBARSCOUNT>1,XMA(X06,5),0.740524*X06+0.35541*REF(X06,3)-0.0316004*REF(X06,4)-0.0374119*REF(X06,3)-0.0218805*REF(X06,4)-0.00386503*REF(X06,5)-0.00102704*REF(X06,6)-0);
X08:=IFF(CURRBARSCOUNT>1,XMA(X07,5),0.740524*X07+0.35541*REF(X07,3)-0.0316004*REF(X07,4)-0.0374119*REF(X07,3)-0.0218805*REF(X07,4)-0.00386503*REF(X07,5)-0.00102704*REF(X07,6)-0);
X16:=IFF(CURRBARSCOUNT>1,XMA(X08,5),0.740524*X08+0.35541*REF(X08,3)-0.0316004*REF(X08,4)-0.0374119*REF(X08,3)-0.0218805*REF(X08,4)-0.00386503*REF(X08,5)-0.00102704*REF(X08,6)-0);
A:X16*1.068,LINETHICK1,COLORGRAY;
B:X16*0.918,LINETHICK1,COLORGRAY;
天:IF(X16>REF(X16,1),X16*1.068,DRAWNULL),COLORGRAY;
地:IF(B>REF(B,1),B,DRAWNULL),COLORGRAY;
DRAWBAND(天,RGB(60,60,60),地,RGB(60,60,60));
DRAWKLINE(H,O,L,C);
MA5:MA(CLOSE,5),COLORWHITE;
MA10:MA(CLOSE,10),COLORYELLOW;
MA20:MA(CLOSE,20),COLORMAGENTA;
{MA60:MA(CLOSE,60),COLORLIMAGENTA,LINETHICK2,POINTDOT;
MA120:MA(CLOSE,120),COLORGREEN,LINETHICK2,POINTDOT;};
 

20226133121164693.png

20226133121164693.png

20226133114665193.rar

2.51 KB, 下载次数: 0

售价: 4 金钱  [记录]  [购买]

20226133114665193.rar

回复

使用道具 举报

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

本版积分规则