以下是通达信金K线完美波段理想操作指标公式

MA1:MA(CLOSE,3);
 MA2:MA(CLOSE,6);
 MA3:MA(CLOSE,12);
 MA4:MA(CLOSE,24);
 IF(MA1>=REF(MA1,1),MA1,DRAWNULL),COLOR00AABB;
 IF(MA1<=REF(MA1,1),MA1,DRAWNULL),COLORAAFF00;
 IF(MA2>=REF(MA2,1),MA2,DRAWNULL),COLOR0099CC;
 IF(MA2<=REF(MA2,1),MA2,DRAWNULL),COLOR99EE00;
 IF(MA3>=REF(MA3,1),MA3,DRAWNULL),COLOR0088DD;
 IF(MA3<=REF(MA3,1),MA3,DRAWNULL),COLOR88DD00;
 IF(MA4>=REF(MA4,1),MA4,DRAWNULL),COLOR0066EE;
 IF(MA4<=REF(MA4,1),MA4,DRAWNULL),COLOR99CC00;
 B:=MA1>=REF(MA1,1);
 STICKLINE(B,H,L,0,0),COLORYELLOW;
 STICKLINE(B,O,C,-1,0),COLOR6633EE;
 STICKLINE(B,O,C,2.8,0),COLOR3666EE;
 STICKLINE(B,O,C,2.1,0),COLOR2299EE;
 STICKLINE(B,O,C,1.5,0),COLOR11AAEF;
 STICKLINE(B,O,C,0.9,0),COLOR00BBFE;
 STICKLINE(B,O,C,0.5,0),COLOR00CCFE;
 STICKLINE(B,O,C,0.25,0),COLOR00DDFF;
 STICKLINE(B,O,C,0.1,0),COLOR00EEFF;
 STICKLINE(B,O,C,0.05,0),COLOR00FFFF;
 DRAWICON(B AND REF(MA1,1)<REF(MA1,2),L,1);

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