?把两个指标合并成一个共振选股公式
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_780 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_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;
老K股票学习网解答:
原指标最后一句先改成这样
精准底部:=IF(DATE<=X_1,X_12,0);
HDLY:=HDLY1 AND HDLY2 AND COUNT(VARC,5)>1;
复制在一起合并后,最后一句写为
精准底部 AND HDLY;
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!