通达信牛熊判势指标公式

REFLINE:- 1, 0, 1;
A1:=(MAX(H,REF(C,1))/MIN(L,REF(C,1))-1)*1.1;
A2:=DMA(C,2.5*MAX(V/CAPITAL,A1));
A3:=C>=REF(C,1);
A4:=C<=REF(C,1);
D1:=SMA(20*(A2/REF(A2,1)-1),2,1);
D2:=EMA(D1,2);
STICKLINE(D2>=0,-0.1,0.07,10,0),COLORDD00EE;
STICKLINE(D2<=0,-0.1,0.07,10,0),COLOR00EE00;
牛股:IF(D1>0.06 AND D2>=0.005 AND A3,1,0),STICK,LINETHICK4,COLOR00ddfF;
疯牛:IF(D1>0.24 AND D2>=0.005 AND A3,1,0),STICK,LINETHICK4,COLOR0000FF;
熊股:IF(D1<-0.06 AND D2<=-0.005 AND A4,-1,0),STICK,LINETHICK4,COLORFFEE00;
疯熊:IF(D1<-0.24 AND D2<=-0.005 AND A4,-1,0),STICK,LINETHICK4,COLORWHITE;
DRAWTEXT(FILTER(疯牛,5),-0.3,'疯牛'),COLOR0000FF;
DRAWTEXT(FILTER(疯熊,5),0.5,'疯熊'),COLORWHITE;




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

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

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