乖离三合一 副图/选股源码 通达信 贴图
弱势里,指标的作用都不大,但是偏偏乖离率指标在弱势有了用武之地,小仓位玩玩就可以,缓解一下手痒也好
副图:
{参数自己设置}
N1:=5;
N2:=10;
N3:=20;
BIAS1:(CLOSE-MA(CLOSE,N1))/MA(CLOSE,N1)*100,COLORGREEN,LINETHICK1;
BIAS2:(CLOSE-MA(CLOSE,N2))/MA(CLOSE,N2)*100,COLORGREEN,LINETHICK1;
BIAS3:(CLOSE-MA(CLOSE,N3))/MA(CLOSE,N3)*100,COLORGREEN,LINETHICK1;
上升BIAS1:IF(BIAS1>REF(BIAS1,1),BIAS1,DRAWNULL),COLORRED,LINETHICK2;
上升BIAS2:IF(BIAS2>REF(BIAS2,1),BIAS2,DRAWNULL),COLORRED,LINETHICK2;
上升BIAS3:IF(BIAS3>REF(BIAS3,1),BIAS3,DRAWNULL),COLORRED,LINETHICK2;
转折1:=REF(BIAS1,2)>REF(BIAS1,1) AND REF(BIAS1,1)<BIAS1;
转折2:=REF(BIAS2,2)>REF(BIAS2,1) AND REF(BIAS2,1)<BIAS2;
转折3:=REF(BIAS3,2)>REF(BIAS3,1) AND REF(BIAS3,1)<BIAS3;
同时转折买点:=转折1 AND 转折2 AND 转折3;
DRAWICON(同时转折买点,MIN(MIN(BIAS1,BIAS2),BIAS3),1);
选股:
N1:=5;
N2:=10;
N3:=20;
BIAS1:=(CLOSE-MA(CLOSE,N1))/MA(CLOSE,N1)*100;
BIAS2:=(CLOSE-MA(CLOSE,N2))/MA(CLOSE,N2)*100;
BIAS3:=(CLOSE-MA(CLOSE,N3))/MA(CLOSE,N3)*100;
转折1:=REF(BIAS1,2)>REF(BIAS1,1) AND REF(BIAS1,1)<BIAS1;
转折2:=REF(BIAS2,2)>REF(BIAS2,1) AND REF(BIAS2,1)<BIAS2;
转折3:=REF(BIAS3,2)>REF(BIAS3,1) AND REF(BIAS3,1)<BIAS3;
同时转折买点:=转折1 AND 转折2 AND 转折3;
DRAWICON(同时转折买点,MIN(MIN(BIAS1,BIAS2),BIAS3),1);