Skip to main content
Definition: LIBS/DotNetUtils/Phoenix.ModelCenter.PlugIn/AnalyzerVariables.cs (line 42) Interface which describes a provider of analyzer names for formulas or variables to be used in an analyzer.

Members

Properties

Property HasAnalyzerVariables

Definition: LIBS/DotNetUtils/Phoenix.ModelCenter.PlugIn/AnalyzerVariables.cs (line 47)
Does the plugin have analyzer variables? Return type: bool

Property SaveAllAnalyzerVariables

Definition: LIBS/DotNetUtils/Phoenix.ModelCenter.PlugIn/AnalyzerVariables.cs (line 52)
Should all variable values be saved when a trade study is run? Return type: bool

Property AnalyzerVariableNames

Definition: LIBS/DotNetUtils/Phoenix.ModelCenter.PlugIn/AnalyzerVariables.cs (line 66)
Get the analyzer variable names; the collection may be empty. Return type: ICollection< string >

Property AnalyzerVariableFormulas

Definition: LIBS/DotNetUtils/Phoenix.ModelCenter.PlugIn/AnalyzerVariables.cs (line 71)
Get the analyzer variable formulas; the collection may be empty. Return type: ICollection< string >

Events

Event AnalyzerVariablesCleared

Definition: LIBS/DotNetUtils/Phoenix.ModelCenter.PlugIn/AnalyzerVariables.cs (line 57)
Event fired when analyzer variables are cleared. Type: EventHandler

Event AnalyzerVariableAdded

Definition: LIBS/DotNetUtils/Phoenix.ModelCenter.PlugIn/AnalyzerVariables.cs (line 61)
Event fired when an analyzer variable is added. Type: AnalyzerVariableAddedEventHandler

Public functions

Function TryGetFormulaForAnalyzerVariable

Translate from analyzer name to formula for an analyzer variable. If the name contains an array index, will attempt to translate directly, and if that doesn’t work, will attempt to look up the base name and then append the index. Parameters:
  • analyzerName: The analyzer name.
  • formula: The formula, or null if not found.
Returns: True if found, false if not. Parameters:
  • string analyzerName
  • out string formula
Return type: bool

Function TryGetNameForAnalyzerVariable

Translate from formula to name for an analyzer variable. If the formula contains an array index, will attempt to translate directly, and if that doesn’t work, will attempt to look up the base name and then append the index. Parameters:
  • formula: The formula.
  • analyzerName: The name, or null if not found.
Returns: True if found, false if not. Parameters:
  • string formula
  • out string analyzerName
Return type: bool