您现在的位置:主页 > 头条 >

一阳三线选股

更新时间:2021-12-21 15:19:55

  求一阳穿三线后接双十字星选股公式

   XG:REF(O,2)<MIN(MIN(MA(C,5),MA(C,10)),MIN(MA(C,10),MA(C,20)))AND REF(C,2)>REF(O,2)AND REF(C,1)<=REF(O,1)*1.005 AND REF(C,1)>=REF(O,1) AND C<=O*1.005 AND C>=O AND CROSS(REF(C,2),MA(C,5))AND CROSS(REF(C,2),MA(C,10))AND CROSS(REF(C,2),MA(C,20));
可以做副图选股,也可以做预警用,
今天选出来两个票:002633 000670 其中000670似乎不符合条件,只因第二个十字星跑到均线下方去了,稍微再加一个条件就可以把它过滤掉。

   {一阳穿三线}
CROSS(C,MA(C,5)) AND CROSS(C,MA(C,13)) AND CROSS(C,MA(C,21));
股票公式专家团为你解答,希望能帮到你,祝投资顺利 请问用DMI一阳穿三线选股时怎样设置参数

   什么技术指标都不是万能的。迷信什么指标就能赚钱那只能说明你幼稚。

   不能用原因是公式后面要写上一个分号

   {粘合公式}
MA5:=MA(CLOSE,5);
MA10:=MA(CLOSE,10);
MA20:=MA(CLOSE,20);
MA30:=MA(CLOSE,30);
MA60:=MA(CLOSE,60);
MA90:=MA(CLOSE,90);
MA120:=MA(CLOSE,120);
DG:=MAX(MAX(MA5,MA10),MAX(MA20,MA30));
ZG:=MAX(MAX(DG,MA60),MAX(MA90,MA120));
DD:=MIN(MIN(MA5,MA10),MIN(MA20,MA30));
ZD:=MIN(MIN(DD,MA60),MIN(MA90,MA120));
粘合:(ZG/ZD-1)*100<5;
=============================
优化,做条三线的:
{粘合}
MA5:=MA(CLOSE,5);
MA10:=MA(CLOSE,10);
MA20:=MA(CLOSE,20);
DG:=MAX(MAX(MA5,MA10),MAX(MA10,MA20));
ZG:=MAX(MAX(DG,MA5),MAX(MA10,MA20));
DD:=MIN(MIN(MA5,MA10),MIN(MA10,MA20));
ZD:=MIN(MIN(DD,MA5),MIN(MA10,MA20));
粘合:=(ZG/ZD-1)*100<5;
粘合选股:粘合=0;

   选股公式条件1、四线、然后一阳穿四线,同时放量(或者第二天补量);成功率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;三线);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;三线);均线粘合:=count(max(max(a5,a10),a30)/min(min(a5,a10),a30)<1.03,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 成交量突破;多条均线:=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<0.05 AND A2<0.05 AND A3<0.05;FILTER(B,10)=1 ;通达信均线:=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;参数可以自行设置:D为均线为涨幅限制,可根据自己需要设置!再结合其他指标组合选股!不足之处请高手指点!D为均线为涨幅限制,我一般设为1.5或是2(这个可根据自己要求设),具体如下:参数名缺省 最小最大 步长D 1 1 20 1N1 1 1 20 0.5N2 1 1 20 0.5N3 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);三线合一时间持续一日即可 当天盘后选至于相距多少算粘合我不知道怎么表达 下面是个均线三线粘合的选股公式 这样的粘合就行了X1:=ABS(MA(C,10)/MA(C,20)-1)<0.01;X2:=ABS(MA(C,5)/MA(C,10)-1)<0.01;X3:=ABS(MA(C,5)/MA(C,20)-1)<0.01;MA(C,5)>REF(MA(C,5),1) AND X1 AND X2 AND X3;MA6,18,25,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) ANDBETWEEN(A3,UP,DN) AND BETWEEN(A4,UP,DN),M)=M;CLOSE>A1 AND CLOSE>A2 AND CLOSE>A3 AND CLOSE>A4;