量学黄金线
XA_1:=REF(CLOSE,1);XA_2:=CLOSE<0.96*OPEN OR CLOSE<=XA_1*0.96 OR CLOSE>1000 AND CLOSE<=XA_1*0.98;
XA_3:=BARSLAST(FILTER(XA_2,3));
大阴实顶:REF(OPEN,XA_3),POINTDOT,COLORLIGREEN;
大阴二一:REF((LOW+HIGH)/2,XA_3),NODRAW;
DRAWTEXT_FIX(ISLASTBAR,1,0,0,HYBLOCK);
DRAWTEXT_FIX(ISLASTBAR,1.05,0,0,DYBLOCK);
DRAWTEXT_FIX(ISLASTBAR,1.1,0,0,GNBLOCK);
XA_4:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
XA_5:=NAMELIKE(16) OR NAMELIKE(17) OR NAMELIKE(1465) AND XA_4>=4.945;
XA_6:=NAMELIKE(16) OR NAMELIKE(17) OR NAMELIKE(1465) AND XA_4<=(-4.945);
涨停价:IF(XA_5,REF(CLOSE,1)*1.05,REF(CLOSE,1)*1.1),NODRAW;
跌停价:IF(XA_6,REF(CLOSE,1)*0.95,REF(CLOSE,1)*0.9),NODRAW;
XA_7:=1.3;
XA_8:=1;
XA_9:=0;
XA_10:=MA(CLOSE,5);
XA_11:=MA(CLOSE,10);
XA_12:=MA(CLOSE,20);
XA_13:=XA_10>REF(XA_10,1) AND XA_11<REF(XA_11,1) AND XA_12<REF(XA_12,1);
XA_14:=REF(VOL,1);
XA_15:=REF(VOL,2);
XA_16:=REF(VOL,3);
XA_17:=REF(CLOSE,2);
XA_18:=REF(CLOSE,3);
XA_19:=REF(CLOSE,4);
XA_20:=REF(OPEN,1);
XA_21:=REF(OPEN,2);
XA_22:=REF(OPEN,3);
XA_23:=REF(OPEN,4);
XA_24:=CLOSE>=XA_18 AND XA_1>=XA_18 AND XA_17>=XA_18;
XA_25:=LOW>XA_22 AND REF(LOW,1)>XA_22 AND REF(LOW,2)>XA_22;
XA_26:=AMOUNT/VOL/100;
XA_27:=REF(XA_26,1);
XA_28:=REF(XA_26,2);
XA_29:=CLOSE>=OPEN OR (CLOSE<OPEN AND XA_26>XA_1);
XA_30:=COUNT(XA_29,3)>=2;
XA_31:=XA_18>XA_22;
XA_32:=XA_26>=XA_27 OR CLOSE>XA_1 AND (XA_27>=XA_28 OR XA_1>=XA_17);
XA_33:=(CLOSE+XA_1+XA_17)/3>XA_18;
XA_34:=VOL>XA_14 AND XA_14>XA_15;
XA_35:=VOL<=XA_14 AND XA_14<=XA_15;
XA_36:=(VOL+XA_14+XA_15)/3<=XA_16 AND NOT(XA_34);
XA_37:=CLOSE/VOL;
XA_38:=XA_37>=REF(XA_37,1) AND REF(XA_37,1)>=REF(XA_37,2);
XA_39:=(CLOSE+XA_1+XA_17)/3/XA_18;
XA_40:=(VOL+XA_14+XA_15)/3/XA_16;
XA_41:=XA_7*XA_39/XA_40>1;
XA_42:=XA_22>XA_19 AND XA_19>XA_23;
XA_43:=XA_31 AND XA_32 AND XA_35 AND XA_24 AND XA_25 AND XA_42;
XA_44:=BACKSET(XA_43,5);
XA_45:=FILTER(XA_44,4);
XA_46:=XA_31 AND XA_32 AND XA_35 AND XA_24 AND XA_25;
XA_47:=BACKSET(XA_46,4);
XA_48:=FILTER(XA_47,3);
XA_49:=XA_46 AND REF(XA_46,1);
XA_50:=BACKSET(XA_49,4);
XA_51:=FILTER(XA_50,3);
XA_52:=XA_46 AND REF(XA_46,2);
XA_53:=BACKSET(XA_52,4);
XA_54:=FILTER(XA_53,3);
XA_55:=XA_46 AND REF(XA_46,3);
XA_56:=BACKSET(XA_55,4);
XA_57:=FILTER(XA_56,3);
XA_58:=XA_31 AND XA_32 AND XA_36 AND NOT(XA_34) AND XA_24 AND XA_25 AND XA_42 AND NOT(XA_46) AND NOT(XA_43);
XA_59:=BACKSET(XA_58,5);
XA_60:=FILTER(XA_59,4);
XA_61:=XA_31 AND XA_32 AND XA_36 AND NOT(XA_34) AND XA_24 AND XA_25 AND NOT(XA_46) AND NOT(XA_43);
XA_62:=BACKSET(XA_61,4);
XA_63:=FILTER(XA_62,3);
XA_64:=XA_61 AND REF(XA_61,1);
XA_65:=BACKSET(XA_64,4);
XA_66:=FILTER(XA_65,3);
XA_67:=XA_61 AND REF(XA_61,2);
XA_68:=BACKSET(XA_67,4);
XA_69:=FILTER(XA_68,3);
XA_70:=XA_61 AND REF(XA_61,3);
XA_71:=BACKSET(XA_70,4);
XA_72:=FILTER(XA_71,3);
XA_73:=XA_31 AND XA_33 AND XA_35 AND XA_24 AND XA_25 AND XA_42 AND NOT(XA_46) AND NOT(XA_61) AND NOT(XA_43) AND NOT(XA_58);
XA_74:=BACKSET(XA_73,5);
XA_75:=FILTER(XA_74,4);
XA_76:=XA_31 AND XA_33 AND XA_35 AND XA_24 AND XA_25 AND NOT(XA_46) AND NOT(XA_61) AND NOT(XA_43) AND NOT(XA_58);
XA_77:=BACKSET(XA_76,4);
XA_78:=FILTER(XA_77,3);
XA_79:=XA_76 AND REF(XA_76,1);
XA_80:=BACKSET(XA_79,4);
XA_81:=FILTER(XA_80,3);
XA_82:=XA_76 AND REF(XA_76,2);
XA_83:=BACKSET(XA_82,4);
XA_84:=FILTER(XA_83,3);
XA_85:=XA_76 AND REF(XA_76,3);
XA_86:=BACKSET(XA_85,4);
XA_87:=FILTER(XA_86,3);
XA_88:=XA_31 AND XA_33 AND XA_36 AND XA_24 AND XA_25 AND XA_42 AND NOT(XA_46) AND NOT(XA_43) AND NOT(XA_61) AND NOT(XA_58) AND NOT(XA_76) AND NOT(XA_73);
XA_89:=BACKSET(XA_88,5);
XA_90:=FILTER(XA_89,4);
XA_91:=XA_31 AND XA_33 AND XA_36 AND XA_24 AND XA_25 AND NOT(XA_46) AND NOT(XA_61) AND NOT(XA_76) AND NOT(XA_43) AND NOT(XA_58) AND NOT(XA_73);
XA_92:=BACKSET(XA_91,4);
XA_93:=FILTER(XA_92,3);
XA_94:=XA_91 AND REF(XA_91,1);
XA_95:=BACKSET(XA_94,4);
XA_96:=FILTER(XA_95,3);
XA_97:=XA_91 AND REF(XA_91,2);
XA_98:=BACKSET(XA_97,4);
XA_99:=FILTER(XA_98,3);
XA_100:=XA_91 AND REF(XA_91,3);
XA_101:=BACKSET(XA_100,4);
XA_102:=FILTER(XA_101,3);
XA_103:=XA_31 AND XA_33 AND XA_41 AND XA_24 AND XA_25 AND XA_42 AND NOT(XA_46) AND NOT(XA_61) AND NOT(XA_76) AND NOT(XA_91) AND NOT(XA_43) AND NOT(XA_58) AND NOT(XA_73) AND NOT(XA_88);
XA_104:=BACKSET(XA_103,5);
XA_105:=FILTER(XA_104,4);
XA_106:=XA_31 AND XA_33 AND XA_41 AND XA_24 AND XA_25 AND NOT(XA_46) AND NOT(XA_61) AND NOT(XA_76) AND NOT(XA_91) AND NOT(XA_43) AND NOT(XA_58) AND NOT(XA_73) AND NOT(XA_88);
XA_107:=BACKSET(XA_106,4);
XA_108:=FILTER(XA_107,3);
XA_109:=XA_106 AND REF(XA_106,1);
XA_110:=BACKSET(XA_109,4);
XA_111:=FILTER(XA_110,3);
XA_112:=XA_106 AND REF(XA_106,2);
XA_113:=BACKSET(XA_112,4);
XA_114:=FILTER(XA_113,3);
XA_115:=XA_106 AND REF(XA_106,3);
XA_116:=BACKSET(XA_115,4);
XA_117:=FILTER(XA_116,3);
XA_118:=XA_31 AND XA_33 AND XA_38 AND XA_24 AND XA_25 AND XA_42 AND NOT(XA_46) AND NOT(XA_61) AND NOT(XA_76) AND NOT(XA_91) AND NOT(XA_106) AND NOT(XA_43) AND NOT(XA_58) AND NOT(XA_73) AND NOT(XA_88) AND NOT(XA_103);
XA_119:=BACKSET(XA_118,5);
XA_120:=FILTER(XA_119,4);
XA_121:=XA_31 AND XA_33 AND XA_38 AND XA_24 AND XA_25 AND NOT(XA_46) AND NOT(XA_61) AND NOT(XA_76) AND NOT(XA_91) AND NOT(XA_106) AND NOT(XA_43) AND NOT(XA_58) AND NOT(XA_73) AND NOT(XA_88) AND NOT(XA_103);
XA_122:=BACKSET(XA_121,4);
XA_123:=FILTER(XA_122,3);
XA_124:=XA_121 AND REF(XA_121,1);
XA_125:=BACKSET(XA_124,4);
XA_126:=FILTER(XA_125,3);
XA_127:=XA_121 AND REF(XA_121,2);
XA_128:=BACKSET(XA_127,4);
XA_129:=FILTER(XA_128,3);
XA_130:=XA_121 AND REF(XA_121,3);
XA_131:=BACKSET(XA_130,4);
XA_132:=FILTER(XA_131,3);
XA_133:=XA_48 AND NOT(REF(XA_48,4)) OR (XA_51 AND NOT(REF(XA_51,4))) OR (XA_54 AND NOT(REF(XA_54,4))) OR (XA_57 AND NOT(REF(XA_57,4)));
XA_134:=XA_63 AND NOT(REF(XA_63,4)) OR (XA_66 AND NOT(REF(XA_66,4))) OR (XA_69 AND NOT(REF(XA_69,4))) OR (XA_72 AND NOT(REF(XA_72,4)));
XA_135:=XA_78 AND NOT(REF(XA_78,4)) OR (XA_81 AND NOT(REF(XA_81,4))) OR (XA_84 AND NOT(REF(XA_84,4))) OR (XA_87 AND NOT(REF(XA_87,4)));
XA_136:=XA_93 AND NOT(REF(XA_93,4)) OR (XA_96 AND NOT(REF(XA_96,4))) OR (XA_99 AND NOT(REF(XA_99,4))) OR (XA_102 AND NOT(REF(XA_102,4)));
XA_137:=XA_108 AND NOT(REF(XA_108,4)) OR (XA_111 AND NOT(REF(XA_111,4))) OR (XA_114 AND NOT(REF(XA_114,4))) OR (XA_117 AND NOT(REF(XA_117,4)));
XA_138:=XA_123 AND NOT(REF(XA_123,4)) OR (XA_126 AND NOT(REF(XA_126,4))) OR (XA_129 AND NOT(REF(XA_129,4))) OR (XA_132 AND NOT(REF(XA_132,4)));
XA_139:=XA_133 OR XA_134 OR XA_135 OR XA_136 OR XA_137 OR XA_138;
STICKLINE(XA_139 AND NOT(REF(XA_139,4)),OPEN,CLOSE,3,0),COLOR0099FF;
DRAWTEXT(XA_139 AND NOT(REF(XA_139,4)),LOW*0.986,1466),COLOR0099FF;
XA_140:=SUMBARS(XA_139,1);
STICKLINE(XA_140 AND XA_8=1,REF(CLOSE,XA_140-1),REF(CLOSE,XA_140-1),10,0),COLOR8822FF;
XA_141:=XA_45 AND NOT(REF(XA_45,5));
XA_142:=XA_60 AND NOT(REF(XA_60,5));
XA_143:=XA_75 AND NOT(REF(XA_75,5));
XA_144:=XA_90 AND NOT(REF(XA_90,5));
XA_145:=XA_105 AND NOT(REF(XA_105,5));
XA_146:=XA_120 AND NOT(REF(XA_120,5));
XA_147:=XA_141 OR XA_142 OR XA_143 OR XA_144 OR XA_145 OR XA_146;
STICKLINE(XA_147 AND NOT(REF(XA_147,5)),OPEN,CLOSE,3,0),COLORRED;
DRAWTEXT(XA_147 AND NOT(REF(XA_147,5)),LOW*0.978,1467),COLORRED;
XA_148:=SUMBARS(XA_147,1);
STICKLINE(XA_148 AND XA_8=1,REF(CLOSE,XA_148-1),REF(CLOSE,XA_148-1),10,0),COLOR8822FF;
XA_149:=XA_46 OR XA_61 OR XA_76 OR XA_91 OR XA_106 OR XA_121 AND XA_13 AND XA_9;
XA_150:=BACKSET(XA_149,4);
XA_151:=FILTER(XA_150,3);
STICKLINE(XA_151 AND NOT(REF(XA_151,4)),OPEN,CLOSE,3,0),COLOR0099FF;
DRAWTEXT(XA_151 AND NOT(REF(XA_151,4)),LOW*0.958,1468),COLOR0099FF;
XA_152:=XA_43 OR XA_58 OR XA_73 OR XA_88 OR XA_103 OR XA_118 AND XA_13 AND XA_9;
XA_153:=BACKSET(XA_152,5);
XA_154:=FILTER(XA_153,5);
STICKLINE(XA_154 AND NOT(REF(XA_154,4)),OPEN,CLOSE,3,0),COLOR0099FF;
DRAWTEXT(XA_154 AND NOT(REF(XA_154,4)),LOW*0.958,1468),COLOR0099FF;
XA_155:=REF(CLOSE,1);
XA_156:=IF((CLOSE-XA_155)*100/XA_155>=10-0.01*100/XA_155,1,0);
STICKLINE(XA_156,OPEN,CLOSE,2,0),COLORMAGENTA;
STICKLINE(XA_156,HIGH,LOW,0,0),COLORMAGENTA;
XA_157:=IF((XA_155-CLOSE)*100/XA_155>=10-0.01*100/XA_155,1,0);
STICKLINE(XA_157,OPEN,CLOSE,2,0),COLORGREEN;
STICKLINE(XA_157,HIGH,LOW,0,1),COLORGREEN;
XA_158:=10;
XA_159:=CONST(LLVBARS(LOW,10));
XA_160:=CONST(REF(HIGH,XA_159));
XA_161:=CONST(CURRBARSCOUNT);
XA_162:=CONST(BARSLAST(CURRBARSCOUNT>XA_161+XA_159 AND HIGH>XA_160));
XA_163:=CONST(REF(HIGH,XA_162));
XA_164:=CONST(BARSLAST(CURRBARSCOUNT>XA_161+XA_162 AND HIGH>XA_163));
XA_165:=CONST(REF(HIGH,XA_164));
出击线:DRAWLINE(CURRBARSCOUNT=XA_164+1,XA_165,ISLASTBAR,XA_165,1),COLORRED,LINETHICK2;
DRAWTEXT(ISLASTBAR,XA_165,1469),COLORRED;
STICKLINE((CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.095,CLOSE,OPEN,3,0),COLORYELLOW;
STICKLINE((CLOSE-REF(CLOSE,1))/REF(CLOSE,1)<(-0.095),CLOSE,OPEN,3,0),COLORWHITE;
C_:CONST(CLOSE),DOTLINE,COLORLIRED;
中心线:(OPEN+CLOSE)/2,NODRAW;
三分之一:(MAX(OPEN,CLOSE)-MIN(OPEN,CLOSE))*2/3+MIN(OPEN,CLOSE),NODRAW;
三分之二:(MAX(OPEN,CLOSE)-MIN(OPEN,CLOSE))/3+MIN(OPEN,CLOSE),NODRAW;
STICKLINE((OPEN+CLOSE)/2,OPEN-(OPEN-CLOSE)/3,OPEN-(OPEN-CLOSE)/3,3,0),COLORRED;
STICKLINE((OPEN+CLOSE)/2,OPEN-2*(OPEN-CLOSE)/3,OPEN-2*(OPEN-CLOSE)/3,3,0),COLORRED;
STICKLINE((OPEN+CLOSE)/2,(OPEN+CLOSE)/2,(OPEN+CLOSE)/2,3,0),COLORYELLOW;
DRAWTEXT_FIX(1,0,0,0,1470),COLOR0080FF;
DRAWTEXT_FIX(1,0.07,0,0,HYBLOCK),COLOR0080FF;
DRAWTEXT_FIX(1,0.14,0,0,1471),COLORYELLOW;
DRAWTEXT_FIX(1,0.21,0,0,DYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(1,0,0.04,0,1472),COLORRED;
DRAWTEXT_FIX(1,0.07,0.04,0,EXTERNSTR(0,1));
换手率%:100*VOL/(FINANCE(7)/100),NODRAW,COLORYELLOW;
攻防价位:REF((HIGH-LOW)*0.618+LOW,1),NODRAW,COLORYELLOW;
STICKLINE(ISLASTBAR,攻防价位-0.01,攻防价位,6,0),COLORYELLOW;
RC1:=REF(C,1);
{元帅主图}
比系数:=1.3;
金线:=1;
临界点:=0;
MA5:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,20);
均线:=MA5>REF(MA5,1) AND MA10<REF(MA10,1) AND MA20<REF(MA20,1);
RV1:=REF(V,1);
RV2:=REF(V,2);
RV3:=REF(V,3);
RC2:=REF(C,2);
RC3:=REF(C,3);
RC4:=REF(C,4);
RO1:=REF(O,1);
RO2:=REF(O,2);
RO3:=REF(O,3);
RO4:=REF(O,4);
不破价顶:=C>=RC3 AND RC1>=RC3 AND RC2>=RC3;
不破价底:=L>RO3 AND REF(L,1)>RO3 AND REF(L,2)>RO3;
均价:=AMOUNT/VOL/100;
RJ1:=REF(均价,1);
RJ2:=REF(均价,2);
阳柱:=C>=O OR (C<O AND 均价>RC1);
三日二阳:=COUNT(阳柱,3)>=2;
基价柱阳:=RC3>RO3;
价渐升:=(均价>=RJ1 OR C>RC1) AND (RJ1>=RJ2 OR RC1>=RC2);
均价升:=(C+RC1+RC2)/3>RC3;
量渐升:=V>RV1 AND RV1>RV2 ;
量渐减:=V<=RV1 AND RV1<=RV2 ;
均量减:=(V+RV1+RV2)/3<=RV3 AND NOT(量渐升);
日价量比:=C/V;
日价量比升:=日价量比>=REF(日价量比,1) AND REF(日价量比,1)>=REF(日价量比,2);
均价升幅:=(C+RC1+RC2)/3/RC3;
均量升幅:=(V+RV1+RV2)/3/RV3;
价量比:=比系数*均价升幅/均量升幅>1;
基前跳空:=RO3>RC4 AND RC4>RO4;
黄金柱1T:=基价柱阳 AND 价渐升 AND 量渐减 AND 不破价顶 AND 不破价底 AND 基前跳空;
BACKSET101T:=BACKSET(黄金柱1T,5);
FILTER101T:=FILTER(BACKSET101T,4);{WWW.GUPANG.COM}
黄金柱1:=基价柱阳 AND 价渐升 AND 量渐减 AND 不破价顶 AND 不破价底 ;
BACKSET101:=BACKSET(黄金柱1,4);
FILTER101:=FILTER(BACKSET101,3);
黄金柱11:=黄金柱1 AND REF(黄金柱1,1);
BACKSET1011:=BACKSET(黄金柱11,4);
FILTER1011:=FILTER(BACKSET1011,3);
黄金柱12:=黄金柱1 AND REF(黄金柱1,2);
BACKSET1012:=BACKSET(黄金柱12,4);
FILTER1012:=FILTER(BACKSET1012,3);
黄金柱13:=黄金柱1 AND REF(黄金柱1,3);
BACKSET1013:=BACKSET(黄金柱13,4);
FILTER1013:=FILTER(BACKSET1013,3);
黄金柱2T:=基价柱阳 AND 价渐升 AND 均量减 AND NOT(量渐升) AND 不破价顶 AND 不破价底 AND 基前跳空 AND NOT(黄金柱1) AND NOT(黄金柱1T);
BACKSET201T:=BACKSET(黄金柱2T,5);
FILTER201T:=FILTER(BACKSET201T,4);
黄金柱2:=基价柱阳 AND 价渐升 AND 均量减 AND NOT(量渐升) AND 不破价顶 AND 不破价底 AND NOT(黄金柱1) AND NOT(黄金柱1T);
BACKSET201:=BACKSET(黄金柱2,4);
FILTER201:=FILTER(BACKSET201,3);
黄金柱21:=黄金柱2 AND REF(黄金柱2,1);
BACKSET2011:=BACKSET(黄金柱21,4);
FILTER2011:=FILTER(BACKSET2011,3);
黄金柱22:=黄金柱2 AND REF(黄金柱2,2);
BACKSET2012:=BACKSET(黄金柱22,4);
FILTER2012:=FILTER(BACKSET2012,3);
黄金柱23:=黄金柱2 AND REF(黄金柱2,3);
BACKSET2013:=BACKSET(黄金柱23,4);
FILTER2013:=FILTER(BACKSET2013,3);
黄金柱3T:=基价柱阳 AND 均价升 AND 量渐减 AND 不破价顶 AND 不破价底 AND 基前跳空 AND NOT(黄金柱1) AND NOT(黄金柱2) AND NOT(黄金柱1T) AND NOT(黄金柱2T);
BACKSET301T:=BACKSET(黄金柱3T,5);
FILTER301T:=FILTER(BACKSET301T,4);
黄金柱3:=基价柱阳 AND 均价升 AND 量渐减 AND 不破价顶 AND 不破价底 AND NOT(黄金柱1) AND NOT(黄金柱2) AND NOT(黄金柱1T) AND NOT(黄金柱2T);
BACKSET301:=BACKSET(黄金柱3,4);
FILTER301:=FILTER(BACKSET301,3);
黄金柱31:=黄金柱3 AND REF(黄金柱3,1);
BACKSET3011:=BACKSET(黄金柱31,4);
FILTER3011:=FILTER(BACKSET3011,3);
黄金柱32:=黄金柱3 AND REF(黄金柱3,2);
BACKSET3012:=BACKSET(黄金柱32,4);
FILTER3012:=FILTER(BACKSET3012,3);
黄金柱33:=黄金柱3 AND REF(黄金柱3,3);
BACKSET3013:=BACKSET(黄金柱33,4);
FILTER3013:=FILTER(BACKSET3013,3);
黄金柱4T:=基价柱阳 AND 均价升 AND 均量减 AND 不破价顶 AND 不破价底 AND 基前跳空 AND NOT(黄金柱1) AND NOT(黄金柱1T) AND NOT(黄金柱2) AND NOT(黄金柱2T) AND NOT(黄金柱3) AND NOT(黄金柱3T);
BACKSET401T:=BACKSET(黄金柱4T,5);
FILTER401T:=FILTER(BACKSET401T,4);
黄金柱4:=基价柱阳 AND 均价升 AND 均量减 AND 不破价顶 AND 不破价底 AND NOT(黄金柱1) AND NOT(黄金柱2) AND NOT(黄金柱3) AND NOT(黄金柱1T) AND NOT(黄金柱2T) AND NOT(黄金柱3T);
BACKSET401:=BACKSET(黄金柱4,4);
FILTER401:=FILTER(BACKSET401,3);
黄金柱41:=黄金柱4 AND REF(黄金柱4,1);
BACKSET4011:=BACKSET(黄金柱41,4);
FILTER4011:=FILTER(BACKSET4011,3);
黄金柱42:=黄金柱4 AND REF(黄金柱4,2);
BACKSET4012:=BACKSET(黄金柱42,4);
FILTER4012:=FILTER(BACKSET4012,3);
黄金柱43:=黄金柱4 AND REF(黄金柱4,3);
BACKSET4013:=BACKSET(黄金柱43,4);
FILTER4013:=FILTER(BACKSET4013,3);
黄金柱5T:=基价柱阳 AND 均价升 AND 价量比 AND 不破价顶 AND 不破价底 AND 基前跳空 AND NOT(黄金柱1) AND NOT(黄金柱2) AND NOT(黄金柱3) AND NOT(黄金柱4) AND NOT(黄金柱1T) AND NOT(黄金柱2T) AND NOT(黄金柱3T) AND NOT(黄金柱4T);
BACKSET501T:=BACKSET(黄金柱5T,5);
FILTER501T:=FILTER(BACKSET501T,4);
黄金柱5:=基价柱阳 AND 均价升 AND 价量比 AND 不破价顶 AND 不破价底 AND NOT(黄金柱1) AND NOT(黄金柱2) AND NOT(黄金柱3) AND NOT(黄金柱4) AND NOT(黄金柱1T) AND NOT(黄金柱2T) AND NOT(黄金柱3T) AND NOT(黄金柱4T);
BACKSET501:=BACKSET(黄金柱5,4);
FILTER501:=FILTER(BACKSET501,3);
黄金柱51:=黄金柱5 AND REF(黄金柱5,1);
BACKSET5011:=BACKSET(黄金柱51,4);
FILTER5011:=FILTER(BACKSET5011,3);
黄金柱52:=黄金柱5 AND REF(黄金柱5,2);
BACKSET5012:=BACKSET(黄金柱52,4);
FILTER5012:=FILTER(BACKSET5012,3);
黄金柱53:=黄金柱5 AND REF(黄金柱5,3);
BACKSET5013:=BACKSET(黄金柱53,4);
FILTER5013:=FILTER(BACKSET5013,3);
黄金柱6T:=基价柱阳 AND 均价升 AND 日价量比升 AND 不破价顶 AND 不破价底 AND 基前跳空 AND NOT(黄金柱1) AND NOT(黄金柱2) AND NOT(黄金柱3) AND NOT(黄金柱4) AND NOT(黄金柱5) AND NOT(黄金柱1T) AND NOT(黄金柱2T) AND NOT(黄金柱3T) AND NOT(黄金柱4T) AND NOT(黄金柱5T);
BACKSET601T:=BACKSET(黄金柱6T,5);
FILTER601T:=FILTER(BACKSET601T,4);
黄金柱6:=基价柱阳 AND 均价升 AND 日价量比升 AND 不破价顶 AND 不破价底 AND NOT(黄金柱1) AND NOT(黄金柱2) AND NOT(黄金柱3) AND NOT(黄金柱4) AND NOT(黄金柱5) AND NOT(黄金柱1T) AND NOT(黄金柱2T) AND NOT(黄金柱3T) AND NOT(黄金柱4T) AND NOT(黄金柱5T);
BACKSET601:=BACKSET(黄金柱6,4);
FILTER601:=FILTER(BACKSET601,3);
黄金柱61:=黄金柱6 AND REF(黄金柱6,1);
BACKSET6011:=BACKSET(黄金柱61,4);
FILTER6011:=FILTER(BACKSET6011,3);
黄金柱62:=黄金柱6 AND REF(黄金柱6,2);
BACKSET6012:=BACKSET(黄金柱62,4);
FILTER6012:=FILTER(BACKSET6012,3);
黄金柱63:=黄金柱6 AND REF(黄金柱6,3);
BACKSET6013:=BACKSET(黄金柱63,4);
FILTER6013:=FILTER(BACKSET6013,3);
FIL1:=(FILTER101 AND NOT(REF(FILTER101,4))) OR (FILTER1011 AND NOT(REF(FILTER1011,4))) OR (FILTER1012 AND NOT(REF(FILTER1012,4))) OR (FILTER1013 AND NOT(REF(FILTER1013,4)));
FIL2:=(FILTER201 AND NOT(REF(FILTER201,4))) OR (FILTER2011 AND NOT(REF(FILTER2011,4))) OR (FILTER2012 AND NOT(REF(FILTER2012,4))) OR (FILTER2013 AND NOT(REF(FILTER2013,4)));
FIL3:=(FILTER301 AND NOT(REF(FILTER301,4))) OR (FILTER3011 AND NOT(REF(FILTER3011,4))) OR (FILTER3012 AND NOT(REF(FILTER3012,4))) OR (FILTER3013 AND NOT(REF(FILTER3013,4)));
FIL4:=(FILTER401 AND NOT(REF(FILTER401,4))) OR (FILTER4011 AND NOT(REF(FILTER4011,4))) OR (FILTER4012 AND NOT(REF(FILTER4012,4))) OR (FILTER4013 AND NOT(REF(FILTER4013,4)));
FIL5:=(FILTER501 AND NOT(REF(FILTER501,4))) OR (FILTER5011 AND NOT(REF(FILTER5011,4))) OR (FILTER5012 AND NOT(REF(FILTER5012,4))) OR (FILTER5013 AND NOT(REF(FILTER5013,4)));
FIL6:=(FILTER601 AND NOT(REF(FILTER601,4))) OR (FILTER6011 AND NOT(REF(FILTER6011,4))) OR (FILTER6012 AND NOT(REF(FILTER6012,4))) OR (FILTER6013 AND NOT(REF(FILTER6013,4)));
FIL:=FIL1 OR FIL2 OR FIL3 OR FIL4 OR FIL5 OR FIL6;
STICKLINE(FIL AND NOT(REF(FIL,4)),OPEN,CLOSE,3,0),COLOR0099FF;
DRAWTEXT (FIL AND NOT(REF(FIL,4)),LOW*0.986,'黄金柱'),COLOR0099FF;
K1:=SUMBARS(FIL,1);
STICKLINE(K1 AND 金线=1,REF(C,K1-1),REF(C,K1-1),10,0),COLOR8822FF;
FIL1T:=(FILTER101T AND NOT(REF(FILTER101T,5)));
FIL2T:=(FILTER201T AND NOT(REF(FILTER201T,5)));
FIL3T:=(FILTER301T AND NOT(REF(FILTER301T,5)));
FIL4T:=(FILTER401T AND NOT(REF(FILTER401T,5)));
FIL5T:=(FILTER501T AND NOT(REF(FILTER501T,5)));
FIL6T:=(FILTER601T AND NOT(REF(FILTER601T,5)));
FILT:=FIL1T OR FIL2T OR FIL3T OR FIL4T OR FIL5T OR FIL6T;
STICKLINE(FILT AND NOT(REF(FILT,5)),OPEN,CLOSE,3,0),COLOR0000FF;
DRAWTEXT (FILT AND NOT(REF(FILT,5)),LOW*0.978,'元帅柱'),COLOR0000FF;
K2:=SUMBARS(FILT,1);
STICKLINE(K2 AND 金线=1,REF(C,K2-1),REF(C,K2-1),10,0),COLOR8822FF;
黄金柱LJ:=(黄金柱1 OR 黄金柱2 OR 黄金柱3 OR 黄金柱4 OR 黄金柱5 OR 黄金柱6 ) AND 均线 AND 临界点;
BACKSET10LJ:=BACKSET(黄金柱LJ ,4);
FILTER10LJ:=FILTER(BACKSET10LJ,3);
STICKLINE(FILTER10LJ AND NOT(REF(FILTER10LJ,4)),OPEN,CLOSE,3,0),COLOR0099FF;
DRAWTEXT(FILTER10LJ AND NOT(REF(FILTER10LJ,4)) ,LOW*0.958,'临界点'),COLOR0099FF;
黄金柱LJT:=(黄金柱1T OR 黄金柱2T OR 黄金柱3T OR 黄金柱4T OR 黄金柱5T OR 黄金柱6T) AND 均线 AND 临界点 ;
BACKSET10LJT:=BACKSET(黄金柱LJT ,5);
FILTER10LJT:=FILTER(BACKSET10LJT,5);
STICKLINE(FILTER10LJT AND NOT(REF(FILTER10LJT,4)),OPEN,CLOSE,3,0),COLOR0099FF;
DRAWTEXT(FILTER10LJT AND NOT(REF(FILTER10LJT,4)) ,LOW*0.958,'临界点'),COLOR0099FF; RC1:=REF(C,1);
{元帅主图}
比系数:=1.3;
金线:=1;
临界点:=0;
MA5:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,20);
均线:=MA5>REF(MA5,1) AND MA10<REF(MA10,1) AND MA20<REF(MA20,1);
RV1:=REF(V,1);
RV2:=REF(V,2);
RV3:=REF(V,3);
RC2:=REF(C,2);
RC3:=REF(C,3);
RC4:=REF(C,4);
RO1:=REF(O,1);
RO2:=REF(O,2);
RO3:=REF(O,3);
RO4:=REF(O,4);
不破价顶:=C>=RC3 AND RC1>=RC3 AND RC2>=RC3;
不破价底:=L>RO3 AND REF(L,1)>RO3 AND REF(L,2)>RO3;
均价:=AMOUNT/VOL/100;
RJ1:=REF(均价,1);
RJ2:=REF(均价,2);
阳柱:=C>=O OR (C<O AND 均价>RC1);
三日二阳:=COUNT(阳柱,3)>=2;
基价柱阳:=RC3>RO3;
价渐升:=(均价>=RJ1 OR C>RC1) AND (RJ1>=RJ2 OR RC1>=RC2);
均价升:=(C+RC1+RC2)/3>RC3;
量渐升:=V>RV1 AND RV1>RV2 ;
量渐减:=V<=RV1 AND RV1<=RV2 ;
均量减:=(V+RV1+RV2)/3<=RV3 AND NOT(量渐升);
日价量比:=C/V;
日价量比升:=日价量比>=REF(日价量比,1) AND REF(日价量比,1)>=REF(日价量比,2);
均价升幅:=(C+RC1+RC2)/3/RC3;
均量升幅:=(V+RV1+RV2)/3/RV3;
价量比:=比系数*均价升幅/均量升幅>1;
基前跳空:=RO3>RC4 AND RC4>RO4;
黄金柱1T:=基价柱阳 AND 价渐升 AND 量渐减 AND 不破价顶 AND 不破价底 AND 基前跳空;
BACKSET101T:=BACKSET(黄金柱1T,5);
FILTER101T:=FILTER(BACKSET101T,4);{WWW.GUPANG.COM}
黄金柱1:=基价柱阳 AND 价渐升 AND 量渐减 AND 不破价顶 AND 不破价底 ;
BACKSET101:=BACKSET(黄金柱1,4);
FILTER101:=FILTER(BACKSET101,3);
黄金柱11:=黄金柱1 AND REF(黄金柱1,1);
BACKSET1011:=BACKSET(黄金柱11,4);
FILTER1011:=FILTER(BACKSET1011,3);
黄金柱12:=黄金柱1 AND REF(黄金柱1,2);
BACKSET1012:=BACKSET(黄金柱12,4);
FILTER1012:=FILTER(BACKSET1012,3);
黄金柱13:=黄金柱1 AND REF(黄金柱1,3);
BACKSET1013:=BACKSET(黄金柱13,4);
FILTER1013:=FILTER(BACKSET1013,3);
黄金柱2T:=基价柱阳 AND 价渐升 AND 均量减 AND NOT(量渐升) AND 不破价顶 AND 不破价底 AND 基前跳空 AND NOT(黄金柱1) AND NOT(黄金柱1T);
BACKSET201T:=BACKSET(黄金柱2T,5);
FILTER201T:=FILTER(BACKSET201T,4);
黄金柱2:=基价柱阳 AND 价渐升 AND 均量减 AND NOT(量渐升) AND 不破价顶 AND 不破价底 AND NOT(黄金柱1) AND NOT(黄金柱1T);
BACKSET201:=BACKSET(黄金柱2,4);
FILTER201:=FILTER(BACKSET201,3);
黄金柱21:=黄金柱2 AND REF(黄金柱2,1);
BACKSET2011:=BACKSET(黄金柱21,4);
FILTER2011:=FILTER(BACKSET2011,3);
黄金柱22:=黄金柱2 AND REF(黄金柱2,2);
BACKSET2012:=BACKSET(黄金柱22,4);
FILTER2012:=FILTER(BACKSET2012,3);
黄金柱23:=黄金柱2 AND REF(黄金柱2,3);
BACKSET2013:=BACKSET(黄金柱23,4);
FILTER2013:=FILTER(BACKSET2013,3);
黄金柱3T:=基价柱阳 AND 均价升 AND 量渐减 AND 不破价顶 AND 不破价底 AND 基前跳空 AND NOT(黄金柱1) AND NOT(黄金柱2) AND NOT(黄金柱1T) AND NOT(黄金柱2T);
BACKSET301T:=BACKSET(黄金柱3T,5);
FILTER301T:=FILTER(BACKSET301T,4);
黄金柱3:=基价柱阳 AND 均价升 AND 量渐减 AND 不破价顶 AND 不破价底 AND NOT(黄金柱1) AND NOT(黄金柱2) AND NOT(黄金柱1T) AND NOT(黄金柱2T);
BACKSET301:=BACKSET(黄金柱3,4);
FILTER301:=FILTER(BACKSET301,3);
黄金柱31:=黄金柱3 AND REF(黄金柱3,1);
BACKSET3011:=BACKSET(黄金柱31,4);
FILTER3011:=FILTER(BACKSET3011,3);
黄金柱32:=黄金柱3 AND REF(黄金柱3,2);
BACKSET3012:=BACKSET(黄金柱32,4);
FILTER3012:=FILTER(BACKSET3012,3);
黄金柱33:=黄金柱3 AND REF(黄金柱3,3);
BACKSET3013:=BACKSET(黄金柱33,4);
FILTER3013:=FILTER(BACKSET3013,3);
黄金柱4T:=基价柱阳 AND 均价升 AND 均量减 AND 不破价顶 AND 不破价底 AND 基前跳空 AND NOT(黄金柱1) AND NOT(黄金柱1T) AND NOT(黄金柱2) AND NOT(黄金柱2T) AND NOT(黄金柱3) AND NOT(黄金柱3T);
BACKSET401T:=BACKSET(黄金柱4T,5);
FILTER401T:=FILTER(BACKSET401T,4);
黄金柱4:=基价柱阳 AND 均价升 AND 均量减 AND 不破价顶 AND 不破价底 AND NOT(黄金柱1) AND NOT(黄金柱2) AND NOT(黄金柱3) AND NOT(黄金柱1T) AND NOT(黄金柱2T) AND NOT(黄金柱3T);
BACKSET401:=BACKSET(黄金柱4,4);
FILTER401:=FILTER(BACKSET401,3);
黄金柱41:=黄金柱4 AND REF(黄金柱4,1);
BACKSET4011:=BACKSET(黄金柱41,4);
FILTER4011:=FILTER(BACKSET4011,3);
黄金柱42:=黄金柱4 AND REF(黄金柱4,2);
BACKSET4012:=BACKSET(黄金柱42,4);
FILTER4012:=FILTER(BACKSET4012,3);
黄金柱43:=黄金柱4 AND REF(黄金柱4,3);
BACKSET4013:=BACKSET(黄金柱43,4);
FILTER4013:=FILTER(BACKSET4013,3);
黄金柱5T:=基价柱阳 AND 均价升 AND 价量比 AND 不破价顶 AND 不破价底 AND 基前跳空 AND NOT(黄金柱1) AND NOT(黄金柱2) AND NOT(黄金柱3) AND NOT(黄金柱4) AND NOT(黄金柱1T) AND NOT(黄金柱2T) AND NOT(黄金柱3T) AND NOT(黄金柱4T);
BACKSET501T:=BACKSET(黄金柱5T,5);
FILTER501T:=FILTER(BACKSET501T,4);
黄金柱5:=基价柱阳 AND 均价升 AND 价量比 AND 不破价顶 AND 不破价底 AND NOT(黄金柱1) AND NOT(黄金柱2) AND NOT(黄金柱3) AND NOT(黄金柱4) AND NOT(黄金柱1T) AND NOT(黄金柱2T) AND NOT(黄金柱3T) AND NOT(黄金柱4T);
BACKSET501:=BACKSET(黄金柱5,4);
FILTER501:=FILTER(BACKSET501,3);
黄金柱51:=黄金柱5 AND REF(黄金柱5,1);
BACKSET5011:=BACKSET(黄金柱51,4);
FILTER5011:=FILTER(BACKSET5011,3);
黄金柱52:=黄金柱5 AND REF(黄金柱5,2);
BACKSET5012:=BACKSET(黄金柱52,4);
FILTER5012:=FILTER(BACKSET5012,3);
黄金柱53:=黄金柱5 AND REF(黄金柱5,3);
BACKSET5013:=BACKSET(黄金柱53,4);
FILTER5013:=FILTER(BACKSET5013,3);
黄金柱6T:=基价柱阳 AND 均价升 AND 日价量比升 AND 不破价顶 AND 不破价底 AND 基前跳空 AND NOT(黄金柱1) AND NOT(黄金柱2) AND NOT(黄金柱3) AND NOT(黄金柱4) AND NOT(黄金柱5) AND NOT(黄金柱1T) AND NOT(黄金柱2T) AND NOT(黄金柱3T) AND NOT(黄金柱4T) AND NOT(黄金柱5T);
BACKSET601T:=BACKSET(黄金柱6T,5);
FILTER601T:=FILTER(BACKSET601T,4);
黄金柱6:=基价柱阳 AND 均价升 AND 日价量比升 AND 不破价顶 AND 不破价底 AND NOT(黄金柱1) AND NOT(黄金柱2) AND NOT(黄金柱3) AND NOT(黄金柱4) AND NOT(黄金柱5) AND NOT(黄金柱1T) AND NOT(黄金柱2T) AND NOT(黄金柱3T) AND NOT(黄金柱4T) AND NOT(黄金柱5T);
BACKSET601:=BACKSET(黄金柱6,4);
FILTER601:=FILTER(BACKSET601,3);
黄金柱61:=黄金柱6 AND REF(黄金柱6,1);
BACKSET6011:=BACKSET(黄金柱61,4);
FILTER6011:=FILTER(BACKSET6011,3);
黄金柱62:=黄金柱6 AND REF(黄金柱6,2);
BACKSET6012:=BACKSET(黄金柱62,4);
FILTER6012:=FILTER(BACKSET6012,3);
黄金柱63:=黄金柱6 AND REF(黄金柱6,3);
BACKSET6013:=BACKSET(黄金柱63,4);
FILTER6013:=FILTER(BACKSET6013,3);
FIL1:=(FILTER101 AND NOT(REF(FILTER101,4))) OR (FILTER1011 AND NOT(REF(FILTER1011,4))) OR (FILTER1012 AND NOT(REF(FILTER1012,4))) OR (FILTER1013 AND NOT(REF(FILTER1013,4)));
FIL2:=(FILTER201 AND NOT(REF(FILTER201,4))) OR (FILTER2011 AND NOT(REF(FILTER2011,4))) OR (FILTER2012 AND NOT(REF(FILTER2012,4))) OR (FILTER2013 AND NOT(REF(FILTER2013,4)));
FIL3:=(FILTER301 AND NOT(REF(FILTER301,4))) OR (FILTER3011 AND NOT(REF(FILTER3011,4))) OR (FILTER3012 AND NOT(REF(FILTER3012,4))) OR (FILTER3013 AND NOT(REF(FILTER3013,4)));
FIL4:=(FILTER401 AND NOT(REF(FILTER401,4))) OR (FILTER4011 AND NOT(REF(FILTER4011,4))) OR (FILTER4012 AND NOT(REF(FILTER4012,4))) OR (FILTER4013 AND NOT(REF(FILTER4013,4)));
FIL5:=(FILTER501 AND NOT(REF(FILTER501,4))) OR (FILTER5011 AND NOT(REF(FILTER5011,4))) OR (FILTER5012 AND NOT(REF(FILTER5012,4))) OR (FILTER5013 AND NOT(REF(FILTER5013,4)));
FIL6:=(FILTER601 AND NOT(REF(FILTER601,4))) OR (FILTER6011 AND NOT(REF(FILTER6011,4))) OR (FILTER6012 AND NOT(REF(FILTER6012,4))) OR (FILTER6013 AND NOT(REF(FILTER6013,4)));
FIL:=FIL1 OR FIL2 OR FIL3 OR FIL4 OR FIL5 OR FIL6;
STICKLINE(FIL AND NOT(REF(FIL,4)),OPEN,CLOSE,3,0),COLOR0099FF;
DRAWTEXT (FIL AND NOT(REF(FIL,4)),LOW*0.986,'黄金柱'),COLOR0099FF;
K1:=SUMBARS(FIL,1);
STICKLINE(K1 AND 金线=1,REF(C,K1-1),REF(C,K1-1),10,0),COLOR8822FF;
FIL1T:=(FILTER101T AND NOT(REF(FILTER101T,5)));
FIL2T:=(FILTER201T AND NOT(REF(FILTER201T,5)));
FIL3T:=(FILTER301T AND NOT(REF(FILTER301T,5)));
FIL4T:=(FILTER401T AND NOT(REF(FILTER401T,5)));
FIL5T:=(FILTER501T AND NOT(REF(FILTER501T,5)));
FIL6T:=(FILTER601T AND NOT(REF(FILTER601T,5)));
FILT:=FIL1T OR FIL2T OR FIL3T OR FIL4T OR FIL5T OR FIL6T;
STICKLINE(FILT AND NOT(REF(FILT,5)),OPEN,CLOSE,3,0),COLOR0000FF;
DRAWTEXT (FILT AND NOT(REF(FILT,5)),LOW*0.978,'元帅柱'),COLOR0000FF;
K2:=SUMBARS(FILT,1);
STICKLINE(K2 AND 金线=1,REF(C,K2-1),REF(C,K2-1),10,0),COLOR8822FF;
黄金柱LJ:=(黄金柱1 OR 黄金柱2 OR 黄金柱3 OR 黄金柱4 OR 黄金柱5 OR 黄金柱6 ) AND 均线 AND 临界点;
BACKSET10LJ:=BACKSET(黄金柱LJ ,4);
FILTER10LJ:=FILTER(BACKSET10LJ,3);
STICKLINE(FILTER10LJ AND NOT(REF(FILTER10LJ,4)),OPEN,CLOSE,3,0),COLOR0099FF;
DRAWTEXT(FILTER10LJ AND NOT(REF(FILTER10LJ,4)) ,LOW*0.958,'临界点'),COLOR0099FF;
黄金柱LJT:=(黄金柱1T OR 黄金柱2T OR 黄金柱3T OR 黄金柱4T OR 黄金柱5T OR 黄金柱6T) AND 均线 AND 临界点 ;
BACKSET10LJT:=BACKSET(黄金柱LJT ,5);
FILTER10LJT:=FILTER(BACKSET10LJT,5);
STICKLINE(FILTER10LJT AND NOT(REF(FILTER10LJT,4)),OPEN,CLOSE,3,0),COLOR0099FF;
DRAWTEXT(FILTER10LJT AND NOT(REF(FILTER10LJT,4)) ,LOW*0.958,'临界点'),COLOR0099FF; 很多股友都跟上了我上周五的垮周牛股和昨天牛股,弱势行情小赚即是大赚,逐步带领大家在股市上扭亏为盈,只要大家坚定的跟着我的操作,我会带领所有股友们实现总体获利,不求每一只个股都赚钱,但是一定带领大家做到10只赚8只,实现稳稳的幸福QQ:874233624
量学特训-Q-Q-群【730729862】遵守王子老师规矩邀请您进群,爱好量学的朋友皆可加入。
http://bbs.55168.cn/data/attachment/forum/202004/30/112946cyqazzaxexiecmcq.png 谢谢您的分享! 谢谢楼主分享
谢谢楼主分享
谢谢楼主分享
谢谢楼主分享
谢谢楼主分享
谢谢楼主分享 好像公式不完整 谢谢楼主分享
感谢楼主的分享! 谢谢楼主分享 多谢老师的分享 谢谢楼主分享 谢谢分享!