快好知 kuaihz

通达信板后连续缩量选股指标公式

M:=4;

N:=3;

1,COLORBLACK;

二缩:0.7*(BARSLAST(C/REF(C,1)>=1.09)=(M-1)

AND COUNT(V<=REF(V,1),(N-1))=(N-1)),COLORWHITE;

三缩:0.7*(BARSLAST(C/REF(C,1)>=1.09)=M

AND COUNT(V<=REF(V,1),N)=N),COLORYELLOW;

四缩:0.7*(BARSLAST(C/REF(C,1)>=1.09)=(M+1)

AND COUNT(V<=REF(V,1),(N+1))=(N+1)),COLORCYAN;

五缩:0.7*(BARSLAST(C/REF(C,1)>=1.09)=(M+2)

AND COUNT(V<=REF(V,1),(N+2))=(N+2)),COLORMAGENTA;

六缩:0.7*(BARSLAST(C/REF(C,1)>=1.09)=(M+3)

AND COUNT(V<=REF(V,1),(N+3))=(N+3)),COLORGREEN;

{剔除:=NOT(JGDX3.趋势线>10 AND JGDX3.趋势线<REF(JGDX3.趋势线,1));}

{上升趋势中的上涨段、板后M日中连缩N日为"首选"}

首选:BARSLAST(C/REF(C,1)>=1.09)=M

AND COUNT(V<=REF(V,1),N)=N

AND (JGDX3.趋势线>=REF(JGDX3.趋势线,1) OR JGDX3.趋势线>=55)

AND JGDX3.上行>50,COLORRED;

{下降趋势中的上涨段、板后M+1日中连缩N+1日为"次选"}

次选:BARSLAST(C/REF(C,1)>=1.09)=(M+1)

AND COUNT(V<=REF(V,1),(N+1))=(N+1)

AND (JGDX3.趋势线>=REF(JGDX3.趋势线,1) OR JGDX3.趋势线<=10)

AND JGDX3.上行<50,COLOR0099EE;

{真正选股时使用下面一个式子选出"首选"与"次选"股}

{XG: 首选 OR 次选;};

本站资源来自互联网,仅供学习,如有侵权,请通知删除,敬请谅解!
搜索建议:缩量  缩量词条  选股  选股词条  通达  通达词条  公式  公式词条  指标  指标词条