Backtester
Backtester BacktesterReturns the Backtester instance for the Strategy window.
API documentation, members, signatures, and C# examples.
Find classes, members, and documentation.
The IStrategyHost interface allows Performance Visualizers and other components to communicate with their host Strategy window. It provides access to the Strategy and its Backtester instances, methods for navigating and charting results, running the Strategy with Parameter overrides, and information about the selected Broker and account.
Backtester BacktesterReturns the Backtester instance for the Strategy window.
Backtester BenchmarkBacktesterReturns the Backtester instance that ran the buy and hold benchmark comparison for the Strategy window.
void ChartPosition(Position pos)void ChartSymbolAtBar(string symbol, int idx)Causes the Strategy window to display the chart for the specified symbol and scroll to the bar specified by idx.
void ChartThisSymbol(string symbol, DataSet ds)void ParameterDefaultsChanged()void RunWithOverrides(List<double> overrides, string symbol = null)void SaveParameterDefaults(List<double> paramValues)string SelectedAccountReturns the account identifier currently selected in the Strategy window.
BrokerBase SelectedBrokerReturns the BrokerBase instance currently selected in the Strategy window.
void ShowTabPage(StrategyWindowTab tab)Causes the Strategy window to switch to the tab page specified by tab.
Strategy Strategyvoid WriteToStatusBar(string txt, WLColor color = null)Writes the specified txt to the Strategy window's status bar. Optionally pass a color to control the color used to display the text.
Ask the community or explore custom development services.