Add bar data (OHLCV and DateTime) to indicator.
Namespace:
FinAnalysis.Base
Assembly:
FinAnalysis.Base (in FinAnalysis.Base.dll) Version: 2.1.13-cc97e13414b71fde928e8f3a546ac1daf26f295f
Syntax bool Add(
double open,
double high,
double low,
double close,
double volume,
DateTime time
)
Parameters
- open
- Type: SystemDouble
Open price of the current bar. - high
- Type: SystemDouble
Highest price of the current bar. - low
- Type: SystemDouble
Lowest price of the current bar. - close
- Type: SystemDouble
Close price of the current bar. - volume
- Type: SystemDouble
Market volume on current bar. - time
- Type: SystemDateTime
Current date time.
Return Value
Type:
Boolean Returns true if and only if the indicator updated it's value.
See Also