以下是经典实用选股公式集锦

凹口MACD第二红波
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
 DEA:=EMA(DIFF,9);
 MACD:=2*(DIFF-DEA);
翻红:RANGE(REF(MACD,2),REF(MACD,1),REF(MACD,3))
      AND REF(MACD,1)<MACD
      AND RANGE(REF(MACD,1),0,0.15) AND MACD>0.05;
追买:=翻红;
中心:=(H+L)/2;
中心上移:= 中心>REF(中心,1);
 TS:=BARSLAST(追买);

凹口MACD第二红波
 参数:MAXA  1最小    10最大    3默认
      MINA   1         100       35
       MN     1         100       11

DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
 DEA:=EMA(DIFF,9);
 MACD:=2*(DIFF-DEA);
翻红:RANGE(REF(MACD,2),REF(MACD,1),REF(MACD,3))
      AND REF(MACD,1)<MACD
      AND RANGE(REF(MACD,1),0,0.15) AND MACD>0.05;

凹口平量柱

xgx7:=ABS((VOL-REF(VOL,7))/REF(VOL,7))<0.04 AND
 VOL>1.8*REF(VOL,2) AND
 REF(VOL,1)<REF(VOL,7) AND
 REF(VOL,2)<REF(VOL,7) AND
 REF(VOL,3)<REF(VOL,7) AND
 REF(VOL,(7-3))<REF(VOL,7) AND
 REF(VOL,(7-2))<REF(VOL,7) AND
 REF(VOL,(7-1))<REF(VOL,7);

xgx8:=ABS((VOL-REF(VOL,8))/REF(VOL,8))<0.04 AND
 VOL>1.8*REF(VOL,2) AND
 REF(VOL,1)<REF(VOL,8) AND
 REF(VOL,2)<REF(VOL,8) AND
 REF(VOL,3)<REF(VOL,8) AND
 REF(VOL,(8-3))<REF(VOL,8) AND
 REF(VOL,(8-2))<REF(VOL,8) AND
 REF(VOL,(8-1))<REF(VOL,8);

xgx9:=ABS((VOL-REF(VOL,9))/REF(VOL,9))<0.04 AND
 VOL>1.8*REF(VOL,2) AND
 REF(VOL,1)<REF(VOL,9) AND
 REF(VOL,2)<REF(VOL,9) AND
 REF(VOL,3)<REF(VOL,9) AND
 REF(VOL,(9-3))<REF(VOL,9) AND
 REF(VOL,(9-2))<REF(VOL,9) AND
 REF(VOL,(9-1))<REF(VOL,9);

xgx10:=ABS((VOL-REF(VOL,10))/REF(VOL,10))<0.04 AND
 VOL>1.8*REF(VOL,2) AND
 REF(VOL,1)<REF(VOL,10) AND
 REF(VOL,2)<REF(VOL,10) AND
 REF(VOL,3)<REF(VOL,10) AND
 REF(VOL,(10-3))<REF(VOL,10) AND
 REF(VOL,(10-2))<REF(VOL,10) AND
 REF(VOL,(10-1))<REF(VOL,10);

xgx11:=ABS((VOL-REF(VOL,11))/REF(VOL,11))<0.04 AND
 VOL>1.8*REF(VOL,2) AND
 REF(VOL,1)<REF(VOL,11) AND
 REF(VOL,2)<REF(VOL,11) AND
 REF(VOL,3)<REF(VOL,11) AND
 REF(VOL,(11-3))<REF(VOL,11) AND
 REF(VOL,(11-2))<REF(VOL,11) AND
 REF(VOL,(11-1))<REF(VOL,11);

xgx12:=ABS((VOL-REF(VOL,12))/REF(VOL,12))<0.04 AND
 VOL>1.8*REF(VOL,2) AND
 REF(VOL,1)<REF(VOL,12) AND
 REF(VOL,2)<REF(VOL,12) AND
 REF(VOL,3)<REF(VOL,12) AND
 REF(VOL,(12-3))<REF(VOL,12) AND
 REF(VOL,(12-2))<REF(VOL,12) AND
 REF(VOL,(12-1))<REF(VOL,12);

XGX30:=(C-REF(C,1))>0 AND C>O;
 xgx31:=xgx7=1 OR xgx8=1 OR xgx9=1 OR xgx10=1 OR xgx11=1 OR xgx12=1;
 xgx32:=((C-REF(C,1)))/REF(C,1)*100>9.9;
 zts:=COUNT(xgx32=1,300)>1;
 XGX: XGX31=1 AND XGX30=1 AND zts=1;

