德圣通老师剑势系列目前应该发表了七个,为了精简画面减少窗口,将其合成了一个指标,并做了选股,都是相或的关系。感谢德圣通老师的原图指标。
七剑势选股源码:
{荡剑势}
DX_1:=EMA(V,5);
DX_2:=EMA(C,5);
DX_3:=ATAN((DX_1/REF(DX_1,1)-1)*100)*180/3.1416;
DX_4:=ATAN((DX_2/REF(DX_2,1)-1)*100)*180/3.1416;
DX_5:=RANGE(VOL/CAPITAL*100,3,15);
DX_6:= VOL/CAPITAL 0.02 AND VOL/CAPITAL 0.05;
DX_7:=IF(DX_4 70 AND DX_3 80 ,1,0);
DX_8:=CLOSE/REF(CLOSE,1) 1.01;
DX_9:=VOL/MA(VOL,5)
DX_10:=HHV(VOL,100);
DX_11:=DX_7 AND DX_8 AND DX_5 AND DX_9 AND DX_10 AND DYNAINFO(23) DYNAINFO(22) AND DYNAINFO(4)/DYNAINFO(3) 1.02
AND DYNAINFO(7)/DYNAINFO(3) 1.02 AND DYNAINFO(17) 0.5 AND DYNAINFO(13) 1/100;
荡剑势:=DX_11=1 OR DX_11
{破剑势}
PX_1:=MA(CLOSE,20);
PX_2:=MA(CLOSE,40);
PX_3:=MA(CLOSE,60);
PX_4:=MA(C,13);
PX_5:=MA(C,34);
PX_6:=MA(C,55);
PX_7:=ATAN((PX_4/REF(PX_4,1)-1)*100)*180/3.1416;
PX_8:=ATAN((PX_5/REF(PX_5,1)-1)*100)*180/3.1416;
PX_9:=ATAN((PX_6/REF(PX_6,1)-1)*100)*180/3.1416;
PX_10:=OPEN PX_1 OR OPEN PX_2 OR OPEN PX_3;
PX_11:=C MAX(PX_1,MAX(PX_2,PX_3));
PX_12:=V/MA(V,30)
PX_13:=C/REF(C,1) 1.049;
PX_14:=EXPMA(EXPMA(CLOSE,50),1);
PX_15:=MA(CLOSE,125);
PX_16:=MA(CLOSE,240);
PX_17:=(C-REF(C,1))/REF(C,1)*100;
PX_18:=HSL;
PX_19:=C PX_14 AND PX_14 PX_15 AND PX_15 PX_16 AND PX_17 6.5 AND PX_18
PX_20:=HHVBARS(HIGH,43) LLVBARS(HIGH,43) AND (HHV( HIGH,43)-LLV( LOW,43))/LLV( LOW,43) 90/100;
破剑势:=PX_10 AND PX_11 AND PX_12 AND PX_13 AND PX_19 AND PX_20 AND C PX_4 AND C PX_5 AND PX_4 PX_5 AND PX_5 PX_6 AND PX_7 0 AND PX_8 0 AND PX_9
{撩剑势}
LX_0:=O/REF(C,1) 1.06;
LX_1:=MACD.DIF;
LX_2:=MACD.DEA;
LX_3:=MACD.MACD;
LX_4:=LX_1 0 AND LX_2
LX_5:=BARSLAST(CROSS(LX_4,0.5));
LX_6:=CROSS(LX_1,LX_2);
LX_7:=COUNT(LX_6,LX_5+1)=2 AND LX_3 =0 AND C =MA(C,250) AND EVERY(LX_4,LX_5) AND REF(LX_3 0,1);
LX_8:=(C+L+H)/1.5;
LX_9:=EMA(LX_8,3);
LX_10:=EMA(LX_9,2.5);
LX_11:=ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1) 0.03&&CLOSE/OPEN 1.03&&CLOSE REF(CLOSE,2) AND C/REF(C,1) 1.0572;
LX_12:=LLV(LOW,4) = LLV(LOW,10);
LX_13:= C / REF(C,1) 1.06 AND HIGH = CLOSE AND LOW CLOSE ;
LX_14:=C/LLV(LOW,4) 1.05 AND CLOSE/LLV(LOW,4) 1.05;
LX_15:=(C-MA(C,4))/MA(C,4)*100;
LX_16:=EMA(EMA(LX_15,7),7)*8;
LX_17:=(LX_16 =0 AND LX_16 =REF(LX_16,1));
LX_18:=STICKLINE(LX_17,0,V,2,0);
LX_19:=LX_17 REF(LX_17,1);
LX_20:=LX_19 REF(LX_19,1);
LX_21:=LX_13 AND (LX_14 OR LX_12);
LX_22:=C O AND CROSS(MA(C,3),MA(C,6)) AND C MA(C,3) AND MA(C,10) MA(C,34) AND MA(C,34) REF(MA(C,34),1) AND C REF(C,1) AND MA(C,55) REF(MA(C,55),1);
LX_23:=CROSS(LX_9,LX_10) AND LX_22 AND LX_20 AND CROSS(MACD.DIF,MACD.DEA) OR LX_7;
撩剑势:=LX_11 AND LX_21 AND NOT(DYNAINFO(4)=0) AND LX_23 AND LX_0;
{挫剑势}
CX_1:=OPEN/REF(CLOSE,1) 1.03;
CX_2:=CLOSE/REF(CLOSE,1) 1.042 AND CLOSE =HIGH*0.98 AND BETWEEN(FORCAST(VOL,4),0.2*FORCAST(VOL,12),2.1*FORCAST(VOL,12));
挫剑势:=FILTER(CX_2,28) AND DYNAINFO(17) 10 AND OPEN REF(CLOSE,1)*1.036 AND FROMOPEN 2 AND CX_1;
{落剑势VIP}
{本指标直接带你们如何使用MACD获利,并且让你们体会 落剑势VIP 的 落 的牛逼性,指标建议只做5日线上方的趋势,破5日线要坚决不做离场}
LLX_1:=REF(LLV(LOW,30),1);
LLX_2:=REF(HHV(HIGH,30),1);
LLX_3:=REF(MA(V,3),1);
LLX_4:=((LLX_2-LLX_1)/LLX_1)
LLX_5:=V =1.5*LLX_3;
LLX_6:=(C-REF(C,1))/REF(C,1) =0.05 AND LLX_2/C 1.03;
LLX_7:=LLV(LOW,18);
LLX_8:=HHV(HIGH,18);
LLX_9:=MA(V,3) ;
LLX_10:=((LLX_8-LLX_7)/18) 0.15;
LLX_11:=V =1.8*LLX_9;
LLX_12:= MACD.MACD 0.05;
LLX_13:=(C-REF(C,1))/REF(C,1) =0.05;
LLX_14:= CLOSE REF(CLOSE,1)*1.03;
LLX_15:=REF(C O,1) AND REF((H-C)/C*100 0.5,1);
LLX_16:= (H-C)/C 0.02;
LLX_17:=LLX_10 AND LLX_11 AND LLX_13 AND LLX_14 AND LLX_16 AND LLX_15 AND LLX_12;
LLX_18:=REF(C O OR O C,5) AND REF(C O OR O C,35) AND REF(C O OR O C,3) AND REF(C O OR O C,16);
LLX_19:=CAPITAL 20000000 ;
LLX_20:=100*VOL/CAPITAL
落剑势:=LLX_4 AND LLX_5 AND LLX_6 AND C 10 AND LLX_17 AND LLX_19 AND LLX_20 AND LLX_18 ;
{离剑势VIP}
{满足 离剑势VIP 该指标出票基本一到3个月就1-2票,你们懂看代码的人就知道为什么只有1-2票出现,这就是离剑势的离的原因}
LIX_1:=(WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))/WINNER(HHV(HIGH,0))*100;
LIX_2:=(COST(95)-COST(5))/(COST(95)+COST(5))*50;
LIX_3:=EVERY(LIX_2 =REF(LIX_2,1),2);
LIX_4:=CLOSE REF(CLOSE,5) AND CLOSE/REF(CLOSE,5) 1.8 AND HHV(HIGH,5)/LLV(LOW,5) 1.15;{www.9m8.cn 九毛八公式指标网}
LIX_5:=LIX_4 AND LIX_1 REF(LIX_1,3) AND LIX_2 REF(LIX_2,3);
LIX_6:=CLOSE/REF(CLOSE,1) 1.09 AND HIGH=CLOSE AND LOW CLOSE;
LIX_7:=(CLOSE-LLV(CLOSE,360))/(HHV(HIGH,360)-LLV(LOW,360))*100
离剑势:=FILTER(LIX_6 AND (EXIST(LIX_7,3) AND EXIST(LIX_5,8)),3);
{浪剑势VIP}
{该指标是为让你专找横盘突破的票,对应以下位置参数调整,横盘的天数就不同,老夫特意说明就是告诉你们可以从这指标开始学习}
LANGX_1:=MA(CLOSE,2);{该位置参数你可调整}
LANGX_2:=MA(CLOSE,4);{该位置参数你可调整}
LANGX_3:=MA(CLOSE,22);{该位置参数你可调整}
LANGX_4:=LANGX_1 LANGX_2 AND LANGX_2 LANGX_3 AND CLOSE REF(CLOSE,1) AND CLOSE LANGX_1 AND LOW =LANGX_3;
LANGX_5:=REF(EVERY(HIGH/LOW =1.02,5),1);
浪剑势:=LANGX_4 AND LANGX_5;
XG: 荡剑势 OR 破剑势 OR 撩剑势 OR 挫剑势 OR 落剑势 OR 离剑势 OR 浪剑势;
DX_1:=EMA(V,5);
DX_2:=EMA(C,5);
DX_3:=ATAN((DX_1/REF(DX_1,1)-1)*100)*180/3.1416;
DX_4:=ATAN((DX_2/REF(DX_2,1)-1)*100)*180/3.1416;
DX_5:=RANGE(VOL/CAPITAL*100,3,15);
DX_6:= VOL/CAPITAL 0.02 AND VOL/CAPITAL 0.05;
DX_7:=IF(DX_4 70 AND DX_3 80 ,1,0);
DX_8:=CLOSE/REF(CLOSE,1) 1.01;
DX_9:=VOL/MA(VOL,5)
DX_10:=HHV(VOL,100);
DX_11:=DX_7 AND DX_8 AND DX_5 AND DX_9 AND DX_10 AND DYNAINFO(23) DYNAINFO(22) AND DYNAINFO(4)/DYNAINFO(3) 1.02
AND DYNAINFO(7)/DYNAINFO(3) 1.02 AND DYNAINFO(17) 0.5 AND DYNAINFO(13) 1/100;
荡剑势:DX_11=1 OR DX_11
{破剑势}
PX_1:=MA(CLOSE,20);
PX_2:=MA(CLOSE,40);
PX_3:=MA(CLOSE,60);
PX_4:=MA(C,13);
PX_5:=MA(C,34);
PX_6:=MA(C,55);
PX_7:=ATAN((PX_4/REF(PX_4,1)-1)*100)*180/3.1416;
PX_8:=ATAN((PX_5/REF(PX_5,1)-1)*100)*180/3.1416;
PX_9:=ATAN((PX_6/REF(PX_6,1)-1)*100)*180/3.1416;
PX_10:=OPEN PX_1 OR OPEN PX_2 OR OPEN PX_3;
PX_11:=C MAX(PX_1,MAX(PX_2,PX_3));
PX_12:=V/MA(V,30)
PX_13:=C/REF(C,1) 1.049;
PX_14:=EXPMA(EXPMA(CLOSE,50),1);
PX_15:=MA(CLOSE,125);
PX_16:=MA(CLOSE,240);
PX_17:=(C-REF(C,1))/REF(C,1)*100;
PX_18:=HSL;
PX_19:=C PX_14 AND PX_14 PX_15 AND PX_15 PX_16 AND PX_17 6.5 AND PX_18
PX_20:=HHVBARS(HIGH,43) LLVBARS(HIGH,43) AND (HHV( HIGH,43)-LLV( LOW,43))/LLV( LOW,43) 90/100;
破剑势:PX_10 AND PX_11 AND PX_12 AND PX_13 AND PX_19 AND PX_20 AND C PX_4 AND C PX_5 AND PX_4 PX_5 AND PX_5 PX_6 AND PX_7 0 AND PX_8 0 AND PX_9
{撩剑势}
LX_0:=O/REF(C,1) 1.06;
LX_1:=MACD.DIF;
LX_2:=MACD.DEA;
LX_3:=MACD.MACD;
LX_4:=LX_1 0 AND LX_2
LX_5:=BARSLAST(CROSS(LX_4,0.5));
LX_6:=CROSS(LX_1,LX_2);
LX_7:=COUNT(LX_6,LX_5+1)=2 AND LX_3 =0 AND C =MA(C,250) AND EVERY(LX_4,LX_5) AND REF(LX_3 0,1);
LX_8:=(C+L+H)/1.5;
LX_9:=EMA(LX_8,3);
LX_10:=EMA(LX_9,2.5);
LX_11:=ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1) 0.03&&CLOSE/OPEN 1.03&&CLOSE REF(CLOSE,2) AND C/REF(C,1) 1.0572;
LX_12:=LLV(LOW,4) = LLV(LOW,10);
LX_13:= C / REF(C,1) 1.06 AND HIGH = CLOSE AND LOW CLOSE ;
LX_14:=C/LLV(LOW,4) 1.05 AND CLOSE/LLV(LOW,4) 1.05;
LX_15:=(C-MA(C,4))/MA(C,4)*100;
LX_16:=EMA(EMA(LX_15,7),7)*8;
LX_17:=(LX_16 =0 AND LX_16 =REF(LX_16,1));
LX_18:=STICKLINE(LX_17,0,V,2,0);
LX_19:=LX_17 REF(LX_17,1);
LX_20:=LX_19 REF(LX_19,1);
LX_21:=LX_13 AND (LX_14 OR LX_12);
LX_22:=C O AND CROSS(MA(C,3),MA(C,6)) AND C MA(C,3) AND MA(C,10) MA(C,34) AND MA(C,34) REF(MA(C,34),1) AND C REF(C,1) AND MA(C,55) REF(MA(C,55),1);
LX_23:=CROSS(LX_9,LX_10) AND LX_22 AND LX_20 AND CROSS(MACD.DIF,MACD.DEA) OR LX_7;
撩剑势:LX_11 AND LX_21 AND NOT(DYNAINFO(4)=0) AND LX_23 AND LX_0;
{挫剑势}
CX_1:=OPEN/REF(CLOSE,1) 1.03;
CX_2:=CLOSE/REF(CLOSE,1) 1.042 AND CLOSE =HIGH*0.98 AND BETWEEN(FORCAST(VOL,4),0.2*FORCAST(VOL,12),2.1*FORCAST(VOL,12));
挫剑势:FILTER(CX_2,28) AND DYNAINFO(17) 10 AND OPEN REF(CLOSE,1)*1.036 AND FROMOPEN 2 AND CX_1;
{落剑势VIP}{www.9m8.cn 九毛八公式指标网}
{本指标直接带你们如何使用MACD获利,并且让你们体会 落剑势VIP 的 落 的牛逼性,指标建议只做5日线上方的趋势,破5日线要坚决不做离场}
LLX_1:=REF(LLV(LOW,30),1);
LLX_2:=REF(HHV(HIGH,30),1);
LLX_3:=REF(MA(V,3),1);
LLX_4:=((LLX_2-LLX_1)/LLX_1)
LLX_5:=V =1.5*LLX_3;
LLX_6:=(C-REF(C,1))/REF(C,1) =0.05 AND LLX_2/C 1.03;
LLX_7:=LLV(LOW,18);
LLX_8:=HHV(HIGH,18);
LLX_9:=MA(V,3) ;
LLX_10:=((LLX_8-LLX_7)/18) 0.15;
LLX_11:=V =1.8*LLX_9;
LLX_12:= MACD.MACD 0.05;
LLX_13:=(C-REF(C,1))/REF(C,1) =0.05;
LLX_14:= CLOSE REF(CLOSE,1)*1.03;
LLX_15:=REF(C O,1) AND REF((H-C)/C*100 0.5,1);
LLX_16:= (H-C)/C 0.02;
LLX_17:=LLX_10 AND LLX_11 AND LLX_13 AND LLX_14 AND LLX_16 AND LLX_15 AND LLX_12;
LLX_18:=REF(C O OR O C,5) AND REF(C O OR O C,35) AND REF(C O OR O C,3) AND REF(C O OR O C,16);
LLX_19:=CAPITAL 20000000 ;
LLX_20:=100*VOL/CAPITAL
落剑势:LLX_4 AND LLX_5 AND LLX_6 AND C 10 AND LLX_17 AND LLX_19 AND LLX_20 AND LLX_18 ;
{离剑势VIP}
{满足 离剑势VIP 该指标出票基本一到3个月就1-2票,你们懂看代码的人就知道为什么只有1-2票出现,这就是离剑势的离的原因}
LIX_1:=(WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))/WINNER(HHV(HIGH,0))*100;
LIX_2:=(COST(95)-COST(5))/(COST(95)+COST(5))*50;
LIX_3:=EVERY(LIX_2 =REF(LIX_2,1),2);
LIX_4:=CLOSE REF(CLOSE,5) AND CLOSE/REF(CLOSE,5) 1.8 AND HHV(HIGH,5)/LLV(LOW,5) 1.15;
LIX_5:=LIX_4 AND LIX_1 REF(LIX_1,3) AND LIX_2 REF(LIX_2,3);
LIX_6:=CLOSE/REF(CLOSE,1) 1.09 AND HIGH=CLOSE AND LOW CLOSE;
LIX_7:=(CLOSE-LLV(CLOSE,360))/(HHV(HIGH,360)-LLV(LOW,360))*100
离剑势:FILTER(LIX_6 AND (EXIST(LIX_7,3) AND EXIST(LIX_5,8)),3);
{浪剑势VIP}
{该指标是为让你专找横盘突破的票,对应以下位置参数调整,横盘的天数就不同,老夫特意说明就是告诉你们可以从这指标开始学习}
LANGX_1:=MA(CLOSE,2);{该位置参数你可调整}
LANGX_2:=MA(CLOSE,4);{该位置参数你可调整}
LANGX_3:=MA(CLOSE,22);{该位置参数你可调整}
LANGX_4:=LANGX_1 LANGX_2 AND LANGX_2 LANGX_3 AND CLOSE REF(CLOSE,1) AND CLOSE LANGX_1 AND LOW =LANGX_3;
LANGX_5:=REF(EVERY(HIGH/LOW =1.02,5),1);
浪剑势:LANGX_4 AND LANGX_5;