通達信智能抄底選股指標公式
- 指標類別: 通達信指標公式
- 授權方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 超買超賣
- 畫線方法: 副圖
- 日期:2018-09-27 來源:互聯(lián)網
通達信智能抄底選股指標公式:
日線鎖定:=(PERIOD==5) AND (C>0) AND V>0;
過濾周期:=1;
VAR1:=EMA(EMA(CLOSE,9),9);
控盤:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;
資金:=EMA(EMA(CLOSE,8),8);
資金抬轎:=(資金-REF(資金,1))/REF(資金,1)*1000;
有莊控盤:=資金抬轎>0; 無莊控盤:=資金抬轎<=0;
買線:=EMA(C,3);
賣線:=EMA(SLOPE(C,22)*20+C,54);
BU1:=CROSS(買線,賣線);
SEL1:=CROSS(賣線,買線);
BU2:=IFF(BU1 AND 有莊控盤,1,IFF(COUNT(BU1 AND 無莊控盤,BARSLAST(SEL1)+1)==1 AND CROSS(資金抬轎,0),1,0));
BU:=BU2 AND COUNT(BU2,BARSLAST(SEL1)+1)==1;
SEL:=SEL1 AND COUNT(SEL1,BARSLAST(BU)+1)==1;
BUNEW:=BU;
止損條件:=CLOSE/REF(OPEN,BARSLAST(BU))<(1-7/100) AND COUNT(BU,BARSLAST(BU)+1)==1 AND COUNT(SEL,BARSLAST(BU)+1)==0;
SELNEW:=IFF(止損條件 AND COUNT(止損條件,BARSLAST(BU)+1)==1,1,IFF(SEL AND COUNT(止損條件,BARSLAST(BU)+1)==0,1,0));
重新買入:=COUNT(止損條件,BARSLAST(BUNEW)+1)>=1 AND CROSS(C,0.965*REF(O,BARSLAST(BUNEW)));
不在同一天1:=((重新買入 AND SELNEW)==0); BUNEW2:=((BUNEW AND COUNT(SELNEW,過濾周期)==0) OR 重新買入) AND 不在同一天1;
二次止損:=(CLOSE/REF(OPEN,BARSLAST(重新買入))<(1-7/100) AND COUNT(重新買入,BARSLAST(重新買入)+1)==1 AND COUNT(SEL,BARSLAST(重
新買入)+1)==0);
重新賣出:=(SEL AND COUNT(重新買入,BARSLAST(BUNEW2)+1)==1) OR (二次止損 AND SUM(二次止損,0)==1);
不在同一天2:=((重新賣出 AND BUNEW2)==0);
SELNEW2:=((SELNEW AND COUNT(SELNEW,BARSLAST(BUNEW2)+1)==1) OR 重新賣出) AND 不在同一天2;
BUNEW3:=BUNEW2 AND COUNT(BUNEW2,BARSLAST(SELNEW2)+1)==1;
SELNEW3:=SELNEW2 AND COUNT(SELNEW2,BARSLAST(BUNEW3)+1)==1;
D:=BARSLAST(BUNEW3)+1>=1 AND COUNT(SELNEW3,BARSLAST(BUNEW3)+1)==0;
K:=BARSLAST(SELNEW3)+1>=1 AND COUNT(BUNEW3,BARSLAST(SELNEW3)+1)==0;
修正部分定位:=IFF(COUNT(SELNEW3,BARSCOUNT(C))==0 AND COUNT(BUNEW3,BARSCOUNT(C))==0,1,0);
上市修正B:=修正部分定位 AND CROSS(控盤,0);
上市修正S:=修正部分定位 AND CROSS(0,控盤) AND COUNT(上市修正B,BARSLAST(C>0))>=1;
上市D:=COUNT(上市修正B,BARSLAST(上市修正B)+1)==1 AND COUNT(上市修正S,BARSLAST(上市修正B)+1)==0 AND COUNT (SELNEW3,BARSCOUNT
(C))==0;
上市K:=COUNT(上市修正S,BARSLAST(上市修正S)+1)==1 AND COUNT(上市修正B,BARSLAST(上市修正S)+1)==0 AND COUNT
(BUNEW3,BARSCOUNT(C))==0;
SSXZBZS:=COUNT(上市修正B,BARSCOUNT(C));
SSXZSZS:=COUNT(上市修正S,BARSCOUNT(C));
QB:=IFF(修正部分定位,上市修正B,BUNEW3);
QS:=IFF(修正部分定位,上市修正S AND (SSXZBZS==SSXZSZS AND SSXZBZS>=0 AND COUNT(SELNEW3,BARSCOUNT(C))==1 AND COUNT
(BUNEW3,BARSCOUNT(C))==0)==0, SELNEW3 AND (SSXZBZS==SSXZSZS AND SSXZBZS>=0 AND COUNT(SELNEW3,BARSCOUNT(C))==1 AND COUNT
(BUNEW3,BARSCOUNT(C))==0)==0);
K補:=(COUNT(上市修正B,BARSLAST(C>0))==0 AND COUNT(QB,BARSLAST(C>0))==0)==0;
XG:QB AND 日線鎖定;
通達信智能抄底選股指標公式實例圖解:
通達信智能抄底選股指標公式