通达信【王牌波段】捕捉波段机会,紧跟主力拉升脚步!主副图 源码

{王牌波段捕捉波段机会,紧跟主图源码如下}

{王牌波段主图指标,无未来函数}

MA5:MA(C,5),COLORYELLOW,LINETHICK1,DOTLINE;

多空线:EMA(C,34),COLORMAGENTA,LINETHICK2;

战略线:=MA(C,99),COLORMAGENTA,LINETHICK2;

LOWV:=LLV(LOW,9);

HIGHV:=HHV(HIGH,9);

RV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,3);

KA:=EMA(RV,3);

QFR:=MA(KA,3);

DIFF:=EMA(CLOSE,8)-EMA(CLOSE,13);

DEA:=EMA(DIFF,5);

DCZB1:=DIFF>DEA;

DCZ1:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;

K:=SMA(DCZ1,3,1);

D:=SMA(K,3,1);

DCZB2:=K>D;

DC:=REF(CLOSE,1);

ZBGS1:=(SMA(MAX(CLOSE-DC,0),5,1))/(SMA(ABS(CLOSE-DC),5,1))*100;

ZBGS2:=(SMA(MAX(CLOSE-DC,0),13,1))/(SMA(ABS(CLOSE-DC),13,1))*100;

DCZB3:=ZBGS1>ZBGS2;DCZ:=-(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13))*100;

平台1:=SMA(DCZ,3,1);

平台2:=SMA(平台1,3,1);

DCZB4:=平台1>平台2;

DCZB5:=CLOSE>BBI;

MMS:=100*EMA(EMA(MTM,5),3)/EMA(EMA(ABS(MTM),5),3);

MMM:=100*EMA(EMA(MTM,13),8)/EMA(EMA(ABS(MTM),13),8);

DCZB6:=MMS>MMM;

AA:=C>MA(C,20);

JG:=IF(DCZB1 AND DCZB2 AND DCZB3 AND DCZB4 AND DCZB5 AND DCZB6,6,0);

王牌:=BARSLASTCOUNT(JG=6)=1 AND CLOSE>OPEN AND AA COLORYELLOW;

DRAWICON(王牌,LOW,9);

DRAWTEXT(王牌,L*0.98,' ★王牌'),COLORYELLOW;

STICKLINE(王牌,OPEN,CLOSE,1,0),COLORYELLOW;


{王牌波段捕捉波段机会,紧跟副图源码如下}


{王牌波段副图指标,无未来函数}

N:=9;

M:=3;

LOWV1:=LLV(LOW,N);

HIGHV1:=HHV(HIGH,N);

RSV1:=EMA((CLOSE-LOWV1)/(HIGHV1-LOWV1)*100,M);

K1:EMA(RSV1,M) DOTLINE;

D1:MA(K1,M);

LOWV:=LLV(LOW,9);

HIGHV:=HHV(HIGH,9);

RV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,3);

KA:=EMA(RV,3);

QFR:=MA(KA,3);

DIFF:=EMA(CLOSE,8)-EMA(CLOSE,13);

DEA:=EMA(DIFF,5);

DCZB1:=DIFF>DEA;

DCZ1:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;

K:=SMA(DCZ1,3,1);

D:=SMA(K,3,1);

DCZB2:=K>D;

DC:=REF(CLOSE,1);

ZBGS1:=(SMA(MAX(CLOSE-DC,0),5,1))/(SMA(ABS(CLOSE-DC),5,1))*100;

ZBGS2:=(SMA(MAX(CLOSE-DC,0),13,1))/(SMA(ABS(CLOSE-DC),13,1))*100;

DCZB3:=ZBGS1>ZBGS2;

DCZ:=-(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13))*100;

平台1:=SMA(DCZ,3,1);

平台2:=SMA(平台1,3,1);

DCZB4:=平台1>平台2;

DCZB5:=CLOSE>BBI;

MMS:=100*EMA(EMA(MTM,5),3)/EMA(EMA(ABS(MTM),5),3);

MMM:=100*EMA(EMA(MTM,13),8)/EMA(EMA(ABS(MTM),13),8);

DCZB6:=MMS>MMM;

20,COLORLICYAN;

80,COLORLIRED;

AA:=C>MA(C,20);

JG:=IF(DCZB1 AND DCZB2 AND DCZB3 AND DCZB4 AND DCZB5 AND DCZB6,6,0);

王牌:BARSLASTCOUNT(JG=6)=1 AND CLOSE>OPEN AND AA COLORYELLOW,NODRAW;

STICKLINE(王牌 ,0,66,2,0),COLORYELLOW;

STICKLINE(王牌 ,0,66,1,0),COLORRED;

DRAWICON(王牌,66,9);

DRAWICON(CROSS(K1,D1),K1*1.002,1);

DRAWICON(CROSS(D1,K1),D1*1.002,2);



来函数检测结果如下:
该公式没有未来函数

解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图