《通达信智能抄底选股指标公式.docx》由会员分享,可在线阅读,更多相关《通达信智能抄底选股指标公式.docx(5页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。
1、通达信智能抄底选股指标公式_正点财经资金:=EMA(EMA(CLOSE,8),8);资金抬轿:=(资金-REF(资金,1)/REF(资金,1)*1000;有庄控盘:=资金抬轿无庄控盘:=资金抬轿买线:=EMA(C,3);卖线:=EMA(SLOPE(C,22)*20+C,54);BU1:=CROSS(买线,卖线);SEL1:=CROSS(卖线,买线);BU2:=IFF(BU1AND有庄控盘,1,IFF(COUNT(BU1AND无庄控盘,BARSLAST(SEL1)+1)=1ANDCROSS(资金抬轿,0),1,0);BU:=BU2ANDCOUNT(BU2,BARSLAST(SEL1)+1)=1;
2、SEL:=SEL1ANDCOUNT(SEL1,BARSLAST(BU)+1)=1;BUNEW:=BU;止损条件:=CLOSE/REF(OPEN,BARSLAST(BU)(1-7/100)ANDCOUNT(BU,BARSLAST(BU)+1)=1ANDCOUNT(SEL,BARSLAST(BU)+1)=0;SELNEW:=IFF(止损条件ANDCOUNT(止损条件,BARSLAST(BU)+1)=1,1,IFF(SELANDCOUNT(止损条件,BARSLAST(BU)+1)=0,1,0);重新买入:=COUNT(止损条件,BARSLAST(BUNEW)+1)=1ANDCROSS(C,0.965
3、*REF(O,BARSLAST(BUNEW);不在同一天1:=(重新买入ANDSELNEW)=0);BUNEW2:=(BUNEWANDCOUNT(SELNEW,过滤周期)=0)OR重新买入)AND不在同一天1;二次止损:=(CLOSE/REF(OPEN,BARSLAST(重新买入)(1-7/100)ANDCOUNT(重新买入,BARSLAST(重新买入)+1)=1ANDCOUNT(SEL,BARSLAST(重新买入)+1)=0);重新卖出:=(SELANDCOUNT(重新买入,BARSLAST(BUNEW2)+1)=1)OR(二次止损ANDSUM(二次止损,0)=1);不在同一天2:=(重新卖
4、出ANDBUNEW2)=0);SELNEW2:=(SELNEWANDCOUNT(SELNEW,BARSLAST(BUNEW2)+1)=1)OR重新卖出)AND不在同一天2;BUNEW3:=BUNEW2ANDCOUNT(BUNEW2,BARSLAST(SELNEW2)+1)=1;SELNEW3:=SELNEW2ANDCOUNT(SELNEW2,BARSLAST(BUNEW3)+1)=1;D:=BARSLAST(BUNEW3)+1=1ANDCOUNT(SELNEW3,BARSLAST(BUNEW3)+1)=0;K:=BARSLAST(SELNEW3)+1=1ANDCOUNT(BUNEW3,BARS
5、LAST(SELNEW3)+1)=0;修正部分定位:=IFF(COUNT(SELNEW3,BARSCOUNT(C)=0ANDCOUNT(BUNEW3,BARSCOUNT(C)=0,1,0);上市修正B:=修正部分定位ANDCROSS(控盘,0);上市修正S:=修正部分定位ANDCROSS(0,控盘)ANDCOUNT(上市修正B,BARSLAST(C0)上市D:=COUNT(上市修正B,BARSLAST(上市修正B)+1)=1ANDCOUNT(上市修正S,BARSLAST(上市修正B)+1)=0ANDCOUNT(SELNEW3,BARSCOUNT(C)=0;上市K:=COUNT(上市修正S,BA
6、RSLAST(上市修正S)+1)=1ANDCOUNT(上市修正B,BARSLAST(上市修正S)+1)=0ANDCOUNT(BUNEW3,BARSCOUNT(C)=0;SSXZBZS:=COUNT(上市修正B,BARSCOUNT(C);SSXZSZS:=COUNT(上市修正S,BARSCOUNT(C);QB:=IFF(修正部分定位,上市修正B,BUNEW3);QS:=IFF(修正部分定位,上市修正SAND(SSXZBZS=SSXZSZSANDSSXZBZS=0ANDCOUNT(SELNEW3,BARSCOUNT(C)=1ANDCOUNT(BUNEW3,BARSCOUNT(C)=0)=0,SELNEW3AND(SSXZBZS=SSXZSZSANDSSXZBZS=0ANDCOUNT(SELNEW3,BARSCOUNT(C)=1ANDCOUNT(BUNEW3,BARSCOUNT(C)=0)=0);K补:=(COUNT(上市修正B,BARSLAST(C0)=0ANDCOUNT(QB,BARSLAST(C0)=0)=0;XG:QBAND日线锁定;通达信智能抄底选股指标公式实例图解:通达信智能抄底选股指标公式