{龙脉线主图源码如下}
M1:=0;
M2:=0;
M3:=60;
X_1:=CLOSE/REF(CLOSE,1)>1.0982 AND CLOSE=HIGH;
STICKLINE(X_1,OPEN,CLOSE,2,0),COLORRED;
X_2:=CLOSE/REF(CLOSE,1)<0.913 AND CLOSE=LOW;
STICKLINE(X_2,OPEN,CLOSE,2,0),COLORLIGREEN;
X_3:=MA(CLOSE,5);
X_4:=MA(CLOSE,10);
X_5:=MA(CLOSE,20);
X_6:=MA(CLOSE,30);
X_7:=(CLOSE-X_3)/X_3*100;
X_8:=ATAN((X_3/REF(X_3,1)-1)*100)*180/3.1416;
X_9:=SMA(EMA((X_3-REF(X_3,1))/REF(X_3,1),3)*100,3,1);
X_10:=EMA(X_9-REF(X_9,1),3);
X_11:=(CLOSE-X_6)/X_6*100;
X_12:=ATAN((X_6/REF(X_6,1)-1)*100)*180/3.1416;
X_13:=MAX(ABS(HIGH-AMOUNT/VOL/100),ABS(AMOUNT/VOL/100-LOW));
X_14:=ABS((OPEN+CLOSE)/2-AMOUNT/VOL/100);
X_15:=(X_13+X_14)/AMOUNT*VOL*100*50;
龙脉:MA(REF(HHV(CLOSE,30),1),2),COLORYELLOW,LINETHICK2;
MA1:MA(CLOSE,M1);
MA2:MA(CLOSE,M2);
MA3:MA(CLOSE,M3),LINETHICK2;
{妖股多多副图源码如下}
X_1:=IF(CLOSE>REF(CLOSE,1),88,0);
X_2:=IF(CLOSE/REF(CLOSE,1)>1.05 AND HIGH/CLOSE<1.01 AND X_1>0,91,0);
X_3:=CLOSE>MA(CLOSE,20) AND CLOSE>MA(CLOSE,60);
X_4:=MA(CLOSE,20);
X_5:=CLOSE>X_4;
X_6:=SMA(HIGH,21,2)*1.05;
X_7:=SMA(LOW,21,2)*0.95;
X_8:=SMA(LOW,5,1);
X_9:=(HIGH-CLOSE)/CLOSE*100<1;
X_10:=CLOSE/REF(CLOSE,1)>1.03;
X_11:=SMA(CLOSE,2,1);
X_12:=IF(CROSS(X_11,X_8),X_6*1.05,X_8);
X_13:=IF(CROSS(X_11,X_6),X_6*1.1,X_7);
妖股多多:X_13>X_7 OR X_12>X_8 AND X_9 AND X_10 AND X_3 AND X_5;
STICKLINE(妖股多多,0,100,1,0),COLORMAGENTA;
{突破龙头副图源码如下}
X_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);
X_2:=IF(DATETODAY(DATE)<1000000000,1,DRAWNULL);
X_3:=EMA(CLOSE,5);
X_4:=EMA(CLOSE,10);
X_5:=EMA(CLOSE,14);
X_6:=EMA(CLOSE,18);
X_7:=EMA(CLOSE,40);
X_8:=EMA(CLOSE,60);
X_9:=IF(DATE<1000000000,1,DRAWNULL);
X_10:=MAX(X_7,X_8);
X_11:=CLOSE>X_10 AND X_1 AND (CLOSE>REF(HHV(HIGH,3),1)*X_2 AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.07);
X_12:=VOL;
X_13:=MA(X_12,5);
X_14:=X_13+X_13>X_12;
X_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)*X_2 AND CLOSE>OPEN AND CLOSE>=HHV(HIGH,10)*X_9;
X_16:=(CLOSE>REF(HHV(HIGH,3),1)*X_2 AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.07)*X_2 AND X_15 AND X_14;
X_17:=DYNAINFO(4)>0 AND HHV(HIGH,10)/LLV(LOW,10)<1.25 AND REF(CLOSE,1)*X_2<LLV(LOW,15)+(HHV(HIGH,15)-LLV(LOW,15))*0.85 AND CLOSE>OPEN AND CLOSE>=HHV(HIGH,10);
X_18:=(CLOSE-REF(CLOSE,1)*X_2)/REF(CLOSE,1)*100>7;
X_19:=X_17 AND X_18;
X_20:=DATETODAY(DATE);
X_21:=X_20>9344 AND X_20<1000000000;
X_22:=(X_11 AND X_19)*X_21;
X_23:=EMA(CLOSE,5);
X_24:=EMA(CLOSE,10);
X_25:=EMA(CLOSE,14);
X_26:=EMA(CLOSE,18);
X_27:=EMA(CLOSE,40);
X_28:=EMA(CLOSE,60);
X_29:=MAX(MAX(MAX(MAX(MAX(X_23,X_4),X_25),X_26),X_27),X_28)*X_9;
X_30:=MIN(MIN(MIN(MIN(MIN(X_23,X_4),X_25),X_26),X_27),X_28)*X_9;
X_31:=CLOSE>X_29 AND LOW<X_30 AND (CLOSE>REF(HHV(HIGH,3),1) AND (CLOSE-REF(CLOSE,1)*X_2)/REF(CLOSE,1)>0.09);
X_32:=FILTER(X_31>0,0)=1;
X_33:=DATETODAY(DATE);
X_34:=X_33>9350 AND X_33<1000000000;
X_35:=X_32*X_34;
X_36:=MA(REF(HHV(CLOSE,26),1),2);
X_37:=MA(CLOSE,26);
X_38:=POW(CLOSE-X_37,2);
X_39:=MA(X_38,13);
X_40:=SQRT(X_39);
X_41:=X_37+2*X_40;
X_42:=REF(X_41,1);
X_43:=CROSS(CLOSE,X_36) AND HIGH>REF(X_41,1) OR (CLOSE>X_36 AND CROSS(CLOSE,REF(X_41,1))) AND CLOSE/OPEN>0.998;
X_44:=MACD.MACD;
X_45:=KD.K;
X_46:=KD.D;
X_47:=RSI.RSI1;
X_48:=RSI.RSI3;
X_49:=CLOSE-REF(CLOSE,1);
X_50:=IF(X_49>=0,X_49,0)*X_9;
X_51:=IF(X_49<0,-X_49,0)*X_9;
X_52:=MEMA(X_50,10);
X_53:=MEMA(X_51,10);
X_54:=MEMA(X_50,6);
X_55:=MEMA(X_51,6);
X_56:=MA(100*X_52/(X_52+X_53),10)*X_9;
X_57:=MA(100*X_54/(X_54+X_55),6)*X_9;
X_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;
X_59:=(CLOSE-MA(CLOSE,60))/MA(CLOSE,60)*100;
X_60:=COUNT(X_59<35,100)>=95;
X_61:=X_43 AND X_58>0 AND NOT(DYNAINFO(4)=0) AND X_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(X_57,X_56) OR CROSS(X_44,0) OR REF(COUNT(CROSS(X_44,0),3)=1 AND X_44<0.15 AND CLOSE/OPEN>0.989 AND CLOSE/REF(CLOSE,1)<1.03,1) OR CROSS(X_45,X_46) OR CROSS(X_47,X_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;
X_62:=X_11+X_16+X_19+X_32+X_61>=2;
X_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);
X_64:=CLOSE>REF(CLOSE,1)*1.1-0.01;
X_65:=HHV(HIGH,20)=HHV(CLOSE,1) AND VOL>0 AND BARSCOUNT(CLOSE)*X_2>=20;
X_66:=VOL/REF(VOL,1)*X_2>1.9;
X_67:=X_63 AND X_64 AND X_65 AND X_66;
X_68:=MA(CLOSE,5);
X_69:=MA(CLOSE,10);
X_70:=MA(CLOSE,20);
X_71:=MA(CLOSE,30);
X_72:=MA(CLOSE,60);
X_73:=CLOSE>X_68 AND X_68>X_69 AND X_69>X_70 AND CLOSE>X_72;
X_74:=CLOSE/REF(CLOSE,1)>1.05 AND REF(CLOSE,1)/REF(CLOSE,2)<1.05 AND CLOSE/LLV(CLOSE,10)<1.4;
X_75:=VOL/REF(VOL,1)>2 OR VOL=HHV(VOL,15);
X_76:=CAPITAL<10000000;
X_77:=ATAN((MA(CLOSE,5)/REF(MA(CLOSE,5),1)-1)*100)*57.299999>40;
X_78:=ATAN((MA(CLOSE,10)/REF(MA(CLOSE,10),1)-1)*100)*57.299999>30;
X_79:=ATAN((MA(CLOSE,20)/REF(MA(CLOSE,20),1)-1)*100)*57.299999>20;
X_80:=ATAN((MA(CLOSE,30)/REF(MA(CLOSE,30),1)-1)*100)*57.299999>10;
X_81:=X_77 AND X_78 AND X_79 AND X_80;
X_82:=KDJ.K>REF(KDJ.K,1)*X_2;
X_83:=KDJ.D>REF(KDJ.D,1)*X_2 AND KDJ.D<70;
X_84:=KDJ.J>REF(KDJ.J,1)*X_2;
X_85:=X_82 AND X_83 AND X_84;
X_86:=X_7 AND X_74 AND X_75 AND X_76 AND X_81 AND X_85;
X_87:=FILTER(X_86,15)*X_2;
X_88:=X_67 OR X_87;
龙头:DATE<1000000000 AND ((X_88 AND X_62)*X_2 OR X_35 OR X_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;
{VOL-BLZ副图源码如下}
X_1:=HORCALC(HYBLOCK,105,1,DRAWNULL);
X_2:=STRCAT(HYBLOCK,1);
DRAWTEXT_FIX(ISLASTBAR,0.7,0.005,0,STRCAT(X_2,CON2STR(X_1,0)));
X_3:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))));
X_4:=MOD(FROMOPEN,X_3);
X_5:=IF(X_4<0.5,X_3,X_4);
VVOL:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,(-1),(-1)),COLOR00C0C0;
VOLUME:VOL,VOLSTICK;
X_6:=VOL>REF(VOL,1)*1.9;
X_7:=VOL<REF(LLV(VOL,13),1);
STICKLINE(X_6,0,VOL,2,0),COLORYELLOW;
STICKLINE(X_7,0,VOL,2,0),COLOR1D7300;
MV5:MA(VOL,5),COLORYELLOW;
MV35:MA(VOL,35),COLORMAGENTA;
MV135:MA(VOL,135),COLORLIGREEN,LINETHICK2;
DRAWICON(CROSS(MV5,MV135),MV5,1);
X_8:=MA(CLOSE,10);
X_9:=MA(CLOSE,54);
X_10:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*100>5;
X_11:=FILTER(X_10,10);
X_12:=BARSLAST(X_11);
X_13:=REF(HIGH,X_12+2);
X_14:=REF(HIGH,X_12+1);
X_15:=REF(HIGH,X_12);
X_16:=MAX(X_13,X_14);
X_17:=MAX(X_16,X_15);
X_18:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>5;
X_19:=X_12<150;
X_20:=(OPEN-X_17)/X_17*100<30;
X_21:=(CLOSE-LLV(LOW,X_12))/LLV(LOW,X_12)*100<50;
X_22:=(CLOSE-REF(OPEN,5))/REF(OPEN,5)*100<30;
X_23:=VOL/MA(VOL,5)<3.5;
X_24:=(CLOSE-REF(CLOSE,89))/REF(CLOSE,89)*100<80;
X_25:=X_18 AND X_19 AND X_20 AND X_21 AND X_22 AND X_23 AND X_24;
X_26:=FILTER(X_25,15);
X_27:=(CLOSE-X_9)/X_9<0.1;
X_28:=(CLOSE-X_8)/X_8<0.3;
X_29:=(X_27=1 AND X_28=1)*0.2;
平台突破:(X_29=0 AND REF(X_29,1)=0.2 AND REF(COUNT(X_29=0.2,10)=10,1)=1)*(-0.1);
妖股突破:平台突破=(-0.1);
X_30:=X_26 OR 妖股突破;
{东风导弹副图源码如下}
X_1:=CLOSE/REF(CLOSE,1)>1.048 AND CLOSE=HIGH AND BETWEEN(FORCAST(VOL,4),0.2*FORCAST(VOL,12),2.1*FORCAST(VOL,12));
XG1:FILTER(X_1,28);