幅图源码:
A_1:=REF(MA(CLOSE,5)/MA(CLOSE,11)<0.998,1); A_2:=(LLV(LOW,9)+LLV(LOW,13)+LLV(LOW,21)+LLV(LOW,34)+LOW)/5; A_3:=(HHV(HIGH,9)+HHV(HIGH,21)+HHV(HIGH,34)+HHV(HIGH,43)+HIGH)/5; A_4:=EMA((CLOSE-A_2)/(A_3-A_2)*100,3); A_5:=EMA(A_4,2); A_6:=EMA(A_5,2); A_7:=A_6<A_5*1.04; A_8:=REF(OPEN,3)/REF(CLOSE,1)>1.03; A_9:=LOW>=REF(LOW,1)*0.999; A_10:=CLOSE/REF(CLOSE,2)>1.007 AND CLOSE/REF(CLOSE,2)<1.099; A_11:=VOL<=EMA(VOL,70)*1.3; A_12:=VOL>REF(VOL,2)*0.3 AND REF(VOL,1)>REF(VOL,3)*0.4; A_13:=REF(HIGH,1)<=REF(LOW,3)*1.06; A_14:=OPEN/CLOSE>1.05; A_15:=COUNT(A_14,14)<2; A_16:=OPEN>=REF(CLOSE,1); A_17:=REF(CLOSE,1)/CLOSE>1.099; A_18:=COUNT(A_17,6)=0; A_19:=REF(LOW,1)>REF(LOW,2)*1.004; A_20:=EMA(CLOSE,80)/CLOSE>1.055; A_21:=SKDJ.K>17 AND IF(NAMELIKE(1) OR NAMELIKE(2),0,1); A_22:=OPEN>CLOSE; A_23:=COUNT(A_22,8)<=6; A_24:=REF(MA(CLOSE,5),1)/MA(CLOSE,5)>1.006; A_25:=CLOSE/REF(CLOSE,1)<1.09 AND HIGH>REF(HIGH,1); A_26:=SKDJ.K-REF(SKDJ.K,1)>0; A_27:=A_1 AND A_7 AND A_8 AND A_9 AND A_10 AND A_11 AND A_12 AND A_13 AND A_15 AND A_16 AND A_18 AND A_19 AND A_20 AND A_21 AND A_23 AND A_24 AND A_25 AND A_26; A_28:=OPEN>CLOSE; A_29:=LAST(A_28,5,3); A_30:=REF(CLOSE,2)<REF(CLOSE,1)*0.995; A_31:=OPEN>CLOSE AND OPEN/CLOSE<1.034; A_32:=REF(CLOSE,6)/CLOSE>1.035; A_33:=LLV(LOW,9); A_34:=HHV(HIGH,9); A_35:=EMA((CLOSE-A_33)/(A_34-A_33)*100,7); A_36:=EMA(A_35,3); A_37:=EMA(A_36,3); A_38:=A_37<35; A_39:=VOL<=LLV(VOL,20)*1.1; A_40:=VOL<REF(VOL,1); A_41:=LOW>REF(LOW,3)*0.95; A_42:=MA(CLOSE,20)/CLOSE>1.07; A_43:=HIGH>REF(HIGH,2)*0.985 AND HIGH<REF(HIGH,3)*0.998; A_44:=OPEN<REF(CLOSE,1); A_45:=COUNT(A_44,10)>3; A_46:=REF(CLOSE,4)/REF(CLOSE,1)<1.02; A_47:=A_29 AND A_30 AND A_31 AND A_32 AND A_38 AND A_39 AND A_41 AND A_42 AND A_43 AND A_45 AND A_46; 短线牛:A_27 OR A_47,COLORRED,LINETHICK2; DRAWTEXT_FIX(OPEN<CLOSE,0.09,0.1,0,CONST(GNBLOCK)),COLORYELLOW; DRAWTEXT_FIX(OPEN<CLOSE,0.09,0.2,0,CONST(HYBLOCK)),COLORYELLOW; DRAWTEXT_FIX(OPEN<CLOSE,0.09,0.3,0,CONST(DYBLOCK)),COLORYELLOW; DRAWTEXT_FIX(OPEN<CLOSE,0.09,0.4,0,CONST(FGBLOCK)),COLORYELLOW; DRAWTEXT_FIX(OPEN<CLOSE,0.09,0.5,0,CONST(ZSBLOCK)),COLORYELLOW;
选股源码:
A_1:=REF(MA(CLOSE,5)/MA(CLOSE,11)<0.998,1); A_2:=(LLV(LOW,9)+LLV(LOW,13)+LLV(LOW,21)+LLV(LOW,34)+LOW)/5; A_3:=(HHV(HIGH,9)+HHV(HIGH,21)+HHV(HIGH,34)+HHV(HIGH,43)+HIGH)/5; A_4:=EMA((CLOSE-A_2)/(A_3-A_2)*100,3); A_5:=EMA(A_4,2); A_6:=EMA(A_5,2); A_7:=A_6<A_5*1.04; A_8:=REF(OPEN,3)/REF(CLOSE,1)>1.03; A_9:=LOW>=REF(LOW,1)*0.999; A_10:=CLOSE/REF(CLOSE,2)>1.007 AND CLOSE/REF(CLOSE,2)<1.099; A_11:=VOL<=EMA(VOL,70)*1.3; A_12:=VOL>REF(VOL,2)*0.3 AND REF(VOL,1)>REF(VOL,3)*0.4; A_13:=REF(HIGH,1)<=REF(LOW,3)*1.06; A_14:=OPEN/CLOSE>1.05; A_15:=COUNT(A_14,14)<2; A_16:=OPEN>=REF(CLOSE,1); A_17:=REF(CLOSE,1)/CLOSE>1.099; A_18:=COUNT(A_17,6)=0; A_19:=REF(LOW,1)>REF(LOW,2)*1.004; A_20:=EMA(CLOSE,80)/CLOSE>1.055; A_21:=SKDJ.K>17 AND IF(NAMELIKE(1) OR NAMELIKE(2),0,1); A_22:=OPEN>CLOSE; A_23:=COUNT(A_22,8)<=6; A_24:=REF(MA(CLOSE,5),1)/MA(CLOSE,5)>1.006; A_25:=CLOSE/REF(CLOSE,1)<1.09 AND HIGH>REF(HIGH,1); A_26:=SKDJ.K-REF(SKDJ.K,1)>0; A_27:=A_1 AND A_7 AND A_8 AND A_9 AND A_10 AND A_11 AND A_12 AND A_13 AND A_15 AND A_16 AND A_18 AND A_19 AND A_20 AND A_21 AND A_23 AND A_24 AND A_25 AND A_26; A_28:=OPEN>CLOSE; A_29:=LAST(A_28,5,3); A_30:=REF(CLOSE,2)<REF(CLOSE,1)*0.995; A_31:=OPEN>CLOSE AND OPEN/CLOSE<1.034; A_32:=REF(CLOSE,6)/CLOSE>1.035; A_33:=LLV(LOW,9); A_34:=HHV(HIGH,9); A_35:=EMA((CLOSE-A_33)/(A_34-A_33)*100,7); A_36:=EMA(A_35,3); A_37:=EMA(A_36,3); A_38:=A_37<35; A_39:=VOL<=LLV(VOL,20)*1.1; A_40:=VOL<REF(VOL,1); A_41:=LOW>REF(LOW,3)*0.95; A_42:=MA(CLOSE,20)/CLOSE>1.07; A_43:=HIGH>REF(HIGH,2)*0.985 AND HIGH<REF(HIGH,3)*0.998; A_44:=OPEN<REF(CLOSE,1); A_45:=COUNT(A_44,10)>3; A_46:=REF(CLOSE,4)/REF(CLOSE,1)<1.02; A_47:=A_29 AND A_30 AND A_31 AND A_32 AND A_38 AND A_39 AND A_41 AND A_42 AND A_43 AND A_45 AND A_46; 短线牛:A_27 OR A_47;
|