Every time when I change strategy's parameter, strategy starts, and my pc hangs all the time. How can I start the strategy only by pushing button "Go"?
Size:
Color:
Size:
Color:
QUOTE:
This convenient feature is by design and applies to single-symbol backtests only. Consequently, if you click on DataSet title to switch to multi-symbol mode before changing a parameter, the strategy will not re-execute.
To keep a specific ChartScript from executing right after it is opened, in Wealth-Lab Developer/Pro V4 you were placing {$NO_AUTO_EXECUTE} in your ChartScript; usually at the top. Wealth-Lab Developer/Pro 6 lacks this directive.
It is not that I want
I want to change period, timeframe, position size, parameters
If I do something of these strategy starts. What for is the button "Go" then???
Size:
Color:
QUOTE:
It is not that I want
Really? Your words were: "Every time when I
change strategy's parameter..."
QUOTE:
I want to change period, timeframe, position size, parameters
And now this is different to what you asked before, don't you find it?
Changing "Scale", "Data Range", or "Position Size" will re-run the Strategy. There's no point to change them if you don't want immediate reaction. This behavior is by design and is not subject to change. If your PC "hangs all the time", your code efficiency may be suboptimal so you need to work on its improvement and follow my advice on data collection.
The Go button is there to execute an already compiled Strategy. Hence the "Run..." button is equivalent to "Compile" + "Go".
Size:
Color:
QUOTE:
"Really? Your words were: "Every time when I change strategy's parameter...""
In Russian all of these ( period, timeframe, position size, parameter) are strategy's parameters
I change Data Range and then want to Optimize and I need wait 30-40 s. It's very inconveniently
Think about it, please
I think it'll be good to use button "Go"
Size:
Color:
In Wealth-Lab, Strategy Parameters is a term coined in the User Guide > Programming Trading Strategies > Strategy Parameters (a.k.a. Straps). I've edited the misleading topic title to better reflect your request.
We are not going to make changes to the way the program works just because someone's code is slow. If you're dissatisfied with your strategy's performance, you should either consider to program it in a more speed-wise manner or keep in mind that selecting from the dropdown lists should be made when you're about to execute a Strategy. Also when in testing mode, consider loading less data to speed up its processing and keep your data always up to date.
Size:
Color:
QUOTE:
The Go button is there to execute an already compiled Strategy. Hence the "Run..." button is equivalent to "Compile" + "Go".
There are 2 buttons when using Editor
And no button when use the whole Wealth-Lab
Size:
Color:
As suggested in a
related discussion, you might also want to:
1) make an intentional syntax error in your strategy and compile it, or
2) add a logic (e.g. using a "binary" Strategy parameter) to
Abort() Strategy execution by default and only activate it when the Strap has been changed to the proper position
In other words, don't expect a Wealth-Lab's behavior to change (because it's a mature application). Instead, being a bit more creative pays off.
Size:
Color:
If you really want a Go button, put a message box at the beginning of your program.
CODE:
Please log in to see this code.
Size:
Color:
WOW, Super!
Thank you very much
You saved my time
Size:
Color: