Is it possible to have two price pane in one char window but half and half?
I tried CreatePane but the pane is too smaller than PricePane.
Size:
Color:
CreatePane(100, .. ) should just about split it. Just play with the parameter. You can also drag the panes to size them manually.
Size:
Color:
I actually played and tied 40, 80 and 120...but neither worked for me. 100 works perfect! Thanks!
By the way, is it possible to get current color settings (e.g. up/down bar color and trade arrows color) from the PricePane?
Size:
Color:
Did you mean automatically?
Size:
Color:
If it can be done automatically, that would be great.
But I was wondering if the script can access to the color property of the price pane.
Size:
Color:
If I'm not overlooking something, this property doesn't seem to be exposed. I could think of parsing WealthLabConfig.txt directly to get the value, but that's not elegant.
Size:
Color:
You can use ChartStyle.GetBarColor.
Size:
Color:
ChartStyle.GetBarColor seems defined to take one int argument.
What int value should I use to get up-bar color and down-bar color?
Size:
Color:
It's the bar number. Here's some code that I used in Trending.ChartStyles to discover the color settings.
CODE:
Please log in to see this code.
Size:
Color: