PW三阳开泰 红蓝黄球同时出现,选股

[复制链接]
查看55 | 回复0 | 2022-6-27 17:24:04 | 显示全部楼层 |阅读模式

 PW三阳开泰 这公式是非常不错的,
红蓝黄球同时出现,选股
原公式在这:
http://www.70822.com/soft/sort013/sort05/down-149603.html

20208115373513244.png

20208115373513244.png

20208115374215365.png

20208115374215365.png

选股公式的源码:

{三球选股}

倍阳底取值:=0;

放量系数:=1.5;

X_1:=MIN(CLOSE,OPEN);

X_2:=LOW;

X_5:=IF(倍阳底取值=1,X_1,X_2);

X_6:=放量系数;

X_7:=REF(VOL,1)*1.9<=VOL AND AMOUNT/(VOL*100)>REF(CLOSE,1);

X_8:=LOW=CLOSE AND CLOSE=OPEN AND HIGH=LOW;

X_9:=X_7 AND NOT(X_8);

X_10:=CONST(BARSLAST(X_9))+1;

X_11:=CONST(BARSLAST(REF(X_9,X_10)))+X_10+1;

X_12:=CONST(BARSLAST(REF(X_9,X_11)))+X_11+1;

X_13:=CONST(BARSLAST(REF(X_9,X_12)))+X_12+1;

X_14:=CONST(BARSLAST(REF(X_9,X_13)))+X_13+1;

X_15:=CONST(BARSLAST(REF(X_9,X_14)))+X_14+1;

X_16:=CONST(BARSLAST(REF(X_9,X_15)))+X_15+1;

X_17:=CONST(BARSLAST(REF(X_9,X_16)))+X_16+1;

X_18:=CONST(BARSLAST(REF(X_9,X_17)))+X_17+1;

X_19:=CONST(BARSLAST(REF(X_9,X_18)))+X_18+1;

X_20:=CONST(LLV(CLOSE,X_10-1)>=CONST(REF(X_5,X_10-1))) OR 0;

X_21:=CONST(LLV(CLOSE,X_11-1)>=CONST(REF(X_5,X_11-1))) OR 0;

X_22:=CONST(LLV(CLOSE,X_12-1)>=CONST(REF(X_5,X_12-1))) OR 0;

X_23:=CONST(LLV(CLOSE,X_13-1)>=CONST(REF(X_5,X_13-1))) OR 0;

X_24:=CONST(LLV(CLOSE,X_14-1)>=CONST(REF(X_5,X_14-1))) OR 0;

X_25:=CONST(LLV(CLOSE,X_15-1)>=CONST(REF(X_5,X_15-1))) OR 0;

X_26:=CONST(LLV(CLOSE,X_16-1)>=CONST(REF(X_5,X_16-1))) OR 0;

X_27:=CONST(LLV(CLOSE,X_17-1)>=CONST(REF(X_5,X_17-1))) OR 0;

X_28:=CONST(LLV(CLOSE,X_18-1)>=CONST(REF(X_5,X_18-1))) OR 0;

X_29:=CONST(LLV(CLOSE,X_19-1)>=CONST(REF(X_5,X_19-1))) OR 0;

X_30:=0;

X_31:=CONST(HHV(REF(VOL,X_30),X_10-X_30-1)<=REF(VOL,X_10-1)*X_6);

X_32:=CONST(HHV(REF(VOL,X_10),X_11-X_10-1)<=REF(VOL,X_11-1)*X_6);

X_33:=CONST(HHV(REF(VOL,X_11),X_12-X_11-1)<=REF(VOL,X_12-1)*X_6);

X_34:=CONST(HHV(REF(VOL,X_12),X_13-X_12-1)<=REF(VOL,X_13-1)*X_6);

X_35:=CONST(HHV(REF(VOL,X_13),X_14-X_13-1)<=REF(VOL,X_14-1)*X_6);

X_36:=CONST(HHV(REF(VOL,X_14),X_15-X_14-1)<=REF(VOL,X_15-1)*X_6);

X_37:=CONST(HHV(REF(VOL,X_15),X_16-X_15-1)<=REF(VOL,X_16-1)*X_6);

X_38:=CONST(HHV(REF(VOL,X_16),X_17-X_16-1)<=REF(VOL,X_17-1)*X_6);

X_39:=CONST(HHV(REF(VOL,X_17),X_18-X_17-1)<=REF(VOL,X_18-1)*X_6);

X_40:=CONST(HHV(REF(VOL,X_18),X_19-X_18-1)<=REF(VOL,X_19-1)*X_6);

X_41:=CONST(REF(VOL,X_10-2)<REF(VOL,X_10-1)*2/3);

X_42:=CONST(REF(VOL,X_11-2)<REF(VOL,X_11-1)*2/3);

X_43:=CONST(REF(VOL,X_12-2)<REF(VOL,X_12-1)*2/3);

