通达信【霸气抄底波段】副图/选股指标#股...
通达信【霸气抄底波段】副图/选股指标#股票大势#
全网独一无二!一切从实用出发,高成功率抄底波段玩法。无未来,信号不后补不飘移,收盘后信号不再变化。
波段操作清楚明了:红柱为进场信号,绿柱为撤离信号,灰柱区间为继续持有状态。
副图源码:
OK:=REF(CLOSE,1);
鱼:=SMA(MAX(CLOSE-OK,0),5,1)/SMA(ABS(CLOSE-OK),5,1)*100;
RSI4:=SMA(鱼,5,1);
HH:=BARSLAST(鱼<=15)<5;
白绿线:=SMA(鱼,5,1);
深水鱼:=CROSS(鱼,RSI4) AND 白绿线>15 AND HH;
BU:=FILTER(深水鱼,10);
BB2:=IF(C>REF((6*H+5*REF(H,1)+4*REF(H,2)+3*REF(H,3)+2*REF(H,4)+1*REF(H,5))/(6+5+4+3+2+1),1),1,IF(C<REF((6*L+5*REF(L,1)+4*REF(L,2)+3*REF(L,3)+2*REF(L,4)+1*REF(L,5))/(6+5+4+3+2+1),1),-1,0));
DD2:=BARSLAST(NOT(BB2=0));
B:=IF(BB2=0,REF(BB2,DD2),BB2);
触发:BU,NODRAW,COLORRED;
止损:C<REF(O,BARSLAST(BU>0)) AND COUNT(C<REF(O,BARSLAST(BU>0)),BARSLAST(BU>0))=1 AND IF(MA(CLOSE,1)>IF(B=-1,MA(HIGH,6),MA(LOW,6)) ,1,-1)>0,NODRAW, COLORWHITE;
止盈:(H/REF(C,BARSLAST(BU>0))>=1.05 OR C/REF(C,BARSLAST(BU>0))>=1.05) AND COUNT(止损,BARSLAST(BU>0))=0 AND COUNT(CROSS(0,IF(MA(CLOSE,1)>IF(B=-1,MA(HIGH,6),MA(LOW,6)) ,1,-1)),BARSLAST(BU>0))=0,NODRAW, COLORBLUE;
区间:COUNT(BU,BARSLAST(BU)+1)=1 AND COUNT(止损,BARSLAST(BU>0)+1)=0 AND COUNT(CROSS(0,IF(MA(CLOSE,1)>IF(B=-1,MA(HIGH,6),MA(LOW,6)) ,1,-1)), BARSLAST(BU>0)+1)=0,NODRAW,COLOR696960;
结束:(COUNT(BU,BARSLAST(BU)+1)=1 AND COUNT(止损,BARSLAST(BU>0)+1)=0 AND COUNT(CROSS(0,IF(MA(CLOSE,1)>IF(B=-1,MA(HIGH,5),MA(LOW,5)) ,1,-1)), BARSLAST(BU>0)+1)=1 AND CROSS(0,IF(MA(CLOSE,1)>IF(B=-1,MA(HIGH,6),MA(LOW,5)) ,1,-1))) OR 止损,NODRAW, COLORGREEN;
STICKLINE(触发>0,0,1,-1,0),COLORRED;
STICKLINE(止盈>0 ,0.4,0.6,4,0) COLORBLUE;
STICKLINE(结束>0,0,0.7,-1,0) COLORGREEN;
STICKLINE(止损>0,0.8,1,-1,0) COLORWHITE;
TS:=BARSLASTCOUNT(止盈>0);
DRAWTEXT(止盈>0,0.5,VAR2STR(TS,0));
选股指标:
OK:=REF(CLOSE,1);
鱼:=SMA(MAX(CLOSE-OK,0),5,1)/SMA(ABS(CLOSE-OK),5,1)*100;
RSI4:=SMA(鱼,5,1);
HH:=BARSLAST(鱼<=15)<5;
白绿线:=SMA(鱼,5,1);
深水鱼:=CROSS(鱼,RSI4) AND 白绿线>15 AND HH;
BU:FILTER(深水鱼,10);