联系方式 Contact

云指标公式网

淘宝:zb-mart.taobao.com

电话:18020657357

Q Q:396950280

网址:www.yzhibiao.com

搜索 Search
你的位置:首页 > 公式动态 > 飞狐公式

主图配量柱图

2014-12-1 13:12:44点击:

副图看量是许多人的习惯。本人要增加一个副图指标来盯盘,主图被缩小了又看不惯,就试着把量柱图放在主图里显示,感觉不错。特发帖送给大家,希望有人喜欢
源码如下:
AA:=SYSPARAM(4);
BB:=SYSPARAM(5);
CC:=BB-(AA-BB+MINDIFF)/5;
DD:=HHV(VOL,SYSPARAM(3)-SYSPARAM(2)+1);
yvb:=DD[SYSPARAM(3)]/(BB-CC+MINDIFF);
EE:=VOL/yvb+CC;

STICKLINE(CLOSE>REF(CLOSE,1),CC,EE,3,0) ,color0000FF; 
STICKLINE(CLOSE>REF(CLOSE,1),CC,EE,3,0) ,color55FFFF;
STICKLINE(CLOSE>REF(CLOSE,1),CC,EE,3,0) ,color5555FF;
STICKLINE(CLOSE>REF(CLOSE,1),CC,EE,3,0) ,color555FFF;
STICKLINE(CLOSE>REF(CLOSE,1),CC,EE,3,0) ,color55F5FF; 
STICKLINE(CLOSE>REF(CLOSE,1),CC,EE,3,0) ,color5500FF;
STICKLINE(CLOSE>REF(CLOSE,1),CC,EE,2,0) ,color0055FF;
STICKLINE(CLOSE>REF(CLOSE,1),CC,EE,1,0) ,color5050FF;
STICKLINE(CLOSE<=REF(CLOSE,1),CC,EE,3,0),color00FF00;
STICKLINE(CLOSE<=REF(CLOSE,1),CC,EE,3,0),color55FF00;
STICKLINE(CLOSE<=REF(CLOSE,1),CC,EE,3,0),color00FF55;
STICKLINE(CLOSE<=REF(CLOSE,1),CC,EE,3,0),color55FF55;
STICKLINE(CLOSE<=REF(CLOSE,1),CC,EE,3,0),color05FF50;
STICKLINE(CLOSE<=REF(CLOSE,1),CC,EE,3,0),color50FF05;
STICKLINE(CLOSE<=REF(CLOSE,1),CC,EE,2,0),color0FFFF0;
STICKLINE(CLOSE<=REF(CLOSE,1),CC,EE,1,0),colorFOFFOF;
二日:MA(EE,2),COLORFFFFFF;
五日:MA(EE,5)COLOR00FFFF;
二十日:MA(EE,20)COLORFF00FF;