主图配量柱图
副图看量是许多人的习惯。本人要增加一个副图指标来盯盘,主图被缩小了又看不惯,就试着把量柱图放在主图里显示,感觉不错。特发帖送给大家,希望有人喜欢
源码如下:
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;
- 上一篇:志文神线 2014/12/1
- 下一篇:多功能波段指标公式(源码) 2014/12/1