通达信顶底决策主图指标公式

AA:=(H+L+2*C+O)/5;
VAR60:=EMA(AA,40);
VAR10:=EMA(AA,20);
{上轨:VAR60+2.3*STD(CLOSE,60),COLORGREEN,LINETHICK2;
下轨:VAR60-2.3*STD(CLOSE,60),COLORRED,LINETHICK2;
次上轨:VAR10+2.2*STD(CLOSE,10),DOTLINE,COLORFF9900;
次下轨:VAR10-2.2*STD(CLOSE,10),DOTLINE,COLORYELLOW;}
VAR2:=CLOSE*vol;
VARR:=EMA((EMA(VAR2,5)/EMA(VOL,5)+EMA(VAR2,10)/EMA(VOL,10)+EMA(VAR2,20)/EMA(VOL,20)+EMA(VAR2,40)/EMA(VOL,40))/4,15);
上轨:VARR*1.3,COLORGREEN,LINETHICK2;
下轨:VARR*0.8,COLORRED,LINETHICK2;
次上轨:VARR*1.1,DOTLINE,COLORFF9900;
次下轨:VARR*0.9,DOTLINE,COLORYELLOW;
{STICKLINE(LOW<=下轨 AND CLOSE>OPEN,CLOSE, OPEN,3,0.5),COLORMAGENTA;
STICKLINE(LOW<=下轨 AND CLOSE>OPEN,CLOSE, HIGH,0,0.5),COLORMAGENTA;
STICKLINE(LOW<=下轨 AND CLOSE>OPEN,OPEN, LOW,0,0.5),COLORMAGENTA;
STICKLINE(LOW<=下轨 AND CLOSE<=OPEN,CLOSE, OPEN,3,0),COLORMAGENTA;
STICKLINE(LOW<=下轨 AND CLOSE<=OPEN,CLOSE, LOW,0,0),COLORMAGENTA;
STICKLINE(LOW<=下轨 AND CLOSE<=OPEN,OPEN, HIGH,0,0),COLORMAGENTA;
STICKLINE(HIGH>=上轨 AND CLOSE>OPEN,CLOSE, OPEN,3,0.5),COLORFF9900;
STICKLINE(HIGH>=上轨 AND CLOSE>OPEN,CLOSE, HIGH,0,0.5),COLORFF9900;
STICKLINE(HIGH>=上轨 AND CLOSE>OPEN,OPEN, LOW,0,0.5),COLORFF9900;
STICKLINE(HIGH>=上轨 AND CLOSE<=OPEN,CLOSE, OPEN,3,0),COLORFF9900;
STICKLINE(HIGH>=上轨 AND CLOSE<=OPEN,CLOSE, LOW,0,0),COLORFF9900;
STICKLINE(HIGH>=上轨 AND CLOSE<=OPEN,OPEN, HIGH,0,0),COLORFF9900;}
DRAWTEXT(FILTER((crOSS(次上轨,CLOSE) OR (H>次上轨 AND C<次上轨) AND C<=REF(C,1)),7),HIGH*1.01,'小顶'),COLORFF9900;
DRAWTEXT(FILTER((CROSS(CLOSE,次下轨) OR (L<次下轨 AND C>次下轨) AND C>REF(C,1)),7),LOW*0.99,'小底'),COLORYELLOW;
DRAWTEXT(FILTER((CROSS(上轨,CLOSE) OR (H>上轨 AND C<上轨) AND C<=REF(C,1)),5),HIGH*1.01,'大顶'),COLORGREEN;
DRAWTEXT(FILTER((CROSS(CLOSE,下轨) OR (L<下轨 AND C>下轨) AND C>REF(C,1)),5),LOW*0.99,'大底'),COLORRED;
VAW1:=EMA(EMA(CLOSE,13),13);
VAW2:=(VAW1-REF(VAW1,1))/REF(VAW1,1)*1000;
VAW3:=DYNAINFO(11);
VAW4:=(EMA(CLOSE,8)-EMA(CLOSE,21))*50;
VAW5:=EMA(VAW4,3);
VAW6:=(C-VAW3)/VAW3<-0.03;
VAW7:=VAW2>REF(VAW2,1) AND VAW2<-0.2;
VAW8:=CROSS(VAW4,VAW5) AND VAW4<-0.3;
VAW9:=VAW6 AND VAW7 AND VAW8;
VAW10:=FILTER(VAW9,30);
DRAWTEXT(VAW10,L-0.0011,'庄进'),COLORMAGENTA;




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

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

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