公式网-网站导航


网站搜索:  

公式在线网 发表于2013/9/29 11:06:10

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

{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;

 

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



网站搜索:  



Copyright © 2009-2010 gszb.com ™,All Rights Reserved. 
公式网-www.gszx.com.cn-股票指标公式网