UpdateBar()

View as Markdown

Definition

Updates a data point in our Bars Type.

Syntax

UpdateBar(Bars bars, double high, double low, double close, DateTime time, long volumeAdded)

Parameters

ParameterDescription
barsThe Bars object of your bars type
highA double value representing the high price
lowA double value representing the low price
closeA double value representing the close price
timeA DateTime value representing the time
volumeA long value representing the volume

Examples

1UpdateBar(bars, high, low, close, time, volume);