股价突破BOLL上轨缩量回调到BOLL中轨选股公式
参数请自调
n:=26;
P:=2;
KMA:=MA(CLOSE,1),POINTDOT;
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) and ta>1