今天是本周第二个交易日,上证整体还是向上的,还是看多占大多数,所以今天就聊聊上升趋势如何进行波段操作;
波段动能指标
指标源码:
N:=21;VR1:=33;VR2:=33;0,COLORWHITE;CS1:=(2*CLOSE+HIGH+LOW)/4*(VR1+0.001);CS2:=EMA(CS1,4)*(VR2);CS3:=EMA(CS2,4);CS4:=EMA(CS3,4);JS0:=(CS4-REF(CS4,1))/REF(CS4,1)*100*(VR2);短波0:JS0;JS1:=MA(JS0,2);短波1:JS1;JS2:=MA(JS0,1);短波2:JS2;{中波:MA(JS1,N),COLORRED;}红实波:JS0>=0 AND JS0>REF(JS0,1),COLORRED,NODRAW;红空波:JS0>=0 AND JS0<=REF(JS0,1),COLORLIRED,NODRAW;绿波:JS0<0 and="" js1="">=JS2,COLORGREEN,NODRAW;蓝波:JS0<0 AND JS1<=js2,colorblue,nodraw;stickline(红实波 js0="">=0 AND JS0O AND EXIST(短波1>REF(短波1,1),3)=1 AND 短波1>0.6 ,JS0,0,0.1,0),COLORMAGENTA;}STICKLINE(绿波,JS0,0,2,0),COLORGREEN;STICKLINE(蓝波,JS0,0,2,0),COLORBLUE;量比:=VOL/EMA(VOL,21);{放量阳线}STICKLINE(量比>1.5 AND C/REF(C,1)>1.03 AND JS0>0,JS0 ,JS0+0.5*VR2 ,2 ,0 ),COLORMAGENTA;DRAWTEXT(量比>1.5 AND C/REF(C,1)>1.03 AND JS0>0,JS0+0.7,"加仓"),COLORBLUE;{放量阳线}STICKLINE(量比>1.5 AND C/REF(C,1)>1.03 AND JS0<0,0,0.5 0="" 2="">1.5 AND C/REF(C,1)>1.03 AND JS0<0,0.7,"加仓"),colormagenta;{放量阴线}stickline(量比>1.5 AND C/REF(C,1)<0.98 and="" js0="">0,0,MIN(-0.3,-JS0) ,2 ,0 ),COLORCYAN; {放量阴线}STICKLINE(量比>1.5 AND C/REF(C,1)<0.98 AND JS0<0,js0,-0.3*vr2+js0 0="" 2="">1.5 AND C/REF(C,1)<0.98 and="" js0="">0,JS0+0.1 ,"出货"),COLORGREEN;X1:=0.0;Y1:=0.00; DQ1:=0; {0左对齐,1右对齐}JJ1:=0.05; {间距}DRAWTEXT_FIX(1,X1+0.00,Y1+0*JJ1,DQ1,STRCAT( "<红波持股>", "")),COLORRED;DRAWTEXT_FIX(1,X1+0.1,Y1+0*JJ1,DQ1,STRCAT( "<绿波持币>", "")),COLORGREEN;DRAWTEXT_FIX(1,X1+0.2,Y1+0*JJ1,DQ1,STRCAT( "<蓝波反弹>", "")),COLORBLUE;DRAWTEXT_FIX(ISLASTBAR,0.85,0.00,0,"短波操盘"),COLORRED;
买卖技术主图指标
如下图,该主图指标适合看盘辅助,盘面提示有买卖技巧,阻力,支撑,突破,行业板块,概念板块,地区板块,等等;
指标源码:
N:=21;VR1:=33;VR2:=33;0,COLORWHITE;CS1:=(2*CLOSE+HIGH+LOW)/4*(VR1+0.001);CS2:=EMA(CS1,4)*(VR2);CS3:=EMA(CS2,4);CS4:=EMA(CS3,4);JS0:=(CS4-REF(CS4,1))/REF(CS4,1)*100*(VR2);短波0:JS0;JS1:=MA(JS0,2);短波1:JS1;JS2:=MA(JS0,1);短波2:JS2;{中波:MA(JS1,N),COLORRED;}红实波:JS0>=0 AND JS0>REF(JS0,1),COLORRED,NODRAW;红空波:JS0>=0 AND JS0<=REF(JS0,1),COLORLIRED,NODRAW;绿波:JS0<0 and="" js1="">=JS2,COLORGREEN,NODRAW;蓝波:JS0<0 AND JS1<=js2,colorblue,nodraw;stickline(红实波 js0="">=0 AND JS0O AND EXIST(短波1>REF(短波1,1),3)=1 AND 短波1>0.6 ,JS0,0,0.1,0),COLORMAGENTA;}STICKLINE(绿波,JS0,0,2,0),COLORGREEN;STICKLINE(蓝波,JS0,0,2,0),COLORBLUE;量比:=VOL/EMA(VOL,21);{放量阳线}STICKLINE(量比>1.5 AND C/REF(C,1)>1.03 AND JS0>0,JS0 ,JS0+0.5*VR2 ,2 ,0 ),COLORMAGENTA;DRAWTEXT(量比>1.5 AND C/REF(C,1)>1.03 AND JS0>0,JS0+0.7,"加仓"),COLORBLUE;{放量阳线}STICKLINE(量比>1.5 AND C/REF(C,1)>1.03 AND JS0<0,0,0.5 0="" 2="">1.5 AND C/REF(C,1)>1.03 AND JS0<0,0.7,"加仓"),colormagenta;{放量阴线}stickline(量比>1.5 AND C/REF(C,1)<0.98 and="" js0="">0,0,MIN(-0.3,-JS0) ,2 ,0 ),COLORCYAN; {放量阴线}STICKLINE(量比>1.5 AND C/REF(C,1)<0.98 AND JS0<0,js0,-0.3*vr2+js0 0="" 2="">1.5 AND C/REF(C,1)<0.98 and="" js0="">0,JS0+0.1 ,"出货"),COLORGREEN;X1:=0.0;Y1:=0.00; DQ1:=0; {0左对齐,1右对齐}JJ1:=0.05; {间距}DRAWTEXT_FIX(1,X1+0.00,Y1+0*JJ1,DQ1,STRCAT( "<红波持股>", "")),COLORRED;DRAWTEXT_FIX(1,X1+0.1,Y1+0*JJ1,DQ1,STRCAT( "<绿波持币>", "")),COLORGREEN;DRAWTEXT_FIX(1,X1+0.2,Y1+0*JJ1,DQ1,STRCAT( "<蓝波反弹>", "")),COLORBLUE;DRAWTEXT_FIX(ISLASTBAR,0.85,0.00,0,"短波操盘"),COLORRED;
源码在这里,喜欢的可以直接拿去试一下,波段动能是幅图,买卖技术是主图;