How to stop strategy from executing when I first open it
Author: kelvinyip
Creation Date: 9/18/2019 1:16 PM
profile picture

kelvinyip

#1
Eugene

Sometimes when I open the strategy, it will start running with either single symbol or DataSet (but not running yet). I played with preference tab (remember symbol, dates, sizing) but still sometimes it comes up and runs the strategy for a single symbol.

Is there any code I can put it, so it will not run the very 1st time I open it so I can manually select something before running ?
profile picture

Eugene

#2
Sure there is. And it wouldn't take a big effort to discover it in the Knowledge Base (Wealth-Lab Wiki). ;) Yet the question has been asked many times before (my quick search resulted in at least 5 topics):

Disable strategy execution on program open - first time in 2009
Stop strategy from running automatically
How to avoid Strategy execution every time I change settings like timeframe, data range, position size?
Inhibit starting strategy for a backtest
Supression of automatic execution of Strategy
profile picture

kelvinyip

#3
oops, sorry
profile picture

Eugene

#4
Think nothing of it.
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).