通达信优质涨停突破选股公式
发布日期: 2025-08-02 | 阅读量:48
NE:=IF(NAMELIKE('S') OR NAMELIKE('*S'),0.05,0.1);
A11:=C/REF(C,1)-1>=NE-0.01/REF(C,1) AND C=H ;
A21:=MACD.DEA<0.6 AND MACD.DEA>-0.5 AND MACD.MACD>-2 AND MACD.DIF>-1.5 AND MACD.DIF<0.8 ;
A31:=(C-REF(C,2))/REF(C,2)*100<20.8 AND COST(95)-COST(5)/(COST(95)+COST(5))/2*100<25 ;
A41:= (C-REF(C,44))/REF(C,44)*100>-25 AND (HHV(H,7)-LLV(L,7))/REF(O,6)<0.45 AND (C-REF(C,6))/REF(C,6)*100>-10;
A51:=SUM(VOL/CAPITAL*100,5)<85 ;
XX1:=A11 AND A21 AND A31 AND A41 ;
XX2:=A21 AND A31 AND A41 ;
去除ST:=IF(NAMELIKE('ST'),0,1) AND IF(NAMELIKE('*'),0,1);
去科创板:=NOT(CODELIKE('688'));
去创业板:=NOT(CODELIKE('3'));
小于120亿:=FINANCE(40)<12000000000;
NN1:=去除ST AND 去科创板 AND 去创业板 AND 小于120亿 ;
SS:=REF(XX1,1) AND NN1;
SS2:=REF(XX1,1) AND A11;
MM:=REF(SS2,1);
N:=20;
TY:=C;
A1:=REF(TY,N)=HHV(TY,2*N+1); B1:=FILTER(A1,N); C1:=BACKSET(B1,N+1); HD:=FILTER(C1,N);
A2:=REF(TY,N)=LLV(TY,2*N+1); B2:=FILTER(A2,N); C2:=BACKSET(B2,N+1); LD:=FILTER(C2,N);
前期高位:=REF(C,BARSLAST(HD));
UU:=BACKSET(BARSTATUS=2,BARSLAST(HD)+1);
VV:=UU>REF(UU,1);
前期低位:=REF(C,BARSLAST(LD));
前高:=REF(C,BARSLAST(VV));
PTZQ:=BARSLAST(HD);
PTZF:=(HHV(H,PTZQ)-LLV(L,PTZQ))/LLV(L,PTZQ)*100;
K1:=O>前高 ;
K2:=O>前期高位;
AAAA:=CROSS(C,前高);
AAAA3:=CROSS(C,前期高位);
KMK3:=K1 OR K2 OR AAAA OR AAAA3 ;
KMK:=C<20 AND C>REF(C,1) ;
优质选股:SS AND KMK3 AND KMK AND A51 ;
A11:=C/REF(C,1)-1>=NE-0.01/REF(C,1) AND C=H ;
A21:=MACD.DEA<0.6 AND MACD.DEA>-0.5 AND MACD.MACD>-2 AND MACD.DIF>-1.5 AND MACD.DIF<0.8 ;
A31:=(C-REF(C,2))/REF(C,2)*100<20.8 AND COST(95)-COST(5)/(COST(95)+COST(5))/2*100<25 ;
A41:= (C-REF(C,44))/REF(C,44)*100>-25 AND (HHV(H,7)-LLV(L,7))/REF(O,6)<0.45 AND (C-REF(C,6))/REF(C,6)*100>-10;
A51:=SUM(VOL/CAPITAL*100,5)<85 ;
XX1:=A11 AND A21 AND A31 AND A41 ;
XX2:=A21 AND A31 AND A41 ;
去除ST:=IF(NAMELIKE('ST'),0,1) AND IF(NAMELIKE('*'),0,1);
去科创板:=NOT(CODELIKE('688'));
去创业板:=NOT(CODELIKE('3'));
小于120亿:=FINANCE(40)<12000000000;
NN1:=去除ST AND 去科创板 AND 去创业板 AND 小于120亿 ;
SS:=REF(XX1,1) AND NN1;
SS2:=REF(XX1,1) AND A11;
MM:=REF(SS2,1);
N:=20;
TY:=C;
A1:=REF(TY,N)=HHV(TY,2*N+1); B1:=FILTER(A1,N); C1:=BACKSET(B1,N+1); HD:=FILTER(C1,N);
A2:=REF(TY,N)=LLV(TY,2*N+1); B2:=FILTER(A2,N); C2:=BACKSET(B2,N+1); LD:=FILTER(C2,N);
前期高位:=REF(C,BARSLAST(HD));
UU:=BACKSET(BARSTATUS=2,BARSLAST(HD)+1);
VV:=UU>REF(UU,1);
前期低位:=REF(C,BARSLAST(LD));
前高:=REF(C,BARSLAST(VV));
PTZQ:=BARSLAST(HD);
PTZF:=(HHV(H,PTZQ)-LLV(L,PTZQ))/LLV(L,PTZQ)*100;
K1:=O>前高 ;
K2:=O>前期高位;
AAAA:=CROSS(C,前高);
AAAA3:=CROSS(C,前期高位);
KMK3:=K1 OR K2 OR AAAA OR AAAA3 ;
KMK:=C<20 AND C>REF(C,1) ;
优质选股:SS AND KMK3 AND KMK AND A51 ;

指标公式逻辑介绍
核心指标体系
1.1 涨停识别系统
涨停板识别:智能区分不同板块涨跌幅限制(5%/10%)
涨停质量过滤:
排除ST/*ST股票(去除ST)
排除科创板(去科创板)
排除创业板(去创业板)
流通市值<120亿(小于120亿)
1.2 MACD辅助系统
MACD状态:
DEA在(-0.5,0.6)区间
DIF在(-1.5,0.8)区间
MACD柱>-2
1.3 价格结构系统
20日高低点:识别近期关键位(HD/LD)
突破判断:
突破前高(AAAA)
突破前期高位(AAAA3)
开盘高于关键位(K1/K2)
2. 智能交易信号
2.1 优质涨停突破信号(PPP)
✅ 触发条件:
昨日涨停(XX1)
符合筛选条件(NN1)
突破关键位置(KMK3)
股价<20元且上涨(KMK)
5日换手<85%(A51)
MACD处于蓄势状态(A21)