In NT7 we could control programmatically the start/enabled state of a strategy...
Part of this was simply possible by setting in the base class constructor:
NT7.StrategyBase.Enabled=true
In NT8 this has been replaced:
However i am not as able to find a replacement for this in code...
such as this.State=State.Start
I don't want to start hacking around resorting to trapping the events from the strategy list where you set enabled=true and click OK..... etc
Please can you add this or tell me a workaround etc or maybe reflection is the way...
Really This is a vital piece of fuinctionality - For commercial usage and more professional or power usage of NinjaTrader imagine a scenario where...
servers with NT7 are on trading with 100 realtime strategies in sim or live
controlled by automation - (which would take many hours to stop and start.....manually)
Typical workflow
at end of week - close all positions shutdown NinjaTrader
server data download and backup routines
restart server
start NT
Kill off any model dialogues
connect
load workspace
charts appear and strategies on the charts - startup
if positions are flat or bound to etc -- autotrade can begin.. if not signal trade help desk.
NT is ready to trade with the strategies on the market open...etc...
This is vital for us if we are to move commercials into NT8
many thanks
Tom
Comment