通达信掘底买点指标公式

N:=9;M1:=3;M2:=3;
VAR1:=(HIGH+LOW+CLOSE)/3;
VAR2:=(VAR1-MA(VAR1,14))/(0.015*AVEDEV(VAR1,14));
VAR3:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,80,0);
VAR4:=IF(zig(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3),50,0);
{ _通达信股票指标公式}
STICKLINE(VAR3,80,95,0,0),COLORWHITE;
STICKLINE(VAR3,50,80,3,0),COLOR3366BB;
STICKLINE(VAR3,50,80,2,0),COLOR3399CC;
STICKLINE(VAR3,50,80,1,0),COLOR33CCEE;
STICKLINE(VAR3,50,80,0.1,0),COLOR33FFFF;
STICKLINE(VAR3,20,50,5,0),COLOR3366BB;
STICKLINE(VAR3,20,50,3.3,0),COLOR3399CC;
STICKLINE(VAR3,20,50,1.6,0),COLOR33CCEE;
STICKLINE(VAR3,20,50,0.1,0),COLOR33FFFF;
STICKLINE(VAR3,0,20,7,0),COLOR3366BB;
STICKLINE(VAR3,0,20,5,0),COLOR3399CC;
STICKLINE(VAR3,0,20,3,0),COLOR33CCEE;
STICKLINE(VAR3,0,20,1,0),COLOR33FFFF;
STICKLINE(VAR4,50,65,0,0),COLORWHITE;
STICKLINE(VAR4,30,50,3,0),COLOR000055;
STICKLINE(VAR4,30,50,2,0),COLOR000088;
STICKLINE(VAR4,30,50,1,0),COLOR0000BB;
STICKLINE(VAR4,30,50,0.1,0),COLOR0000EE;
STICKLINE(VAR4,10,30,5,0),COLOR000055;
STICKLINE(VAR4,10,30,3.3,0),COLOR000088;
STICKLINE(VAR4,10,30,1.6,0),COLOR0000BB;
STICKLINE(VAR4,10,30,0.1,0),COLOR0000EE;
STICKLINE(VAR4,0,10,7,0),COLOR000055;
STICKLINE(VAR4,0,10,5,0),COLOR000088;
STICKLINE(VAR4,0,10,3,0),COLOR0000BB;
STICKLINE(VAR4,0,10,1,0),COLOR0000EE;
掘底买点:=VAR3,COLORYELLOW,LINETHICK2;
黑马信号:=VAR4,COLORRED,LINETHICK2;
DRAWTEXT(VAR2<-110 AND VAR3>0,87,'★掘底买点'),COLORYELLOW;
DRAWTEXT(VAR2<-110 AND VAR4>0,57,'★黑马信号'),COLORRED;
{kd}
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV,M1,1),COLORFFBB00,LINETHICK1;
D:SMA(K,M2,1),COLORFF77FF,LINETHICK1;




未来函数检测结果如下:
该公式包含未来函数:ZIG
该公式包含未来函数:TROUGH
该公式包含未来函数:TROUGHBARS
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

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

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