Adds a bar to the list
Namespace:
SharpCharts.Base.Data
Assembly:
SharpCharts.Base (in SharpCharts.Base.dll) Version: 1.0.0.42 (1.0.0.42)
Syntax public bool Add(
DateTime time,
double open,
double high,
double low,
double close,
double bid,
double ask,
long volume,
long openInterest,
bool isRealTime
)
Parameters
- time
- Type: SystemDateTime
Time - open
- Type: SystemDouble
Open - high
- Type: SystemDouble
High - low
- Type: SystemDouble
Low - close
- Type: SystemDouble
Close - bid
- Type: SystemDouble
Bid Price - ask
- Type: SystemDouble
Ask Price - volume
- Type: SystemInt64
Volume - openInterest
- Type: SystemInt64
Open Interest - isRealTime
- Type: SystemBoolean
Is added in real time or historical bar
Return Value
Type:
BooleanChecks if the update is successful or not. If successful then the indicators/strategies will be updated (realtime only)
See Also