分享

[转载]预测涨停

 耀日131 2018-07-06
原文地址:预测涨停作者:情依依
 
预测涨停:1
A:=IF((BARSCOUNT(C) > 7),(100)*((MA(C,7))/(LLV(MA(C,7),7)) - 1),1);
N:=IF((A > 0.35),6,65);
B:=((-((100)*(HHV(H,N) - C))/(HHV(HIGH,N) - LLV(L,N))));
CROSS(B,-2);
预测涨停:2
先解说第1个指标:白为短线,黄为中线,粉为长线,当白色线第1次上穿粉线为最佳买入(前提:必须是粉线上升,或是当天上升)当天获利5%上
指标源码:
n1:=6;
n2:=12;
n3:=26;
mtm:=c-ref(c,1) ;
ZLGJ1:100*ema(ema(mtm,n1),n1)/ema(ema(abs(mtm),n1),n1);
ZLGJ2:100*ema(ema(mtm,n2),n2)/ema(ema(abs(mtm),n2),n2);
ZLGJ3:100*ema(ema(mtm,n3),n3)/ema(ema(abs(mtm),n3),n3);

预测涨停:3

下面是选股源码,只选当" ZLGJ1上穿ZLGj3后ZLGJ3上翘"买入的股
n1:=6;
{n2:=12;}
n3:=26;
mtm:=c-ref(c,1) ;
ZLGJ1:=100*ema(ema(mtm,n1),n1)/ema(ema(abs(mtm),n1),n1);
{ZLGJ2:=100*ema(ema(mtm,n2),n2)/ema(ema(abs(mtm),n2),n2);}
ZLGJ3:=100*ema(ema(mtm,n3),n3)/ema(ema(abs(mtm),n3),n3);
选股:CROSS(ZLGJ1,ZLGJ3)*50;
预测涨停:4
还有个4金叉选股公式
ma5:=ema(c,5);
ma10:=ema(c,10);
mv5:=ema(v,5);
mv10:=ema(v,10);
k:="kdj.k"(9,3,3);
d:="kdj.d"(9,3,3);
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
macd1:=dif>ref(dif,1) and dea>=ref(dea,1) and dif>dea;
v1:=ma5>ref(ma5,1) and ma10>ref(ma10,1) and c>ref(c,1) and c/o>1.01;
vv1:=mv5>ref(mv5,1) and mv10>=ref(mv10,1) and v>ref(v,1)*1.2 ;
kd1:=k>ref(k,1) and d>=ref(d,1);
va:=count(cross(k,d),4)>=1 and count(cross(ma5,ma10),4)>=1 and
count(cross(mv5,mv10),4)>=1 and count(cross(dif,dea),4)>=1;
xg2:if(v1 and vv1 and kd1 and macd1 and va,1,0);

不能保证赚大钱,但绝对保证不会让您赔:)

预测涨停:5

选股公式
T1:=(1.06*(3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)-50)+50);
BUY1:=IF(CROSS(T1,4),1,0);
Var0:=EMA(EMA(EMA(CLOSE,3),3),3);
V1:=Var0-REF(Var0,1)+Var0;
v2:=ref(v1,1);
V3:=(46.18 * EMA(CLOSE,4) - 31.82 * EMA(CLOSE,1)) / 14.36;
BUY2:=IF((v1 > V2),1,0);
BUY3:=IF(cross(v1,V3),1,0);
TP:=DYNAINFO(8)>0;
BUY1 and BUY2  and BUY3 and TP;

 

再发个选股公式,大家可以没事看看,就当玩了
{ST股票判断、今日停牌股票}
ISST:=STRFIND(STkNAME,UPPERSTR('ST'),1)<>0;
JB:=(ISST=0) and  DYNAINFO(8)>0;

{早盘30分钟,成交量}
B:=DYNAINFO(8);
BV:=REF(V,1);
ZF2:=B/BV*100;

{10点的涨幅}
A:=DYNAINFO(7);
AC1:=REF(C,1);
ZF1:=(A-AC1)/AC1*100;
{当前价格高于开盘价}
D:=A-O;


{股票昨天是涨的}
{K:=REF(C,1)-REF(O,1);}

{5日均线比10日均线高}
KK:=ma(c,5) >ma(c,10) and ma(c,5)>ref(ma(c,5),1);

{5分钟、15分钟、30分钟MACD都出现红柱}

DEA5:="MACD.DEA#min5";
DIFF5:="MACD.DIFF#min5";
d5:=DIFF5-DEA5;

DEA15:="MACD.DEA#min15";
DIFF15:="MACD.DIFF#min15";
d15:=DIFF15-DEA15;

DEA30:="MACD.DEA#min30";
DIFF30:="MACD.DIFF#min30";
d30:=DIFF30-DEA30;

{j:=(d5>0 and d15>0) or (d5>0 and d30>0) or (d15>0 and d30>0);}
j:= (d5>0 and d15>0 and d30>0);


{委买大于委卖}
E:=DYNAINFO(23)-DYNAINFO(22);

{昨天成交量比前天多}
F:=REF(V,1)-REF(V,2);

选股:ZF1<6 and ZF2>30 and JB>0 and j>0 and D>0 and E>0 and F>0 and KK>0;

前面几个选股公式,大家也可以去掉停牌股进行筛选

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约