Class AverageWinTradeParameter
- Namespace
- StockSharp.Algo.Statistics
- Assembly
- StockSharp.Algo.dll
Average winning trade.
[Display(ResourceType = typeof(LocalizedStrings), Name = "AverageWin", Description = "AverageWinTrade", GroupName = "Trades", Order = 105)]
public class AverageWinTradeParameter : BaseStatisticParameter<decimal>, IStatisticParameter<decimal>, ITradeStatisticParameter, IStatisticParameter, IPersistable, INotifyPropertyChanged
- Inheritance
-
AverageWinTradeParameter
- Implements
-
IPersistable
- Inherited Members
- Extension Methods
Constructors
AverageWinTradeParameter()
Initialize AverageWinTradeParameter.
public AverageWinTradeParameter()
Methods
Add(PnLInfo)
To add information about new trade to the parameter.
public void Add(PnLInfo info)
Parameters
info
PnLInfoInformation on new trade.
Load(SettingsStorage)
To load the state of statistic parameter.
public override void Load(SettingsStorage storage)
Parameters
storage
SettingsStorageStorage.
Reset()
To reset the parameter value.
public override void Reset()
Save(SettingsStorage)
To save the state of statistic parameter.
public override void Save(SettingsStorage storage)
Parameters
storage
SettingsStorageStorage.