AlertRule

StockSharp.Alerts

Rule.

Implements: IPersistable

Constructors

AlertRule
public AlertRule()
alertRule = AlertRule()

Initializes a new instance of the AlertRule.

Properties

Field
public AlertRuleField Field { get; set; }
value = alertRule.Field
alertRule.Field = value

Message property, which will be made a comparison with the value of Value based on the criterion Operator.

Operator
public ComparisonOperator Operator { get; set; }
value = alertRule.Operator
alertRule.Operator = value

The criterion of comparison values Value.

Value
public object Value { get; set; }
value = alertRule.Value
alertRule.Value = value

Comparison value.

Methods

Load
public void Load(SettingsStorage storage)
alertRule.Load(storage)

Load settings.

storage
Settings storage.
Save
public void Save(SettingsStorage storage)
alertRule.Save(storage)

Save settings.

storage
Settings storage.