源码如下:
YB_1:=DYNAINFO(4)>0 AND HHV(HIGH,10)/LLV(LOW,10)<1.25 AND REF(CLOSE,1)<LLV(LOW,15)+(HHV(HIGH,15)-LLV(LOW,15))*0.85 AND CLOSE>OPEN AND CLOSE>=HHV(HIGH,10);
YB_2:=IF(DATETODAY(DATE)<9890,1,1);
YB_3:=EMA(CLOSE,5);
YB_4:=EMA(CLOSE,10);
YB_5:=EMA(CLOSE,14);
YB_6:=EMA(CLOSE,18);
YB_7:=EMA(CLOSE,40);
YB_8:=EMA(CLOSE,60);
YB_9:=IF(DATE<2342.459961*500,1,1);
YB_10:=MAX(YB_7,YB_8);
YB_11:=CLOSE>YB_10 AND YB_1 AND (CLOSE>REF(HHV(HIGH,3),1)*YB_2 AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.07);
YB_12:=VOL;
YB_13:=MA(YB_12,5);
YB_14:=YB_13+YB_13>YB_12;
YB_15:=DYNAINFO(4)>0 AND HHV(HIGH,10)/LLV(LOW,10)<1.25 AND REF(CLOSE,1)<(LLV(LOW,15)+(HHV(HIGH,15)-LLV(LOW,15))*0.85)*YB_2 AND CLOSE>OPEN AND CLOSE>=HHV(HIGH,10)*YB_9;
YB_16:=(CLOSE>REF(HHV(HIGH,3),1)*YB_2 AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.07)*YB_2 AND YB_15 AND YB_14;
YB_17:=DYNAINFO(4)>0 AND HHV(HIGH,10)/LLV(LOW,10)<1.25 AND REF(CLOSE,1)*YB_2<LLV(LOW,15)+(HHV(HIGH,15)-LLV(LOW,15))*0.85 AND CLOSE>OPEN AND CLOSE>=HHV(HIGH,10);
YB_18:=(CLOSE-REF(CLOSE,1)*YB_2)/REF(CLOSE,1)*100>7;
YB_19:=YB_17 AND YB_18;
YB_22:=(YB_11 AND YB_19);
YB_23:=EMA(CLOSE,5);
YB_24:=EMA(CLOSE,10);
YB_25:=EMA(CLOSE,14);
YB_26:=EMA(CLOSE,18);
YB_27:=EMA(CLOSE,40);
YB_28:=EMA(CLOSE,60);
YB_29:=MAX(MAX(MAX(MAX(MAX(YB_23,YB_4),YB_25),YB_26),YB_27),YB_28)*YB_9;
YB_30:=MIN(MIN(MIN(MIN(MIN(YB_23,YB_4),YB_25),YB_26),YB_27),YB_28)*YB_9;
YB_31:=CLOSE>YB_29 AND LOW<YB_30 AND (CLOSE>REF(HHV(HIGH,3),1) AND (CLOSE-REF(CLOSE,1)*YB_2)/REF(CLOSE,1)>0.09);
YB_32:=FILTER(YB_31>0,0)=1;
YB_35:=YB_32;
YB_36:=MA(REF(HHV(CLOSE,26),1),2);
YB_37:=MA(CLOSE,26);
YB_38:=POW(CLOSE-YB_37,2);
YB_39:=MA(YB_38,13);
YB_40:=SQRT(YB_39);
YB_41:=YB_37+2*YB_40;
YB_42:=REF(YB_41,1);
YB_43:=CROSS(CLOSE,YB_36) AND HIGH>REF(YB_41,1) OR (CLOSE>YB_36 AND CROSS(CLOSE,REF(YB_41,1))) AND CLOSE/OPEN>0.998;
YB_44:=MACD.MACD;
YB_45:=KD.K;
YB_46:=KD.D;
YB_47:=RSI.RSI1;
YB_48:=RSI.RSI3;
YB_49:=CLOSE-REF(CLOSE,1);
YB_50:=IF(YB_49>=0,YB_49,0)*YB_9;
YB_51:=IF(YB_49<0,-YB_49,0)*YB_9;
YB_52:=MEMA(YB_50,10);
YB_53:=MEMA(YB_51,10);
YB_54:=MEMA(YB_50,6);
YB_55:=MEMA(YB_51,6);
YB_56:=MA(100*YB_52/(YB_52+YB_53),10)*YB_9;
YB_57:=MA(100*YB_54/(YB_54+YB_55),6)*YB_9;
YB_58:=MA(CLOSE,5)/MA(CLOSE,10)>0.999 AND MA(CLOSE,10)/MA(CLOSE,20)>0.9847 AND MA(CLOSE,20)>MA(CLOSE,60) AND REF(COUNT(MA(CLOSE,10)/MA(CLOSE,20)<1.017 OR MA(CLOSE,5)/MA(CLOSE,10)<1.017,8)>=1,1) AND MA(CLOSE,20)/MA(CLOSE,60)<1.121;
YB_59:=(CLOSE-MA(CLOSE,60))/MA(CLOSE,60)*100;
YB_60:=COUNT(YB_59<35,100)>=95;
YB_61:=YB_43 AND YB_58>0 AND NOT(DYNAINFO(4)=0) AND YB_60 AND REF(COUNT(MA(CLOSE,20)>MA(CLOSE,30),4)=4 AND COUNT(CLOSE>MA(CLOSE,5),3)>=2,1) AND VOL>REF(VOL,1) AND (REF(COUNT(CLOSE>OPEN,10)>=6 OR COUNT(CLOSE>OPEN,5)>=4,1) OR CLOSE=HIGH) AND (CROSS(YB_57,YB_56) OR CROSS(YB_44,0) OR REF(COUNT(CROSS(YB_44,0),3)=1 AND YB_44<0.15 AND CLOSE/OPEN>0.989 AND CLOSE/REF(CLOSE,1)<1.03,1) OR CROSS(YB_45,YB_46) OR CROSS(YB_47,YB_48)) AND REF(CLOSE/OPEN>0.988 AND (CLOSE>OPEN OR (CLOSE<=OPEN AND HIGH/LOW<1.049)),1) AND HIGH/CLOSE<1.013 AND CLOSE/OPEN>1.05;
YB_62:=YB_11+YB_16+YB_19+YB_32+YB_61>=2;
YB_63:=MA(CLOSE,5)>MA(CLOSE,10) AND MA(CLOSE,10)>MA(CLOSE,20) AND MA(CLOSE,20)>MA(CLOSE,60) AND MA(CLOSE,60)>MA(CLOSE,120) AND MA(CLOSE,5)>REF(MA(CLOSE,5),1);
YB_64:=CLOSE>REF(CLOSE,1)*1.1-0.01;
YB_65:=HHV(HIGH,20)=HHV(CLOSE,1) AND VOL>0 AND BARSCOUNT(CLOSE)*YB_2>=20;
YB_66:=VOL/REF(VOL,1)*YB_2>1.9;
YB_67:=YB_63 AND YB_64 AND YB_65 AND YB_66;
YB_68:=MA(CLOSE,5);
YB_69:=MA(CLOSE,10);
YB_70:=MA(CLOSE,20);
YB_71:=MA(CLOSE,30);
YB_72:=MA(CLOSE,60);
YB_73:=CLOSE>YB_68 AND YB_68>YB_69 AND YB_69>YB_70 AND CLOSE>YB_72;
YB_74:=CLOSE/REF(CLOSE,1)>1.05 AND REF(CLOSE,1)/REF(CLOSE,2)<1.05 AND CLOSE/LLV(CLOSE,10)<1.4;
YB_75:=VOL/REF(VOL,1)>2 OR VOL=HHV(VOL,15);
YB_76:=CAPITAL<10000000;
YB_77:=ATAN((MA(CLOSE,5)/REF(MA(CLOSE,5),1)-1)*100)*57.299999>40;
YB_78:=ATAN((MA(CLOSE,10)/REF(MA(CLOSE,10),1)-1)*100)*57.299999>30;
YB_79:=ATAN((MA(CLOSE,20)/REF(MA(CLOSE,20),1)-1)*100)*57.299999>20;
YB_80:=ATAN((MA(CLOSE,30)/REF(MA(CLOSE,30),1)-1)*100)*57.299999>10;
YB_81:=YB_77 AND YB_78 AND YB_79 AND YB_80;
YB_82:=KDJ.K>REF(KDJ.K,1)*YB_2;
YB_83:=KDJ.D>REF(KDJ.D,1)*YB_2 AND KDJ.D<70;
YB_84:=KDJ.J>REF(KDJ.J,1)*YB_2;
YB_85:=YB_82 AND YB_83 AND YB_84;
YB_86:=YB_7 AND YB_74 AND YB_75 AND YB_76 AND YB_81 AND YB_85;
YB_87:=FILTER(YB_86,15)*YB_2;
YB_88:=YB_67 OR YB_87;
龙头:((YB_88 AND YB_62)*YB_2 OR YB_35 OR YB_22),COLORRED;
STICKLINE(龙头,0,50,6,0),COLOR009999;
STICKLINE(龙头,0,50,5,0),COLOR009999;
STICKLINE(龙头,0,50,4,0),COLOR009999;
STICKLINE(龙头,0,50,2,0),COLOR00BBBB;
STICKLINE(龙头,0,50,1,0),COLOR00DDDD;
STICKLINE(龙头,0,50,0.4,0),COLORYELLOW;
STICKLINE(龙头,50,10,0.5,0),COLORRED;
龙头股道图文说明: