以下是波段趋势副图源码

MA5:MA(C,5);
 MA30:MA(C,30);
看多做多_:1,COLORRED,NODRAW;
看多不做多_:1,COLORYELLOW,NODRAW;
看空做空_:1,COLORGREEN,NODRAW;
看空不做空_:1,COLORCYAN,NODRAW;
准备做多_:1,COLORMAGENTA,NODRAW;
准备做空_:1,COLORBLUE,NODRAW;
看多做多:STICKLINE(MA5>MA30 AND MA5>=REF(MA5,1) AND MA30>REF(MA30,1),MA5,MA30,0.8,0),COLORRED;
看多不做多:STICKLINE(MA5>MA30 AND MA5<REF(MA5,1) AND MA30>=REF(MA30,1),MA5,MA30,0.8,0),COLORYELLOW;
看空做空:STICKLINE(MA5<MA30 AND MA5<=REF(MA5,1) AND MA30<REF(MA30,1),MA5,MA30,0.8,0),COLORGREEN;
看空不做空:STICKLINE(MA5<MA30 AND MA5>REF(MA5,1) AND MA30<=REF(MA30,1),MA5,MA30,0.8,0),COLORCYAN;
准备做多:STICKLINE(MA5>MA30 AND MA5>REF(MA5,1) AND MA30<=REF(MA30,1),MA5,MA30,0.8,0),COLORMAGENTA;
准备做空:STICKLINE(MA5<MA30 AND MA5<REF(MA5,1) AND MA30>=REF(MA30,1),MA5,MA30,0.8,0),COLORBLUE;
 

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