I have a workspace which contains the strategies I want to run every day. I arrange them in a cascading order which makes it easier for me to use, with each strategy partially overlapping the previous strategy.
If I add a new strategy, modify the layout and then save the workspace, the layout is not the same when I reopen the workspace. Specifically, the most recently added strategy opens on top of the other strategies, even though it was partially covered by other strategies in the cascade when I saved the workspace.
If I go into the *.ws file and reorder the entries based on the first value in Bounds, the workspace opens as intended. Is there an easier way to do this?
Size:
Color:
Who knows. You can try to experiment with reordering your chart windows before saving.
Size:
Color:
Thanks Eugene. I tried that initially.
After looking at the *.ws file, I believe when a new strategy is added and the workspace is saved, Wealth-Lab simply appends the information for the new strategy (including its location within the Wealth-Lab window) to the existing strategy information. When Wealth-Lab opens a workspace, I'm guessing it reads the *.ws file sequentially and opens each strategy in the saved location.
If that's all true, I didn't expect there would be a simple solution. I'll continue using my workaround.
Size:
Color:
I've tried it out and you're right. The new windows always appear on top. Reordering the new entry succeeds by manually moving its section in the *.ws file to the right position. Clumsy but it works.
Size:
Color:
In case anyone wants to modify their *.ws file to change the order that the strategies open, the first two entries
CODE:
Please log in to see this code.
should not be moved and should always be at the beginning of the file.
The entry for each strategy begins with
CODE:
Please log in to see this code.
and ends with the blank line after
CODE:
Please log in to see this code.
Happy hacking!
Size:
Color: