主图选股个股有点多
副图加了优化
主图
DRAWTEXT_FIX(1,0.15,0.05,0,'QQ指标战法服务众筹小魔'),COLORYELLOW;
MA2:=EMA(C,2);
MA5:EMA(C,5);
MA13:EMA(C,13);
MA34:EMA(C,34);
MA55:EMA(C,55);
YCX:=MA5>=REF(MA5,1);
H1:=MAX(MAX(MA5,MA13),MA34);
L1:=MIN(MIN(MA5,MA13),MA34);
金蜘蛛:= H1<C AND O<L1 AND YCX AND MA2>REF(MA2,1);
STICKLINE(金蜘蛛,O,C,2,0),COLORYELLOW;
DRAWTEXT(金蜘蛛,L-0.1, '金蜘蛛'),COLORGREEN;
副图
X_1:=CLOSE*FINANCE(7)/10000/10000;
X_2:=CLOSE*FINANCE(7)/10000/10000<50;
X_3:=VOL/REF(VOL,1);
X_4:=ATAN(MA(CLOSE,5)/REF(MA(CLOSE,5),1)*100-100)/3.142*180;
X_5:=ATAN(MA(CLOSE,10)/REF(MA(CLOSE,10),1)*100-100)/3.142*180;
X_6:=ATAN(MA(CLOSE,20)/REF(MA(CLOSE,20),1)*100-100)/3.142*180;
X_7:=ATAN(MA(CLOSE,60)/REF(MA(CLOSE,60),1)*100-100)/3.142*180;
X_8:=ATAN(MA(CLOSE,120)/REF(MA(CLOSE,120),1)*100-100)/3.142*180;
X_9:=(CLOSE-MA(CLOSE,20))/MA(CLOSE,20)*100;
X_10:=X_9<13;
X_11:=(REF(VOL,1)+REF(VOL,2)+REF(VOL,3)+REF(VOL,4)+REF(VOL,5))/5;
X_12:=VOL/X_11;
X_13:=AMOUNT/VOL/100;
X_14:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
X_15:=(HIGH-REF(CLOSE,1))/REF(CLOSE,1)*100;
X_16:=(AMOUNT/VOL/100-REF(CLOSE,1))/REF(CLOSE,1)*100;
X_17:=CLOSE+(HIGH-CLOSE)/3-(CLOSE-X_13)/3;
X_18:=X_14+(X_15-X_14)/3-(X_14-X_16)/3;
X_19:=CLOSE>=REF(CLOSE,1)*1.093 AND CLOSE=HIGH;
X_20:=MA(CLOSE,10)>=REF(MA(CLOSE,10),1) AND MA(CLOSE,60)>=REF(MA(CLOSE,60),1) AND MA(CLOSE,120)>=REF(MA(CLOSE,120),1) AND CLOSE>=MA(CLOSE,20);
X_21:=MA(CLOSE,10)>=REF(MA(CLOSE,10),1) AND MA(CLOSE,60)>=REF(MA(CLOSE,60),1) AND MA(CLOSE,120)>=REF(MA(CLOSE,120),1) AND CLOSE>=MA(CLOSE,20);
X_22:=MA(CLOSE,10)>=REF(MA(CLOSE,10),1) AND MA(CLOSE,20)>=REF(MA(CLOSE,20),1) AND MA(CLOSE,120)>=REF(MA(CLOSE,120),1) AND CLOSE>=MA(CLOSE,20);
X_23:=MA(CLOSE,10)>=REF(MA(CLOSE,10),1) AND MA(CLOSE,20)>=REF(MA(CLOSE,20),1) AND MA(CLOSE,60)>=REF(MA(CLOSE,60),1) AND CLOSE>=MA(CLOSE,20);
X_24:=MA(CLOSE,5)>=REF(MA(CLOSE,5),1) AND MA(CLOSE,10)>=REF(MA(CLOSE,10),1) AND MA(CLOSE,20)>=REF(MA(CLOSE,20),1) AND CLOSE>=MA(CLOSE,20);
X_25:=MA(CLOSE,5)>=REF(MA(CLOSE,5),1) AND MA(CLOSE,20)>=REF(MA(CLOSE,20),1) AND MA(CLOSE,60)>=REF(MA(CLOSE,60),1) AND CLOSE>=MA(CLOSE,20);
X_26:=MA(CLOSE,5)>=REF(MA(CLOSE,5),1) AND MA(CLOSE,10)>=REF(MA(CLOSE,10),1) AND MA(CLOSE,120)>=REF(MA(CLOSE,120),1) AND CLOSE>=MA(CLOSE,20);
X_27:=X_20 OR X_21 OR X_22 OR X_23 OR X_24 OR X_25 OR X_26;
X_28:=MA(CLOSE,5)>=REF(MA(CLOSE,5),1) AND MA(CLOSE,10)>=REF(MA(CLOSE,10),1) AND MA(CLOSE,60)>=REF(MA(CLOSE,60),1) AND MA(CLOSE,120)>=REF(MA(CLOSE,120),1) AND CLOSE>=MA(CLOSE,20);
X_29:=DYNAINFO(8)>0;
X_30:=NOT(NAMELIKE(1) OR NAMELIKE(2) OR NAMELIKE(3));
X_31:=(VOL>=REF(VOL,1)*1.75 AND X_14>=1.99 AND X_18>=2.45 AND X_15>3)*0.2;
X_32:=(VOL>=REF(VOL,1)*1.65 AND X_14>=1.99 AND X_18>=3 AND X_15>3.3)*0.2;
X_33:=(VOL>=REF(VOL,1)*1.55 AND X_14>=2.25 AND X_18>=3.3 AND X_15>3.5)*0.2;
X_34:=(VOL>=REF(VOL,1)*1.5 AND X_14>=2.5 AND X_18>=3.5 AND X_15>4)*0.2;
X_35:=(VOL>=REF(VOL,1)*1.45 AND X_14>=2.68 AND X_18>=4 AND X_15>5)*0.2;
X_36:=(X_31 OR X_32 OR X_33 OR X_34 OR X_35)*0.2;
X_37:=VOL>REF(VOL,1) AND CLOSE>=REF(CLOSE,1) AND REF(CLOSE,1)>=REF(CLOSE,2);
X_38:=(CLOSE-REF(CLOSE,2))/REF(CLOSE,2)*100;
X_39:=X_37 AND X_38>=5 AND HIGH>=REF(CLOSE,2)*1.05 AND VOL+REF(VOL,1)>=REF(VOL,2)*4;
X_40:=VOL>REF(VOL,1) AND REF(VOL,1)>REF(VOL,2)*0.9 AND VOL>REF(VOL,2) AND CLOSE>REF(CLOSE,1) AND REF(CLOSE,1)>=REF(CLOSE,2) AND REF(CLOSE,2)>=REF(CLOSE,3) AND VOL+REF(VOL,1)+REF(VOL,2)>=REF(VOL,3)*5;
X_41:=(CLOSE-REF(CLOSE,3))/REF(CLOSE,3)*100;
X_42:=X_40 AND X_41>=5.5;
X_43:=(X_39 OR X_42)*0.4;
X_44:=CLOSE<=REF(CLOSE,1) AND CLOSE>REF(CLOSE,1)*0.97;
X_45:=CLOSE<=REF(CLOSE,1)*0.97;
X_46:=REF(X_44,1) AND CLOSE>=REF(OPEN,1) AND CLOSE>=REF(CLOSE,1)*1.04;
X_47:=REF(X_45,1) AND CLOSE>=(REF(OPEN,1)+REF(CLOSE,1))*0.5 AND CLOSE>=REF(CLOSE,1)*1.045;
X_48:=X_46 OR X_47;
X_49:=CLOSE>=REF(CLOSE,2)*1.045 AND CLOSE>=REF(CLOSE,1)*1.04 AND REF(X_44,2) AND CLOSE>=REF(OPEN,2);
X_50:=CLOSE>=REF(CLOSE,2)*1.05 AND CLOSE>=REF(CLOSE,1)*1.045 AND REF(X_45,2) AND CLOSE>=(REF(OPEN,1)+REF(CLOSE,1))*0.5;
X_51:=X_49 OR X_50;
X_52:=(X_48 OR X_51)*0.6;
X_53:=CLOSE>=REF(CLOSE,1)*1.05;
X_54:=CLOSE>=REF(CLOSE,1)*1.045 AND HIGH>=REF(CLOSE,1)*1.05 AND X_18>=5;
X_55:=X_53 OR X_54;
X_56:=IF(COUNT(X_19,13),X_14>1,X_14>2.68) AND VOL>REF(VOL,1)*1.5 AND CLOSE>=LOW*1.03 AND HIGH>=LOW*1.05;
X_57:=(X_55 OR X_52 OR X_36 OR X_43 OR X_56)*0.2;
X_58:=REF(COUNT(X_55,20),1)>=1 AND HIGH>REF(CLOSE,1)*1.05 AND X_18>3 AND X_14>2.68 AND X_57;
X_59:=REF(COUNT(X_55,20),1)>=1 AND X_43;
X_60:=NOT(REF(COUNT(X_55,20),1)>=1) AND X_57;
X_61:=X_58 OR X_59 OR X_60;
X_62:=IF(X_61,X_57,0)*2;
X_63:=REF(X_62,1) AND NOT(REF(X_55,1)) AND X_55;
X_64:=REF(X_62,1) AND NOT(REF(X_55,1)) AND X_62 AND VOL>REF(VOL,1);
X_65:=REF(X_62,1) AND NOT(REF(X_55,1)) AND X_43;
X_66:=REF(X_62,1) AND REF(X_55,1) AND X_55;
X_67:=REF(X_62,1) AND REF(X_55,1) AND X_62 AND VOL>REF(VOL,1);
X_68:=X_63 OR X_64 OR X_65 OR X_66 OR X_67;
X_69:=NOT(REF(X_62,1)) AND X_62;
X_70:=REF(X_62,2) AND X_62 AND X_14<=REF(X_14,2) AND VOL<=REF(VOL,2) AND NOT(X_55);
X_71:=REF(X_62,3) AND X_62 AND X_14<=REF(X_14,3) AND VOL<=REF(VOL,3) AND NOT(X_55);
X_72:=X_70 OR X_71;
X_73:=(X_62 AND NOT(X_72) AND (X_68 OR X_69))*0.8;
X_74:=IF(X_73 AND X_42,X_41,IF(X_73 AND X_39,X_38,IF(X_73,MAX(X_14,X_18),DRAWNULL)));
X_75:=HIGH-(HIGH-MIN(OPEN,CLOSE))/3;
X_76:=HIGH-(HIGH-MAX(OPEN,CLOSE))*0.382;
X_77:=REF(BARSLAST(X_73),1)+1;
X_78:=REF(VOL,X_77);
X_79:=REF(VOL,X_77-1);
X_80:=REF(CLOSE,X_77);
X_81:=REF(CLOSE,X_77-1);
X_82:=CLOSE>=REF(CLOSE,1)*1.007 AND X_16>(-0.8);
X_83:=AMOUNT/VOL/100>=REF(CLOSE,1)*1.007 AND CLOSE>=REF(CLOSE,1)*0.993;
X_84:=REF(CLOSE,1)>=REF(CLOSE,2)*1.007 AND REF(X_16,1)>(-0.8) AND CLOSE>=REF(CLOSE,1) AND VOL<=REF(VOL,1);
X_85:=REF(AMOUNT/VOL/100,1)>=REF(CLOSE,2)*1.007 AND REF(CLOSE,1)>=REF(CLOSE,2)*0.993 AND CLOSE>=REF(CLOSE,1) AND VOL<=REF(VOL,1);
X_86:=CLOSE/REF(CLOSE,2)>=1.01 AND CLOSE>=REF(CLOSE,1) AND X_16>(-0.8);
X_87:=CLOSE/REF(CLOSE,2)>=1.01 AND AMOUNT/VOL/100>=REF(CLOSE,1)*1.007 AND CLOSE>=REF(CLOSE,1)*0.993;
X_88:=X_82 OR X_83 OR X_84 OR X_85 OR X_86 OR X_87;
X_89:=MAX(REF(X_75,1),REF(CLOSE,1));
X_90:=REF(CLOSE,1);
X_91:=CLOSE>=X_89-MAX(X_89*0.001,0.01) AND X_16>=(-0.7) AND VOL<=REF(VOL,1);
X_92:=CLOSE>=X_89*0.993 AND X_13>=X_89-MAX(X_89*0.001,0.01) AND VOL<=REF(VOL,1);
X_93:=CLOSE>=REF(CLOSE,1) AND HIGH>=REF(HIGH,1) AND VOL<=REF(VOL,1);
X_94:=X_17>=X_89 AND X_89<=CLOSE*1.01 AND VOL<=REF(VOL,1) AND CLOSE>=OPEN AND X_16>=(-0.7);
X_95:=CLOSE>=X_89 AND VOL<=REF(VOL,1)*1.26 AND X_18>=1;
X_96:=REF(CLOSE,1)>REF(CLOSE,2) AND REF(VOL,1)>REF(VOL,2) AND CLOSE>=REF(CLOSE,1) AND VOL<REF(VOL,1);
X_97:=X_91 OR X_92 OR X_93 OR X_94 OR X_95 OR X_96;
X_98:=X_14<=REF(X_74,1)*0.618;
X_99:=CLOSE<=MAX(X_90,X_89)*1.045;
X_100:=(CLOSE-REF(CLOSE,2))/REF(CLOSE,2)*100<14.5;
X_101:=REF(X_73,1) AND X_97 AND X_98 AND X_99 AND X_100;
X_102:=IF(REF(VOL,1)>REF(VOL,2),REF(VOL,1),REF(VOL,2));
X_103:=IF(REF(VOL,1)>REF(VOL,2),MAX(REF(CLOSE,1),REF(OPEN,1)),MAX(REF(CLOSE,2),REF(OPEN,2)));
X_104:=IF(REF(VOL,1)>REF(VOL,2),REF(HIGH,1),REF(HIGH,2));
X_105:=IF(REF(VOL,1)>REF(VOL,2),REF(X_75,1),REF(X_75,2));
X_106:=MAX(X_105,X_103);
X_107:=CLOSE>=X_106-X_106*0.001 AND VOL<=X_102;
X_108:=X_14>(-0.7) AND X_13>=X_106-MAX(X_106*0.001,0.01) AND VOL<=X_102;
X_109:=X_14>(-0.7) AND HIGH>=X_104 AND VOL<=X_102 AND CLOSE>=X_103;
X_110:=CLOSE>=X_106-X_106*0.001 AND X_16>=0.8 AND VOL<=X_102*1.25 AND X_18>=2.5;
X_111:=X_107 OR X_108 OR X_109 OR X_110;
X_112:=(CLOSE-REF(CLOSE,2))/REF(CLOSE,2)*100;
X_113:=CLOSE<=MAX(X_103,X_106)*1.05;
X_114:=(CLOSE-REF(CLOSE,3))/REF(CLOSE,3)*100<15;
X_115:=X_112<REF(X_74,2);
X_116:=REF(X_73,2) AND X_111 AND X_88 AND X_115 AND X_114 AND X_113;
X_117:=IF(REF(VOL,2)>REF(VOL,3),REF(VOL,2),REF(VOL,3));
X_118:=IF(REF(VOL,2)>REF(VOL,3),MAX(REF(CLOSE,2),REF(OPEN,2)),MAX(REF(CLOSE,3),REF(OPEN,3)));
X_119:=IF(REF(VOL,2)>REF(VOL,3),REF(HIGH,2),REF(HIGH,3));
X_120:=IF(REF(VOL,2)>REF(VOL,3),REF(X_75,2),REF(X_75,3));
X_121:=MAX(X_120,X_118);
X_122:=CLOSE>=X_121-X_121*0.001 AND VOL<=X_117;
X_123:=X_14>(-0.7) AND X_13>=X_121-X_121*0.001 AND VOL<=X_117;
X_124:=X_14>(-0.7) AND HIGH>=X_119 AND VOL<=X_117 AND CLOSE>=X_118;
X_125:=CLOSE>=X_121-X_121*0.001 AND X_16>=0.8 AND VOL<=X_117*1.25 AND X_18>=2.5;
X_126:=X_122 OR X_123 OR X_124 OR X_125;
X_127:=(CLOSE-REF(CLOSE,3))/REF(CLOSE,3)*100;
X_128:=CLOSE<=MAX(X_118,X_121)*1.055;
X_129:=(CLOSE-REF(CLOSE,4))/REF(CLOSE,4)*100<15;
X_130:=X_127<REF(X_74,3);
X_131:=CLOSE>=REF(HHV(CLOSE,3),1)*0.99;
X_132:=REF(X_73,3) AND X_126 AND X_88 AND X_130 AND X_129 AND X_128 AND X_131;
X_133:=IF(REF(VOL,3)>REF(VOL,4),REF(VOL,3),REF(VOL,4));
X_134:=IF(REF(VOL,3)>REF(VOL,4),MAX(REF(CLOSE,3),REF(OPEN,3)),MAX(REF(CLOSE,4),REF(OPEN,4)));
X_135:=IF(REF(VOL,3)>REF(VOL,4),REF(HIGH,3),REF(HIGH,4));
X_136:=IF(REF(VOL,3)>REF(VOL,4),REF(X_75,3),REF(X_75,4));
X_137:=MAX(X_136,X_134);
X_138:=CLOSE>=X_137-X_137*0.001 AND VOL<=X_133;
X_139:=X_14>(-0.7) AND X_13>=X_137-X_137*0.001 AND VOL<=X_133;
X_140:=X_14>(-0.7) AND HIGH>=X_135 AND VOL<=X_133 AND CLOSE>=X_134;
X_141:=CLOSE>=X_137-X_137*0.001 AND X_16>=0.8 AND VOL<=X_133*1.25 AND X_18>=2.5;
X_142:=X_138 OR X_139 OR X_140 OR X_141;
X_143:=(CLOSE-REF(CLOSE,4))/REF(CLOSE,4)*100;
X_144:=CLOSE<=MAX(X_134,X_137)*1.06;
X_145:=(CLOSE-REF(CLOSE,5))/REF(CLOSE,5)*100<15;
X_146:=X_143<REF(X_74,4);
X_147:=CLOSE>=REF(HHV(CLOSE,4),1)*0.99;
X_148:=REF(X_73,4) AND X_142 AND X_88 AND X_146 AND X_145 AND X_144 AND X_147;
X_149:=OPEN>REF(CLOSE,1) AND HIGH>REF(CLOSE,1)*1.0268 AND CLOSE<OPEN AND VOL>REF(VOL,1);
金蜘蛛2:=X_101 OR X_116 OR X_132 OR X_148 AND NOT(X_149) AND X_30 AND X_29 AND X_10 AND X_2;
MA2:=EMA(C,2);
MA5:=EMA(C,5);
MA13:=EMA(C,13);
MA34:=EMA(C,34);
MA55:=EMA(C,55);
YCX:=MA5>=REF(MA5,1);
H1:=MAX(MAX(MA5,MA13),MA34);
L1:=MIN(MIN(MA5,MA13),MA34);
金蜘蛛今买明卖:H1<C AND O<L1 AND YCX AND MA2>REF(MA2,1) AND 金蜘蛛2 ;
STICKLINE(金蜘蛛今买明卖,0.2,0.4,3,0),COLORRED;
STICKLINE(金蜘蛛今买明卖,0.2,0.4,3,0),COLORGREEN;
STICKLINE(金蜘蛛今买明卖,0.2,0.4,3.05,0),COLOR000099;
STICKLINE(金蜘蛛今买明卖,0.2,0.4,2.2,0),COLOR0000CC;
STICKLINE(金蜘蛛今买明卖,0.2,0.4,1.5,0),COLORRED;
STICKLINE(金蜘蛛今买明卖,0.2,0.4,0.5,0),COLORYELLOW;