三阳开泰 出手就是黑马股 通达信选股/预警指标 源码 贴图
三阳开泰 出手就是黑马股 通达信选股/预警指标 源码 贴图
XA_1:=MIN(CLOSE,OPEN);
XA_2:=LOW;
XA_3:=MAX(CLOSE,OPEN);
XA_4:=HIGH;
XA_5:=IF(倍阳底取值=1,XA_1,XA_2);
XA_6:=放量系数;
XA_7:=REF(VOL,1)*1.9<=VOL AND AMOUNT/(VOL*100)>REF(CLOSE,1);
XA_8:=LOW=CLOSE AND CLOSE=OPEN AND HIGH=LOW;
XA_9:=XA_7 AND NOT(XA_8);
XA_10:=CONST(BARSLAST(XA_9))+1;
XA_11:=CONST(BARSLAST(REF(XA_9,XA_10)))+XA_10+1;
XA_12:=CONST(BARSLAST(REF(XA_9,XA_11)))+XA_11+1;
XA_13:=CONST(BARSLAST(REF(XA_9,XA_12)))+XA_12+1;
XA_14:=CONST(BARSLAST(REF(XA_9,XA_13)))+XA_13+1;
XA_15:=CONST(BARSLAST(REF(XA_9,XA_14)))+XA_14+1;
XA_16:=CONST(BARSLAST(REF(XA_9,XA_15)))+XA_15+1;
XA_17:=CONST(BARSLAST(REF(XA_9,XA_16)))+XA_16+1;
XA_18:=CONST(BARSLAST(REF(XA_9,XA_17)))+XA_17+1;
XA_19:=CONST(BARSLAST(REF(XA_9,XA_18)))+XA_18+1;
XA_20:=CONST(LLV(CLOSE,XA_10-1)>=CONST(REF(XA_5,XA_10-1))) OR 0;
XA_21:=CONST(LLV(CLOSE,XA_11-1)>=CONST(REF(XA_5,XA_11-1))) OR 0;
XA_22:=CONST(LLV(CLOSE,XA_12-1)>=CONST(REF(XA_5,XA_12-1))) OR 0;
XA_23:=CONST(LLV(CLOSE,XA_13-1)>=CONST(REF(XA_5,XA_13-1))) OR 0;
XA_24:=CONST(LLV(CLOSE,XA_14-1)>=CONST(REF(XA_5,XA_14-1))) OR 0;
XA_25:=CONST(LLV(CLOSE,XA_15-1)>=CONST(REF(XA_5,XA_15-1))) OR 0;
XA_26:=CONST(LLV(CLOSE,XA_16-1)>=CONST(REF(XA_5,XA_16-1))) OR 0;
XA_27:=CONST(LLV(CLOSE,XA_17-1)>=CONST(REF(XA_5,XA_17-1))) OR 0;
XA_28:=CONST(LLV(CLOSE,XA_18-1)>=CONST(REF(XA_5,XA_18-1))) OR 0;
XA_29:=CONST(LLV(CLOSE,XA_19-1)>=CONST(REF(XA_5,XA_19-1))) OR 0;
XA_30:=0;{www.gpxiazai.com}
XA_31:=CONST(HHV(REF(VOL,XA_30),XA_10-XA_30-1)<=REF(VOL,XA_10-1)*XA_6);
XA_32:=CONST(HHV(REF(VOL,XA_10),XA_11-XA_10-1)<=REF(VOL,XA_11-1)*XA_6);
XA_33:=CONST(HHV(REF(VOL,XA_11),XA_12-XA_11-1)<=REF(VOL,XA_12-1)*XA_6);
XA_34:=CONST(HHV(REF(VOL,XA_12),XA_13-XA_12-1)<=REF(VOL,XA_13-1)*XA_6);
XA_35:=CONST(HHV(REF(VOL,XA_13),XA_14-XA_13-1)<=REF(VOL,XA_14-1)*XA_6);
XA_36:=CONST(HHV(REF(VOL,XA_14),XA_15-XA_14-1)<=REF(VOL,XA_15-1)*XA_6);
XA_37:=CONST(HHV(REF(VOL,XA_15),XA_16-XA_15-1)<=REF(VOL,XA_16-1)*XA_6);
XA_38:=CONST(HHV(REF(VOL,XA_16),XA_17-XA_16-1)<=REF(VOL,XA_17-1)*XA_6);
XA_39:=CONST(HHV(REF(VOL,XA_17),XA_18-XA_17-1)<=REF(VOL,XA_18-1)*XA_6);
XA_40:=CONST(HHV(REF(VOL,XA_18),XA_19-XA_18-1)<=REF(VOL,XA_19-1)*XA_6);
XA_41:=CONST(REF(VOL,XA_10-2)<REF(VOL,XA_10-1)*2/3);
XA_42:=CONST(REF(VOL,XA_11-2)<REF(VOL,XA_11-1)*2/3);
XA_43:=CONST(REF(VOL,XA_12-2)<REF(VOL,XA_12-1)*2/3);
XA_44:=CONST(REF(VOL,XA_13-2)<REF(VOL,XA_13-1)*2/3);
XA_45:=CONST(REF(VOL,XA_14-2)<REF(VOL,XA_14-1)*2/3);
XA_46:=CONST(REF(VOL,XA_15-2)<REF(VOL,XA_15-1)*2/3);
XA_47:=CONST(REF(VOL,XA_16-2)<REF(VOL,XA_16-1)*2/3);
XA_48:=CONST(REF(VOL,XA_17-2)<REF(VOL,XA_17-1)*2/3);
XA_49:=CONST(REF(VOL,XA_18-2)<REF(VOL,XA_18-1)*2/3);
XA_50:=CONST(REF(VOL,XA_19-2)<REF(VOL,XA_19-1)*2/3);
XA_51:=CONST(REF(CLOSE,XA_10-1)>REF(CLOSE,XA_11-1));
XA_52:=CONST(REF(CLOSE,XA_11-1)>REF(CLOSE,XA_12-1));
XA_53:=CONST(REF(CLOSE,XA_12-1)>REF(CLOSE,XA_13-1));
XA_54:=CONST(REF(CLOSE,XA_13-1)>REF(CLOSE,XA_14-1));
XA_55:=CONST(REF(CLOSE,XA_14-1)>REF(CLOSE,XA_15-1));
XA_56:=CONST(REF(CLOSE,XA_15-1)>REF(CLOSE,XA_16-1));
XA_57:=CONST(REF(CLOSE,XA_16-1)>REF(CLOSE,XA_17-1));
XA_58:=CONST(REF(CLOSE,XA_17-1)>REF(CLOSE,XA_18-1));
XA_59:=CONST(REF(CLOSE,XA_18-1)>REF(CLOSE,XA_19-1));
XA_60:=XA_20 AND XA_31 OR 0;
XA_61:=XA_21 AND XA_32 OR 0;
XA_62:=XA_22 AND XA_33 OR 0;
XA_63:=XA_23 AND XA_34 OR 0;
XA_64:=XA_24 AND XA_35 OR 0;
XA_65:=XA_25 AND XA_36 OR 0;
XA_66:=XA_26 AND XA_37 OR 0;
XA_67:=XA_27 AND XA_38 OR 0;
XA_68:=XA_28 AND XA_39 OR 0;
XA_69:=XA_29 AND XA_40 OR 0;
XA_70:=XA_20 AND XA_31 AND XA_41 AND XA_51 OR 0;
XA_71:=XA_21 AND XA_32 AND XA_42 AND XA_52 OR 0;
XA_72:=XA_22 AND XA_33 AND XA_43 AND XA_53 OR 0;
XA_73:=XA_23 AND XA_34 AND XA_44 AND XA_54 OR 0;
XA_74:=XA_24 AND XA_35 AND XA_45 AND XA_55 OR 0;
XA_75:=XA_25 AND XA_36 AND XA_46 AND XA_56 OR 0;
XA_76:=XA_26 AND XA_37 AND XA_47 AND XA_57 OR 0;
XA_77:=XA_27 AND XA_38 AND XA_48 AND XA_58 OR 0;
XA_78:=XA_28 AND XA_39 AND XA_49 AND XA_59 OR 0;
XA_79:=XA_29 AND XA_40 AND XA_50 OR 0;
XA_80:=IF(TOTALBARSCOUNT<周期,TOTALBARSCOUNT,周期);
XA_81:=IF(XA_10<=XA_80 OR XA_10=DRAWNULL,XA_20,0)+IF(XA_11<=XA_80 OR XA_11=DRAWNULL,XA_21,0)+IF(XA_12<=XA_80 OR XA_12=DRAWNULL,XA_22,0)+IF(XA_13<=XA_80 OR XA_13=DRAWNULL,XA_23,0)+IF(XA_14<=XA_80 OR XA_14=DRAWNULL,XA_24,0)+IF(XA_15<=XA_80 OR XA_15=DRAWNULL,XA_25,0)+IF(XA_16<=XA_80 OR XA_16=DRAWNULL,XA_26,0)+IF(XA_17<=XA_80 OR XA_17=DRAWNULL,XA_27,0)+IF(XA_18<=XA_80 OR XA_18=DRAWNULL,XA_28,0)+IF(XA_19<=XA_80 OR XA_19=DRAWNULL,XA_29,0);
XA_82:=IF(XA_10<=XA_80 OR XA_10=DRAWNULL,XA_60,0)+IF(XA_11<=XA_80 OR XA_11=DRAWNULL,XA_61,0)+IF(XA_12<=XA_80 OR XA_12=DRAWNULL,XA_62,0)+IF(XA_13<=XA_80 OR XA_13=DRAWNULL,XA_63,0)+IF(XA_14<=XA_80 OR XA_14=DRAWNULL,XA_64,0)+IF(XA_15<=XA_80 OR XA_15=DRAWNULL,XA_65,0)+IF(XA_16<=XA_80 OR XA_16=DRAWNULL,XA_66,0)+IF(XA_17<=XA_80 OR XA_17=DRAWNULL,XA_67,0)+IF(XA_18<=XA_80 OR XA_18=DRAWNULL,XA_68,0)+IF(XA_19<=XA_80 OR XA_19=DRAWNULL,XA_69,0);
XA_83:=IF(XA_10<=XA_80 OR XA_10=DRAWNULL,XA_70,0)+IF(XA_11<=XA_80 OR XA_11=DRAWNULL,XA_71,0)+IF(XA_12<=XA_80 OR XA_12=DRAWNULL,XA_72,0)+IF(XA_13<=XA_80 OR XA_13=DRAWNULL,XA_73,0)+IF(XA_14<=XA_80 OR XA_14=DRAWNULL,XA_74,0)+IF(XA_15<=XA_80 OR XA_15=DRAWNULL,XA_75,0)+IF(XA_16<=XA_80 OR XA_16=DRAWNULL,XA_76,0)+IF(XA_17<=XA_80 OR XA_17=DRAWNULL,XA_77,0)+IF(XA_18<=XA_80 OR XA_18=DRAWNULL,XA_78,0)+IF(XA_19<=XA_80 OR XA_19=DRAWNULL,XA_79,0);
XA_84:=XA_10=CURRBARSCOUNT AND XA_60 OR (XA_11=CURRBARSCOUNT AND XA_61) OR (XA_12=CURRBARSCOUNT AND XA_62) OR (XA_13=CURRBARSCOUNT AND XA_63) OR (XA_14=CURRBARSCOUNT AND XA_64) OR (XA_15=CURRBARSCOUNT AND XA_65) OR (XA_16=CURRBARSCOUNT AND XA_66) OR (XA_17=CURRBARSCOUNT AND XA_67) OR (XA_18=CURRBARSCOUNT AND XA_68) OR (XA_19=CURRBARSCOUNT AND XA_69);
XA_85:=XA_10=CURRBARSCOUNT AND XA_70 OR (XA_11=CURRBARSCOUNT AND XA_71) OR (XA_12=CURRBARSCOUNT AND XA_72) OR (XA_13=CURRBARSCOUNT AND XA_73) OR (XA_14=CURRBARSCOUNT AND XA_74) OR (XA_15=CURRBARSCOUNT AND XA_75) OR (XA_16=CURRBARSCOUNT AND XA_76) OR (XA_17=CURRBARSCOUNT AND XA_77) OR (XA_18=CURRBARSCOUNT AND XA_78) OR (XA_19=CURRBARSCOUNT AND XA_79);
XA_86:=XA_10=CURRBARSCOUNT AND XA_20 OR (XA_11=CURRBARSCOUNT AND XA_21) OR (XA_12=CURRBARSCOUNT AND XA_22) OR (XA_13=CURRBARSCOUNT AND XA_23) OR (XA_14=CURRBARSCOUNT AND XA_24) OR (XA_15=CURRBARSCOUNT AND XA_25) OR (XA_16=CURRBARSCOUNT AND XA_26) OR (XA_17=CURRBARSCOUNT AND XA_27) OR (XA_18=CURRBARSCOUNT AND XA_28) OR (XA_19=CURRBARSCOUNT AND XA_29);
XG:XA_84 AND XA_85 AND XA_86;