通达信PP多空能量指标

TV:=IF(ISLASTBAR AND PERIOD=5,(V*240/FROMOPEN+V)/2,V);
Q:=IF(ABS(C-O)>0,(C-O)/(H-L)*50+50,50);
DT:=TV*Q/100;
KT:=TV-DT;
DL:=MA(DT,3)-MA(KT,3);
STICKLINE(DL>0,0,DL,3,0),COLOR000088;
STICKLINE(DL>0,0,DL,2.6,0),COLOR0000AA;
STICKLINE(DL>0,0,DL,1.6,0),COLOR0000CC;
STICKLINE(DL>0,0,DL,0.9,0),COLOR0000EE;
STICKLINE(DL<=0,0,DL,3,0),COLOR008800;
STICKLINE(DL<=0,0,DL,2.6,0),COLOR00AA00;
STICKLINE(DL<=0,0,DL,1.6,0),COLOR00CC00;
STICKLINE(DL<=0,0,DL,0.9,0),COLOR00EE00;
多头量能:MA(DT,3),COLOR7F00FF,LINETHICK2;
空头量能:MA(KT,3),COLOR66FF00,LINETHICK2;
 强度:(多头量能/(多头量能+空头量能)*100-50)*2,COLORRED,NODRAW;
X:=AMOUNT/100000000;
净额_亿:X*(强度-50)/100,NODRAW;
DF:=多头量能;
多头进攻:IF(DL>0 AND DL>EMA(DL,3),0,DRAWNULL),COLOR7F00FF,CIRCLEDOT,LINETHICK5;
多头撤退:IF(DL>0 AND DL<EMA(DL,3),0,DRAWNULL),COLORMAGENTA,CIRCLEDOT,LINETHICK5;
空头进攻:IF(DL<=0 AND DL<=EMA(DL,3),0,DRAWNULL),COLOR66FF00,CIRCLEDOT,LINETHICK5;
空头撤退:IF(DL<=0 AND DL>=EMA(DL,3),0,DRAWNULL),COLORCYAN,CIRCLEDOT,LINETHICK5;


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

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

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

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