{过期设置V1.1}
操盘提示:=0;
TN:=15;
{FINANCE(33);}
DRAWTEXT_FIX(操盘提示 ,0.02,0.00, 0,'★操盘提示★'),COLORBLUE;
DRAWTEXT_FIX(操盘提示 ,0.12,0.00, 0,'1:上突柱进货,'),COLORRED;
DRAWTEXT_FIX(操盘提示 ,0.12,0.00, 0,' 下插柱出货'),COLORCYAN;
DRAWTEXT_FIX(操盘提示 ,0.29,0.00, 0,'2:回踩安全线阴线买,偏离安全线阳线抛'),COLORRED;
DRAWTEXT_FIX(操盘提示 ,0.55,0.00, 0,'3:红浪缩口大涨'),COLORRED;
DRAWTEXT_FIX(操盘提示 ,0.55,0.00, 0,' ,蓝浪缩口大跌'),COLORBLUE;
FD:=38;
VR1:=1*FD;
VR2:=1*FD;
0,COLORWHITE;
顶关注:40,COLORGREEN,DOTLINE;{CROSSDOT;}
CS1:=ZBDM.CS1*(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);
JS0,COLORRED;
短波0:=JS0,COLORRED;
JS1:=MA(JS0,2);
短波1:=JS1,NODRAW;
JS2:=MA(JS0,1);
短波2:=JS2,NODRAW;
{中波: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,2,0),COLORRED;
STICKLINE(红空波,JS0,0,2,1),COLORRED;
STICKLINE(红空波 AND JS0>70 ,JS0,JS0-10,2,0),COLORRED;
{STICKLINE(JS0>=0 AND JS0<REF(JS0,1) AND C>O 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;
{红波阴线}
红波阴线:=红实波 AND C<REF(C,1) AND JS0>40;
STICKLINE(红波阴线 ,JS0,JS0-15,0.5,0),COLORGREEN;
量比:=VOL/EMA(VOL,21);
加仓:=量比>1.5 AND C/REF(C,1)>1.03 AND JS0>0 AND C/O>1.01;
减仓:=量比>1.5 AND C/REF(C,1)<0.98 AND JS0>0;
{放量阳线}STICKLINE(加仓 AND JS0>0, JS0 ,JS0+0.5*FD ,2 ,0 ),COLORMAGENTA;
{DRAWTEXT(加仓,JS0+0.1 ,' '),COLORBLUE; {加仓}}
{放量阳线}STICKLINE(加仓 AND JS0<0, 0 ,0+0.5*FD ,2 ,0 ),COLORMAGENTA;
{ DRAWTEXT(量比>1.5 AND C/REF(C,1)>1.03 AND JS0<0,JS0,' '),COLORBLUE; {加仓}}
{放量阴线}STICKLINE(减仓 AND JS0>0,0 ,MIN(-0.3,-JS0) ,2 ,0 ),COLORCYAN;
{放量阴线}STICKLINE(减仓 AND JS0<0,JS0 ,-0.3+JS0 ,2 ,0 ),COLORCYAN;
{DRAWTEXT(减仓,JS0+0.1 ,''),COLORGREEN; {出货}}
{蓝波夹绿波}
蓝波夹绿波:=蓝波 AND REF(绿波,1)=1 AND REF(蓝波,2)=1;
STICKLINE(蓝波夹绿波,JS0 ,JS0-0.2*FD ,1 ,0 ),COLORMAGENTA;
{DRAWTEXT(蓝波夹绿波 AND JS0<-0.3*FD AND REF(JS0,1)/JS0>1.02 ,JS0-0.2*FD ,' ' ),COLORBLUE;{机会难得}}
{屏蔽输出机会蓝得}
机会蓝得:=BARSLAST(蓝波夹绿波 AND JS0<-0.3*FD AND REF(JS0,1)/JS0>1.02),NODRAW;
{添加CCI 超跌指标}
FDD:=1;
超卖:=FDD*(蓝波==1 AND EXIST(CCI<-200,5));
STICKLINE(超卖==FDD,0,30,1,0),COLORYELLOW;
DRAWTEXT(超卖=FDD AND 蓝波==1 AND REF(蓝波,1)==0,20,'超卖');
买:=20+FDD*(ZBDM.DWN>REF(ZBDM.DWN,1) AND REF(ZBDM.DWN,1)<REF(ZBDM.DWN,2) AND EXIST(超卖==FDD,3)),COLORMAGENTA;
{
顶:=100-FDD*(CCI>100);
STICKLINE(顶==(100-FDD) AND 短波0>50,短波0,短波0-3,1,0),COLORLIGREEN;
};
存超卖:=EXIST(超卖,TN)=1,NODRAW;