当前位置:首页 > 飞狐公式 > 内容

飞狐新版成交量副图指标

作者:公式指标网   更新时间:2016-04-27   点击:

飞狐新版成交量副图指标

源码

VOL,volstick , COLORWHITE; 
Var2:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN)); 
Var3:=IF(CLOSE>OPEN,Var2*(HIGH-LOW),IF(CLOSE< OPEN,Var2*(HIGH-OPEN+CLOSE-LOW),VOL/2))/(IF(CLOSE>OPEN,0-Var2*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE< OPEN,0-Var2*(HIGH-LOW),0-VOL/2))*(-1))-IF(CLOSE>OPEN,0-Var2*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE< OPEN,0-Var2*(HIGH-LOW),0-VOL/2))*(-1)/IF(CLOSE>OPEN,Var2*(HIGH-LOW),IF(CLOSE< OPEN,Var2*(HIGH-OPEN+CLOSE-LOW),VOL/2)); 
Var4:=IF(CLOSE>OPEN,Var2*(HIGH-LOW),IF(CLOSE< OPEN,Var2*(HIGH-OPEN+CLOSE-LOW),VOL/2))-IF(CLOSE>OPEN,0-Var2*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE< OPEN,0-Var2*(HIGH-LOW),0-VOL/2))*(-1); 
Var5:=IF(CLOSE>OPEN,Var2*(HIGH-LOW),IF(CLOSE< OPEN,Var2*(HIGH-OPEN+CLOSE-LOW),VOL/2)); 
Var6:=IF(CLOSE>OPEN,0-Var2*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE< OPEN,0-Var2*(HIGH-LOW),0-VOL/2))*(-1); 
成交量比: Var3,volstick, COLORGREEN;
买比: Var5/VOL*100, , COLORYELLOW; 
卖比: Var6/VOL*100, , COLORFFFF33;
换手: VOL/CAPITAL*100,volstick , COLORWHITE; 
市值: CAPITAL/100*CLOSE/10000, , COLORYELLOW; 
STICKLINE(Var5,VOL,0,8,1), , COLORRED; 
STICKLINE(Var6,VOL/Var5+VOL/Var6+Var5/Var6+Var6/Var5+Var6,0,8,0), , COLORGREEN;

飞狐新版成交量副图指标

资源下载

相关文章

热门推荐

移动端首页 | PC端

© by gszx.com.cn Mobile Web