XA_1:=1.3;
XA_2:=1;
XA_3:=0;
XA_4:=MA(CLOSE,5);
XA_5:=MA(CLOSE,10);
XA_6:=MA(CLOSE,20);
XA_7:=XA_4>REF(XA_4,1) AND XA_5<REF(XA_5,1) AND XA_6<REF(XA_6,1);
XA_8:=REF(VOL,1);
XA_9:=REF(VOL,2);
XA_10:=REF(VOL,3);
XA_11:=REF(CLOSE,1);
XA_12:=REF(CLOSE,2);
XA_13:=REF(CLOSE,3);
XA_14:=REF(CLOSE,4);
XA_15:=REF(OPEN,1);
XA_16:=REF(OPEN,2);
XA_17:=REF(OPEN,3);
XA_18:=REF(OPEN,4);
XA_19:=CLOSE>=XA_13 AND XA_11>=XA_13 AND XA_12>=XA_13;
XA_20:=LOW>XA_17 AND REF(LOW,1)>XA_17 AND REF(LOW,2)>XA_17;
XA_21:=AMOUNT/VOL/100;
XA_22:=REF(XA_21,1);
XA_23:=REF(XA_21,2);
XA_24:=CLOSE>=OPEN OR (CLOSE<OPEN AND XA_21>XA_11);
XA_25:=COUNT(XA_24,3)>=2;
XA_26:=XA_13>XA_17;
XA_27:=XA_21>=XA_22 OR CLOSE>XA_11 AND (XA_22>=XA_23 OR XA_11>=XA_12);
XA_28:=(CLOSE+XA_11+XA_12)/3>XA_13;
XA_29:=VOL>XA_8 AND XA_8>XA_9;
XA_30:=VOL<=XA_8 AND XA_8<=XA_9;
XA_31:=(VOL+XA_8+XA_9)/3<=XA_10 AND NOT(XA_29);
XA_32:=CLOSE/VOL;
XA_33:=XA_32>=REF(XA_32,1) AND REF(XA_32,1)>=REF(XA_32,2);
XA_34:=(CLOSE+XA_11+XA_12)/3/XA_13;
XA_35:=(VOL+XA_8+XA_9)/3/XA_10;
XA_36:=XA_1*XA_34/XA_35>1;
XA_37:=XA_17>XA_14 AND XA_14>XA_18;
XA_38:=XA_26 AND XA_27 AND XA_30 AND XA_19 AND XA_20 AND XA_37;
XA_39:=BACKSET(XA_38,5);
XA_40:=FILTER(XA_39,4);
XA_41:=XA_26 AND XA_27 AND XA_30 AND XA_19 AND XA_20;
XA_42:=BACKSET(XA_41,4);
XA_43:=FILTER(XA_42,3);
XA_44:=XA_41 AND REF(XA_41,1);
XA_45:=BACKSET(XA_44,4);
XA_46:=FILTER(XA_45,3);
XA_47:=XA_41 AND REF(XA_41,2);
XA_48:=BACKSET(XA_47,4);
XA_49:=FILTER(XA_48,3);
XA_50:=XA_41 AND REF(XA_41,3);
XA_51:=BACKSET(XA_50,4);
XA_52:=FILTER(XA_51,3);
XA_53:=XA_26 AND XA_27 AND XA_31 AND NOT(XA_29) AND XA_19 AND XA_20 AND XA_37 AND NOT(XA_41) AND NOT(XA_38);
XA_54:=BACKSET(XA_53,5);
XA_55:=FILTER(XA_54,4);
XA_56:=XA_26 AND XA_27 AND XA_31 AND NOT(XA_29) AND XA_19 AND XA_20 AND NOT(XA_41) AND NOT(XA_38);
XA_57:=BACKSET(XA_56,4);
XA_58:=FILTER(XA_57,3);
XA_59:=XA_56 AND REF(XA_56,1);
XA_60:=BACKSET(XA_59,4);
XA_61:=FILTER(XA_60,3);
XA_62:=XA_56 AND REF(XA_56,2);
XA_63:=BACKSET(XA_62,4);
XA_64:=FILTER(XA_63,3);
XA_65:=XA_56 AND REF(XA_56,3);
XA_66:=BACKSET(XA_65,4);
XA_67:=FILTER(XA_66,3);
XA_68:=XA_26 AND XA_28 AND XA_30 AND XA_19 AND XA_20 AND XA_37 AND NOT(XA_41) AND NOT(XA_56) AND NOT(XA_38) AND NOT(XA_53);
XA_69:=BACKSET(XA_68,5);
XA_70:=FILTER(XA_69,4);
XA_71:=XA_26 AND XA_28 AND XA_30 AND XA_19 AND XA_20 AND NOT(XA_41) AND NOT(XA_56) AND NOT(XA_38) AND NOT(XA_53);
XA_72:=BACKSET(XA_71,4);
XA_73:=FILTER(XA_72,3);
XA_74:=XA_71 AND REF(XA_71,1);
XA_75:=BACKSET(XA_74,4);
XA_76:=FILTER(XA_75,3);
XA_77:=XA_71 AND REF(XA_71,2);
XA_78:=BACKSET(XA_77,4);
XA_79:=FILTER(XA_78,3);
XA_80:=XA_71 AND REF(XA_71,3);
XA_81:=BACKSET(XA_80,4);
XA_82:=FILTER(XA_81,3);
XA_83:=XA_26 AND XA_28 AND XA_31 AND XA_19 AND XA_20 AND XA_37 AND NOT(XA_41) AND NOT(XA_38) AND NOT(XA_56) AND NOT(XA_53) AND NOT(XA_71) AND NOT(XA_68);
XA_84:=BACKSET(XA_83,5);
XA_85:=FILTER(XA_84,4);
XA_86:=XA_26 AND XA_28 AND XA_31 AND XA_19 AND XA_20 AND NOT(XA_41) AND NOT(XA_56) AND NOT(XA_71) AND NOT(XA_38) AND NOT(XA_53) AND NOT(XA_68);
XA_87:=BACKSET(XA_86,4);
XA_88:=FILTER(XA_87,3);
XA_89:=XA_86 AND REF(XA_86,1);
XA_90:=BACKSET(XA_89,4);
XA_91:=FILTER(XA_90,3);
XA_92:=XA_86 AND REF(XA_86,2);
XA_93:=BACKSET(XA_92,4);
XA_94:=FILTER(XA_93,3);
XA_95:=XA_86 AND REF(XA_86,3);
XA_96:=BACKSET(XA_95,4);
XA_97:=FILTER(XA_96,3);
XA_98:=XA_26 AND XA_28 AND XA_36 AND XA_19 AND XA_20 AND XA_37 AND NOT(XA_41) AND NOT(XA_56) AND NOT(XA_71) AND NOT(XA_86) AND NOT(XA_38) AND NOT(XA_53) AND NOT(XA_68) AND NOT(XA_83);
XA_99:=BACKSET(XA_98,5);
XA_100:=FILTER(XA_99,4);
XA_101:=XA_26 AND XA_28 AND XA_36 AND XA_19 AND XA_20 AND NOT(XA_41) AND NOT(XA_56) AND NOT(XA_71) AND NOT(XA_86) AND NOT(XA_38) AND NOT(XA_53) AND NOT(XA_68) AND NOT(XA_83);
XA_102:=BACKSET(XA_101,4);
XA_103:=FILTER(XA_102,3);
XA_104:=XA_101 AND REF(XA_101,1);
XA_105:=BACKSET(XA_104,4);
XA_106:=FILTER(XA_105,3);
XA_107:=XA_101 AND REF(XA_101,2);
XA_108:=BACKSET(XA_107,4);
XA_109:=FILTER(XA_108,3);
XA_110:=XA_101 AND REF(XA_101,3);
XA_111:=BACKSET(XA_110,4);
XA_112:=FILTER(XA_111,3);
XA_113:=XA_26 AND XA_28 AND XA_33 AND XA_19 AND XA_20 AND XA_37 AND NOT(XA_41) AND NOT(XA_56) AND NOT(XA_71) AND NOT(XA_86) AND NOT(XA_101) AND NOT(XA_38) AND NOT(XA_53) AND NOT(XA_68) AND NOT(XA_83) AND NOT(XA_98);
XA_114:=BACKSET(XA_113,5);
XA_115:=FILTER(XA_114,4);
XA_116:=XA_26 AND XA_28 AND XA_33 AND XA_19 AND XA_20 AND NOT(XA_41) AND NOT(XA_56) AND NOT(XA_71) AND NOT(XA_86) AND NOT(XA_101) AND NOT(XA_38) AND NOT(XA_53) AND NOT(XA_68) AND NOT(XA_83) AND NOT(XA_98);
XA_117:=BACKSET(XA_116,4);
XA_118:=FILTER(XA_117,3);
XA_119:=XA_116 AND REF(XA_116,1);
XA_120:=BACKSET(XA_119,4);
XA_121:=FILTER(XA_120,3);
XA_122:=XA_116 AND REF(XA_116,2);
XA_123:=BACKSET(XA_122,4);
XA_124:=FILTER(XA_123,3);
XA_125:=XA_116 AND REF(XA_116,3);
XA_126:=BACKSET(XA_125,4);
XA_127:=FILTER(XA_126,3);
XA_128:=XA_41 OR XA_56 OR XA_71 OR XA_86 OR XA_101 OR XA_116;
XA_129:=HHV(HIGH,60);
XA_130:=LLV(LOW,60);
XA_131:=REFDATE(XA_129,DATE);
XA_132:=REFDATE(XA_130,DATE);
XA_133:=REFDATE((XA_131-XA_132)*0.5+XA_132,DATE);
XA_134:=XA_131;
XA_135:=XA_132;
XA_136:=XA_134-(XA_134-XA_135)*0.333;
XA_137:=XA_134-(XA_134-XA_135)*0.5;
XA_138:=XA_134-(XA_134-XA_135)*0.666;
卧底黄金柱:COUNT(CLOSE<XA_138,8)=8 AND CLOSE>REF(CLOSE,1) AND CLOSE=HHV(CLOSE,5) AND COUNT(XA_128,8)>=1 AND DYNAINFO(4)>0 AND BARSLASTCOUNT(VOL>0)>60;
王牌柱战法 卧底黄金柱 副图/选股 源码 通达信
XA_1:=1.3;
XA_2:=1;
XA_3:=0;
XA_4:=MA(CLOSE,5);
XA_5:=MA(CLOSE,10);
XA_6:=MA(CLOSE,20);
XA_7:=XA_4>REF(XA_4,1) AND XA_5<REF(XA_5,1) AND XA_6<REF(XA_6,1);
XA_8:=REF(VOL,1);
XA_9:=REF(VOL,2);
XA_10:=REF(VOL,3);
XA_11:=REF(CLOSE,1);
XA_12:=REF(CLOSE,2);
XA_13:=REF(CLOSE,3);
XA_14:=REF(CLOSE,4);
XA_15:=REF(OPEN,1);
XA_16:=REF(OPEN,2);
XA_17:=REF(OPEN,3);
XA_18:=REF(OPEN,4);
XA_19:=CLOSE>=XA_13 AND XA_11>=XA_13 AND XA_12>=XA_13;
XA_20:=LOW>XA_17 AND REF(LOW,1)>XA_17 AND REF(LOW,2)>XA_17;
XA_21:=AMOUNT/VOL/100;
XA_22:=REF(XA_21,1);
XA_23:=REF(XA_21,2);
XA_24:=CLOSE>=OPEN OR (CLOSE<OPEN AND XA_21>XA_11);
XA_25:=COUNT(XA_24,3)>=2;
XA_26:=XA_13>XA_17;
XA_27:=XA_21>=XA_22 OR CLOSE>XA_11 AND (XA_22>=XA_23 OR XA_11>=XA_12);
XA_28:=(CLOSE+XA_11+XA_12)/3>XA_13;
XA_29:=VOL>XA_8 AND XA_8>XA_9;
XA_30:=VOL<=XA_8 AND XA_8<=XA_9;
XA_31:=(VOL+XA_8+XA_9)/3<=XA_10 AND NOT(XA_29);
XA_32:=CLOSE/VOL;
XA_33:=XA_32>=REF(XA_32,1) AND REF(XA_32,1)>=REF(XA_32,2);
XA_34:=(CLOSE+XA_11+XA_12)/3/XA_13;
XA_35:=(VOL+XA_8+XA_9)/3/XA_10;
XA_36:=XA_1*XA_34/XA_35>1;
XA_37:=XA_17>XA_14 AND XA_14>XA_18;
XA_38:=XA_26 AND XA_27 AND XA_30 AND XA_19 AND XA_20 AND XA_37;
XA_39:=BACKSET(XA_38,5);
XA_40:=FILTER(XA_39,4);
XA_41:=XA_26 AND XA_27 AND XA_30 AND XA_19 AND XA_20;
XA_42:=BACKSET(XA_41,4);
XA_43:=FILTER(XA_42,3);
XA_44:=XA_41 AND REF(XA_41,1);
XA_45:=BACKSET(XA_44,4);
XA_46:=FILTER(XA_45,3);
XA_47:=XA_41 AND REF(XA_41,2);
XA_48:=BACKSET(XA_47,4);
XA_49:=FILTER(XA_48,3);
XA_50:=XA_41 AND REF(XA_41,3);
XA_51:=BACKSET(XA_50,4);
XA_52:=FILTER(XA_51,3);
XA_53:=XA_26 AND XA_27 AND XA_31 AND NOT(XA_29) AND XA_19 AND XA_20 AND XA_37 AND NOT(XA_41) AND NOT(XA_38);
XA_54:=BACKSET(XA_53,5);
XA_55:=FILTER(XA_54,4);
XA_56:=XA_26 AND XA_27 AND XA_31 AND NOT(XA_29) AND XA_19 AND XA_20 AND NOT(XA_41) AND NOT(XA_38);
XA_57:=BACKSET(XA_56,4);
XA_58:=FILTER(XA_57,3);
XA_59:=XA_56 AND REF(XA_56,1);
XA_60:=BACKSET(XA_59,4);
XA_61:=FILTER(XA_60,3);
XA_62:=XA_56 AND REF(XA_56,2);
XA_63:=BACKSET(XA_62,4);
XA_64:=FILTER(XA_63,3);
XA_65:=XA_56 AND REF(XA_56,3);
XA_66:=BACKSET(XA_65,4);
XA_67:=FILTER(XA_66,3);
XA_68:=XA_26 AND XA_28 AND XA_30 AND XA_19 AND XA_20 AND XA_37 AND NOT(XA_41) AND NOT(XA_56) AND NOT(XA_38) AND NOT(XA_53);
XA_69:=BACKSET(XA_68,5);
XA_70:=FILTER(XA_69,4);
XA_71:=XA_26 AND XA_28 AND XA_30 AND XA_19 AND XA_20 AND NOT(XA_41) AND NOT(XA_56) AND NOT(XA_38) AND NOT(XA_53);
XA_72:=BACKSET(XA_71,4);
XA_73:=FILTER(XA_72,3);
XA_74:=XA_71 AND REF(XA_71,1);
XA_75:=BACKSET(XA_74,4);
XA_76:=FILTER(XA_75,3);
XA_77:=XA_71 AND REF(XA_71,2);
XA_78:=BACKSET(XA_77,4);
XA_79:=FILTER(XA_78,3);
XA_80:=XA_71 AND REF(XA_71,3);
XA_81:=BACKSET(XA_80,4);
XA_82:=FILTER(XA_81,3);
XA_83:=XA_26 AND XA_28 AND XA_31 AND XA_19 AND XA_20 AND XA_37 AND NOT(XA_41) AND NOT(XA_38) AND NOT(XA_56) AND NOT(XA_53) AND NOT(XA_71) AND NOT(XA_68);
XA_84:=BACKSET(XA_83,5);
XA_85:=FILTER(XA_84,4);
XA_86:=XA_26 AND XA_28 AND XA_31 AND XA_19 AND XA_20 AND NOT(XA_41) AND NOT(XA_56) AND NOT(XA_71) AND NOT(XA_38) AND NOT(XA_53) AND NOT(XA_68);
XA_87:=BACKSET(XA_86,4);
XA_88:=FILTER(XA_87,3);
XA_89:=XA_86 AND REF(XA_86,1);
XA_90:=BACKSET(XA_89,4);
XA_91:=FILTER(XA_90,3);
XA_92:=XA_86 AND REF(XA_86,2);
XA_93:=BACKSET(XA_92,4);
XA_94:=FILTER(XA_93,3);
XA_95:=XA_86 AND REF(XA_86,3);
XA_96:=BACKSET(XA_95,4);
XA_97:=FILTER(XA_96,3);
XA_98:=XA_26 AND XA_28 AND XA_36 AND XA_19 AND XA_20 AND XA_37 AND NOT(XA_41) AND NOT(XA_56) AND NOT(XA_71) AND NOT(XA_86) AND NOT(XA_38) AND NOT(XA_53) AND NOT(XA_68) AND NOT(XA_83);
XA_99:=BACKSET(XA_98,5);
XA_100:=FILTER(XA_99,4);
XA_101:=XA_26 AND XA_28 AND XA_36 AND XA_19 AND XA_20 AND NOT(XA_41) AND NOT(XA_56) AND NOT(XA_71) AND NOT(XA_86) AND NOT(XA_38) AND NOT(XA_53) AND NOT(XA_68) AND NOT(XA_83);
XA_102:=BACKSET(XA_101,4);
XA_103:=FILTER(XA_102,3);
XA_104:=XA_101 AND REF(XA_101,1);
XA_105:=BACKSET(XA_104,4);
XA_106:=FILTER(XA_105,3);
XA_107:=XA_101 AND REF(XA_101,2);
XA_108:=BACKSET(XA_107,4);
XA_109:=FILTER(XA_108,3);
XA_110:=XA_101 AND REF(XA_101,3);
XA_111:=BACKSET(XA_110,4);
XA_112:=FILTER(XA_111,3);
XA_113:=XA_26 AND XA_28 AND XA_33 AND XA_19 AND XA_20 AND XA_37 AND NOT(XA_41) AND NOT(XA_56) AND NOT(XA_71) AND NOT(XA_86) AND NOT(XA_101) AND NOT(XA_38) AND NOT(XA_53) AND NOT(XA_68) AND NOT(XA_83) AND NOT(XA_98);
XA_114:=BACKSET(XA_113,5);
XA_115:=FILTER(XA_114,4);
XA_116:=XA_26 AND XA_28 AND XA_33 AND XA_19 AND XA_20 AND NOT(XA_41) AND NOT(XA_56) AND NOT(XA_71) AND NOT(XA_86) AND NOT(XA_101) AND NOT(XA_38) AND NOT(XA_53) AND NOT(XA_68) AND NOT(XA_83) AND NOT(XA_98);
XA_117:=BACKSET(XA_116,4);
XA_118:=FILTER(XA_117,3);
XA_119:=XA_116 AND REF(XA_116,1);
XA_120:=BACKSET(XA_119,4);
XA_121:=FILTER(XA_120,3);
XA_122:=XA_116 AND REF(XA_116,2);
XA_123:=BACKSET(XA_122,4);
XA_124:=FILTER(XA_123,3);
XA_125:=XA_116 AND REF(XA_116,3);
XA_126:=BACKSET(XA_125,4);
XA_127:=FILTER(XA_126,3);
XA_128:=XA_41 OR XA_56 OR XA_71 OR XA_86 OR XA_101 OR XA_116;
XA_129:=HHV(HIGH,60);
XA_130:=LLV(LOW,60);
XA_131:=REFDATE(XA_129,DATE);
XA_132:=REFDATE(XA_130,DATE);
XA_133:=REFDATE((XA_131-XA_132)*0.5+XA_132,DATE);
XA_134:=XA_131;
XA_135:=XA_132;
XA_136:=XA_134-(XA_134-XA_135)*0.333;
XA_137:=XA_134-(XA_134-XA_135)*0.5;
XA_138:=XA_134-(XA_134-XA_135)*0.666;
卧底黄金柱:COUNT(CLOSE<XA_138,8)=8 AND CLOSE>REF(CLOSE,1) AND CLOSE=HHV(CLOSE,5) AND COUNT(XA_128,8)>=1 AND DYNAINFO(4)>0 AND BARSLASTCOUNT(VOL>0)>60;