1、次日漲停
W1:=C=HHV(C,20);
W2:=BARSLAST(W1);
W3:=IF(W2>0,REF(C,W2),REF(C,W2));
W4:=CROSS(C,REF(W3,1));
W4 AND COUNT(W4,5)=1;
2、macd-kdj金叉共振選股公式:
DIF:=(EMA(CLOSE,12)-EMA(CLOSE,26))*100;
DEA:=EMA(DIF,9);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,9,1);
D:=SMA(K,9,1);
B4:CROSS(DIF,DEA) AND CROSS(''KDJ.K''(9,3,3),''KDJ.D''(9,3,3));
3、翻倍黑馬公式
MA5:=MA(C,5);
MA24:=MA(C,24);
均量5:=MA(VOL,5);
均量60:=MA(VOL,60);
DIFF:=EMA(CLOSE,10)-EMA(CLOSE,20);
DEA:=EMA(DIFF,7);
MACD:=2*(DIFF-DEA);
啟動(dòng)點(diǎn):IF(CROSS(MA5,MA24) AND 均量5>均量60 AND MACD>0 AND DIFF>DEA,8,0);
4、四合一金叉選股公式:
M1:=MA(CLOSE,5);
M2:=MA(CLOSE,10);
MA1:=MA(VOL,5);
MA2:=MA(VOL,10);
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
A1:=DEA;
F1:=DIF;
K1:=''KDJ.K'';
J1:=''KDJ.J'';
金叉1:=CROSS(M1,M2);
金叉2:=CROSS(MA1,MA2);
金叉3:=CROSS(F1,A1);
金叉4:=CROSS(J1,K1);
選1:=金叉1 AND 金叉2 AND 金叉3 AND 金叉4;
選2:=金叉1 AND 金叉2 AND 金叉3;
選3:=金叉2 AND 金叉3 AND 金叉4;
選4:=金叉1 AND 金叉2 AND 金叉4;
選5:=金叉1 AND 金叉3 AND 金叉4;
選股:選1 OR 選2 OR 選3 OR 選4 OR 選5;
5、捕捉中短線牛股指標(biāo):
WX:=MAX(MA(C,5),MAX(MA(C,10),MAX(MA(C,20),MAX(MA(C,60),MA(C,120)))));
ZS:=IF(CROSS(C,WX) AND COUNT(C>WX,5)=1,1,0); MA5:=MA(C,5);
MA10:=MA(C,10);MA20:=MA(C,20);MA60:=MA(C,60);MA120:=MA(C,120);
A1:=CROSS(MA5,MA10);B1:=C>MA60 AND MA5>MA60 AND MA10>MA60;
C1:=MA60>MA120;D1:=A1 AND B1 AND C1;
ZB:=CROSS(MACD.MACD,0) AND C>MA(C,5);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;AB:=CROSS(K,D);
第一陽(yáng)起爆:COUNT(D1,5)=1>0 AND COUNT(ZS,3) AND ZB AND AB;
6、一陽(yáng)穿三線
n:缺省 8 .00 最小 1.00 最大 20.00
MA5:MA(C,5);
MA10:MA(C,10);
MA30:MA(C,30);
MA60:MA(C,60);
YCX:=MA5>=REF(MA5,1);
H1:=MAX(MAX(MA5,MA10),MA30);
L1:=MIN(MIN(MA5,MA10),MA30);
一陽(yáng)穿三線:= H1
STICKLINE(一陽(yáng)穿三線,O,C,2,0),COLORYELLOW;
DRAWTEXT(一陽(yáng)穿三線,L*0.99, ''買入''),COLORGREEN
7、均線粘合
MA1:=MA(C,5);
MA2:=MA(C,10);
MA3:=MA(C,20);
MA4:=MA(C,30);
MA5:=MA(C,60);
P1:=ABS(MA1-MA2)+ABS(MA2-MA3)+ABS(MA1-MA4)
+ABS(MA2-MA4)+ABS(MA3-MA4)+ABS(MA1-MA3)+ABS(MA1-MA5)
+ABS(MA2-MA5)+ABS(MA3-MA5)+ABS(MA4-MA5);
五線粘合:IF(P1/C<10 00="" and="" ma1="">REF(MA1,1) AND MA2>REF(MA2,1),888,0)COLORRED,LINETHICK3;
P2:=ABS(MA1-MA2)+ABS(MA2-MA3)+ABS(MA1-MA4)
+ABS(MA2-MA4)+ABS(MA3-MA4)+ABS(MA1-MA3);
四線粘合:IF(P2/C<6 00="" and="" ma1="">REF(MA1,1) AND MA2>REF(MA2,1),666,0)COLORYELLOW,LINETHICK3;
8、早晨之星選股公式:
STAR:REF(CLOSE,2)/REF(OPEN,2)<>
REF(OPEN,1)
ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<>
CLOSE/OPEN>1.05&&CLOSE>REF(CLOSE,2);
{輸出STAR:2日前的收盤價(jià)/2日前的開盤價(jià)<><2日前的收盤價(jià)并且昨日開盤價(jià)-昨收的絕對(duì)值><0.03并且收盤價(jià) 盤價(jià)="">1.05并且收盤價(jià)>2日前的收盤價(jià)}
9、主力進(jìn)場(chǎng)
VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);
VAR3:=EMA(VAR2,10);
VAR4:=LLV(LOW,33);
VAR5:=EMA(IF(LOW<>
XG:(VAR5>REF(VAR5,1) AND VAR5>0 ) OR (VAR5
10、二次翻紅
DIF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=2*(DIF-DEA);
FH1:=REF(MACD,1)
FH2:=MACD>=0 AND COUNT(MACD>REF(MACD,1),1)=1;
FH3:=FH1 AND FH2 AND EMA(C,13)>REF(EMA(C,13),1);
FH4:=FH1 AND FH2 AND ABS((DIF-DEA)/C)<>
FH5:=FH1 AND FH2 AND MACD<>
二次翻紅:=(FH3 OR FH4 OR FH5);
低買:=CROSS(DIF,DEA) AND DIF<>
加油:=CROSS(DIF,DEA) AND DIF>0;
XG:二次翻紅 OR 低買 OR 加油;
11、一夜情捕抓漲停黑馬指標(biāo)條件選股源碼公式
A1:=REF(C,2)>REF(C,3)*1.095 AND REF(C,2)=REF(H,2);
A3:=C>REF(C,2) AND C>REF(H,1) AND C>=REF(C,1)*1.095 AND C=H;
雙響炮:A1 AND A2 AND A3;
12、高控盤捕捉大黑馬指標(biāo)公式:
ZLCM:=EMA(WINNER(CLOSE)*70,3);{//主力籌碼估算}
SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);{//散戶籌碼估算}
ZSHTL:=SHCM/(ZLCM SHCM)*100;{//散戶套牢籌碼比率}
ZZLKP:=ZLCM/(ZLCM SHCM)*100;{//主力控盤籌碼比率}
ZCMZL:=MA(ZLCM SHCM,13);{//市場(chǎng)籌碼總量}
ZZNTS:=BARSLAST(ZSHTL<90 and="" ref(zshtl,1)="">90);{//走牛天數(shù)}
ZSHJJ:=EMA(ZSHTL,89);{//散戶警戒}
ZZLJJ:=EMA(ZZLKP,89);{//主力警戒}
ZJLRQD:=INTPART(ZZLKP-ZZLJJ);{//資金流入強(qiáng)度}
SH8:=EMA(ZSHTL,8);
DKB:=IF(ZZLKP-REF(ZZLKP,1)>ZSHTL-REF(ZSHTL,1),1,0);
{散戶套牢籌碼}
STICKLINE(C>0,ZSHTL,ZZLKP,0,0),COLOREEEEEE;
{散戶籌碼警戒}
STICKLINE(ZSHJJ>REF(ZSHJJ,1),ZSHTL,ZSHJJ,1,0),COLORAAAAAA;
{主力控盤籌碼}
STICKLINE(C>0,ZZLKP,0,0,0),COLORBLUE;
{鑄頂風(fēng)險(xiǎn)區(qū)}
STICKLINE(ZZLKP>75,ZZLKP,0,2,0),COLORFFFFFF;
{頂部:(ZZLKP>75),COLORFFFFFF;}
{主力籌碼警戒}
STICKLINE(ZZLJJ>REF(ZZLJJ,1),ZZLKP,ZZLJJ,4,0),COLORRED;
{筑底散兵坑}
STICKLINE(ZSHTL>=90,ZZLKP,0,5,0),COLOR66FFCC;
{底部:(ZSHTL>=90),COLOR66FFCC;}
{籌碼總量上升}
IF(ZCMZL,ZCMZL>REF(ZCMZL,1),DRAWNULL),COLOR0066FF,LINETHICK1;
{增量資金};
{//------【數(shù)值顯示】}
散戶套牢系數(shù):INTPART(ZSHTL),COLORYELLOW;
主力控盤系數(shù):INTPART(ZZLKP),COLORCYAN;
資金流入強(qiáng)度:ZJLRQD,LINETHICK2,COLORRED;
市場(chǎng)籌碼總量:INTPART(ZCMZL),COLORWHITE,NODRAW;
軸:50,COLORGREEN,DOTLINE,LINETHICK1;
DRAWTEXT(CROSS(主力控盤系數(shù),軸),軸 10,''高度控盤''),COLORYELLOW;
{指標(biāo)說(shuō)明:資金流入強(qiáng)度下穿0軸,股票必拋};
筆者公眾平臺(tái):李韓薇
聯(lián)系客服