通达信波段之王+量价结合源码副图

[复制链接]
查看166 | 回复0 | 2021-8-20 07:39:36 | 显示全部楼层 |阅读模式

以下是通达信波段之王+量价结合源码副图(无源码的请下载附件导入)

该指标组合是跟据量价分析原理及均线突破理论等设计而成的,该指标是我的自用技术指标,可盘中选股,可预警,可做副图,量价结合指标配合用法使用成功率达98%以上!


我再也不想多说了,直接源码:

{波段之王-副图、选股}

 

V1:=SMA(SMA((CLOSE-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,80))*200,3,1),3,1);

V2:=3*SMA((CLOSE-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,80))*200,3,1)-2*V1;

V3:=EMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,4)*2;

V4:=EMA(0.667*REF(V3,1)+0.333*V3,2);

V5:=3*V3-2*V4;

VA:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);

VB:=POW(MA(LOW,5),2)+MA(LOW,5);

VC:=POW(MA(HIGH,5),2)+MA(HIGH,5);

VD:=(VA-LLV(VB,64))/(HHV(VC,64)-LLV(VB,64))*150+65-10;

VE:=SMA(VD,3,1)*1.5-100;

VF:=SMA(VE,3,1);

V6:=3*VE-2*VF;

V7:=((HIGH+LOW+CLOSE*2)/4-EMA((HIGH+LOW+CLOSE*2)/4,13))*100/STD((HIGH+LOW+CLOSE*2)/4,13);

V8:=EMA(EMA(V7,5),13)+200-100;

V9:=EMA(V8,10);

V10:=3*V8-2*V9;

V1A:=SMA((CLOSE-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,80))*200,3,1)+V3+VE+V8;

V1B:=V1+V4+VF+V9;

V1C:=V2+V5+V6+V10;

V1D:=(HIGH+LOW+CLOSE)/3;

V11:=(V1D-MA(V1D,34))/(0.015*AVEDEV(V1D,34));

V12:=EMA((HIGH+LOW+CLOSE+V1D)/4,24);

V13:=STD((HIGH+LOW+CLOSE+V1D)/4,24);

V14:=((HIGH+LOW+CLOSE+V1D)/4-V12)/V13*100;

V15:=(V1D-MA(V1D,24))/(0.015*AVEDEV(V1D,24));

V16:=EMA(V14,5);

V2A:=((V16+V15+V11)/3+165)/4;

V2B:=(EMA(EMA(EMA(V2A,15),10),5)-25)*2+DMA(AMOUNT/VOL/100,VOL/CAPITAL);

V2C:=(V1A+V1B+V1C*30)/32/5-15;

V2D:=EMA(V2C,13);

V2E:=(V2A+V2C)/2/1.1;

短线王:=EMA(V2E,3);

波段王:=EMA(短线王,5);

超级主力:=EMA((V2B+V2D)/2,2);

DI:="MACD.MACD">0;

CROSS(短线王,波段王) AND CROSS(波段王,超级主力) AND DI;

 

{波段之王优化}

 

V1:=SMA(SMA((CLOSE-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,80))*200,3,1),3,1);

V2:=3*SMA((CLOSE-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,80))*200,3,1)-2*V1;

V3:=EMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,4)*2;

QQ1:=C/REF(C,1)>1.03;

QQ2:=SMA(MAX(CLOSE-REF(C,1),0),2,1)*C*102;

QQ3:=SMA(ABS(CLOSE-REF(C,1)),2,1)*C*100;

V4:=EMA(0.667*REF(V3,1)+0.333*V3,2);

QQ4:=MA(C,5)<REF(MA(C,5),1);

QQ5:=REF(MA(C,5),4)>REF(MA(C,5),5);

VA:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);

VB:=POW(MA(LOW,5),2)+MA(LOW,5);

VC:=POW(MA(HIGH,5),2)+MA(HIGH,5);

VD:=(VA-LLV(VB,64))/(HHV(VC,64)-LLV(VB,64))*150+65-10;

V7:=((HIGH+LOW+CLOSE*2)/4-EMA((HIGH+LOW+CLOSE*2)/4,13))*100/STD((HIGH+LOW+CLOSE*2)/4,13);

V1A:=SMA((CLOSE-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,80))*200,3,1)+V3+SMA(VD,3,1)*1.5-100+EMA(EMA(V7,5),13)+200-100;

V1B:=V1+V4+SMA(SMA(VD,3,1)*1.5-100,3,1)+EMA(EMA(EMA(V7,5),13)+200-100,10);

V1C:=V2+3*V3-2*V4+3*SMA(VD,3,1)*1.5-100-2*SMA(SMA(VD,3,1)*1.5-100,3,1)+3*EMA(EMA(V7,5),13)+200-100-2*EMA(EMA(EMA(V7,5),13)+200-100,10);

Q:=V<=LLV(V,5) OR V>=HHV(V,5);

QQ:=REF(C<O OR C>O,3);

