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;};
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)