I was exploring the strategy wizard in NT8 this evening, and State.SetDefaults looked like this at the end of it:
protected override void OnStateChange() { if (State == State.SetDefaults) { Description = @"Trying this out..."; Name = "SampleStrat"; Calculate = Calculate.OnBarClose; EntriesPerDirection = 1; EntryHandling = EntryHandling.AllEntries; IsExitOnSessionCloseStrategy = true; ExitOnSessionCloseSeconds = 60; IsFillLimitOnTouch = false; MaximumBarsLookBack = MaximumBarsLookBack.TwoHundredFiftySix; OrderFillResolution = OrderFillResolution.Standard; Slippage = 0; StartBehavior = StartBehavior.WaitUntilFlat; TimeInForce = TimeInForce.Gtc; TraceOrders = false; RealtimeErrorHandling = RealtimeErrorHandling.StopCancelClose; StopTargetHandling = StopTargetHandling.PerEntryExecution; BarsRequiredToTrade = 10; } else if (State == State.Configure) { } }
Is there such a reference, or is it a matter of exploring different categories above and seeing what those options are?
I will say that... one of the infuriating and frustrating things about working with NT7 was the Help Guide having really cryptic, incomplete code samples and references. The NT8 guide is much better, but I'd still like to see some depth on configurable options like this.
Thanks in advance for any help you can give.
Yours,
Spider
Comment