九毛八公式指标
公式模块:
各位好,我把几个指标都列出来了,想请哪位给综合以下,同样的条件只保留一个,不同的都保留并改为通达信能用
参数(10、20、30)
一、A10:=MA(C,10);
A20:=MA(C,20);
A30:=MA(C,30);
均线粘合:=COUNT(MAX(MAX(A10,A20),A30)/MIN(MIN(A10,A20),A30)<1.03,5);
向上突破:=A10>REF(A10,1)AND A20>REF(A20,1)AND A30>REF(A30,1)AND C>A10 AND C>A30;
成交量突破:=V/MA(V,5)>2 AND MA(V,5)>MA(V,50);
均线粘合 AND 向上突破 AND 成交量突破;
二、XG:(ATAN((MA(C,10)/REF(MA(C,10),1)-1)*100)*180/3.14115926)>30 AND(ATAN((MA(C,20)/REF(MA(C,20),1)-1)*100)*180/3.14115926)>30
AND ABS(C-MA(C,10))/MA(C,10)<0.03;
三、MA1:=MA(C,10);
MA2:=MA(C,20);
MA3:=MA(C,30);
P1:=ABS(MA1-MA2)+ABS(MA2-MA3);
MA1>REF(MA1,1) AND MA2>REF(MA2,1) AND (MA(C,10),L) AND C>MA(C,10) AND V/MA(V,5)>2 AND MA(V,5)>MA(V,50) AND ABS(C-MA(C,10))/MA(C,10)<0.03;
四、A10:=MA(C,10);
A40:=MA(C,40);
A20:=MA(C,20);
A30:=MA(C,30);
MAX(MAX(A10,A40),MAX(A20,A30))/MIN(MIN(A10,A40),MIN(A20,A30))<1.005 AND A10>REF(A10,1)AND A30>REF(A30,1);
五、MA(C,10)>REF(MA(C,10),1) AND MA(C,20)>REF(MA(C,20),1) AND MA(C,30)>REF(MA(C,30),1) AND MA(C,10)> MA(C,20) AND MA(C,20)> MA(C,30)
AND V/MA(V,5)>2 AND MA(V,5)>MA(V,50);
A10:=MA(C,10);
A20:=MA(C,20);
A30:=MA(C,30);
A40:=MA(C,40);
均线粘合:=COUNT(MAX(MAX(A10,A20),A30)/MIN(MIN(A10,A20),A30)<1.03,5);
向上突破:=A10>REF(A10,1)AND A20>REF(A20,1)AND A30>REF(A30,1)AND C>A10 AND C>A30;
成交量突破:=V/MA(V,5)>2 AND MA(V,5)>MA(V,50);
粘合:=均线粘合 AND 向上突破 AND 成交量突破;
XG:=(ATAN((MA(C,10)/REF(MA(C,10),1)-1)*100)*180/3.14115926)>30 AND(ATAN((MA(C,20)/REF(MA(C,20),1)-1)*100)*180/3.14115926)>30
AND ABS(C-MA(C,10))/MA(C,10)<0.03;
MA1:=MA(C,10);
MA2:=MA(C,20);
MA3:=MA(C,30);
P1:=ABS(MA1-MA2)+ABS(MA2-MA3);
XG2:=MA1>REF(MA1,1) AND MA2>REF(MA2,1) AND (MA(C,10),L) AND C>MA(C,10) AND V/MA(V,5)>2 AND MA(V,5)>MA(V,50) AND ABS(C-MA(C,10))/MA(C,10)<0.03;
XG3:=MAX(MAX(A10,A40),MAX(A20,A30))/MIN(MIN(A10,A40),MIN(A20,A30))<1.005 AND A10>REF(A10,1)AND A30>REF(A30,1);
XG4:=MA(C,10)>REF(MA(C,10),1) AND MA(C,20)>REF(MA(C,20),1) AND MA(C,30)>REF(MA(C,30),1) AND MA(C,10)> MA(C,20) AND MA(C,20)> MA(C,30)
AND V/MA(V,5)>2 AND MA(V,5)>MA(V,50);
综合:粘合+XG+XG2+XG3+XG4;