in a VPS installation with a Control Centre having 64 strategies added to it, I am having a problem when sometimes clicking the Enabled button that the button immediately goes off again, and the strategy is not running.
In the Output Window it shows just the **NT ** Enabling NinjaScript .... text but not the ** NT ** Disabling NinjaScript ...text.
I have put print statements in the Initialize, OnStartUp and OnBarsUpdate and only the Initialize is being executed. The Initialise() completes ok.
Meanwhile, a virtually identical strategy on the same instrument WILL run just fine. It would seem not to be a problem with the instrument's data. It isn't a problem with the stratgey code, as the strategy will run fine at other times, or right now on a different instrument.
The problem is random.
There are no messages in the Log tab.
Please advise.
Cheers,
saltminer
Comment