5天净流入公式叠加到额亿公式上

aa:=vol/((high-low)*2-abs(close-open));
买量:=if(close>open,aa*(high-low),if(close<open,aa*((high-open)+(close-low)),vol/2)),linethick0,colorred;
卖量:=if(close>open,0-aa*((high-close)+(open-low)),if(close<open,0-aa*(high-low),0-vol/2)),linethick0,colorcyan;
进出量:=买量+卖量,color00ffff;
五日内净流入:sum(进出量,5);
{额亿公式}
总亿:amount/100000000,colorff00ff,nodraw;
var1:=amount/((high-low)*2-abs(close-open));
流入亿:if(close>open,var1*(high-low),if(close<open,var1*((high-open)+ (close-low)),amount/2))/100000000,colorred,nodraw;
流出亿:if(close>open,0-var1*((high-close)+(open- low)),if(close<open,0-var1*(high-low),0-amount/2))/100000000,color00ff00,nodraw;
额亿:流入亿+流出亿,colorffff00,nodraw;
{线:=ma(close,1)-ma(close,6),nodraw;}
yuwei:=ma(close,1)-ma(close,6),nodraw;
分界:0;
stickline(yuwei>0 and yuwei>ref(yuwei,1),0,yuwei,4,0)color0d0c6a;
stickline(yuwei>0 and yuwei>ref(yuwei,1),0,yuwei,3,0)color0d06aa;
stickline(yuwei>0 and yuwei>ref(yuwei,1),0,yuwei,1.5,0)color2108c1;
stickline(yuwei>0 and yuwei>ref(yuwei,1),0,yuwei,0.5,0)color9f5dff;
stickline(yuwei>0 and yuwei<ref(yuwei,1),0,yuwei,4,0)color22736f;
stickline(yuwei>0 and yuwei<ref(yuwei,1),0,yuwei,3,0)color22aad5;
stickline(yuwei>0 and yuwei<ref(yuwei,1),0,yuwei,1.5,0)color10c7bf;
stickline(yuwei>0 and yuwei<ref(yuwei,1),0,yuwei,0.5,0)color80ffff;
stickline(yuwei<0 and yuwei<ref(yuwei,1),0,yuwei,4,0)color1b7411;
stickline(yuwei<0 and yuwei<ref(yuwei,1),0,yuwei,3,0)color17a715;
stickline(yuwei<0 and yuwei<ref(yuwei,1),0,yuwei,1.5,0)color08d306;
stickline(yuwei<0 and yuwei<ref(yuwei,1),0,yuwei,0.5,0)color40ff00;
stickline(yuwei<0 and yuwei>ref(yuwei,1),0,yuwei,4,0)color080e71;
stickline(yuwei<0 and yuwei>ref(yuwei,1),0,yuwei,3,0)color0b0e8c;
stickline(yuwei<0 and yuwei>ref(yuwei,1),0,yuwei,1.52,0)color0905b0;
stickline(yuwei<0 and yuwei>ref(yuwei,1),0,yuwei,0.5,0)color0204f2;


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

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

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

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