Volume宽度
AB里Volume默认宽度是一根线,如何调到与价格的宽度一样?好像这样
本帖最後由 joshsmi 於 15-5-26 00:38 編輯
Plot( Volume,
"Volume",
IIf( C > O, ParamColor("Up Color", colorGreen ), ParamColor("Down Color", colorRed ) ),
ParamStyle( "Style", styleHistogram | styleThick, maskHistogram ),
minval = Null, maxval = Null, xshift = 0, zshift = 0, width = -60 ); width parameter can be percent of bar width (-100 to -10) or pixel width (1 to 10) joshsmi 發表於 15-5-26 00:42 static/image/common/back.gif
width parameter can be percent of bar width (-100 to -10) or pixel width (1 to 10)
非常好,谢谢!
有沒有辦法自動跟著zoom in/out 調整? lwhuang 發表於 15-5-26 13:38 static/image/common/back.gif
有沒有辦法自動跟著zoom in/out 調整?
??
If width has negative value then it does auto adjust to zoom factor.
joshsmi 發表於 15-5-26 19:08 static/image/common/back.gif
??
If width has negative value then it does auto adjust to zoom factor.
How to do it?
would you please show some example code?
本帖最後由 tusa 於 15-5-27 10:16 編輯
想請教怎樣用代碼去控制各圖表的高度?因放了6個指標圖, 但每次修改代碼及套用, 所有的圖表高度便變成均等高度, 要續個圖重新調整, 很麻煩~{:4_186:} tusa 發表於 15-5-27 10:13 static/image/common/back.gif
想請教怎樣用代碼去控制各圖表的高度?因放了6個指標圖, 但每次修改代碼及套用, 所有的圖表高度便變成均等 ...
你要的是應該是 layouts -> save as default
layout從menu->window->layouts叫出
lwhuang 發表於 15-5-27 09:54 static/image/common/back.gif
How to do it?
would you please show some example code?
Example has been given already in post #2 of this thread
See width parameter.
頁:
[1]