把两个指标合并成一个共振选股公式
把两个指标合并成一个共振选股公式
X_1:=1501230;
X_2:=MA((-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19);
X_3:=(-100)*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
X_4:=EMA((-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4);
X_5:=X_2+100;
X_6:=X_3+100;
X_7:=X_4+100;
X_8:=REF(X_7,1)>85 AND REF(X_6,1)>85 AND REF(X_5,1)>65 AND CROSS(X_5,X_6);
X_9:=X_7<REF(X_7,1) AND REF(X_7,1)>80 AND (REF(X_6,1)>95 OR REF(X_6,2)>95) AND X_5>60 AND X_6<83.5 AND X_6<X_7 AND X_6<X_5+4;
X_10:=FILTER(X_9,4);{WWW.58188.COM}
X_11:=X_5<12 AND X_7<8 AND (X_6<7.2 OR REF(X_6,1)<5) AND (X_7>REF(X_7,1) OR X_6>REF(X_6,1)) OR (X_5<8 AND X_7<7 AND X_6<15 AND X_6>REF(X_6,1)) OR (X_5<10 AND X_7<7 AND X_6<1);
X_12:=X_5<15 AND REF(X_5,1)<15 AND X_7<18 AND X_6>REF(X_6,1) AND CROSS(X_6,X_5) AND X_6>X_7 AND (REF(X_6,1)<5 OR REF(X_6,2)<5) AND (X_7>=X_5 OR REF(X_6,1)<1);
精准底部:IF(DATE<=X_1,X_12,0);
VARC:=HIGH>LOW*1.0505;
HDLY1:=OPEN/HHV(CLOSE,30)<0.78 AND OPEN=LLV(OPEN,30);
HDLY2:=CLOSE>REF(CLOSE,1)*1.005;
HDLY:HDLY1 AND HDLY2 AND COUNT(VARC,5)>1;
公式网www.gpxiazai.com解答:
原指标最后一句先改成这样
精准底部:=IF(DATE<=X_1,X_12,0);
HDLY:=HDLY1 AND HDLY2 AND COUNT(VARC,5)>1;
复制在一起合并后,最后一句写为
精准底部 AND HDLY;
- 上一篇公式:将两个选股公式合并选股预警
- 下一篇公式:K线画线指标