以下是通达信乾坤二号公式
通达信乾坤二号公式
源码
VAR1:=REF(COUNT(C/REF(C,1)>1.098,15)>2,1);
VAR2:=REF(V,1)/REF(LLV(V,3),2)<1.05;
VAR3:=REF(O,1)>REF(C,1);
VAR4:=REF(MA(C,5),1)>REF(MA(C,10),1);
VAR5:=MA(C,10)>MA(C,20) AND MA(C,20)>MA(C,60) AND MA(C,60)>MA(C,120);
VAR6:=REF(C,1)<REF(MA(C,5),1) AND REF(C,1)/REF(C,2)<0.999;
VAR7:=REF(COUNT(C/REF(C,1)>1.098 AND O=C,15)>1,1) AND C>REF(O,1);
VAR8:=REF(V,1)/REF(HHV(V,10),2)<0.41;
乾坤二号:FILTER(VAR1 AND VAR2 AND VAR3 AND VAR4 AND VAR5 AND VAR6 AND VAR7 AND VAR8,20);