通达信逆市亮剑选股指标公式
2020/11/17 18:49:21
X_1:=MA(LOW,24)*1.09;
X_2:=CROSS(X_1,OPEN);
X_3:=MA((LOW+HIGH+CLOSE+OPEN)/4,25)*1.23;
X_4:=CROSS(X_3,OPEN);
X_5:=EMA(LOW,25);
X_6:=CROSS(CLOSE,X_5);
X_7:=REF(COUNT(REF(EMA(CLOSE,5)/REF(EMA(CLOSE,5),1)<1,1) AND EMA(CLOSE,5)/REF(EMA(CLOSE,5),1)>1,11)>=1,3) AND REF(EMA(CLOSE,5)/REF(EMA(CLOSE,5),1)>0.987,1) AND COUNT(OPEN<CLOSE,7)/7>5/10 AND REF(COUNT(CLOSE/REF(CLOSE,1)>1.08 OR CLOSE/REF(CLOSE,2)>1.08 AND CLOSE/OPEN>1.038,25)>=1,3) AND COUNT(CLOSE>OPEN,2)=2 AND CLOSE>REF(CLOSE,1) AND (LOW<MA(CLOSE,5) OR REF(LOW<MA(CLOSE,5) AND CLOSE/REF(CLOSE,1)>1.095 AND HIGH=CLOSE,1) OR (COUNT(LOW>MA(CLOSE,5),3)=3 AND OPEN/MA(CLOSE,5)<1.015)) AND COUNT(REF(CLOSE<REF(CLOSE,1),1) AND CLOSE>OPEN,9)>=2 AND REF(COUNT(CLOSE>OPEN AND HIGH>MA(CLOSE,5) AND CLOSE/REF(CLOSE,1)<1.095,5)>=1,1) AND CLOSE>MA(CLOSE,5);
X_8:=REF(COUNT(CLOSE/REF(CLOSE,1)>1.095 AND HIGH=CLOSE,5)>=1 AND OPEN>MA(CLOSE,5),3) AND REF(COUNT(HIGH/LOW>1.095 AND CLOSE<HIGH,2)>=1,2) AND REF(CLOSE/REF(CLOSE,1)<0.907 AND LOW/CLOSE>0.996 AND COUNT(HIGH>OPEN,2)>=1 AND COUNT(VOL>REF(VOL,1),3)>=1,1) AND REF(CLOSE,1)/LOW>1.04 AND CLOSE/LOW>1.02;
X_9:=X_8 AND OPEN/LOW<1.033 AND VOL<HHV(VOL,3) OR (REF(COUNT(X_8,2)>=1,3) AND REF(CLOSE/REF(CLOSE,1)<0.911,1) AND OPEN/REF(CLOSE,1)>0.998 AND OPEN/REF(CLOSE,1)<1.033) OR (REF(X_8,4) AND REF(COUNT(CLOSE/REF(CLOSE,1)<0.907,2)>=1,1) AND (REF(CLOSE,1)/LOW>1.086 AND CLOSE/LOW>1.02 OR (OPEN/REF(CLOSE,1)>0.998 AND OPEN/REF(CLOSE,1)<1.033)));
X_10:=X_9 AND OPEN/LOW<1.033 AND OPEN/CLOSE<1.033 OR (REF(COUNT(X_9,2)>=1,3) AND REF(CLOSE/REF(CLOSE,1)<0.911 OR (OPEN<REF(CLOSE,1) AND CLOSE/REF(CLOSE,1)<0.95),1) AND OPEN/REF(CLOSE,1)>0.998 AND OPEN/REF(CLOSE,1)<1.033 AND OPEN/CLOSE<1.033) OR (REF(X_8,4) AND REF(COUNT(CLOSE/REF(CLOSE,1)<0.907,2)>=1,1) AND OPEN/CLOSE<1.033 AND (REF(CLOSE,1)/LOW>1.086 AND CLOSE/LOW>1.02 OR (OPEN/REF(CLOSE,1)>0.998 AND OPEN/REF(CLOSE,1)<1.033)));
X_11:=1000*CLOSE/INDEXC;
X_12:=1000*OPEN/INDEXO;
X_13:=1000*LOW/INDEXL;
X_14:=100*EMA(EMA(CLOSE-REF(CLOSE,1),6),6)/EMA(EMA(ABS(CLOSE-REF(CLOSE,1)),6),6);
X_15:=LLV(X_14,2)=LLV(X_14,7) AND COUNT(X_14<0,2) AND CROSS(X_14,MA(X_14,2));
X_16:=CLOSE/REF(CLOSE,1)>=1.08 OR CLOSE/OPEN>1.06 AND (X_15 AND NOT(X_2) AND NOT(REF(X_2,4)) AND (NOT(REF(X_6 AND X_15,3)) AND NOT(REF(X_15 AND REF(CLOSE>OPEN,1),3))) OR (REF(X_15,4) AND CLOSE/REF(CLOSE,1)>1.095 AND HIGH=CLOSE AND REF(COUNT(X_11<X_12,5)>=1,1) AND REF(X_11>X_12,3)) OR (REF(X_10 OR REF(X_10,4),1) AND CLOSE/REF(CLOSE,1)>1.095 AND HIGH=CLOSE)) AND LOW>REF(LOW,1) AND LOW/MA(CLOSE,5)<1.025;
X_17:=REF(COUNT(X_16,3)>=1,2) AND REF(CLOSE>=OPEN AND REF(CLOSE/REF(CLOSE,1)>=1.08 OR CLOSE/OPEN>1.067 AND CLOSE/REF(CLOSE,1)>=1.078,1) AND HIGH/CLOSE>1.025 AND HIGH/CLOSE>OPEN/LOW,1) AND CLOSE>=REF(OPEN,1) AND OPEN/REF(CLOSE,1)<1.03 AND COUNT(LOW/MA(CLOSE,5)<1.027,2)>=1 AND (X_12/X_13>REF(X_12/X_13,2) OR REF(X_15,5) AND REF(REF(REF(COUNT(X_11>X_12,4)>=1,1) AND X_11<X_12,1) OR X_11>X_12,7) AND REF(HIGH/1.03<REF(HHV(HIGH,3),1),2) OR (REF(COUNT(X_11>X_12,2)=2,7) AND REF(COUNT(X_11<X_12,3)>=1,6) AND REF(X_11<X_12,4) AND REF(HIGH,2)>REF(HIGH,3)) OR REF(COUNT(X_11>X_12,2)=2 AND (REF(X_11<X_12,7) OR REF(X_11>X_12,2)),3) OR REF(COUNT(X_11>X_12,3)=3 AND REF(X_11>X_12,6),4) OR (REF(COUNT(X_11>X_12,2)=2,1) AND X_7 AND REF(X_11>X_12,6) AND REF(COUNT(X_11<X_12,3)>=1,7) AND REF(COUNT(X_11<X_12,3)>=2,3))) AND X_11/X_12>REF(X_11/X_12,1) AND CLOSE/OPEN>REF(CLOSE/OPEN,1) AND (COUNT(X_11>X_12,3)=3 OR (COUNT(X_11>X_12,3)>=2 AND REF(X_10,3) AND REF(CLOSE/REF(CLOSE,1)>1.095 AND HIGH=CLOSE,2)));
X_18:=CLOSE/REF(CLOSE,1)>=1.095 AND HIGH=CLOSE AND REF(CLOSE/OPEN<1.05,1) AND (COUNT(X_7,3)>=1 OR REF(X_4,1)) AND COUNT(LOW<REF(LOW,1),2)>=1 AND LOW<MA(CLOSE,5) AND NOT(REF(COUNT(CLOSE/REF(CLOSE,1)<0.923,3)>=1,1));
X_19:=REF(X_18,2) AND REF(CLOSE<=OPEN AND (HIGH/OPEN>1.043 AND REF(CLOSE>OPEN,4) OR (HIGH/CLOSE>1.089 AND OPEN/CLOSE>1.039 AND HIGH>OPEN AND REF(CLOSE/REF(CLOSE,1)>1.095 AND HIGH=CLOSE,1))),1) AND OPEN/LOW<1.029 AND OPEN/REF(LOW,3)>0.977 AND OPEN/REF(OPEN,2)<1.077 AND CLOSE/REF(CLOSE,1)>0.989 AND OPEN/REF(CLOSE,1)<1 AND COUNT(LOW<MA(CLOSE,5),2)>=1 AND REF(X_11<X_12,1) AND COUNT(X_11>X_12,3)>=2;
亮剑1:X_17 OR X_19,COLORRED;
看股吧 公式 www.kanguba.c om
其它股票公式列表