股价突破BOLL上轨缩量回调到中轨的选股公式。
公式模块
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;
股价突破BOLL上轨缩量回调到中轨的选股公式。
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;