1. 首页 > 科技

求助:请老师帮忙写一个出现B点的选股公式

求助:请老师帮忙写一个出现B点的选股公式

把下面的主图指标做成当天出B点的选股公式

X1:=(C+L+H)/3;

X2:=EMA(X1,6);

X3:=EMA(X2,5);

XG:CROSS(X2,X3);

{已经测试通过复制可用}

请高手把这个源码改为选出B点的选股公式

选股源码:

var1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);

VarD:=CLOSE

VarE:=REF(VarD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);

VarF:=REF(VarE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);

Var10:=REF(VarF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);

Var11:=REF(Var10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);

Var12:=REF(Var11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);

Var13:=REF(Var12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);

Var14:=REF(Var13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);

Var15:=REF(Var14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);

Var16:=REF(Var15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);

Var17:=REF(Var16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);

Var18:=REF(Var17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);

选股:REF(VarD OR VarE OR VarF OR Var10 OR Var11 OR Var12 OR Var13 OR Var14 OR Var15 OR Var16 OR Var17 OR Var18,1) AND Var1;

如果需要添加其他的条件,可以来“分析家公式网”找我。百度搜索找找就可

请教高手帮忙把这个指标改为选股B点S点能选出的指标,谢谢!

H1:DRAWICON((ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2))

AND (REF(ZIG(3,5),2)<=REF(ZIG(3,5),3)),LOW*0.98,7);

H2:DRAWICON((ZIG(3,5)<REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)>=REF(ZIG(3,5),2))

AND (REF(ZIG(3,5),2)>=REF(ZIG(3,5),3)),HIGH*1.02,8);

HP3:IF(H1>0,5,0);

然后设置条件选股,HP3上穿 0到5中间的任意一个数就行,如果软件不支持,公式上加上

HP4:3

然后hp3上穿HP4 你要的条件就会出现,就能选出来了。~~~ 我用的是通达信,如果你的软件还不行,请追加问我......

请高手改成大智慧选股公式: 要求进行B点,绿字1,2(k线上绿字)选股,谢谢

{B点买}

variable:a1=0;

c1:=INTPART(cyc(5)*100*0.96)/100;

a2:=intpart(ref(cyc(5),1)*100)/100;

a3:=intpart(ref(cyc(5),1)*0.96*100)/100;

vv:=intpart(min(capital*0.05,ref(ma(vol,34),1))/100);

a40:=intpart(maxcyc*100)/100;

a41:=intpart(ref(MAXCYC,1)*100)/100;

a4:=a1=0 and c>a2 or (ref(vol/100,1)intpart(a2*0.98*100)/100 and vol>min(capital*0.05,ref(ma(vol,34),1)));

a5:=a1=1 and c

a1:=if(a4=1,1,if(a5=1,0,ref(a1,1)));

cross(a1,0);