通达信长江后浪推前浪副图指标 波段追踪 源码 附图

{长江后浪推前浪}

VAR1:=C-REF(C,1);

VAR2:=100*EMA(EMA(VAR1,5),3)/EMA(EMA(ABS(VAR1),5),3);
VAR3:=CROSS(EMA(C,15),EMA(C,5));
VAR4:=CROSS(EMA(C,5),EMA(C,15));
Z1:=L=LLV(L,BARSLAST(VAR3)+1);
Z2:=LLV(L,BARSLAST(VAR3)+1);
Z3:=H=HHV(H,BARSLAST(VAR4)+1);
Z4:=HHV(H,BARSLAST(VAR4)+1);
VARA:=DRAWLINE(Z1,Z2,Z3,Z4,0),COLORMAGENTA,LINETHICK1;
Y1:=H=HHV(H,BARSLAST(VAR4)+1);
Y2:=HHV(H,BARSLAST(VAR4)+1);
Y3:=L=LLV(L,BARSLAST(VAR3)+1);
Y4:=LLV(L,BARSLAST(VAR3)+1);
VARB:=DRAWLINE(Y1,Y2,Y3,Y4,0),COLORCYAN,LINETHICK1;
X1:=LLV(VAR2,2)=LLV(VAR2,7);
X2:=COUNT(VAR2<0,2);
X3:=CROSS(VAR2,MA(VAR2,2));
X4:=REF(VARB,1)<REF(VARB,2);
X5:=VARA>REF(VARB,1);
买进:=(X1 AND X2 AND X3) AND X4 AND X5;
TJ:=IF(VARA<REF(VARA,1) AND VARB=VARA,1,0);
TJ1:=IF(VARB<REF(VARB,1) AND VARB=VARA,1,0);
前浪:IF(REF(TJ1,1)=0 AND TJ1>=1 ,40,0),STICK,COLORRED,LINETHICK3;
DRAWTEXT(前浪=40,40,'前浪'),COLORGREEN;
IF(REF(前浪,1)=40 ,55,0),STICK,COLORBB00BB,LINETHICK9;
IF(REF(前浪,1)=40 ,55,0),STICK,COLORDD00DD,LINETHICK6;
IF(REF(前浪,1)=40 ,55,0),STICK,COLORFF00FF,LINETHICK3;
IF(REF(前浪,1)=40 ,59,0),STICK,COLOR00FFFF,LINETHICK1;
IF(REF(TJ,1)=0 AND TJ>=1,40,0),STICK,COLORGREEN,LINETHICK3;
IF(REF(TJ1,1)=0 AND TJ1>=1,40,-5),STICK,COLORRED,LINETHICK1;
后浪:IF(REF(TJ,1)=0 AND TJ>=1,40,0),STICK,COLORGREEN,LINETHICK1;
STICKLINE(VARB<REF(VARB,1),15,-5,0,0)COLORGREEN;
XG:REF(前浪,1)=40;
DRAWTEXT(XG,50,' 后浪-+++-★'),COLORFFFF00,COLOR0099FF;


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

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

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

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