通达信理论顶底指标公式

10,DOTLINE,COLORRED;
90,DOTLINE,COLORRED;
VAR0:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
VAR3:=SMA(VAR0,3,1);
VAR1:=SMA(VAR3,4,1)-10;
VAR4:=(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))*100;
VAR5:=SMA(VAR4,3,1);
VAR2:=SMA(VAR5,4,1)-90;
A1:=1;
A2:=(3);
A3:=(((2*CLOSE)+HIGH)+LOW)/4;
A4:=LLV(LOW,36);
A5:=HHV(HIGH,36);
A6:=EMA((((A3-A4)/(A5-A4))*100),10);
A7:=(EMA(((0.667*(REF(A6,1)))+(0.333*A6)),2))*A1;
A8:=(HHV(HIGH,7))-(LLV(LOW,7));
A9:=(HHV(HIGH,7))-CLOSE;
A10:=CLOSE-(LLV(LOW,7));
A11:=((A9/A8)*100)-60;
A12:=((CLOSE-(LLV(LOW,40)))/((HHV(HIGH,60))-(LLV(LOW,40))))*100;
A13:=SMA(((A10/A8)*100),3,1);
A14:=(SMA(A13,3,1))-(SMA(A11,7,1));
A15:=IF((A14>100),(A14-100),0);
A16:=(EMA((((A3-A4)/(A5-A4))*100),3))*A1;
A17:=(EMA(A16,5))*A1;
STICKLINE(((A16-A17)>0),A16,A17,1,1),COLORBLUE;
STICKLINE(((A16-A17)<0),A16,A17,1,0),COLORGREEN;
理论底部:=REF((A16-A17)>0 AND REF(VAR1,1)>VAR1,1) AND REF(VAR1,1)<VAR1 AND VAR1<0;
STICKLINE(理论底部,10,0,3,1),COLORRED;
DRAWTEXT(理论底部,3,'理论底部'),COLORYELLOW;
理论顶部:=REF((A16-A17)<0 AND A16>90 AND REF(VAR1,1)<VAR1,1) AND REF(VAR1,1)>VAR1;
STICKLINE(理论顶部,100,90,3,1),COLORGREEN;
DRAWTEXT(理论顶部,97,'理论顶部'),COLORGREEN;
标记跌:=REF(A17>VAR1,4) AND EVERY(A16<VAR1,3);
DRAWICON(标记跌,VAR1*1.15,2);
标记涨:=REF(A16<VAR1,4) AND EVERY(A17>VAR1,3) AND (A16-A17)>0;
DRAWICON(标记涨,VAR1*0.85,1);
VAR1B:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
VAR2B:=SMA(VAR1B,9,1)+100;
VAR3B:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR4B:=SMA(VAR3B,3,1);
VAR5B:=SMA(VAR4B,3,1)+100;
VAR6B:=VAR5B-VAR2B;
趋势:=IF(VAR6B>45,VAR6B-45,0);
STICKLINE(REF(趋势,1)< 趋势 AND VAR1<0, 趋势,REF(趋势,1),0.2,0),COLORYELLOW;




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

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

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

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