主图
选择两根线,通过两根线之间的距离来确定股票的爆发阶段,当股价同时上穿两根时,且两线之比小于1.10或者更小时,满足一些其他条件出现大牛的概率十分大。别外选股指标里有:过前高(K线中间小红线)、洗盘、买(绿星号)、大牛等综合到一起选。
X_1:=EMA(COST(85),10);
X_2:=EMA(COST(99),10);
DRAWBAND(X_1,RGB(80,0,20),X_2,RGB(60,60,18)),NODRAW;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
X_3:=X_2/X_1;
X_4:=X_3<=1.08;
X_5:=BARSLAST(NOT(X_4));
MA5:MA(CLOSE,5),NODRAW;
MA10:MA(CLOSE,10),NODRAW;
MA20:MA(CLOSE,20),NODRAW,COLORLIRED;
X_6:=EMA(CLOSE,9);
X_7:=EMA(X_6*1.14,5);
X_8:=REF(HHV(CLOSE,60),BARSLASTCOUNT(CLOSE>REF(CLOSE,3)));
X_9:=BARSLAST(NOT(X_8=REF(X_8,1)));
X_10:=MA(CLOSE,20*5);
X_11:=X_10+2*STD(CLOSE,20*5);
X_12:=EMA(EMA(CLOSE,1),5);
X_13:=EMA(HHV(X_12,5),1);
X_14:=EMA(HHV(X_13,21),1);
X_15:=EMA(HHV(X_14,21),2);
X_16:=EMA(HHV(X_15,21),3);
X_17:=EMA(HHV(X_16,21),4);
X_18:=EMA(HHV(X_17,21),5);
马:EMA(HHV(X_18,21),6),COLORFF5B5E,LINETHICK2;
X_19:=ATAN((马/REF(马,1)-1)*100)*180/3.1416;
X_20:=BARSLAST(NOT(X_19=0));
界:EMA(EMA(EMA(EMA(MA(MA(MA(SUM(MA(CLOSE,60)/1,1),1),1),1),5),5),12),13)*1.01,COLORFF66FF,LINETHICK2;
X_21:=BACKSET(界<REF(界,1),2);
IF(X_21,界,DRAWNULL),COLOR00A600,LINETHICK2;
X_22:=ATAN((界/REF(界,1)-1)*100)*180/3.1416;
X_23:=COUNT(X_22>=0,BARSLAST(CROSS(X_22,0)));
X_24:=X_23>=90;
X_25:=马/界;
X_26:=X_25<=1.1;
X_27:=BARSLAST(NOT(X_26));
X_28:=BACKSET(X_25<=1.18,2);
X_29:=BACKSET(X_25<=1.1,2);
IF(X_28,马,DRAWNULL),COLORRED;
IF(X_29,马,DRAWNULL),COLORMAGENTA;
X_30:=CLOSE/REF(CLOSE,1)>1.095 AND CLOSE=HIGH;
X_31:=BARSLAST(CROSS(MA(CLOSE,5),MA(CLOSE,60)));
偏离度:MA(CLOSE,5)/REF(MA(CLOSE,60),X_31),NODRAW;
X_32:=EMA(CLOSE,1);
X_33:=EMA(X_32,5);
X_34:=EMA(HHV(X_33,5),1);
X_35:=EMA(HHV(X_34,17),1);
X_36:=EMA(HHV(X_35,17),2);
X_37:=EMA(HHV(X_36,17),3);
X_38:=(MA(CLOSE,5)-X_37)/X_37*100;
X_39:=CLOSE;
X_40:=REF(X_39,20)=HHV(X_39,2*20+1);
X_41:=FILTER(X_40,20);
X_42:=BACKSET(X_41,20+1);
X_43:=FILTER(X_42,20);
X_44:=REF(X_39,40)=LLV(X_39,2*40+1);
X_45:=FILTER(X_44,40);
X_46:=BACKSET(X_45,40+1);
X_47:=FILTER(X_46,40);
X_48:=REF(CLOSE,BARSLAST(X_43));
X_49:=REF(CLOSE,BARSLAST(X_47));
X_50:=REF(CLOSE,SUMBARS(X_43,2)-1);
X_51:=CROSS(CLOSE,X_48);
STICKLINE(CLOSE,X_48,X_48,8,0),COLOR000080;
STICKLINE(OPEN,X_49,X_49,8,0),COLOR000080;
X_52:=BARSLAST(X_43);
X_53:=BARSLAST(X_43)>=30;
X_54:=BARSLAST(X_43);
X_55:=LLV(LOW,21);
X_56:=HHV(HIGH,21);
X_57:=EMA((CLOSE-X_55)/(X_56-X_55)*100,6);
X_58:=EMA(0.667*REF(X_57,1)+0.333*X_57,2);
X_59:=LLV(LOW,55);
X_60:=HHV(HIGH,34);
X_61:=EMA((CLOSE-X_59)/(X_60-X_59)*100,3);
X_62:=(X_57+X_61)/2;
X_63:=EMA(0.667*REF(X_61,1)+0.333*X_57,2);
X_64:=EMA(X_62,5);
X_65:=EMA(0.667*REF(X_64,1)+0.333*X_64,2);
X_66:=LONGCROSS(X_58,X_57,0.1);
X_67:=LONGCROSS(X_57,X_58,0.1);
X_68:=X_57>X_58;
X_69:=(MA(CLOSE,13)+MA(CLOSE,20))/2;
X_70:=(MA(CLOSE,80)+MA(CLOSE,100))/2;
X_71:=X_70+2*STD(CLOSE,80);
X_72:=(X_69+X_71)/2;
X_73:=CLOSE>=X_72;
X_74:=25;
X_75:=6;
X_76:=6;
X_77:=(1+X_75/100)*MA(CLOSE,X_74);
X_78:=(1-X_76/100)*MA(CLOSE,X_74);
X_79:=(X_77+X_78)/2;
X_80:=CLOSE>=X_77;
X_81:=X_80;
X_82:=CLOSE<X_77 AND CLOSE>=X_79;
X_83:=EMA(EMA(CLOSE,13),13);
X_84:=(X_83-REF(X_83,1))/REF(X_83,1)*1500;
X_85:=X_84>REF(X_84,1) AND X_84>0;
X_86:=100*WINNER(CLOSE*0.95);
X_87:=X_84<REF(X_84,1) AND X_84>0;
X_88:=X_86>50 AND COST(85)<CLOSE AND X_84>0;
X_89:=BARSLAST(CROSS(X_84,50));
X_90:=X_88;
X_91:=X_85;
X_92:=(HHV(HIGH,35)-CLOSE)/(HHV(HIGH,35)-LLV(LOW,35))*100-35;
X_93:=SMA(X_92,35,1)+100;
X_94:=(CLOSE-LLV(LOW,35))/(HHV(HIGH,35)-LLV(LOW,35))*100;
X_95:=SMA(X_94,3,1);
X_96:=SMA(X_95,3,1)+100;
X_97:=X_96-X_93;
X_98:=(X_97-1)*2.5;
X_99:=X_98>REF(X_98,1) AND X_98>100;
X_100:=X_98<REF(X_98,1);
X_101:=X_98>=REF(X_98,1);
X_102:=X_101;
X_103:=(3*CLOSE+OPEN+HIGH+LOW)/6;
X_104:=EMA(X_103,12);
X_105:=EMA(X_103,36);
X_106:=EMA(X_103,108);
X_107:=EMA(X_103,250);
X_108:=(EMA(X_103,12)-REF(EMA(X_103,36),1))/REF(EMA(X_103,36),1)*150+50;
X_109:=X_108>=53;
X_110:=X_108>=50 AND X_108<53;
X_111:=AMOUNT/VOL/100;
X_112:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
X_113:=SUM(AMOUNT,40)/X_111/100;
X_114:=SUM(AMOUNT,80)/X_111/100;
X_115:=DMA(X_112,VOL/X_113);
X_116:=DMA(X_112,VOL/X_114);
X_117:=(CLOSE-X_115)/X_115*100+3;
X_118:=(CLOSE-X_116)/X_116*100+3;
X_119:=MAX(X_117,X_118);
X_120:=EMA(X_119,3);
X_121:=X_120>=5;
X_122:=X_120>=0 AND X_120<5;
X_123:=42;
X_124:=100*(HHV(HIGH,X_123)-CLOSE)/(HHV(HIGH,X_123)-LLV(LOW,X_123));
X_125:=X_124<=20;
X_126:=X_125;
X_127:=MA(CLOSE,5);
X_128:=MA(CLOSE,10);
X_129:=MA(CLOSE,20);
X_130:=MA(CLOSE,60);
X_131:=X_127>X_128 AND X_128>X_129;
X_132:=X_128>X_129 AND X_129>X_130;
X_133:=X_127>X_128 AND X_128>X_129 AND X_129>X_130;
X_134:=ATAN((X_127/REF(X_127,1)-1)*100)*180/3.1416>=0;
X_135:=ATAN((X_128/REF(X_128,1)-1)*100)*180/3.1416>=0;
X_136:=ATAN((X_129/REF(X_129,1)-1)*100)*180/3.1416>=0;
X_137:=ATAN((X_130/REF(X_130,1)-1)*100)*180/3.1416>=0;
X_138:=ATAN((X_127/REF(X_127,1)-1)*100)*180/3.1416;
X_139:=X_132 AND X_135 AND X_136 AND X_137;
X_140:=X_133 AND X_134 AND X_135 AND X_136 AND X_137;
X_141:=NOT(X_139) AND NOT(X_140);
X_142:=X_139;
X_143:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
X_144:=EXPMA_S.EXP1+3*STD(EXPMA_S.EXP1,10);
X_145:=EXPMA_S.EXP1-3*STD(EXPMA_S.EXP1,10);
X_146:=MA(CLOSE,30);
X_147:=(X_144-X_145)/X_145*100;
X_148:=X_147<=12 AND X_143>=REF(X_143,1);
X_149:=LOW<=X_143 AND CLOSE>=X_143;
X_150:=LOW<=X_144 AND CLOSE>=X_144;
X_151:=LOW<=X_145 AND CLOSE>=X_145;
X_152:=LOW<=X_146 AND CLOSE>=X_146;
X_153:=X_149+X_150+X_151>=2;
X_154:=X_152+X_149+X_150+X_151>3;
X_155:=X_148 AND X_153 AND CLOSE/REF(CLOSE,1)>1.025;
X_156:=X_148 AND X_154 AND CLOSE/REF(CLOSE,1)>1.025;
X_157:=CROSS(X_143,X_146) AND X_143>=REF(X_143,1);
X_158:=X_157 AND X_155;
X_159:=X_144<=REF(X_144,1);
X_160:=CLOSE/REF(CLOSE,1)>1.095 AND CLOSE=HIGH;
X_161:=MIN(MIN(LOW,REF(LOW,1)),REF(LOW,2))>=REF(LOW,3);
X_162:=MAX(MAX(VOL,REF(VOL,1)),REF(VOL,2))<REF(VOL,3);
X_163:=MIN(MIN(CLOSE,REF(CLOSE,1)),REF(CLOSE,2))>=REF(CLOSE,3) AND EVERY(CLOSE/REF(CLOSE,1)<1.05,3) AND REF(CLOSE,3)>REF(OPEN,3);
X_164:=VOL*1.95<=REF(VOL,1);
X_165:=REF(VOL,3)>1.9*REF(VOL,4) AND REF(CLOSE,3)/REF(CLOSE,4)>1;
X_166:=REF(VOL,3)>REF(HHV(VOL,100),4) AND CLOSE>REF(CLOSE,1);
X_167:=X_165 OR X_166 AND X_162 AND X_161 AND X_163;
X_168:=BACKSET(X_167,4);
X_169:=FILTER(X_168,3);
STICKLINE(X_169,CLOSE,OPEN,2.85,0),COLORLIRED;
X_170:=VOL/REF(VOL,1)>=1.3 AND VOL/REF(VOL,1)<=1.9;
X_171:=CLOSE/REF(CLOSE,1)>=1.02 AND CLOSE/REF(CLOSE,1)<=1.04;
X_172:=EVERY(X_170,3) AND EVERY(X_171,3);
X_173:=MA(VOL,5);
X_174:=MA(VOL,10);
X_175:=MA(VOL,40);
X_176:=X_173>=X_175 AND CROSS(X_174,X_175) AND REF(X_174,1)<REF(X_175,1);
DRAWTEXT(X_176,HIGH,1),COLORWHITE;
X_177:=CROSS(MA(VOL,5),MA(VOL,35)) AND REF(VOL,5)<=REF(VOL,35);
DRAWTEXT(X_177,HIGH+0.05,1),COLORMAGENTA;
X_178:=LOW<REF(LOW,1) AND CLOSE>REF(HIGH,1);
X_179:=REF(CLOSE,1)/REF(CLOSE,2)<1.097 AND CLOSE/REF(CLOSE,1)<1.03;
X_180:=X_178 AND X_179;
STICKLINE(X_180,OPEN,CLOSE,3,1),COLORMAGENTA,LINETHICK2;
X_181:=(HIGH-CLOSE)/(CLOSE-OPEN)>=2 AND CLOSE>OPEN AND HIGH/REF(CLOSE,1)>1.095;
DRAWTEXT(X_181,HIGH+0.1,1),COLOR4080FF;
X_182:=14;
X_183:=REF(CLOSE,1);
X_184:=SMA(MAX(CLOSE-X_183,0),X_182,1)/SMA(ABS(CLOSE-X_183),X_182,1)*100<=40;
X_185:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
X_186:=SMA(ABS(LOW-X_185),13,1)/SMA(MAX(LOW-X_185,0),10,1);
X_187:=EMA(X_186,10);
X_188:=LLV(LOW,33);
X_189:=EMA(IF(LOW<=X_188,X_187,0),3);
X_190:=IF(X_189>REF(X_189,1),X_189,0);
X_191:=X_190;
X_192:=BARSLAST(X_191)>=0 AND BARSLAST(X_191)<=3;
X_193:=VOL>=REF(VOL,1)*1.91;
X_194:=VOL>REF(HHV(VOL,100),1);
X_195:=X_193 OR X_194;
X_196:=CLOSE/REF(CLOSE,1)>1.025;
X_197:=LOW<=MA(CLOSE,60) AND CLOSE>=MA(CLOSE,60);
X_198:=LOW<=MA(CLOSE,5) AND CLOSE>=MA(CLOSE,5);
X_199:=LOW<=X_37 AND CLOSE>=X_37;
X_200:=LOW<=X_8 AND CLOSE>=X_8;
X_201:=X_197+X_198+X_199+X_200;
X_202:=X_198+X_199+X_200;
X_203:=CLOSE/REF(CLOSE,1)>=1.025 AND X_202>=2 AND 偏离度<1.5;
X_204:=X_82+X_91+X_101+X_110+X_122+X_139>=2;
X_205:=X_68+X_73+X_81+X_90+X_99+X_109+X_121+X_126+X_140;
X_206:=X_205>=5 OR (X_205>=4 AND X_204) AND NOT(NOT(X_68)+X_87+NOT(X_126)+NOT(X_73)+X_100>=2 AND 偏离度>=1.5) AND NOT(X_159 AND 偏离度>=1.5);
主升浪2:=X_68+X_73+X_81+X_90+X_99+X_109+X_121+X_126+X_140=8 AND NOT(X_159 AND 偏离度>1.5) AND CLOSE>=马;
主升浪3:=X_68+X_73+X_81+X_90+X_99+X_109+X_121+X_126+X_140>=9 AND NOT(X_159 AND 偏离度>1.5) AND CLOSE>=马;
X_207:=主升浪2 OR 主升浪3;
X_208:=EVERY(X_206,5) OR (EVERY(X_206,4) AND COUNT(X_207,4)>=2);
X_209:=界>=REF(界,1) AND X_25<=1.18 AND BARSLAST(X_208)>=1 AND BARSLAST(X_208)<=10 AND NOT(X_206) AND 偏离度<=1.4;
X_210:=X_206 OR X_209;
X_211:=CLOSE/REF(CLOSE,1)>=1.025;
X_212:=LOW<=界 AND CLOSE>=界;
X_213:=OPEN<=X_37 AND CLOSE>=X_37;
X_214:=OPEN<=马 AND CLOSE>=马;
X_215:=OPEN<=X_1 AND CLOSE>=X_1;
X_216:=OPEN<=X_2 AND CLOSE>=X_2;
X_217:=OPEN<=X_7 AND CLOSE>=X_7;
X_218:=X_212+X_213+X_214+X_215+X_216;
X_219:=X_213+X_214+X_215+X_216;
X_220:=X_5>=90 AND (X_27>=28 OR (X_27>=20 AND X_23>=40));
X_221:=X_5>=90 AND X_27>=30 AND X_23>=90;
X_222:=X_27>=15 AND X_23>=30 AND X_3<=1.1;
X_223:=X_220 OR X_221 OR X_222 AND X_192 AND X_67 AND BARSLAST(CROSS(界,CLOSE))>=0 AND BARSLAST(CROSS(界,CLOSE))<=10 AND 界/CLOSE<1.1;
X_224:=X_211 AND X_212 AND X_214 AND X_210 AND X_25<=1.06 AND X_3<=1.1;
X_225:=X_211 AND X_212 AND X_214 AND X_218>=4 AND X_25<=1.1 AND (X_3<=1.08 OR X_195) AND 偏离度<=1.08 AND X_153 AND X_27>=18 AND X_23>=40;
X_226:=X_211 AND CROSS(CLOSE,X_7) AND REF(X_30,1) OR (X_217 AND X_216 AND 主升浪3);
X_227:=X_224 OR X_225;
X_228:=X_212 AND (X_153 OR X_195) AND X_25<=1.1 AND X_5>=30 AND (X_23>=30 OR (X_153 AND X_195));
X_229:=X_211 AND X_212 AND X_213 AND X_215 AND 偏离度<=1.08 AND X_153;
X_230:=X_211 AND X_219>=4 AND (X_153 AND X_195 OR X_207 OR X_23>=30) AND X_3<=1.1 AND 偏离度<=1.3 AND X_25<=1.18;
X_231:=X_211 AND X_219>=2 AND X_216 AND (X_207 OR (X_153 AND X_195 AND X_210)) AND 偏离度<=1.5 AND X_25<=1.2;
X_232:=X_211 AND X_213 AND X_214 AND CLOSE<X_2 AND CLOSE>X_1 AND X_210 AND (X_153 OR X_195) AND 偏离度<=1.3 AND X_25<=1.18;
X_233:=X_211 AND X_219>=2 AND X_215 AND X_210 AND 偏离度<=1.2 AND X_25<=1.1;
X_234:=X_211 AND X_213 AND X_214 AND CLOSE<X_1 AND X_153 AND X_195 AND X_210 AND X_25<=1.1 AND 偏离度<=1.1;
X_235:=X_211 AND X_213 AND X_215 AND X_210 AND 偏离度<=1.08 AND X_54>=80;
X_236:=X_211 AND X_219>=3 AND X_214 AND X_207 AND X_23>=40 AND X_3<=1.18 AND 偏离度<=1.2;
X_237:=X_229 OR X_230 OR X_231 OR X_234 OR X_235 OR X_236;
X_238:=CLOSE/REF(CLOSE,1)<=0.97 AND CROSS(X_145,CLOSE) AND X_27>=18 AND X_23>=40 AND CROSS(界,CLOSE);
X_239:=CLOSE/REF(CLOSE,1)<=0.98 AND (REF(X_30,1) OR REF(X_30,2)) AND X_25<=1.2 AND 偏离度<=1.3 AND X_23>=25;
X_240:=X_51 AND X_54>=30 AND (X_210 AND X_195 OR X_194 OR X_207) AND 偏离度<=1.3 AND (X_25<=1.18 OR 偏离度<=1.1);
STICKLINE(X_226,CLOSE,X_7,0.1,0),COLORGREEN;
DRAWTEXT(X_223,LOW*0.99,2),COLORYELLOW;
STICKLINE(X_227,CLOSE,OPEN,2.9,0),COLORMAGENTA;
STICKLINE(X_227,CLOSE,OPEN,0.2,0),COLORGREEN;
DRAWICON(X_227,LOW*0.999,9),COLORMAGENTA;
DRAWTEXT(X_237,LOW*0.99,3),COLORGREEN;
DRAWTEXT(X_228,LOW*0.98,4),COLORGREEN;
DRAWTEXT(X_238,LOW*0.99,5),COLORGREEN;
DRAWTEXT(X_239,LOW*0.99,6),COLORGREEN;
STICKLINE(X_240,CLOSE,X_48,0.1,0),COLORRED;
X_241:=OPEN<=X_127 AND CLOSE>=X_127;
X_242:=OPEN<=X_128 AND CLOSE>=X_128;
X_243:=OPEN<=X_129 AND CLOSE>=X_129;
X_244:=OPEN<=X_130 AND CLOSE>=X_130;
X_245:=X_241+X_242+X_243+X_244>=4;
X_246:=BARSLAST(WINNER(CLOSE)*100<1);
X_247:=REF(CLOSE/REF(CLOSE,X_246)<=1.8,1);
X_248:=REF(CLOSE/REF(CLOSE,X_246)<=1.5,1);
X_249:=REF(CLOSE/REF(CLOSE,X_246)<=1.3,1);
X_250:=MAX(X_127,MAX(X_128,MAX(X_129,X_130)));
X_251:=MIN(X_127,MIN(X_128,MIN(X_129,X_130)));
X_252:=(X_250-X_251)/X_251*100;
X_253:=EVERY(EMA(EMA(X_252,3),5)<=18,3);
X_254:=(COST(85)-COST(15))/COST(100)*100;
X_255:=CLOSE/REF(CLOSE,1)<=1.05;
X_256:=CLOSE/REF(CLOSE,1)>1.05;
X_257:=OPEN<=X_251 AND CLOSE/X_250<=1.031;
X_258:=OPEN<=X_251 AND CLOSE/X_250<=1.05;
X_259:=X_130>REF(X_130,1) OR X_102;
X_260:=IF(HOUR>12,(HOUR-13)*60+MINUTE+120,(HOUR-9)*60+MINUTE-30);
X_261:=IF(PERIOD=5,FROMOPEN,X_260);
X_262:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))));
X_263:=MOD(FROMOPEN,X_262);
X_264:=IF(X_263<0.5,X_262,X_263);
X_265:=IF(CURRBARSCOUNT=1,VOL*X_262/X_264,VOL);
X_266:=IF(PERIOD=4,60,IF(PERIOD=3,30,IF(PERIOD=2,15,IF(PERIOD=1,5,1))));
X_267:=IF(PERIOD=5,4,IF(PERIOD=4,8,IF(PERIOD=3,16,IF(PERIOD=2,48,240))));
X_268:=X_261/X_266;
X_269:=SUM(VOL,X_268)/X_268/DYNAINFO(16)/X_262;
X_270:=X_265/REF(MA(VOL,5),1);
X_271:=IF(PERIOD<5,X_269,IF(PERIOD=5,X_270,0));
X_272:=X_102+X_259+X_119+X_193+X_153+X_180>=2;
X_273:=X_255 AND X_245 AND X_252<4 AND X_257 AND X_254<18 AND (X_193 OR X_271>1.3);
X_274:=X_256 AND X_245 AND X_252<8 AND X_258 AND X_254<18 AND (X_193 OR REF(X_193,1)) AND X_271>2;
X_275:=X_273 OR X_274 AND X_272 AND X_247 AND 界>=REF(界,1) AND NOT(X_227);
STICKLINE(X_275,CLOSE,OPEN,2.9,0),COLOR80FFFF;
DRAWTEXT(X_275,LOW*0.98,3),COLOR80FFFF;
X_276:=X_160;
X_277:=COUNT(X_276,2)=1;
X_278:=X_276 AND X_277;
X_279:=OPEN+(CLOSE-OPEN)*0.5;
X_280:=OPEN+(CLOSE-OPEN)*0.67;
X_281:=OPEN+(CLOSE-OPEN)*0.34;
DRAWTEXT(X_278,X_279,7),COLORBROWN;
DRAWTEXT(X_278,X_280,7),COLORBROWN;
DRAWTEXT(X_278,X_281,7),COLORBROWN;
疯牛模型副图
VAR1:=(3*CLOSE+HIGH+LOW+OPEN)/6;
VAR2:=EMA(VAR1,35);
VAR3:=(HHV(VAR2,10)+HHV(VAR2,30)+HHV(VAR2,90))/3;
VAR4:=(LLV(VAR2,10)+LLV(VAR2,30)+LLV(VAR2,90))/3;
VAR5:=(HHV(VAR3,5)+HHV(VAR3,15)+HHV(VAR3,30))/3;
VAR6:=(LLV(VAR4,5)+LLV(VAR4,15)+LLV(VAR4,30))/3;
VAR7:=EXPMA(CLOSE,6);
VAR8:=EXPMA(CLOSE,18);
M1:=500*(VAR7-VAR8)/VAR8+2,COLORYELLOW,LINETHICK2;
ZZ:=M1>2 AND EMA(EMA(VAR1,2),2)>VAR6;
共振追涨紫:ZZ AND ZZ>=REF(ZZ,1),NODRAW,COLORMAGENTA ;
STICKLINE(共振追涨紫,4,8,1,0),COLORMAGENTA ;
DRAWTEXT(共振追涨紫,7.7,'紫'),COLORYELLOW;
X_1:=INDEXH;
X_2:=INDEXO;
X_3:=INDEXL;
X_4:=INDEXC;
X_5:=INDEXV;
X_6:=(3*CLOSE+HIGH+LOW+OPEN)/6;
X_7:=EMA(X_6,35);
X_8:=(HHV(X_7,5)+HHV(X_7,15)+HHV(X_7,30))/3;
X_9:=(LLV(X_7,5)+LLV(X_7,15)+LLV(X_7,30))/3;
牛线:=(HHV(X_8,5)+HHV(X_8,15)+HHV(X_8,30))/3,COLORYELLOW;
X_10:=(LLV(X_9,5)+LLV(X_9,15)+LLV(X_9,30))/3;
X_11:=X_4/EMA(X_4,120);
大盘中线:=EMA(EMA(CLOSE,120)*X_11,2),COLORRED;
X_12:=X_6>=牛线 AND X_6>=大盘中线;
强势起爆紫:X_12=1,NODRAW,COLORMAGENTA;
STICKLINE(强势起爆紫,4,7,3.5,0),COLORMAGENTA ;
DRAWTEXT(强势起爆紫,6.7,'紫'),COLORYELLOW;
TT:=(2*CLOSE+OPEN+HIGH+LOW)*100;
FF:=TT/EMA(TT,4)-1;
动能2红:FF>REF(FF,1) AND FF>0,NODRAW,COLORRED ;
STICKLINE(动能2红,4,6,4,0),COLORRED ;
DRAWTEXT(动能2红,5.7,'红'),COLORYELLOW;
动能2黄:FF<REF(FF,1) AND FF>0 ,NODRAW,COLORYELLOW ;
STICKLINE(动能2黄,4,6,2,0),COLORYELLOW ;
DRAWTEXT(动能2黄,5.7,'黄'),COLORRED;
{庄家控盘}
VAR1A:=EMA(EMA(C,8),39),NODRAW;
控盘度:=((VAR1A-REF(VAR1A,1))/REF(VAR1A,1)*1000)+50,NODRAW;
低控盘:IF(控盘度>50 AND 控盘度<58,控盘度,0),NODRAW,COLORYELLOW;
STICKLINE(控盘度>50 ,4,5,5,0),COLORYELLOW;
DRAWTEXT(控盘度>50,4.7,'黄'),COLORRED;HJ_1:=CLOSE/REF(CLOSE,1)>=1.098 AND C=H;
HJ_22:=COUNT(HJ_1,2)>=1 AND NOT(COUNT(HJ_1,3)>=2);
妖启:=FILTER(HJ_22,13),COLORDDDDDD;
HJ_23:=COUNT(HJ_1,3)>=2 AND NOT(COUNT(HJ_1,4)>=3);
龙头启动:妖启 AND COUNT(妖启,18)=1 AND (IF(CODELIKE('60'),1,0) OR IF(CODELIKE('00'),1,0)),NODRAW,COLORBLUE;
STICKLINE(龙头启动,0,0.75,6,0),COLORBLUE;
DRAWTEXT(龙头启动,0.35,'龙头启动'),COLORWHITE;
DRAWTEXT(龙头启动,0.35,' 火箭'),COLORRED;
妖升:=FILTER(HJ_23,13),COLORGREEN;
龙头主升:妖升 AND COUNT(妖升,18)=1 AND (IF(CODELIKE('60'),1,0) OR IF(CODELIKE('00'),1,0)),NODRAW,COLORWHITE;
STICKLINE(龙头主升,1,1.75,6,0),COLORWHITE;
DRAWTEXT(龙头主升,1.35,'龙头主升'),COLORRED;
DRAWTEXT(龙头主升,1.35,' '),COLORYELLOW;
主力攻击:=EMA(CLOSE,5),COLORRED;
主力攻击线:=(MA(CLOSE,4)+MA(CLOSE,6)+MA(CLOSE,5)+MA(CLOSE,10))/4,COLORWHITE;
主力控盘线:=EMA(CLOSE, 21),COLORYELLOW,LINETHICK2;
攻击控盘买:=CROSS(主力攻击,主力攻击线)AND REF(主力攻击,1)<REF(主力控盘线,1);
创业板块XG:={主力攻击线>主力控盘线 AND} C>REF(C,1)*1.045 AND C<REF(C,1)*1.07 AND L<主力攻击线 AND IF(CODELIKE('300'),1,0) AND C>主力攻击线,COLORMAGENTA;
TTA:=(2*CLOSE+OPEN+HIGH+LOW)*100;
FFA:=TTA/EMA(TTA,4)-1;
趋势动能:=ROUND2(FFA*100,1);
趋势龙头:CROSS(趋势动能,2) AND 趋势动能>=5 AND IF(CODELIKE('300'),1,0),NODRAW,COLORGREEN;
STICKLINE(趋势龙头 OR 创业板块XG,0,1,6,0),COLORGREEN;
DRAWTEXT(趋势龙头 OR 创业板块XG,0.65,'趋势龙头'),COLORRED;
DRAWTEXT(趋势龙头 OR 创业板块XG,0.65,' 旗帜'),COLORYELLOW;
0,COLORWHITE;
4,COLORYELLOW;
DRAWTEXT_FIX(1,0,0.05,0, STRCAT(HYBLOCK,STRCAT(' + ', STRCAT(GNBLOCK,STRCAT('+ ', EXTERNSTR(0,1)))))),COLORWHITE;
紫紫红黄:=共振追涨紫 AND 强势起爆紫 AND 动能2红 AND 控盘度>50 ;
首紫紫红黄:=紫紫红黄 AND REF(紫紫红黄,1)<>1;
STICKLINE(首紫紫红黄,2.85,3.5,0,0),COLORRED;
DRAWTEXT(首紫紫红黄,3.41,'参考买点'),COLORRED;
首动能2黄:=动能2黄 AND REF(动能2黄,1)<>1;
STICKLINE(首动能2黄,2,2.5,0,0),COLORYELLOW;
DRAWTEXT(首动能2黄,2.5,'参考卖点'),COLORYELLOW;
疯牛波段掘金副图
绿空仓-粉重仓-红满仓-红绿相间1/3-粉绿相间1/2
吸筹线1:=COST(50)*COST(50)/COST(80);
吸筹线2:=COST(40)*COST(40)/COST(60);
差:吸筹线2-吸筹线1,NODRAW;
STICKLINE(差>0 AND C>吸筹线2,0,差,2,0),COLORRED;
STICKLINE(差>0 AND C>吸筹线2 AND C<MA(C,10),0,差*0.2,2,0),COLORYELLOW;
STICKLINE(差>0 AND C<吸筹线2,0,差,2,0),COLORCYAN;
STICKLINE(差>0 AND C<吸筹线2 AND C<吸筹线1,0,差*0.5,2,0),COLORBLUE;
STICKLINE(差>0 AND C<吸筹线2 AND C<吸筹线1,差*0.5,差,2,0),COLORYELLOW;
STICKLINE(差<0,0,差,2,0),COLORCYAN;
STICKLINE(差<0 AND C>吸筹线1,0,差,2,0),COLORMAGENTA;
STICKLINE(差<0 AND C>吸筹线1 AND C<MA(C,5),0,差*0.2,2,0),COLORYELLOW;
DRAWTEXT_FIX(1,0.5,1.5 ,0,'绿空仓-粉重仓-红满仓-红绿相间1/3-粉绿相间1/2'),COLORYELLOW;
封牛反弹出击副图
底部周期:=9;
X_1:=CLOSE<=REF(LLV(CLOSE,底部周期),1) AND CLOSE<=OPEN;
X_2:=REF(X_1,1) AND CLOSE>OPEN AND CLOSE<=REF(CLOSE,1);
X_3:=X_1 OR X_2 AND FINANCE(42)>20;
X_4:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>=0.04 OR (CLOSE-OPEN)/OPEN>=0.04 AND (VOL<=MA(VOL,60) OR VOL/REF(VOL,1)<=1.2 OR VOL< HHV(VOL,5)) AND HIGH>LOW;
X_5:=(OPEN-CLOSE)/OPEN>=0.04 OR (REF(CLOSE,1)/CLOSE>=1.04 AND CLOSE< OPEN) AND (VOL/MA(VOL,60)<=2/3 OR VOL/REF(VOL,1)<=1.15 OR VOL< HHV(VOL,5));
X_6:=CLOSE< OPEN;
X_7:=REF(VOL,2)>REF(VOL,1) AND REF(VOL,1)>VOL AND COUNT(X_6,3)>=2;
X_8:=VOL< REF(LLV(VOL,20),1) AND HIGH>LOW;
X_9:=REF(VOL,2)>REF(VOL,1) AND REF(VOL,1)>VOL;
X_10:=VOL/REF(VOL,1)< 0.67;
X_11:=IF(DATE=1160107,REF(VOL,1),VOL);
X_12:=X_11< REF(LLV(X_11,100),1) AND HIGH>LOW;
X_13:=VOL/MA(VOL,60)<=1/3;
X_14:=X_3 AND X_5 AND COUNT(X_9 OR X_10 OR X_12,3);
关注:X_14,NODRAW,COLORRED;
STICKLINE(关注,0.75,0.6,0,0),COLORWHITE;
STICKLINE(关注,0.6,0.175,0,0),COLORWHITE;
STICKLINE(关注,0.175,0.155,3,0),COLORWHITE;
STICKLINE(关注,0.155,0,0.3,0),COLORWHITE;
X_15:=REF(X_14,1) AND CLOSE>OPEN AND VOL>REF(VOL,1) AND (CLOSE>REF((CLOSE+OPEN)/2,1) OR CLOSE/OPEN>1.008);
X_16:=REF(X_14,1) OR (REF(X_14,2) AND REF(CLOSE,1)< REF(OPEN,1)) AND CLOSE>OPEN AND VOL>REF(VOL,1) AND CLOSE>REF(OPEN,1);
X_17:=REF(X_14,1) AND X_4 OR (REF(X_14,2) AND REF(VOL,1)< VOL) AND X_4;
X_18:=REF(CLOSE,1)< REF(OPEN,1) AND CLOSE>REF(OPEN,1) AND OPEN< REF(CLOSE,1);
X_19:=REF(X_14,1) OR REF(X_14,2) AND X_18 AND CLOSE/OPEN>1.02;
X_20:=100*(MIN(CLOSE,OPEN)-LOW)/LOW>3.5;
X_21:=REF(X_14,1) OR REF(X_14,2) AND X_20 AND CLOSE>OPEN;
X_22:=REF(X_14,1) AND REF(X_20,1) OR (REF(X_14,2) AND (REF(X_20,2) OR REF(X_20,1))) AND CLOSE/OPEN>1.02;
X_23:=X_21 OR X_22;
X_24:=REF(X_14,1) AND CLOSE/OPEN>1.01 AND VOL< REF(VOL,1);
X_25:=X_15 OR X_16 OR X_17 OR X_19 OR X_23 OR X_24;
出击:FILTER(X_25,2),COLORYELLOW,LINETHICK2;