设为首页加入收藏

微信关注
官方微信号:71712643
加关注获取每日精选资讯
股票入门欢迎您加入
广告服务联系我们网站地图

通达信股票公式 继续整合11个指标幅图及选股

2015-4-27 10:11:25 股票入门 http://rumen.southmoney.com

  通达信股票公式 继续整合11个指标幅图及选股

  应部分同学要求,现将 VR指标与均线,第二波启动,ASI共振,抢反弹,与庄共舞,筹码单峰,放量过左峰,突破左峰优化版,突破放量小阴线,MACDEXPMA共振 回踩20日均线等11个指标整合幅图以及选股一并发帖。

  我现在基本就是将窗口设置7个

  1个成交量 1个MACD 1个KDJ 其他三个就是我自己的三组整合幅图。收获不小。萝卜白菜,各有所爱

  VR指标与均线,第二波启动,ASI共振,抢反弹,与庄共舞,筹码单峰,放量过左峰,突破左峰优化版,突破放量小阴线,MACD与EXPMA共振 回踩20日均线等11个指标整合幅图

  M20:=MA(C,20);

  A:=H/MAX(C,O);

  B:=MAX(C,O)/MIN(C,O);

  D:=MIN(C,O)/L;

  T:=BARSLAST(CROSS(C,M20));

  HH:=HHVBARS(H,T+1);

  LL:=FINDLOWBARS(L,HH=0,T+1,1);

  HC:=REF(C,HH);

  LC:=REF(C,LL+1);

  ZF:=(HC-LC)/LC*100;

  TJ:=B》A AND D》B AND B》A;

  TJ1:=M20》=REF(M20,1) AND L*0.98》M20;

  TJ2:=RANGE(L/M20,0.95,1.01) AND MIN(C,O)》=M20;

  TJ3:=TJ AND TJ2;

  TJ4:=EVERY(C》=M20,T+1);

  NH:=HHV(MAX(C,O)/M20,T+1);

  XG:=REF(TJ1,2) AND TJ3 AND ZF》15 AND TJ4 AND T》9 AND NH《1.11;

  DRAWTEXT_FIX(ISLASTBAR,0.01,0,0,‘回踩二十 ’),COLORBLUE;

  STICKLINE(XG,0,8,1.5,0),COLORBLUE;

  E8:=EXPMA(C,8);

  P:=PSY.PSY;

  MP:=PSY.PSYMA;

  T1:=BARSLAST(CROSS(P,MP));

  T8:=BARSLAST(CROSS(C,E8));

  TM:=BARSLAST(CROSS(MACD.DIF,MACD.DEA));

  XG1:=T1》15 AND T8=0 AND TM=0;

  DRAWTEXT_FIX(ISLASTBAR,0.07,0,0,‘E8共振’),COLORGREEN;

  STICKLINE(XG1,0,8,1.5,0),COLORGREEN;

  HH2:=HHVBARS(H,60);

  TJ2B:=C《O AND HSL》20 AND (C-REF(C,1))/REF(C,1)*100》-2;

  T2:=BARSLAST(TJ2B);

  TT2:=BARSLAST(CROSS(C,REF(H,T2)));

  XG2:=COUNT(HH2=0,TT2+1)=1 AND HH2=0 AND C/REF(H,T2)》1.035 AND COUNT(TT2=0,T2)=1 AND T2》1;

  DRAWTEXT_FIX(ISLASTBAR,0.13,0,0,‘突破小阴’),COLORCYAN;

  STICKLINE(XG2,0,4,1.5,0),COLORCYAN;

  AT:=FINDHIGHBARS(H,60,30,1);

  AA:=DRAWLINE(CURRBARSCOUNT=CONST(AT)+1,H,ISLASTBAR,REF(H,AT),0);

  ATT:=BARSLAST(C》AA*1.014 AND L《AA);

  ATA:=BARSLAST(CROSS(AA!=DRAWNULL,0.5));

  ATJ:=VOL=HHV(VOL,AT+1) AND ATA》28;

  ATJ1:=COUNT(EXPMA(C,2)》=AA,ATA+1)=1 AND EXPMA(C,2)》=AA*1.01;

  AE13:=EXPMA(C,ATA+1);

  ACJ:=(AA/AE13-1) *100 ;

  AHH:=HHV(ACJ,10);

  AXG:=COUNT(ATT=0,AT+1)=1 AND ATT=0 AND ATJ AND ATJ1 AND AHH《20;

  DRAWTEXT_FIX(ISLASTBAR,0.19,0,0,‘突破左峰’),COLORRED;

  STICKLINE(AXG,0,4,1.5,0),COLORRED;

  BT:=FINDHIGHBARS(H,60,30,1);

  BA:=DRAWLINE(CURRBARSCOUNT=CONST(BT)+1,H,ISLASTBAR,REF(H,BT),0);

  BTT:=BARSLAST(C》BA*1.014 AND L《BA);

  BTA:=BARSLAST(CROSS(BA!=DRAWNULL,0.5));

  BTJ:=VOL=HHV(VOL,BT+1) AND BTA》28 AND HSL》8;

  BXG:=COUNT(BTT=0,BT+1)=1 AND BTT=0 AND BTJ;

  DRAWTEXT_FIX(ISLASTBAR,0.25,0,0,‘放量突破’),COLORMAGENTA;

  STICKLINE(BXG,0,4,1.5,0),COLORMAGENTA;

  C85:=COST(85);

  C15:=COST(15);

  B1:=C85-C15;

  B2:=(C85+C15)/2;

  B3:=B1/B2*100;

  CA:=WINNER(C)*100;

  CBL:=C85/C15;

  YC5:=PPART(5)*100;

  YC10:=PPART(10)*100;

  YC20:=PPART(20)*100;

  YC30:=PPART(30)*100;

  YC60:=PPART(60)*100;

  YC100:=PPART(100)*100;

  CTJ:=RANGE(YC5,87,96) AND RANGE(YC10,71,92) AND RANGE(YC20,61,82) AND RANGE(YC30,47,63) AND RANGE(YC60,22,43) AND YC100《26;

  CXG:=CA》97 AND CBL《1.2 AND CTJ AND V=HHV(V,20) AND B3《15;

  DRAWTEXT_FIX(ISLASTBAR,0.31,0,0,‘单峰筹码’),COLORBROWN;

  STICKLINE(CXG,0,4,1.5,0),COLORBROWN;

  DM20:=MA(C,20);

  DM10:=MA(C,10);

  DM60:=MA(C,60);

  DM5:=MA(C,5);

  DT:=BARSLAST(C》REF(C,1)*1.095 AND C=H);

  DT2:=BARSLAST(C《REF(C,1)*1.095 AND C》REF(C,1)*1.08);

  DT3:=BARSLAST(C《REF(C,1)*1.08 AND C》REF(C,1)*1.07);

  DT4:=BARSLAST(C《REF(C,1)*1.07 AND C》REF(C,1)*1.06);

  DT5:=BARSLAST(C《REF(C,1)*1.06 AND C》REF(C,1)*1.05);

  DTJ1:=COUNT(DT=0,100)=0;

  DTJ2:=COUNT(DT2=0,100)=0;

  DTJ3:=COUNT(DT3=0,100)=0;

  DTJ4:=COUNT(DT4=0,100)=0;

  DTJ5:=COUNT(DT5=0,100)=0;

  DTJA:=C》REF(C,1)*1.05;

  DAA:=REF(DT,1)》100 AND REF(DT2,1)》100 AND REF(DT3,1)》100 AND REF(DT4,1)》100 AND REF(DT5,1)》80 AND DTJA;

  HHM:=HHV(MACD.MACD*100,200);

  LLM:=LLV(MACD.MACD*100,200);

  D1:=MIN(MIN(DM5,DM10),DM20)《DM60;

  D3:=MIN(MIN(DM5,DM10),DM20)》DM60;

  XGT:=BARSLAST(DAA AND HHM《60 AND LLM》-55);

  D6:=BARSSINCEN(MIN(MIN(DM5,DM10),DM20)》DM60,XGT+1);

  DXG:=CROSS((XGT=0 AND D3) OR D6=0,0.5);

  DRAWTEXT_FIX(ISLASTBAR,0.37,0,0,‘与庄共舞’),COLORGRAY;

  STICKLINE(DXG,0,4,1.5,0),COLORGRAY;

  FM25:=MA(C,25);

  FM60:=MA(C,60);

  FT:=BARSLAST(C》O AND C/REF(C,1)》1.05);

  FTJ1:=EVERY(L》MA(C,60),FT+1);

  FDF:=(C-REF(C,FT+1))/REF(C,FT+1)*100;

  FTJ2:=FDF《-11 AND C《O AND FTJ1 AND L=LLV(L,FT+1);

  FC60:=BETWEEN(REF((L/FM60-1)*100,1),0,6);

  FC25:=BETWEEN(REF((L/FM25-1)*100,1),0,6);

  FTJ3:=FC60 OR FC25;

  FXG:=REF(FTJ2,1) AND C》O AND FTJ3;

  DRAWTEXT_FIX(ISLASTBAR,0.43,0,0,‘短抢反弹’),COLORLIRED;

  STICKLINE(FXG,0,4,1.5,0),COLORLIRED;

  EM21:=MA(C,21);

  EA:=ASI.ASI;

  EAM:=ASI.MA;

  ET:=BARSLAST(CROSS(C,EM21));

  ETA:=BARSLAST(CROSS(EA,EAM));

  ELT:=BARSLAST(EA=LLV(EA,60));

  EXG:=ET=0 AND ETA=0 AND ELT《5 AND C/EM21》1.02;

  DRAWTEXT_FIX(ISLASTBAR,0.49,0,0,‘看ASI’),COLORYELLOW;

  STICKLINE(EXG,0,4,1.5,0),COLORYELLOW;

  GM25:=MA(C,25);

  GB:=OBV.OBV;

  GMB:=OBV.MAOBV;

  GGL:=(MAX(GB,GMB)/MIN(GB,GMB)-1)*100;

  GTA:=BARSLAST(CROSS(GGL》8,0.5));

  GTJ:=BARSLAST(COUNT(GTA=0,100)=2 AND GTA=0);

  GTJ1:=CROSS(C,GM25);

  GZF:=(C-REF(C,1))/REF(C,1)*100;

  GXG:=COUNT(GTJ1,GTJ+1)=1 AND GTJ1 AND GZF《7;

  DRAWTEXT_FIX(ISLASTBAR,0.55,0,0,‘第二波浪’),COLORWHITE;

  STICKLINE(GXG,0,4,1.5,0),COLORWHITE;

  HM8:=MA(C,8);

  HR1:=VR.VR;

  HT:=BARSLAST(CROSS(C,HM8));

  T180:=BARSLAST(CROSS(180,HR1));

  T300:=BARSLAST(CROSS(HR1,300));

  HHH:=HHV(HR1,T300+1);

  HLL:=LLV(HR1,T180+1);

  HTH:=BARSLAST(HR1=HHH);

  HTL:=BARSLAST(HR1=HLL);

  HC1:=REF(C,HTH);

  HC2:=REF(C,HTL+1);

  HZF:=(HC1-HC2)/HC2*100;

  HTJ:=COUNT(HR1》300,30)=1;

  HXG:=HTL-HTH《10 AND HTH《15 AND REF(HZF,HTH)《10 AND HT=0 AND HZF《10 AND HTL》HTH AND HTJ;

  DRAWTEXT_FIX(ISLASTBAR,0.61,0,0,‘VR指标’),COLORLIMAGENTA;

  STICKLINE(HXG,0,4,1.5,0),COLORLIMAGENTA;

  11个指标整合选股

  M20:=MA(C,20);

  A:=H/MAX(C,O);

  B:=MAX(C,O)/MIN(C,O);

  D:=MIN(C,O)/L;

  T:=BARSLAST(CROSS(C,M20));

  HH:=HHVBARS(H,T+1);

  LL:=FINDLOWBARS(L,HH=0,T+1,1);

  HC:=REF(C,HH);

  LC:=REF(C,LL+1);

  ZF:=(HC-LC)/LC*100;

  TJ:=B》A AND D》B AND B》A;

  TJ1:=M20》=REF(M20,1) AND L*0.98》M20;

  TJ2:=RANGE(L/M20,0.95,1.01) AND MIN(C,O)》=M20;

  TJ3:=TJ AND TJ2;

  TJ4:=EVERY(C》=M20,T+1);

  NH:=HHV(MAX(C,O)/M20,T+1);

  XG:=REF(TJ1,2) AND TJ3 AND ZF》15 AND TJ4 AND T》9 AND NH《1.11;

  E8:=EXPMA(C,8);

  P:=PSY.PSY;

  MP:=PSY.PSYMA;

  T1:=BARSLAST(CROSS(P,MP));

  T8:=BARSLAST(CROSS(C,E8));

  TM:=BARSLAST(CROSS(MACD.DIF,MACD.DEA));

  XG1:=T1》15 AND T8=0 AND TM=0;

  HH2:=HHVBARS(H,60);

  TJ2B:=C《O AND HSL》20 AND (C-REF(C,1))/REF(C,1)*100》-2;

  T2:=BARSLAST(TJ2B);

  TT2:=BARSLAST(CROSS(C,REF(H,T2)));

  XG2:=COUNT(HH2=0,TT2+1)=1 AND HH2=0 AND C/REF(H,T2)》1.035 AND COUNT(TT2=0,T2)=1 AND T2》1;

  AT:=FINDHIGHBARS(H,60,30,1);

  AA:=DRAWLINE(CURRBARSCOUNT=CONST(AT)+1,H,ISLASTBAR,REF(H,AT),0);

  ATT:=BARSLAST(C》AA*1.014 AND L《AA);

  ATA:=BARSLAST(CROSS(AA!=DRAWNULL,0.5));

  ATJ:=VOL=HHV(VOL,AT+1) AND ATA》28;

  ATJ1:=COUNT(EXPMA(C,2)》=AA,ATA+1)=1 AND EXPMA(C,2)》=AA*1.01;

  AE13:=EXPMA(C,ATA+1);

  ACJ:=(AA/AE13-1) *100 ;

  AHH:=HHV(ACJ,10);

  AXG:=COUNT(ATT=0,AT+1)=1 AND ATT=0 AND ATJ AND ATJ1 AND AHH《20;

  BT:=FINDHIGHBARS(H,60,30,1);

  BA:=DRAWLINE(CURRBARSCOUNT=CONST(BT)+1,H,ISLASTBAR,REF(H,BT),0);

  BTT:=BARSLAST(C》BA*1.014 AND L《BA);

  BTA:=BARSLAST(CROSS(BA!=DRAWNULL,0.5));

  BTJ:=VOL=HHV(VOL,BT+1) AND BTA》28 AND HSL》8;

  BXG:=COUNT(BTT=0,BT+1)=1 AND BTT=0 AND BTJ;

  C85:=COST(85);

  C15:=COST(15);

  B1:=C85-C15;

  B2:=(C85+C15)/2;

  B3:=B1/B2*100;

  CA:=WINNER(C)*100;

  CBL:=C85/C15;

  YC5:=PPART(5)*100;

  YC10:=PPART(10)*100;

  YC20:=PPART(20)*100;

  YC30:=PPART(30)*100;

  YC60:=PPART(60)*100;

  YC100:=PPART(100)*100;

  CTJ:=RANGE(YC5,87,96) AND RANGE(YC10,71,92) AND RANGE(YC20,61,82) AND RANGE(YC30,47,63) AND RANGE(YC60,22,43) AND YC100《26;

  CXG:=CA》97 AND CBL《1.2 AND CTJ AND V=HHV(V,20) AND B3《15;

  DM20:=MA(C,20);

  DM10:=MA(C,10);

  DM60:=MA(C,60);

  DM5:=MA(C,5);

  DT:=BARSLAST(C》REF(C,1)*1.095 AND C=H);

  DT2:=BARSLAST(C《REF(C,1)*1.095 AND C》REF(C,1)*1.08);

  DT3:=BARSLAST(C《REF(C,1)*1.08 AND C》REF(C,1)*1.07);

  DT4:=BARSLAST(C《REF(C,1)*1.07 AND C》REF(C,1)*1.06);

  DT5:=BARSLAST(C《REF(C,1)*1.06 AND C》REF(C,1)*1.05);

  DTJ1:=COUNT(DT=0,100)=0;

  DTJ2:=COUNT(DT2=0,100)=0;

  DTJ3:=COUNT(DT3=0,100)=0;

  DTJ4:=COUNT(DT4=0,100)=0;

  DTJ5:=COUNT(DT5=0,100)=0;

  DTJA:=C》REF(C,1)*1.05;

  DAA:=REF(DT,1)》100 AND REF(DT2,1)》100 AND REF(DT3,1)》100 AND REF(DT4,1)》100 AND REF(DT5,1)》80 AND DTJA;

  HHM:=HHV(MACD.MACD*100,200);

  LLM:=LLV(MACD.MACD*100,200);

  D1:=MIN(MIN(DM5,DM10),DM20)《DM60;

  D3:=MIN(MIN(DM5,DM10),DM20)》DM60;

  XGT:=BARSLAST(DAA AND HHM《60 AND LLM》-55);

  D6:=BARSSINCEN(MIN(MIN(DM5,DM10),DM20)》DM60,XGT+1);

  DXG:=CROSS((XGT=0 AND D3) OR D6=0,0.5);

  FM25:=MA(C,25);

  FM60:=MA(C,60);

  FT:=BARSLAST(C》O AND C/REF(C,1)》1.05);

  FTJ1:=EVERY(L》MA(C,60),FT+1);

  FDF:=(C-REF(C,FT+1))/REF(C,FT+1)*100;

  FTJ2:=FDF《-11 AND C《O AND FTJ1 AND L=LLV(L,FT+1);

  FC60:=BETWEEN(REF((L/FM60-1)*100,1),0,6);

  FC25:=BETWEEN(REF((L/FM25-1)*100,1),0,6);

  FTJ3:=FC60 OR FC25;

  FXG:=REF(FTJ2,1) AND C》O AND FTJ3;

  EM21:=MA(C,21);

  EA:=ASI.ASI;

  EAM:=ASI.MA;

  ET:=BARSLAST(CROSS(C,EM21));

  ETA:=BARSLAST(CROSS(EA,EAM));

  ELT:=BARSLAST(EA=LLV(EA,60));

  EXG:=ET=0 AND ETA=0 AND ELT《5 AND C/EM21》1.02;

  GM25:=MA(C,25);

  GB:=OBV.OBV;

  GMB:=OBV.MAOBV;

  GGL:=(MAX(GB,GMB)/MIN(GB,GMB)-1)*100;

  GTA:=BARSLAST(CROSS(GGL》8,0.5));

  GTJ:=BARSLAST(COUNT(GTA=0,100)=2 AND GTA=0);

  GTJ1:=CROSS(C,GM25);

  GZF:=(C-REF(C,1))/REF(C,1)*100;

  GXG:=COUNT(GTJ1,GTJ+1)=1 AND GTJ1 AND GZF《7;

  HM8:=MA(C,8);

  HR1:=VR.VR;

  HT:=BARSLAST(CROSS(C,HM8));

  T180:=BARSLAST(CROSS(180,HR1));

  T300:=BARSLAST(CROSS(HR1,300));

  HHH:=HHV(HR1,T300+1);

  HLL:=LLV(HR1,T180+1);

  HTH:=BARSLAST(HR1=HHH);

  HTL:=BARSLAST(HR1=HLL);

  HC1:=REF(C,HTH);

  HC2:=REF(C,HTL+1);

  HZF:=(HC1-HC2)/HC2*100;

  HTJ:=COUNT(HR1》300,30)=1;

  HXG:=HTL-HTH《10 AND HTH《15 AND REF(HZF,HTH)《10 AND HT=0 AND HZF《10 AND HTL》HTH AND HTJ;

  联合选股:XG OR XG1 OR XG2 OR AXG OR BXG OR CXG OR DXG OR EXG OR FXG OR GXG OR HXG;

股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。