I'm storing this information for each invocation of my strategies so that I can readily recreate the same set of parameters if I wish to do so.
Can you please tell me how I can programmatically access the current value of the "Price Based On" field in the parameters table?
Thanks.
--------
For the record, and for anyone else who wants to access this information, here are the other elements that I've found (many converted to strings for consistent reference). You need to assign these to an appropriate variable in order to actually use them:
--- Data Series
this.BarsPeriod.Value.ToString(); //Type
this.BarsPeriod.Id; // Value
this.Instrument.ToString(); //Instrument
--- Time Frame
this.Days2Load.ToString(); // Days to load
this.SessionData.ToString(); // Session Template
--- General
this.Account.Name; //Account
this.StrategyData.Strategy.CalculateOnBarClose // Calculate on Bars Close
this.Name; //Label
this.MaximumBarsLookBack.ToString(); //Maximum bars look back
this.BarsRequired.ToString(); //Min Bars Required
--- Historical Fill Processing
this.FillType.ToString(); //Fill type
this.Slippage.ToString(); //Slippage
--- Order Handling
this.EntriesPerDirection.ToString(); //Entries per direction
this.EntryHandling.ToString(); //Entry Handling
this.ExitOnClose.ToString(); // Exit on Close
this.ExitOnCloseSeconds.ToString(); // Exit on Close Seconds
this.StopTargetHandling.ToString(); //Stop & Target Submission
this.SyncAccountPosition.ToString(); //Sync Account Position
--- Order properties
this.QuantityType.ToString(); //Set Order Quantity
this.AccountSize.ToString(); // Account Size (for Order Quantity by account size)
this.DefaultQuantity.ToString(); // Default quantity (for Order quantity by default)
this.TimeInForce.ToString(); //Time in Force

Comment