X_44:=CONST(REF(VOL,X_13-2)<REF(VOL,X_13-1)*2/3);

X_45:=CONST(REF(VOL,X_14-2)<REF(VOL,X_14-1)*2/3);

X_46:=CONST(REF(VOL,X_15-2)<REF(VOL,X_15-1)*2/3);

X_47:=CONST(REF(VOL,X_16-2)<REF(VOL,X_16-1)*2/3);

X_48:=CONST(REF(VOL,X_17-2)<REF(VOL,X_17-1)*2/3);

X_49:=CONST(REF(VOL,X_18-2)<REF(VOL,X_18-1)*2/3);

X_50:=CONST(REF(VOL,X_19-2)<REF(VOL,X_19-1)*2/3);

X_51:=CONST(REF(CLOSE,X_10-1)>REF(CLOSE,X_11-1));

X_52:=CONST(REF(CLOSE,X_11-1)>REF(CLOSE,X_12-1));

X_53:=CONST(REF(CLOSE,X_12-1)>REF(CLOSE,X_13-1));

X_54:=CONST(REF(CLOSE,X_13-1)>REF(CLOSE,X_14-1));

X_55:=CONST(REF(CLOSE,X_14-1)>REF(CLOSE,X_15-1));

X_56:=CONST(REF(CLOSE,X_15-1)>REF(CLOSE,X_16-1));

X_57:=CONST(REF(CLOSE,X_16-1)>REF(CLOSE,X_17-1));

X_58:=CONST(REF(CLOSE,X_17-1)>REF(CLOSE,X_18-1));

X_59:=CONST(REF(CLOSE,X_18-1)>REF(CLOSE,X_19-1));

X_60:=X_20 AND X_31 OR 0;

X_61:=X_21 AND X_32 OR 0;

X_62:=X_22 AND X_33 OR 0;

X_63:=X_23 AND X_34 OR 0;

X_64:=X_24 AND X_35 OR 0;

X_65:=X_25 AND X_36 OR 0;

X_66:=X_26 AND X_37 OR 0;

X_67:=X_27 AND X_38 OR 0;

X_68:=X_28 AND X_39 OR 0;

X_69:=X_29 AND X_40 OR 0;

X_70:=X_20 AND X_31 AND X_41 AND X_51 OR 0;

X_71:=X_21 AND X_32 AND X_42 AND X_52 OR 0;

X_72:=X_22 AND X_33 AND X_43 AND X_53 OR 0;

X_73:=X_23 AND X_34 AND X_44 AND X_54 OR 0;

X_74:=X_24 AND X_35 AND X_45 AND X_55 OR 0;

X_75:=X_25 AND X_36 AND X_46 AND X_56 OR 0;

X_76:=X_26 AND X_37 AND X_47 AND X_57 OR 0;

X_77:=X_27 AND X_38 AND X_48 AND X_58 OR 0;

X_78:=X_28 AND X_39 AND X_49 AND X_59 OR 0;

X_79:=X_29 AND X_40 AND X_50 OR 0;

X_84:=X_10=CURRBARSCOUNT AND X_60 OR (X_11=CURRBARSCOUNT AND X_61) OR (X_12=CURRBARSCOUNT AND X_62) OR (X_13=CURRBARSCOUNT AND X_63) OR (X_14=CURRBARSCOUNT AND X_64) OR (X_15=CURRBARSCOUNT AND X_65) OR (X_16=CURRBARSCOUNT AND X_66) OR (X_17=CURRBARSCOUNT AND X_67) OR (X_18=CURRBARSCOUNT AND X_68) OR (X_19=CURRBARSCOUNT AND X_69);

X_85:=X_10=CURRBARSCOUNT AND X_70 OR (X_11=CURRBARSCOUNT AND X_71) OR (X_12=CURRBARSCOUNT AND X_72) OR (X_13=CURRBARSCOUNT AND X_73) OR (X_14=CURRBARSCOUNT AND X_74) OR (X_15=CURRBARSCOUNT AND X_75) OR (X_16=CURRBARSCOUNT AND X_76) OR (X_17=CURRBARSCOUNT AND X_77) OR (X_18=CURRBARSCOUNT AND X_78) OR (X_19=CURRBARSCOUNT AND X_79);

X_86:=X_10=CURRBARSCOUNT AND X_20 OR (X_11=CURRBARSCOUNT AND X_21) OR (X_12=CURRBARSCOUNT AND X_22) OR (X_13=CURRBARSCOUNT AND X_23) OR (X_14=CURRBARSCOUNT AND X_24) OR (X_15=CURRBARSCOUNT AND X_25) OR (X_16=CURRBARSCOUNT AND X_26) OR (X_17=CURRBARSCOUNT AND X_27) OR (X_18=CURRBARSCOUNT AND X_28) OR (X_19=CURRBARSCOUNT AND X_29);

三球选股:X_84 AND X_85 AND X_86;

 
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则