凹口平量柱
XGX7:=ABS((VOL-REF(VOL,7))/REF(VOL,7))<0.04
 AND 
 VOL>1.8*REF(VOL,2)
 AND 
 REF(VOL,1)<REF(VOL,7)
 AND
 REF(VOL,2)<REF(VOL,7)
 AND
 REF(VOL,3)<REF(VOL,7)
 AND
 REF(VOL,(7-3))<REF(VOL,7)
 AND
 REF(VOL,(7-2))<REF(VOL,7)
 AND
 REF(VOL,(7-1))<REF(VOL,7); 
 XGX8:=ABS((VOL-REF(VOL,8))/REF(VOL,8))<0.04
 AND 
 VOL>1.8*REF(VOL,2)
 AND 
 REF(VOL,1)<REF(VOL,8)
 AND
 REF(VOL,2)<REF(VOL,8)
 AND
 REF(VOL,3)<REF(VOL,8)
 AND
 REF(VOL,(8-3))<REF(VOL,8)
 AND
 REF(VOL,(8-2))<REF(VOL,8)
 AND
 REF(VOL,(8-1))<REF(VOL,8); 
 XGX9:=ABS((VOL-REF(VOL,9))/REF(VOL,9))<0.04
 AND 
 VOL>1.8*REF(VOL,2)
 AND 
 REF(VOL,1)<REF(VOL,9)
 AND
 REF(VOL,2)<REF(VOL,9)
 AND
 REF(VOL,3)<REF(VOL,9)
 AND
 REF(VOL,(9-3))<REF(VOL,9)
 AND
 REF(VOL,(9-2))<REF(VOL,9)

AND
 REF(VOL,(9-1))<REF(VOL,9); 
 XGX10:=ABS((VOL-REF(VOL,10))/REF(VOL,10))<0.04
 AND 
 VOL>1.8*REF(VOL,2)
 AND 
 REF(VOL,1)<REF(VOL,10)
 AND
 REF(VOL,2)<REF(VOL,10)
 AND
 REF(VOL,3)<REF(VOL,10)
 AND
 REF(VOL,(10-3))<REF(VOL,10)
 AND
 REF(VOL,(10-2))<REF(VOL,10)
 AND
 REF(VOL,(10-1))<REF(VOL,10); 
 XGX11:=ABS((VOL-REF(VOL,11))/REF(VOL,11))<0.04
 AND 
 VOL>1.8*REF(VOL,2)
 AND 
 REF(VOL,1)<REF(VOL,11)
 AND
 REF(VOL,2)<REF(VOL,11)
 AND
 REF(VOL,3)<REF(VOL,11)
 AND
 REF(VOL,(11-3))<REF(VOL,11)
 AND
 REF(VOL,(11-2))<REF(VOL,11)
 AND
 REF(VOL,(11-1))<REF(VOL,11); 
 XGX12:=ABS((VOL-REF(VOL,12))/REF(VOL,12))<0.04
 AND 
 VOL>1.8*REF(VOL,2)
 AND 
 REF(VOL,1)<REF(VOL,12)
 AND
 REF(VOL,2)<REF(VOL,12)
 AND
 REF(VOL,3)<REF(VOL,12)
 AND
 REF(VOL,(12-3))<REF(VOL,12)
 AND
 REF(VOL,(12-2))<REF(VOL,12)
 AND
 REF(VOL,(12-1))<REF(VOL,12);
 XGX30:=(C-REF(C,1))>0
 AND
 C>O; 
 xgx31:=xgx7=1
 OR xgx8=1
 OR xgx9=1
 OR xgx10=1
 OR xgx11=1
 OR xgx12=
 1; 
 XGX:
 XGX31=1
 AND
 XGX30=1;

 3

涨停双响炮
 前炮:=CLOSE>REF(CLOSE,1)*1.099;
小阴小阳:=HHV(ABS(C-REF(C,1))/REF(C,1)*100,BARSLAST(前炮))<9;
时间限制:=COUNT(前炮,30)=1 AND BARSLAST(前炮)>5;
后炮:REF(小阴小阳 AND 时间限制,1) AND 前炮;

涨停回马枪
DIFF:= EMA(CLOSE,12) – EMA(CLOSE,26);
 DEA:= EMA(DIFF,9);
 MACD:= 2*(DIFF-DEA);
 TS:= BARSLAST(C/REF(C,1)>1.085);
 A2:= IF(REF(L,TS)>REF(H,TS+1),REF(C,TS+1),REF(O,TS));
 A3:= BETWEEN(TS,2,13);
 A4:= C>=A2 AND BETWEEN(L/A2,1.035,0.97);
 A5:= V<REF(V,1) AND V<MA(V,5);
 A6:= ABS(C/O-1)*100<5;
 A7:= LLV(C,TS)>=A2;
 A8:= MACD>-1;
左侧低吸:  A3 AND A4 AND A5 AND A6 AND A7 AND A8;
 A9:=MA(C,5)>=A2 AND C>A2 AND C>=MA(C,5) AND REF(C,1)<=REF(MA(C,5),1)
 AND LLV(L,TS)<A2*1.045;
右侧突破: REF(A3,1)>0 AND A9;

黄金柱-价升量缩
T1:=COUNT(V>REF(V,1)*2  ,4)=1;
 t2:=COUNT(V<REF(V,1) AND L>MIN(L,4) AND L>REF(L,1),3)=3 ;
 t3:t1 AND t2;

黄金柱
 倍数:=1.9;
倍量1:=REF(VOL,3)>倍数*REF(VOL,4) AND REF(C,3)>=REF(O,3);
价升量缩:= LLV(C,3)>=REF(L,3) AND HHV(VOL,3)<=REF(VOL,3);
连阳:= COUNT(C>=O,4)=4;
选股:倍量1 AND 价升量缩 AND 连阳;

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。