公式指标论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

衷爱同花顺连载之-历史成交量(副图指标源码)

2015-6-25 01:42| 发布者: admin| 查看: 30| 评论: 0

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, colorcyan;
换手: 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;

仅仅提供源码


鲜花

握手

雷人

路过

鸡蛋
返回顶部