Change Optimization Column Width
Author: Panache
Creation Date: 11/29/2016 3:39 PM
profile picture

Panache

#1
In the Optimization Results window, is there any way I can change the default column widths? Concretely, I'd like to make the Net Profit column wide enough to show the Net Profit of each run when Results are displayed.
profile picture

Eugene

#2
Sorry, that's beyond the API capabilities.
profile picture

Panache

#3
One thing that helped is that I created a Performance Visualizer that rounds the net profit to the nearest dollar and displays 0 decimal places. That frees up three characters of width and lets me show net profit up to 9 digits.
profile picture

Panache

#4
The InitializeComponent method of the WealthLab.Visualizers.MS123.2012.07.demo does let you control the column width in Trades+, however.
profile picture

Eugene

#5
Aren't we talking about the Optimization Results window, so what does Trades+ have to do with it? Please clarify as I don't understand.
profile picture

Panache

#6
Perhaps it is off topic, but I was just mentioning that while Performance Visualizers can't affect Optimization column width, they do allow you to change the column width in Trades +.
profile picture

Eugene

#7
Sure. You've got the code and can customize the width as you please, rearrange or even delete columns in Trades+. For example you could name it Trades++ and also hide its Trades+ ancestor in the Preferences dialog.
profile picture

Panache

#8
One suggestion, the next time you redo the performance visualizers, you might want to add:

CODE:
Please log in to see this code.


I think it is easier to read when all the decimal points, commas and dates line up.
profile picture

Eugene

#9
Excellent suggestion. Will do. Thanks.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).