選股公式條件
1、四線粘合;
2、低位二次金叉;
3、然后一陽穿四線,同時(shí)放量(或者第二天補(bǔ)量);
{四線粘合}成功率39--37,還可以吧
V0:=EMA(C,5);
V1:=EMA(C,10);
V2:=EMA(C,15);
V3:=EMA(C,30);
V4:=EMA(C,60);
M1:=1000*V1/V4<=1015 AND 1000*V1/V4>=975;
M2:=1000*V2/V4<=1020 AND 1000*V2/V4>=980;
M3:=1000*V3/V4<=1015 AND 1000*V3/V4>=985;
M4:=M1 AND M2 AND M3 AND CROSS(V0,V1);
M5:=M1 AND M2 AND M3 AND CROSS(V0,V3);
M4 OR M5;
三線粘合金叉:
A5:=MA(C,5);
A10:=MA(C,10);
A30:=MA(C,30);
AA:=CROSS(A5,A10);
BB:=CROSS(A5,A30);
CC:=CROSS(A10,A30);
COUNT(AA,3)=1 AND COUNT(BB,3)=1 AND COUNT(CC,3)=1;
三線粘合向上加成交量:36--9。6
a5:=ma(c,5);
a10:=ma(c,10);
a30:=ma(c,30);
均線粘合:=count(max(max(a5,a10),a30)/min(min(a5,a10),a30)<,5)>=3;
向上突破:=a5>ref(a5,1)and a10>ref(a10,1)and a30>ref(a30,1)and c>a5 and c>a30;
成交量突破:=v/ma(v,5)>2 and ma(v,5)>ma(v,10);
均線粘合 and 向上突破 and 成交量突破;
多條均線粘合:成功率--35--15
a13:=ma(c,13);
a21:=ma(c,21);
a34:=ma(c,34);
a55:=ma(c,55);
a120:=ma(c,120);
a240:=ma(c,240);
max(max(max(a13,a21),max(a34,a55)),max(a120,a240))/min(min(min(a13,a21),min(a34,a55)),min(a120,a240))<1.1 and a13>ref(a13,1)and a120>ref(a120,1);
三線粘合:
AA:=MA(C,5);
BB:=MA(C,10);
DD:=MA(C,30);
A1:=ABS((AA-C)/C);
A2:=ABS((BB-C)/C);
A3:=ABS((DD-C)/C);
B:=A1< AND A2< AND A3<;
FILTER(B,10)=1 ;
通達(dá)信均線粘合選股公式
MA1:=MA(CLOSE,5);
MA2:=MA(CLOSE,10);
MA3:=MA(CLOSE,20);
MA4:=MA(CLOSE,60);
MA5:=MA(CLOSE,120);
MA6:=MA(CLOSE,250);
A:MAX(MAX(MA1,MA2),MA3),LINETHICK0;
B:MIN(MIN(MA1,MA2),MA3),LINETHICK0;
三線粘合:IF(RANGE(100*(A-B)/B,0,5),100*(A-B)/B,DRAWNULL),LINETHICK0;
SA:MAX(MAX(MA1,MA2),MAX(MA3,MA4)),LINETHICK0;
SB:MIN(MIN(MA1,MA2),MIN(MA3,MA4)),LINETHICK0;
參數(shù)可以自行設(shè)置:D為均線多頭排列天數(shù),N1,N2,N3為漲幅限制,可根據(jù)自己需要設(shè)置!再結(jié)合其他指標(biāo)組合選股!不足之處請高手指點(diǎn)!D為均線多頭排列天數(shù),設(shè)為2-3天都可,N1,N2,N3為漲幅限制,我一般設(shè)為1.5或是2(這個(gè)可根據(jù)自己要求設(shè)),具體如下:
參數(shù)名 缺省 最小 最大 步長
D 1 1 20 1
N1 1 1 20 0.5
N2 1 1 20 0.5
N3 1 1 20 0.5
源碼:
MA5:=MA(CLOSE,5);
MA10:=MA(CLOSE,10);
MA20:=MA(CLOSE,20);
MA30:=MA(CLOSE,30);
A1:=MA5>MA10 AND MA10>MA20 AND MA20>MA30 AND ALL((MA5>MA10 AND MA10>MA20 AND MA20>MA30),D);
A2:=((MA5-MA10)/MA5)*100<N1 AND ((MA10-MA20)/MA10)*100<N2 AND ((MA20-MA30)/MA20)*100<N3;
A3:=A1 AND A2;
FILTER(A3,5);
三線合一 時(shí)間持續(xù)一日即可 當(dāng)天盤后選至于相距多少算粘合我不知道怎么表達(dá) 下面是個(gè)均線三線粘合的選股公式 這樣的粘合就行了
X1:=ABS(MA(C,10)/MA(C,20)-1)<;
X2:=ABS(MA(C,5)/MA(C,10)-1)<;
X3:=ABS(MA(C,5)/MA(C,20)-1)<;
MA(C,5)>REF(MA(C,5),1) AND X1 AND X2 AND X3;
MA6,18,25,45)均線粘合選股
A1:=MA(C,6);
A2:=MA(C,18);
A3:=MA(C,25);
A4:=MA(C,45);
AA:=(A1+A2+A3+A4)/4;
UP:=AA*(N/100)+AA;
DN:=AA-AA*(N/100);
COUNT(BETWEEN(A1,UP,DN) AND BETWEEN(A2,UP,DN) AND
BETWEEN(A3,UP,DN) AND BETWEEN(A4,UP,DN),M)=M;
CLOSE>A1 AND CLOSE>A2 AND CLOSE>A3 AND CLOSE>A4;
(責(zé)任編輯:張曉軒)