通达信强势股反杀,和谐源码分享
-
相关简介:公式名称: 强势股反杀2 公式描述: 无参数 公式类型: 条件选股公式-其他类型 公式版本: 0 参数精灵:无 用法注释:无 公式源码:} X_1:=M(CLOSE,5); X_2:=MA(CLOSE,24)+2*STD(CLOSE,24); X_3:=OPENX_1 AND CLOSEX_1 AND OPENX_2 AND CLOSEX_2 AND MA(CLOSE,60)REF(MA(CLOS,60),1) AND CLOSE/REF(CLOSE,1)1.03; X_4:=HHV(CLOSE
-
文章来源:股海网作者:股海网发布时间:2019-03-04浏览次数:
公式名称: 强势股反杀2
公式描述:
无参数
公式类型: 条件选股公式-其他类型
公式版本: 0
参数精灵:无
用法注释:无
公式源码:}
X_1:=M(CLOSE,5);
X_2:=MA(CLOSE,24)+2*STD(CLOSE,24);
X_3:=OPEN<X_1 AND CLOSE>X_1 AND OPEN<X_2 AND CLOSE>X_2 AND MA(CLOSE,60)>REF(MA(CLOS,60),1) AND CLOSE/REF(CLOSE,1)>1.03;
X_4:=HHV(CLOSE,5)/LLV(OPEN,5)<1.05;
X_5:=COUNT(REF(X_3,1),5)<1 AND X_3;
X_6:=CLOSE>OPEN AND COSE/OPEN<1.01;
X_7:=REF(CLOSE,1)/REF(CLOSE,2)<1.05;
X_8:=HIGH>=HHV(CLOSE,20);
X_9:=REF(X_5,1);
X_10:=HIGH/LOW>1.03;
X_11:=HHV(CLOSE,)/LLV(OPEN,7)<1.15;
X_12:=X_6 AND X_9 AND X_10 AND X_11 OR (X_5 AND X_8 AND X_11);
X_13:=MA(CLOSE,20);
X_14:=CLOSE>MA(CLOSE,5);
X_1:=MA(CLOSE,5)>MA(CLOSE,10);
X_16:=CLOSE>MA(CLOSE,10);
X_17:=MA(CLOSE,5)>MA(CLOSE,20);
X_18:=CLOSE>MA(CLOSE,20);
X_19:=REF(X_13,1);
X20:=X_13>X_19;
X_21:=IF(X_14,10,0-10)+IF(X_15,10,0-10)+IF(X_16,10,0-10)+IF(X_17,10,0-10)+IF(X_18,10,0-10)+IF(X_20,10,0-10);
X_22:REF(X_21,1)<=0 AND X_21>0;
X_23:=X_21>10 AND X_21>=REF(X_21,1) AND X_21>=REF(X_21,2);
X_24:=X_21=60;
X_25:=X_22 OR X_23 OR X_24;
X_6:=BARSLAST(NOT(X_24));
FILTER(X_12,6) AND X_24=1 AND X_26=1;
若上述公式在汇盈系列行情数据分析软件中有异常,请尝试如下公式:
X_1=MA(CLOSE,5);
X_2:=MA(CLOSE,24)+2*STD(CLOSE,24);
X_3:=OPEN<X_1 AND CLOSE>X_1 AND OPEN<X_2 AND CLOSE>X_2 AND MA(CLOSE,60)>REF(MA(COSE,60),1) AND CLOSE/REF(CLOSE,1)>1.03;
X_4:=HHV(CLOSE,5)/LLV(OPEN,5)<1.05;
X_5:=COUNT(REF(X_3,1),5)<1 AND X_3;
X_6:=CLOSE>OPEN AN CLOSE/OPEN<1.01;
X_7:=REF(CLOSE,1)/REF(CLOSE,2)<1.05;
X_8:=HIGH>=HHV(CLOSE,20);
X_9:=REF(X_5,1);
X_10:=HIGH/LOW>1.03;
X_11:=HHV(CLOE,7)/LLV(OPEN,7)<1.15;
X_12:=X_6 AND X_9 AND X_10 AND X_11 OR (X_5 AND X_8 AND X_11);
X_13:=MA(CLOSE,20);
X_14:=CLOSE>MA(CLOSE,5);
_15:=MA(CLOSE,5)>MA(CLOSE,10);
X_16:=CLOSE>MA(CLOSE,10);
X_17:=MA(CLOSE,5)>MA(CLOSE,20);
X_18:=CLOSE>MA(CLOSE,20);
X_19:=REF(X_13,1;
X_20:=X_13>X_19;
X_21:=IF(X_14,10,0-10)+IF(X_15,10,0-10)+IF(X_16,10,0-10)+IF(X_17,10,0-10)+IF(X_18,10,0-10)+IF(X_20,10,0-10);
X_2:=REF(X_21,1)<=0 AND X_21>0;
X_23:=X_21>10 AND X_21>=REF(X_21,1) AND X_21>=REF(X_21,2);
X_24:=X_21=60;
X_25:=X_22 OR X_23 OR X_24
X_26:=BARSLAST(NOT(X_24));
FILTER(X_12,6) AND X_24=1 AND X_26=1;