股价突破BOLL上轨缩量回调到中轨的选股公式
发布时间:2018-05-25
选股条件
编写源码
n:=26;
P:=2;
KMA:=MA(CLOSE,1);
MID:=MA(CLOSE,N);
UPPER:=MID+P*STD(CLOSE,N);
LOWER:=MID-P*STD(CLOSE,N);
ta:=barslast(cross(c,upper));
tv:=ref(v,ta);
cross(mid,l) and c>mid and every(v<tv or v<ref(v,1),ta-1) and ta>1;