通达信量能饱和副图

M1:=5;
M2:=10;
M3:=20;
虚拟VOL:=IF(CURRBARSCOUNT=1 AND PERIOD=2,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=2,虚拟VOL,0,-1,-1),NODRAW;
成交量:VOL,VOLSTICK,COLORCYAN;
换手率:VOL/CAPITAL*100,,NODRAW;
{}
十日换手:SUM(V/CAPITAL*100,10),COLORLICYAN,NODRAW;
量能饱和:(AMOUNT/CLOSE)/HHV((AMOUNT/CLOSE),26)*100,COLORLIMAGENTA,NODRAW;
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主动买盘:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
主动卖盘:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2));
买卖盘比:-(主动买盘/主动卖盘),NODRAW,COLORYELLOW;
STICKLINE(主动买盘>0,0,主动买盘,2.2,0),COLORLICYAN;
STICKLINE(主动卖盘<0,VOL,主动买盘,2.2,0),COLOR007900;
换手:=VOL/CAPITAL*100,NODRAW;
STICKLINE(换手>0,0,主动买盘,0,0),COLORYELLOW;
STICKLINE(换手>0,VOL,主动买盘,0,0),COLORRED;
MA5:MA(VOL,M1),COLORWHITE;
MA10:MA(VOL,M2),COLORYELLOW;
MA20:MA(VOL,M3),COLORMAGENTA;
AHC2:=(HIGH-LOW);
AHC3:=ABS((OPEN-CLOSE));
AHC4:=(HIGH-IF((CLOSE>OPEN),CLOSE,OPEN));
AHC5:=(IF((CLOSE>OPEN),OPEN,CLOSE)-LOW);
AHC6:=((AHC3/AHC2)*VOL);
AHC7:=((AHC4/AHC2)*VOL);
AHC8:=((AHC5/AHC2)*VOL);
AHCA:=(((CLOSE-MA(CLOSE,5))/MA(CLOSE,5))*100);
AHCB:=(((MA(CLOSE,5)>MA(CLOSE,10))&&(MA(CLOSE,10)>MA(CLOSE,30)))&&(MA(CLOSE,30)>MA(CLOSE,60)));
AHCC:=((MA(CLOSE,5)<MA(CLOSE,10))&&(MA(CLOSE,10)<MA(CLOSE,30)));
 



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

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

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