通达信【量化突破】擒龙,游资机构游资突破量化捉首板
量化突破主图
ZBGS1:=MA(C, 5);
N:=10;
TTJ:=BARSLAST((VOL=HHV(VOL,N))),LINETHICK1,COLORYELLOW;
K0:=TTJ=0;
K1:=SUMBARS(K0,1);
AA:STICKLINE(K1<=30,REF(C,K1-1)*1.002,REF(C,K1-1),5,0),LINETHICK2,COLORYELLOW;
ZBGS15:=MA(C,10);
ZBGS5:MA(C,5);
ZBGS10:MA(C,10);
ZBGS20:MA(C,20);
ZBGS30:MA(C,30);
ZBGS05:=MA(C,4),LINETHICK1,COLOR00CCFF,NODRAW;
五日乖离率:=(C-ZBGS05)/ZBGS05*100;
擒龙筹码05:=ATAN((ZBGS05/REF(ZBGS05,1)-1)*100)*180/3.1416;
速度5:=SMA(EMA((ZBGS05-REF(ZBGS05,1))/REF(ZBGS05,1),3)*100,3,1);
加速度5:=EMA((速度5-REF(速度5,1)),3);
擒龙筹码10:=ATAN((ZBGS10/REF(ZBGS10,1)-1)*100)*180/3.1416;
三拾日乖离率:=(C-ZBGS30)/ZBGS30*100,NODRAW;
擒龙突破1:=(ZBGS20-ZBGS30)>REF((ZBGS20-ZBGS30),1) AND ZBGS20>REF(ZBGS20,1) AND ZBGS30>REF(ZBGS30,1);
擒龙突破2:=(ZBGS30-ZBGS20)< REF((ZBGS30-ZBGS20),1) AND ZBGS20< REF(ZBGS20,1) AND ZBGS30< REF(ZBGS30,1);
擒龙筹码30:=ATAN((ZBGS30/REF(ZBGS30,1)-1)*100)*180/3.1416;
强势狙击:=FILTER(擒龙筹码30>40 AND 擒龙筹码10>40 AND CROSS(擒龙筹码05,50),10);
加仓:=FILTER(COUNT(CROSS(擒龙筹码05,30),5)>=1 AND ZBGS05>REF(ZBGS05,1) AND 三拾日乖离率>REF(三拾日乖离率,1) AND ZBGS10>REF(ZBGS10,1) AND 加速度5>REF(加速度5,1) AND 速度5>REF(速度5,1),10);
DRAWTEXT_FIX(1,0.60,0.75,0,'股票指标网http://'),COLOR111111;
DRAWTEXT(加仓 ,LOW*0.999,'←加仓'),COLORYELLOW;
DRAWTEXT(强势狙击,LOW*0.94,'←狙击'),COLORYELLOW;
擒龙突破3AA:=IF((C>REF(C,1)),88,0);
擒龙突破4AA:=IF(((C)/(REF(C,1))>1.05) AND ((HIGH)/(C)< 1.01) AND (擒龙突破3AA>0),91,0);
DRAWTEXT(FILTER((擒龙突破4AA>90),45),(LOW)*(0.91),'←量化首板 '),COLOR00FFFF;
DRAWTEXT(FILTER((擒龙突破4AA>90),35),(LOW)*(0.99000001),' '),COLOR00FFFF;