把多个选股公式合成并一个选股公式因为需要,内容做了改动
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个

编写要求:

请老师把下面的公式在同一天出现信号合并成一个选股公式,谢谢老师。一个一个去看太麻烦。谢谢老师1,曙光VAR1:=C/REF(C,1)<0.97 AND C/O<0.97;VAR2:=O<=REF(C,1);VAR3:=C>(REF(C,1)+(REF(O,1)-REF(C,1))*0.2);REF(VAR1,1) AND VAR2 AND VAR3;2,乖离率BIAS1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;REF(BIAS1<-6,1) AND C>O;3,平均线往上A60:=MA(C,60);XG1:ATAN((A60/REF(A60,1)-1)*100)*180/3.1416>5;

解答:

 {合并1同时满足}

{曙光}
VAR1:=C/REF(C,1)<0.97 AND C/O<0.97;
VAR2:=O<=REF(C,1);
VAR3:=C>(REF(C,1)+(REF(O,1)-REF(C,1))*0.2);
XG0:=REF(VAR1,1) AND VAR2 AND VAR3;
{乖离率}
BIAS1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
XG2:=REF(BIAS1<-6,1) AND C>O;
{平均线往上}
A60:=MA(C,60);
XG1:ATAN((A60/REF(A60,1)-1)*100)*180/3.1416>5;
{上穿8日线}
MA1:=MA(CLOSE,1);
MA8:=MA(CLOSE,8);
XG3:=CROSS(MA1,MA8);
XG0 AND XG2 AND XG1 AND XG3;
 
{合并2R任意一个满足}
{曙光}
VAR1:=C/REF(C,1)<0.97 AND C/O<0.97;
VAR2:=O<=REF(C,1);
VAR3:=C>(REF(C,1)+(REF(O,1)-REF(C,1))*0.2);
XG0:=REF(VAR1,1) AND VAR2 AND VAR3;
{乖离率}
BIAS1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
XG2:=REF(BIAS1<-6,1) AND C>O;
{平均线往上}
A60:=MA(C,60);
XG1:ATAN((A60/REF(A60,1)-1)*100)*180/3.1416>5;
{上穿8日线}
MA1:=MA(CLOSE,1);
MA8:=MA(CLOSE,8);
XG3:=CROSS(MA1,MA8);
XG0 or XG2 or XG1 or XG3;

选股票看什么指标最好 >股票指标网