通达信收口布林主图指标公式

KMA:MA(CLOSE,1),POINTDOT;
MID:MA(CLOSE,20);
UPPER:MID+2*STD(CLOSE,20);
LOWER:MID-2*STD(CLOSE,20);
{STICKLINE(CLOSE,HIGH,LOW,0.1,1),COLOR0000FF;
STICKLINE(CLOSE,CLOSE,CLOSE,4,1),COLOR0000FF;}
BB:(C-LOWER)/(UPPER-LOWER),COLORWHITE,NODRAW;
BWIDTH:(UPPER-LOWER)/MID,COLORWHITE,NODRAW;
A1:=MA(C,5);
A2:=MA(C,15);
A3:=MA(C,30);
A4:=crOSS(A1,A2);
A5:=CROSS(A2,A3);
A6:=CROSS(A1,A3);
FD1:=A1>=MA(C,120) AND A2>=MA(C,120);
Q6:=ATAN((MA(C,120)/REF(MA(C,120),1)-1)*100)*57.3;
Q7:=ATAN((MA(C,250)/REF(MA(C,250),1)-1)*100)*57.3;
麻花:A6 AND COUNT(A4,3)>=1 AND COUNT(A5,3)>=1 AND FD1 AND Q6>0 AND Q7>0,NODRAW;
DRAWTEXT(麻花,MID,'A');
中轨:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
上轨:=中轨+3*STD(中轨,13);
下轨:=中轨-3*STD(中轨,13);
收口大小:=(上轨-中轨)/中轨*100;
XD:=上轨>=REF(上轨,1) AND 下轨>=REF(下轨,1);
XE:=FILTER(XD=1 AND EXIST(收口大小<2.1,2) AND C>=REF(C,1)*0.981,7);
XF:=XD=1 AND EXIST(收口大小<2.1,2) AND C>=REF(C,1)*0.981;
XF2:=EXIST(XD=1,3) AND 收口大小<2 AND C>=中轨 AND C>=REF(C,1)*0.981;
收口:XF OR XF2,NODRAW;
DRAWTEXT(收口,LOWER,'I');
XV:CROSS(收口,0.1) AND REF(C,1)<=MID AND REF(C,2)<=MID,NODRAW;
DRAWTEXT(XV,MID,'I');
XO:CROSS(收口,0.1) AND CROSS(MID*1.001,REF(L,1)),NODRAW;
DRAWTEXT(XO,UPPER,'I');



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

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

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

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