大智慧BIAS极品公式改成了通达信,再加选股公式

[复制链接]
查看30 | 回复0 | 2022-7-24 06:44:23 | 显示全部楼层 |阅读模式

大智慧BIAS极品公式改成了通达信

N1:= 5;
 N2:= 10;
 N3:= 20;
 BIAS1:(CLOSE-MA(CLOSE,N1))/MA(CLOSE,N1)*100,COLORGREEN;
 BIAS2:(CLOSE-MA(CLOSE,N2))/MA(CLOSE,N2)*100,COLORGREEN;
 BIAS3:(CLOSE-MA(CLOSE,N3))/MA(CLOSE,N3)*100,COLORGREEN;

 IF(BIAS1>=REF(BIAS1,1),BIAS1,DRAWNULL),COLORRED;
 IF(BIAS1<REF(BIAS1,1),BIAS1,DRAWNULL),COLORGREEN;
 IF(BIAS2>=REF(BIAS2,1),BIAS2,DRAWNULL),COLORRED;
 IF(BIAS2<REF(BIAS2,1),BIAS2,DRAWNULL),COLORGREEN;
 IF(BIAS3>=REF(BIAS3,1),BIAS3,DRAWNULL),COLORRED;
 IF(BIAS3<REF(BIAS3,1),BIAS3,DRAWNULL),COLORGREEN;
转折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);

722144235.jpg

722144235.jpg

 

选股公式:

N1:= 5;
 N2:= 10;
 N3:= 20;
 BIAS1:=(CLOSE-MA(CLOSE,N1))/MA(CLOSE,N1)*100,COLORGREEN;
 BIAS2:=(CLOSE-MA(CLOSE,N2))/MA(CLOSE,N2)*100,COLORGREEN;
 BIAS3:=(CLOSE-MA(CLOSE,N3))/MA(CLOSE,N3)*100,COLORGREEN;
转折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;

 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则