以下是通达信芈月剑副图源码贴图
{芈月剑}
XA_1:=MA(CLOSE,5);
XA_2:=MA(CLOSE,10);
XA_3:=REF(HHV((HIGH+CLOSE+LOW+HIGH)/4,7),BARSLAST(CROSS(XA_2,XA_1)));
XA_4:=REF(HHV(MAX(CLOSE,OPEN),7),BARSLAST(CROSS(MA(CLOSE,10),MA(CLOSE,5))));
XA_5:=IF(CLOSE>500,XA_4,XA_3);
XA_6:=IF(XA_5=CONST(XA_5),CONST(XA_5),DRAWNULL);
XA_7:=REF(CLOSE,2)/REF(CLOSE,3)>1.09 AND CROSS(REF(CLOSE,2),REF(XA_6,2)) AND REF(CLOSE,2)>=REF(OPEN,2);
XA_8:=HIGH/REF(CLOSE,1)>1.031 AND REF(OPEN,1)/REF(CLOSE,1)>1.035 AND REF(OPEN,1)/REF(CLOSE,1)<0.97;
XA_9:=XA_7 AND XA_8;
XA_10:=REF(CLOSE,3)/REF(CLOSE,4)>1.09 AND CROSS(REF(CLOSE,3),REF(XA_6,3)) AND REF(CLOSE,3)>=REF(OPEN,3);
XA_11:=HIGH/REF(CLOSE,1)>1.031 AND OPEN<REF(CLOSE,3);
XA_12:=XA_10 AND XA_11;
XA_13:=REF(CLOSE,4)/REF(CLOSE,5)>1.09 AND REF(CLOSE,4)>=REF(OPEN,4) AND CROSS(REF(CLOSE,4),REF(XA_6,4));
XA_14:=HIGH/REF(CLOSE,1)>1.031 AND OPEN<REF(CLOSE,4);
XA_15:=XA_13 AND XA_14;
XA_16:=REF(CLOSE,5)/REF(CLOSE,6)>1.09 AND REF(CLOSE,5)>=REF(OPEN,5) AND CROSS(REF(CLOSE,5),REF(XA_6,5));
XA_17:=HIGH/REF(CLOSE,1)>1.031 AND OPEN<REF(CLOSE,5);
XA_18:=XA_16 AND XA_17;
XA_19:=REF(CLOSE,6)/REF(CLOSE,7)>1.09 AND CROSS(REF(CLOSE,6),REF(XA_6,6));
XA_20:=HIGH/REF(CLOSE,1)>1.031 AND OPEN<REF(CLOSE,6);
XA_21:=XA_19 AND XA_20;
XA_22:=REF(CLOSE,7)/REF(CLOSE,8)>1.09 AND CROSS(REF(CLOSE,7),REF(XA_6,7));
XA_23:=HIGH/REF(CLOSE,1)>1.031 AND OPEN<REF(CLOSE,7);
XA_24:=XA_22 AND XA_23;
XA_25:=REF(CLOSE,8)/REF(CLOSE,9)>1.09 AND CROSS(REF(CLOSE,8),REF(XA_6,8));
XA_26:=HIGH/REF(CLOSE,1)>1.031 AND OPEN<REF(CLOSE,8);
XA_27:=XA_25 AND XA_26;
XA_28:=IF(NAMELIKE(3),0,1) AND IF(NAMELIKE(4),0,1);
XA_29:=DYNAINFO(4)>0;
XA_30:=XA_28 AND XA_29;
XA_31:=REF(LOW,1)<XA_6 OR OPEN<XA_6 AND HIGH>XA_6 AND REF(CLOSE,1)/REF(CLOSE,2)<1.04;
芈月剑:=XA_9 OR XA_12 OR XA_15 OR XA_18 OR XA_21 OR XA_24 OR XA_27 AND XA_31 AND XA_30;
STICKLINE(芈月剑,0,50,2,0),COLORRED;
DRAWICON(芈月剑>0,50,1);
{超级黑马}
VARGG1:=EMA(VOL/CAPITAL,3);VARGG2:=HHV(VARGG1,240);VARGG3:=LLV(VARGG1,240);
VARGG4:=MA(CLOSE,33);VARGG5:=EMA(CLOSE,13)-EMA(CLOSE,26);
VARGG6:=EMA(VARGG5,9);VARGG7:=2*(VARGG5-VARGG6);
VARGG8:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VARGG9:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45))*100;
VARGGA:=(CLOSE-LLV(LOW,225))/(HHV(HIGH,225)-LLV(LOW,225))*100;
VARGGB:=SMA(VARGG8,3,1);VARGGC:=SMA(VARGG9,15,1);VARGGD:=SMA(VARGGA,45,1);
VARGGE:=(VARGGD-REF(VARGGD,1))*50;VARGGF:=(VARGGC-REF(VARGGC,1))*10;
VARGG10:=REF(VARGGC,1)-REF(VARGGD,1);VARGG11:=(VARGGC-VARGG10-VARGGD)*30;
VARGG12:=VARGGB-REF(VARGGB,1);固定筹码:
EMA((VARGG1-VARGG3)/VARGG3*VARGG4,13);
VARGG13:=VARGG7>=-0.035 AND VARGG7<=0.045 AND CLOSE>MA(CLOSE,5) AND CLOSE>MA(CLOSE,10) AND 多空对比>-100;
超级黑马:IF(VARGG13 AND VARGG12>7 AND REF(VARGG12,1)<0 AND VARGG12-REF(VARGG12,1)>9,75,0),COLORYELLOW;
{芈月剑选股}
XXA_1:=MA(CLOSE,5);
XXA_2:=MA(CLOSE,10);
XXA_3:=REF(HHV((HIGH+CLOSE+LOW+HIGH)/4,7),BARSLAST(CROSS(XXA_2,XXA_1)));
XXA_4:=REF(HHV(MAX(CLOSE,OPEN),7),BARSLAST(CROSS(MA(CLOSE,10),MA(CLOSE,5))));
XXA_5:=IF(CLOSE>500,XXA_4,XXA_3);
XXA_6:=IF(XXA_5=CONST(XXA_5),CONST(XXA_5),DRAWNULL);
XXA_7:=REF(CLOSE,2)/REF(CLOSE,3)>1.09 AND CROSS(REF(CLOSE,2),REF(XXA_6,2)) AND REF(CLOSE,2)>=REF(OPEN,2);
XXA_8:=HIGH/REF(CLOSE,1)>1.031 AND REF(OPEN,1)/REF(CLOSE,1)>1.035 AND REF(OPEN,1)/REF(CLOSE,1)<0.97;
XXA_9:=XXA_7 AND XXA_8;
XXA_10:=REF(CLOSE,3)/REF(CLOSE,4)>1.09 AND CROSS(REF(CLOSE,3),REF(XXA_6,3)) AND REF(CLOSE,3)>=REF(OPEN,3);
XXA_11:=HIGH/REF(CLOSE,1)>1.031 AND OPEN<REF(CLOSE,3);
XXA_12:=XXA_10 AND XXA_11;
XXA_13:=REF(CLOSE,4)/REF(CLOSE,5)>1.09 AND REF(CLOSE,4)>=REF(OPEN,4) AND CROSS(REF(CLOSE,4),REF(XXA_6,4));
XXA_14:=HIGH/REF(CLOSE,1)>1.031 AND OPEN<REF(CLOSE,4);
XXA_15:=XXA_13 AND XXA_14;
XXA_16:=REF(CLOSE,5)/REF(CLOSE,6)>1.09 AND REF(CLOSE,5)>=REF(OPEN,5) AND CROSS(REF(CLOSE,5),REF(XXA_6,5));
XXA_17:=HIGH/REF(CLOSE,1)>1.031 AND OPEN<REF(CLOSE,5);
XXA_18:=XXA_16 AND XXA_17;
XXA_19:=REF(CLOSE,6)/REF(CLOSE,7)>1.09 AND CROSS(REF(CLOSE,6),REF(XXA_6,6));
XXA_20:=HIGH/REF(CLOSE,1)>1.031 AND OPEN<REF(CLOSE,6);
XXA_21:=XXA_19 AND XXA_20;
XXA_22:=REF(CLOSE,7)/REF(CLOSE,8)>1.09 AND CROSS(REF(CLOSE,7),REF(XXA_6,7));
XXA_23:=HIGH/REF(CLOSE,1)>1.031 AND OPEN<REF(CLOSE,7);
XXA_24:=XXA_22 AND XXA_23;
XXA_25:=REF(CLOSE,8)/REF(CLOSE,9)>1.09 AND CROSS(REF(CLOSE,8),REF(XXA_6,8));
XXA_26:=HIGH/REF(CLOSE,1)>1.031 AND OPEN<REF(CLOSE,8);
XXA_27:=XXA_25 AND XXA_26;
XXA_28:=IF(NAMELIKE(3),0,1) AND IF(NAMELIKE(4),0,1);
XXA_29:=DYNAINFO(4)>0;
XXA_30:=XXA_28 AND XXA_29;
XXA_31:=REF(LOW,1)<XXA_6 OR OPEN<XXA_6 AND HIGH>XXA_6 AND REF(CLOSE,1)/REF(CLOSE,2)<1.04;
芈月剑:XXA_9 OR XXA_12 OR XXA_15 OR XXA_18 OR XXA_21 OR XXA_24 OR XXA_27 AND XXA_31 AND XXA_30;