Click or drag to resize

BasePortfolioTHistoryCapacity Property

Set or Get indicator's history capacity. Do not set capacity for indicator if you already add data to it. If indicators HistoryTimeManaged flag is set, this value equal to volume of buffers. If indicators HistoryTimeManaged flag is not set, than indicator store exact HistoryCapacity its values.

Namespace:  FinAnalysis.Base
Assembly:  FinAnalysis.Base (in FinAnalysis.Base.dll) Version: 2.1.13-cc97e13414b71fde928e8f3a546ac1daf26f295f
Syntax
C#
public int HistoryCapacity { get; set; }

Property Value

Type: Int32
Exceptions
ExceptionCondition
ArgumentExceptionThrown when you try to specify capacity smaller than one.
InvalidOperationExceptionThrown when you try to specify capacity to indicator which is already in use.
See Also