以下是波段趋势副图源码
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;
评论(0)