通达信波段趋势指标副图、源码

指标用于分析股价短线与中线未来趋势波段变化,通过彩带变色及时把握手中股票顶点和底点!
风险提示: 股市有风险,投资需谨慎! 公式指标仅作参考,不可作为决策唯一依据! 请三思而行

通达信_【波段趋势】指标(副图源码、无未来)
RSVCC:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;
STICKLINE( RSVCC>0,90,0,28,0),COLOR880022;
STICKLINE( RSVCC>0,-20,0,28,0),COLOR003300;
DRAWTEXT_FIX(1,0,0,0,'【股海网提供www.guhai.com.cn】'),LINETHICK4,COLOR0080FF;
VAR2:=REF(LOW,1);
VAR3:=SMA(ABS(LOW-VAR2),13,1)/SMA(MAX(LOW-VAR2,0),13,1)*100;
VAR4:=EMA(IF(CLOSE*1.2,VAR3*13,VAR3/13),13);
VAR5:=LLV(LOW,34);
VAR6:=HHV(VAR4,34);
VAR7:=IF(LLV(LOW,55),1,0);
VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;
VAR9:=EMA(CLOSE,5);
VAR10:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*(-10);
VAR11:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7*(-1);
VAR12:=EMA(CLOSE,5)*(-1);
备钱:IF(VAR8>REF(VAR8,1),0,VAR8),COLOR0FFFFF;
界:0,COLORFFFFFF;
XL1:=MA(LOW,2)*0.96;
XL2:=MA(LOW,26)*0.85;
XL3:=REF(XL1,1)<XL2 AND REF(XL1,1)<XL1 AND REF(XL1,1)<REF(XL1,2);
启动:IF(XL3,0,VAR8*3),COLORRED,NODRAW;
DRAWBAND(启动,RGB(180,80,200),0,DRAWNULL);
STICKLINE(XL3,0,VAR8*3,4,0),COLORRED;
STICKLINE(VAR8>REF(VAR8,1),0,VAR8,2,0),COLOR10FFFF;
STICKLINE(VAR11>REF(VAR11,1),0,VAR11,4,1),COLORFFF810;
DRAWICON(VAR11>REF(VAR11,1) AND CROSS(VAR11,VAR12),VAR11,11);
40,POINTDOT;
VA:=(C+2*H+L)/4;
VB:=LLV(L,8);
VC:=HHV(H,8);
VD:=EMA(((VA-VB)/(VC-VB)-VC/VB)*81,5)*-1;
红线上穿买:REVERSE(VD)+100,COLORRED;
红线下穿卖:EMA(红线上穿买,3),COLORFFFF00;
DRAWBAND(红线上穿买,RGB(150,030,030),红线下穿卖,RGB(20,150,20));
IF(红线上穿买>=红线下穿卖,红线上穿买,DRAWNULL),COLORLIMAGENTA,LINETHICK2;
IF(红线上穿买<红线下穿卖,红线上穿买,DRAWNULL),COLORGREEN,LINETHICK2;
散户:= EMA(((2*CLOSE+HIGH+LOW)/4-LLV(LOW,5))/(HHV(HIGH,4)-LLV(LOW,5))*100,4);
庄家:= EMA(0.667*REF(散户,1)+0.333*散户,2);
DRAWICON(CROSS(散户,庄家) AND 散户<30,红线上穿买*0.98,1);
DRAWICON(CROSS(庄家,散户) AND 散户>70,红线上穿买*1.02,2);
极品底:IF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04,23,0),COLORFF00FF,NODRAW;
DRAWICON((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04,-3,25);
RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
X:=LLV(J,2)=LLV(J,8);
DRAWTEXT(CROSS(J,REF(J+0.01,1)) AND X AND J<19,红线上穿买*0.9,'短'),COLOR0FFFFF;
DRAWICON(CROSS(J,REF(J+0.01,1)) AND X AND J<16,红线上穿买,7);
QVAR1A:=((HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21)))*(100)-10;
QVAR1B:=((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21)))*(100);
QVAR1C:=SMA(QVAR1B,13,8);
QVAR1D:=SMA(QVAR1A,21,8);
机会来临:SMA(QVAR1C,13,1),COLORCCCC00,LINETHICK2;
STICKLINE(机会来临>90,90,机会来临,2,0),COLORCYAN;
IF(机会来临>=REF(机会来临,1),机会来临,DRAWNULL),COLORCC33CC,LINETHICK2;
中线:EMA(机会来临,55),COLOR9933FF,LINETHICK2;
IF(中线<REF(中线,1),中线,DRAWNULL),COLOR66FF66,LINETHICK2;
AAS:=FILTER((COUNT((机会来临-QVAR1D<(-65)),3)=3),34);
波段买点:IF(AAS,15,0),COLORFFFFFF,NODRAW;
DRAWTEXT(AAS,32,'波段买'),COLOR0FFFFF;
STICKLINE(AAS,0,31,0.3,0),COLORMAGENTA;
DRAWICON(CROSS(机会来临,QVAR1D),机会来临,23);




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

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

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

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