通达信低吸启涨波段副图指标 四色共振信号 源码分享 附图

{低吸启涨波段}
X2:=((EMA(CLOSE,3)-EMA(CLOSE,8)))*10;
STICKLINE(X2>0,0,-10,3.8,0),COLORRED,LINETHICK3;
STICKLINE(X2<0,0,-10,3.8,0),COLORGREEN,LINETHICK3;
红买绿卖:X2,COLORRED,NODRAW;
DRAWTEXT_FIX(C>0,0.1,0.001,0,'红买绿卖红色持股,位置低最好,80以上小心'),COLORYELLOW;
VAR1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
VAR2:=SMA(VAR1,3,1);
VAR3:=SMA(VAR2,3,1);
VAR4:=SMA(VAR3,3,1);
HYW:= VAR3;
WEI:= VAR4;
逢低吸:CROSS(VAR3,VAR4) AND VAR3<20,COLORYELLOW,NODRAW;
STICKLINE(FILTER(逢低吸,10)=1,0,80,1,0),COLORRED;
位置:VAR3,COLORFF99CC,NODRAW;
VAR9:=CROSS(VAR4,VAR3) AND VAR3>80;
VAR8:=CROSS(VAR2,VAR3) AND VAR3>80 AND VAR3>VAR4;
STICKLINE(VAR8,85,100,3,0),COLOR0099FF;
AA:=LLV(LOW,36);
BB:=HHV(HIGH,30);
风险:=80,COLORGREEN,DOTLINE;
小心:=87.5,COLOR00FF00;
DD:=(EMA(((CLOSE-AA)/(BB-AA))*(4),4))*(25);
股神:=DD,COLOR0000FF,LINETHICK2;
股海:=(((DD-LLV(DD,21))/(HHV(DD,21)-LLV(DD,21)))*(4))*(25);
目标出现B:=IF(CROSS(股海,90) AND (股神<40),33,0),COLORFFFF00;
STICKLINE(目标出现B,0,50,2,0),COLOR0099FF;
DRAWTEXT(CROSS(股海,90) AND (股神<40),55,'准备'),COLORFFFF00;
准备:CROSS(股海,90) AND (股神<40),COLORWHITE,NODRAW;
跟踪:=10,COLOR0000FF;
目标出现A:=IF((COUNT((股神>REF(股神,1)),1)=1) AND (REF(股神,1)<REF(REF(股神,1),1)) AND (股神<跟踪),40,0),COLORF00FF0;
STICKLINE(目标出现A,0,30,1,0),COLORF00FF0;
DRAWTEXT((COUNT((股神>REF(股神,1)),1)=1) AND (REF(股神,1)<REF(REF(股神,1),1)) AND (股神<跟踪),40,'关注'),COLORF00FF0;
关注:(COUNT((股神>REF(股神,1)),1)=1) AND (REF(股神,1)<REF(REF(股神,1),1)) AND (股神<跟踪),COLORMAGENTA,NODRAW;
VARP1P:=(CLOSE-LLV(LOW,55.144))/(HHV(HIGH,55.144)-LLV(LOW,55))*80;
VARP2P:=SMA(VARP1P,7,1);
VARP3P:=SMA(VARP2P,5,1);
飞涨:=IF(CROSS(VARP2P,VARP3P) AND VARP2P<20,80,0),STICK,COLORMAGENTA,LINETHICK3;
STICKLINE(飞涨,0,50,2,0),COLORMAGENTA;
DRAWTEXT(CROSS(VARP2P,VARP3P) AND VARP2P<20,88,'将涨'),COLORMAGENTA;
将涨:CROSS(VARP2P,VARP3P) AND VARP2P<20,COLORYELLOW,NODRAW;
A:=(3*CLOSE+LOW+OPEN+HIGH)/6;
D1:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+14*REF(A,6)
+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)
+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+REF(A,20))/211;
D2:=EMA(D1,2);
D3:=EMA(D2,2);
K1:=EMA(D3,2);
起涨:IF(CROSS(D1,K1),1,0),COLORCYAN,NODRAW;
STICKLINE(起涨 AND X2>0,0,60,2,0),COLORRED;
DRAWTEXT(CROSS(D1,K1) AND X2>0,68,'启涨'),COLORYELLOW;
启涨:CROSS(D1,K1) AND X2>0,COLORMAGENTA,NODRAW;
VAR26:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
VAR27:=REVERSE(VAR26);
VAR28:=SMA(VAR26,3,1);
波段王:= SMA(VAR28,3,1);
波段鬼:= SMA(波段王,3,1);
DRAWICON(CROSS(波段王,波段鬼) AND 波段王<40,36,1);
DRAWICON(CROSS(波段鬼,波段王) AND 波段鬼>75,90,2);
DRAWTEXT(CROSS(波段王,波段鬼) AND 波段王<40,20,'低吸'), COLORWHITE;
低吸:CROSS(波段王,波段鬼) AND 波段王<40,COLORWHITE,NODRAW;
AAA:=(3*C+H+L+O)/6;
VVH1:=(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;
VVH2:=(HHV(VVH1,5)+HHV(VVH1,10)+HHV(VVH1,20))/3;
VVH3:=(LLV(VVH1,5)+LLV(VVH1,10)+LLV(VVH1,20))/3;
VVH4:=(HHV(VVH2,5)+HHV(VVH2,10)+HHV(VVH2,20))/3;
VVH5:=(LLV(VVH3,5)+LLV(VVH3,10)+LLV(VVH3,20))/3;
VVH6:=(LLV(VVH1,2)+LLV(VVH1,4)+LLV(VVH1,6))/3;
STICKLINE(VVH1>VVH6,-10,-16,3.8,0),COLOR3333CC;
V1:=(C*2+H+L)/4*10;
V2:=EMA(V1,13)-EMA(V1,34);
V3:=EMA(V2,5);
LX_1:=HYW>WEI;
LX_2:=2*(V2-V3)*5.5>=0;
LX_3:=X2>0;
LX_4:=VVH1>VVH6;
LX_5:=LX_1+LX_2+LX_3+LX_4;
四色:LX_5=4 AND REF(LX_5!=4,1),COLORRED,NODRAW;
共振数:逢低吸+准备+关注+将涨+起涨+启涨+低吸+四色,COLORCYAN,NODRAW;
四色低吸:四色 AND HYW<=10,COLORWHITE,NODRAW;
四色追涨:四色 AND HYW>=78,COLORRED,NODRAW;
顶部:VAR8,COLORGREEN,NODRAW;
主力攻击力度:2*(V2-V3)*5.5,COLORLIRED,NODRAW;
STICKLINE(主力攻击力度>=0,0,8,3.8,0),COLORLIRED,LINETHICK3;
DRAWICON(四色,8,11);
DRAWBAND(HYW,RGB(155,50,50),WEI,RGB(50,250,0));
DRAWTEXT(FILTER(逢低吸,10)=1,0,'逢低吸'),COLORBLUE;



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

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

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

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