通达信末日量能指标公式

成交量:=vol/100,VOLSTICK;
VAR1:=成交量/((HIGH-LOW)*2-Abs(CLOSE-OPEN));
主买:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),成交量/2)),NODRAW;
主卖:IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-成交量/2)),NODRAW;
STICKLINE(成交量>0,成交量,0,2.5,0),COLORCYAN;
STICKLINE(主买>0,0,主买,2.5,0),COLORRED;
主持仓:EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),COLORFF00FF;
主集中度:WINNER(C)*100,COLORRED;
散集中度: (WINNER(C*1.1)-WINNER(C*0.9))*100,COLORGREEN;
地量:=成交量<LLV(成交量,14)*1.001;
买卖差:(主买+主卖),NODRAW,COLORYELLOW;
买卖比:(主买/主卖),NODRAW,COLORYELLOW;
换手率:=VOL/CAPITAL*100;
换手55:SUM(换手率,55),NODRAW,COLORLICYAN;
买卖差55:SUM(买卖差,55),NODRAW,COLORGRAY;
末日量能:IF((AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))>1,1,(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20)))*100,COLORYELLOW,NODRAW;
中点:=REFDATE(HHV(EMA(买卖差,9),120),DATE)*2;
STICKLINE(CURRBARSCOUNT=19,中点*1.9,中点*1.5,120,1),COLOR00DDDD;
STICKLINE(CONST(C>O)=1 AND CURRBARSCOUNT=19,中点*1.88,中点*1.52,末日量能*1.2,0),COLOR0033FF;
STICKLINE(CONST(C>O)=1 AND CURRBARSCOUNT=19,中点*1.82,中点*1.58,末日量能*1.2,0),COLOR0077FF;
STICKLINE(CONST(C>O)=1 AND CURRBARSCOUNT=19,中点*1.76,中点*1.64,末日量能*1.2,0),COLOR0099FF;
STICKLINE(CONST(C>O)=1 AND CURRBARSCOUNT=19,中点*1.7,中点*1.7,末日量能*1.2,0),COLOR00ddfF;
STICKLINE(CONST(C<O)=1 AND CURRBARSCOUNT=19,中点*1.88,中点*1.52,末日量能*1.2,0),COLORFF7700;
STICKLINE(CONST(C<O)=1 AND CURRBARSCOUNT=19,中点*1.82,中点*1.58,末日量能*1.2,0),COLORFF9900;
STICKLINE(CONST(C<O)=1 AND CURRBARSCOUNT=19,中点*1.76,中点*1.64,末日量能*1.2,0),COLORFFBB00;
STICKLINE(CONST(C<O)=1 AND CURRBARSCOUNT=19,中点*1.71,中点*1.69,末日量能*1.2,0),COLORCYAN;
DRAWTEXT(CURRBARSCOUNT=22,中点*2.3,末日量能),COLORYELLOW;
持股:IF(SAR(10,2,20)<=L,sar(10,2,20),DRAWNULL),NODRAW,COLOR000099;
V2:=IF(CURRBARSCOUNT=1,成交量*240/FROMOPEN/REF(成交量,1)-1,成交量/REF(成交量,1)-1);
{STICKLINE(成交量>0,成交量,0,2,1),COLORWHITE;
STICKLINE(主买>成交量/2,0,成交量,2,0),COLORYELLOW;
STICKLINE(主买<=成交量/2,0,成交量,2,0),COLORWHITE;
STICKLINE(主买>0,0,主买,2,0),COLORRED;
STICKLINE(主卖<0,0,主卖,2,0),COLOR00FF00;
STICKLINE(地量>0,0,成交量,1,0),COLORMAGENTA;
STICKLINE(V2>=1,成交量,0,1,0),COLORYELLOW;};




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

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

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