通达信主升浪捕捉器主图指标 精准把握主升浪 助您赢在起跑线 源码

SWZB7:=(EMA(CLOSE,5)*7+EMA(CLOSE,10)*3)/10;

SWZB8:=IF(YEAR>=2025,0,1);

SWZB9:=EMA(EMA(LOW,21)+6.8*STD(LOW,2),55);

SWZB10:=EMA(CLOSE/SWZB9*(1.88*CLOSE+LOW+OPEN)/2.75,3);

SWZB11:=(SWZB10-SWZB9)/SWZB9/2;

SWZB12:=EMA(SWZB10-SWZB11*SWZB10,5)*SWZB8;

SWZB13:=EMA(CLOSE,300)-3*STD(CLOSE,300);

LLL:IF(SWZB7>SWZB12,SWZB7,SWZB12)*SWZB8,COLORYELLOW,LINETHICK2;

HHH:IF(SWZB12<SWZB7 AND SWZB12<CLOSE*0.15,EMA(CLOSE,300)-3*STD(CLOSE,300),SWZB12),COLORYELLOW,LINETHICK2;

IF(SWZB12>SWZB7,HHH,DRAWNULL),COLORGREEN,LINETHICK2;

STICKLINE(LLL<>REF(HHH,1),LLL,HHH,4,0),COLORYELLOW;

ZBSX:=BARSLASTCOUNT(LLL!=HHH)=1;

DRAWICON(ZBSX,MIN(HHH,LLL)*0.96,11);

DRAWTEXT(ZBSX,LOW,71),COLORYELLOW;

WH:=CLOSE/REF(C,1)>1.09 AND CLOSE<EMA(C,55)*1.22 AND REF(EXIST(CLOSE/REF(C,1)>1.09,55),2);

WH1:=CLOSE>REF(HHV(H,90),1) AND CLOSE/REF(C,1)>1.03;

WH2:=CLOSE/REF(C,1)>1.04 AND CLOSE/REF(C,1)<1.09 AND EMA(C,33)/EMA(C,66)>1.01 AND CLOSE<EMA(C,33)*1.3;

DRAWICON(WH,LOW,9);

DRAWICON(WH1,LOW,1);

AAA:=(3*C+H+L+O)/6;

TTZ1:=(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)+4*REF(AAA,4)+3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/36;

TTZ2:=(HHV(TTZ1,5)+HHV(TTZ1,10)+HHV(TTZ1,20))/3;

TTZ3:=(LLV(TTZ1,5)+LLV(TTZ1,10)+LLV(TTZ1,20))/3;

TTZ4:=(HHV(TTZ2,5)+HHV(TTZ2,10)+HHV(TTZ2,20))/3;

TTZ5:=(LLV(TTZ3,5)+LLV(TTZ3,10)+LLV(TTZ3,20))/3;

TTZ6:=(LLV(TTZ1,2)+LLV(TTZ1,4)+LLV(TTZ1,6))/3;

TTZ1,COLORYELLOW;

TTZ6,COLORRED;

IF(TTZ1=TTZ6,TTZ6,DRAWNULL),COLORGREEN;

MA1:=EMA(CLOSE,5);

MA2:=EMA(CLOSE,10);

MA3:=EMA(CLOSE,20);

MA4:=EMA(CLOSE,30);

TJ1:=CROSS(MA1,MA2) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018

OR CROSS(MA1,MA4) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018

OR CROSS(MA2,MA3) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018

OR CROSS(MA1,MA3) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018;

TJ2:=(MAX(MA1,MAX(MA2,MA3))-MIN(MA1,MIN(MA2,MA3)))/

MIN(MA1,MIN(MA2,MA3))*100<=2;

XG:=TJ1 AND TJ2;

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

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

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

DIFF:= EMA(CLOSE,12) - EMA(CLOSE,26);

DEA :=EMA(DIFF,9);

MACD:=2*(DIFF-DEA);

DDTD1:=IF(K>D AND MACD>0 AND V>1,2,0),COLORRED;

DDTD2:=IF(K<D AND MACD<0 AND V>1,-2,0),COLOR00FF00;

DDTD3:=IF(MACD>0 AND K<D AND V>1,1,0),COLOR0099FF;

DDTD4:=IF(MACD<0 AND K>D AND V>1,-1,0),COLORFFFF00;

STICKLINE(DDTD1,L,H,0,0),COLORRED;

STICKLINE(DDTD1 AND C<O,L,H,0,0),COLORFFFF00;

STICKLINE(DDTD1 AND C>=O,C,O,3,1),COLORRED;

STICKLINE(DDTD1 AND C<O,C,O,3,0),COLOR990099;

STICKLINE(DDTD1 AND C<O,C,O,1,0),COLORCC00CC;

STICKLINE(DDTD1 AND C<O,C,O,0.3,0),COLORFF00FF;

STICKLINE(DDTD1 AND C>=O,C,O,3,0),COLOR000099;

STICKLINE(DDTD1 AND C>=O,C,O,1.5,0),COLOR0000BB;

STICKLINE(DDTD1 AND C>=O,C,O,0.8,0),COLOR0000DD;

STICKLINE(DDTD1 AND C>=O,C,O,0.25,0),COLOR0000FF;

STICKLINE(DDTD2 AND C>=O,L,H,0.1,0),COLOR0000FF;

STICKLINE(DDTD2 AND C>=O,C,O,3,1),COLOR00FF00;

STICKLINE(DDTD2 AND C<O,C,O,3,0),COLOR009900;

STICKLINE(DDTD2 AND C<O,C,O,1,0),COLOR00CC00;

STICKLINE(DDTD2 AND C<O,C,O,0.3,0),COLOR00FF00;

STICKLINE(DDTD3 AND C>=O,L,H,0.1,0),COLOR0000FF;

STICKLINE(DDTD3 AND C>=O,C,O,3,1),COLORFFFFFF;

STICKLINE(DDTD3 AND C<O,C,O,3,0),COLOR999999;

STICKLINE(DDTD3 AND C<O,C,O,1,0),COLORCCCCCC;

STICKLINE(DDTD3 AND C<O,C,O,0.3,0),COLORFFFFFF;

STICKLINE(DDTD4 AND C>=O,L,H,0,0),COLOR0000FF;

STICKLINE(DDTD4 AND C>=O,C,O,3,1),COLOR00FFFF;

STICKLINE(DDTD4 AND C<O,C,O,3,0),COLOR009999;

STICKLINE(DDTD4 AND C<O,C,O,1,0),COLOR00CCCC;

STICKLINE(DDTD4 AND C<O,C,O,0.3,0),COLOR00FFFF;

STICKLINE(FILTER(TJ1,3),C,O,4,0),COLOR0000FF;

DRAWICON(FILTER(XG,3),L*0.97,23);


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

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

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

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