Q1:=L<MA(C,24);Q2:=C>MA(C,24);

Q3:=C/REF(C,1)<MA(C,24);

Q4:=CROSS(C,MA(C,24)) AND V/REF(MA(V,5),1)>1.016;

QQ7:=C>O AND QQ1 AND QQ4 AND QQ5 AND Q AND QQ;

V11:=((HIGH+LOW+CLOSE)/3-MA((HIGH+LOW+CLOSE)/3,34))/(0.015*AVEDEV(3*EMA(EMA(V7,5),13)+200-100-2*EMA(EMA(EMA(V7,5),13)+200-100,10),34));

V12:=EMA((HIGH+LOW+CLOSE+(HIGH+LOW+CLOSE)/3)/4,24);

V13:=STD((HIGH+LOW+CLOSE+(HIGH+LOW+CLOSE)/3)/4,24);

V14:=((HIGH+LOW+CLOSE+(HIGH+LOW+CLOSE)/3)/4-V12)/V13*100;

V15:=((HIGH+LOW+CLOSE)/3-MA((HIGH+LOW+CLOSE)/3,24))/(0.015*AVEDEV((HIGH+LOW+CLOSE)/3,24));

V2A:=((EMA(V14,5)+V15+V11)/3+165)/4;

V2B:=(EMA(EMA(EMA(V2A,15),10),5)-25)*2+DMA(AMOUNT/VOL/100,VOL/CAPITAL);

V2D:=EMA((V1A+V1B+V1C*30)/32/5-15,13);

V2E:=(V2A+(V1A+V1B+V1C*30)/32/5-15)/2/1.1;

波段之王:Q3 AND Q4 AND Q1 AND Q2 AND QQ7 AND V2D AND V2E,COLORRED,LINETHICK2 ;

 


{量价结合}{副图}

 

V1:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));

V2:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));

V3:=SUM(V1,5);

V4:=SUM(V2,5);

V5:=IF(V3>V4,(V3-V4)/V3,IF(V3=V4,0,(V3-V4)/V4));

V6:=MA(V5,5);

V8:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));

V9:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));

VA:=SUM(V8,3);

VB:=SUM(V9,3);

VC:=IF(VA>VB,(VA-VB)/VA,IF(VA=VB,0,(VA-VB)/VB));

VD:=MA(VC,3);

量: BARSLAST(EMA(CLOSE,5)<REF(EMA(CLOSE,5),1)), COLORRED;

VE:=HHV(CLOSE,2);

VF:=BARSLAST(VE<REF(VE,2));

V10:=IF(VF>=1,LLV(VE,VF),LOW);

V11:=V10+V10*VF*0.5/100;

V12:=IF(V11<REF(V11,1),MA(LOW,3),V11);

V13:=V10+V10*(VF-1)*1.618/100;

价: COUNT(EMA(CLOSE,5)>REF(EMA(CLOSE,5),1),5),COLORLICYAN;

V14:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));

V15:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));

V16:=SUM(V8,3);

V17:=SUM(V9,3);

V18:=IF(VA>VB,(VA-VB)/VA,IF(VA=VB,0,(VA-VB)/VB));

V19:=MA(VC,3);

RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

买点加持有: STICKLINE(价>0,量,0,2,0), COLORRED;

V1A:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));

V1B:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));

V1C:=SUM(V8,3);

V1D:=SUM(V9,3);

V1E:=IF(VA>VB,(VA-VB)/VA,IF(VA=VB,0,(VA-VB)/VB));

V1F:=MA(VC,3);

下跌→抛出: STICKLINE(价>0,量,价,2,1),COLOR808000;

V20:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));

V21:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));

V22:=SUM(V8,3);

V23:=SUM(V9,3);

V24:=IF(VA>VB,(VA-VB)/VA,IF(VA=VB,0,(VA-VB)/VB));

V25:=MA(VC,3);

观望: STICKLINE(价=0 AND 量=0,0,1,4,1), COLORBROWN;

V26:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));

V27:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));

V28:=SUM(V8,3);

V29:=SUM(V9,3);

V2A:=IF(VA>VB,(VA-VB)/VA,IF(VA=VB,0,(VA-VB)/VB));

V2B:=MA(VC,3);

植被: STICKLINE(价<量,量,价,1,0), COLORGREEN;

V2C:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));

V2D:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));

V2E:=SUM(V8,3);

V2F:=SUM(V9,3);

V30:=IF(VA>VB,(VA-VB)/VA,IF(VA=VB,0,(VA-VB)/VB));

V31:=MA(VC,3);

V32:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*10;

V33:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));

V34:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));

V35:=SUM(V8,3);

V36:=SUM(V9,3);

V37:=IF(VA>VB,(VA-VB)/VA,IF(VA=VB,0,(VA-VB)/VB));

V38:=MA(VC,3);

STICKLINE(REF(价,1)=0 AND 价>0,0,-1,2,0), COLORRED;
 

71722915.jpg

71722915.jpg

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则