# ChartCandlestick

Represents one open, high, low, and close value.

 Struct  

`ChartForgeX.Core`

**Namespace**

`ChartForgeX.Core`

**Assembly**

`ChartForgeX`

**Source**

[ChartCandlestick.cs:44](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartCandlestick.cs#L44)

**Base**

`ValueType`

**Modifiers**

sealed

Represents one open, high, low, and close value.

## Inheritance

- ValueType
- ChartCandlestick

## Usage

 Explore 12 API references to this type 

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 1

- Property [ChartSeries.FinancialValues](/api/chartforgex-core-chartseries/#property-financialvalues)

### Accepted by parameters 11

- Method [Chart.AddCandlestick](/api/chartforgex-core-chart/#method-addcandlestick-string-collections-generic-ienumerable-chartforgex-core-chartcandlestick-nullable-chartforgex-primitives-chartcolor) parameter `candles`
- Method [Chart.AddCandlestick``1](/api/chartforgex-core-chart/#method-addcandlestick-string-collections-generic-ienumerable-func-chartforgex-core-chartcandlestick-nullable-chartforgex-primitives-chartcolor) parameter `observation`
- Method [Chart.AddOhlc](/api/chartforgex-core-chart/#method-addohlc-string-collections-generic-ienumerable-chartforgex-core-chartcandlestick-nullable-chartforgex-primitives-chartcolor) parameter `values`
- Method [Chart.AddOhlc``1](/api/chartforgex-core-chart/#method-addohlc-string-collections-generic-ienumerable-func-chartforgex-core-chartcandlestick-nullable-chartforgex-primitives-chartcolor) parameter `observation`
- Extension method [ChartSeries.FinancialValues](/api/chartforgex-core-chartseries/#extension-financialvalues-chartforgex-core-chartseries-action-chartforgex-core-chartcandlestick-system-int32-chartforgex-core-chartfinancialitemoptions) parameter `configure`
- Method [ChartSeries.ApplyFinancialChanges](/api/chartforgex-core-chartseries/#method-applyfinancialchanges-collections-generic-ienumerable-chartforgex-core-chartobservationchange-chartforgex-core-chartcandlestick-nullable-system-int32-int32-threading-cancellationtoken) parameter `changes`
- Method [ChartSeries.CreateCandlestick](/api/chartforgex-core-chartseries/#method-createcandlestick-chartforgex-core-chartseriesid-string-collections-generic-ienumerable-chartforgex-core-chartcandlestick-nullable-chartforgex-primitives-chartcolor) parameter `values`
- Method [ChartSeries.CreateOhlc](/api/chartforgex-core-chartseries/#method-createohlc-chartforgex-core-chartseriesid-string-collections-generic-ienumerable-chartforgex-core-chartcandlestick-nullable-chartforgex-primitives-chartcolor) parameter `values`
- Method [ChartSeries.ReplaceFinancialValues](/api/chartforgex-core-chartseries/#method-replacefinancialvalues-collections-generic-ienumerable-chartforgex-core-chartcandlestick) parameter `values`
- Method [ChartSeries.UpdateFinancialValue](/api/chartforgex-core-chartseries/#method-updatefinancialvalue-int32-chartforgex-core-chartcandlestick) parameter `value`
- Method [ChartSeriesFluent.FinancialValues](/api/chartforgex-core-chartseriesfluent/#method-financialvalues-chartforgex-core-chartseries-action-chartforgex-core-chartcandlestick-system-int32-chartforgex-core-chartfinancialitemoptions) parameter `configure`

 Filter members   

    Show inherited   

 

## Constructors

 ChartCandlestick 2 overloads 

 `public ChartCandlestick(double x, double open, double high, double low, double close)` [#](#constructor-ctor-double-double-double-double-double) 

[ChartCandlestick.cs:44](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartCandlestick.cs#L44)

Initializes a new instance of the [ChartCandlestick](/api/chartforgex-core-chartcandlestick/) struct.

Parameters

**x double required**

The horizontal coordinate.

**open double required**

The opening value.

**high double required**

The highest value.

**low double required**

The lowest value.

**close double required**

The closing value.

 `public ChartCandlestick(DateTime x, double open, double high, double low, double close)` [#](#constructor-ctor-datetime-double-double-double-double) 

[ChartCandlestick.cs:66](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartCandlestick.cs#L66)

Initializes a new instance of the [ChartCandlestick](/api/chartforgex-core-chartcandlestick/) struct from a date/time x value.

Parameters

**x System.DateTime required**

The date/time x value.

**open double required**

The opening value.

**high double required**

The highest value.

**low double required**

The lowest value.

**close double required**

The closing value.

## Inherited Methods

 `public override bool Equals(object? obj)` [#](#method-equals-object) 

Inherited from ValueType

Parameters

**obj object? required**

Returns

 `bool` 

 `public override int GetHashCode()` [#](#method-gethashcode) 

Inherited from ValueType

Returns

 `int` 

 `public Type GetType()` [#](#method-gettype) 

Inherited from object

Returns

 `Type` 

 `public override string? ToString()` [#](#method-tostring) 

Inherited from ValueType

Returns

 `string?` 

## Fields

 `public readonly double X` [#](#field-x) 

[ChartCandlestick.cs:13](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartCandlestick.cs#L13)

Gets the horizontal coordinate.

 `public readonly double Open` [#](#field-open) 

[ChartCandlestick.cs:18](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartCandlestick.cs#L18)

Gets the opening value.

 `public readonly double High` [#](#field-high) 

[ChartCandlestick.cs:23](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartCandlestick.cs#L23)

Gets the highest value.

 `public readonly double Low` [#](#field-low) 

[ChartCandlestick.cs:28](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartCandlestick.cs#L28)

Gets the lowest value.

 `public readonly double Close` [#](#field-close) 

[ChartCandlestick.cs:33](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartCandlestick.cs#L33)

Gets the closing value.

<!-- PowerForge markdown artifact sha256:1E739D1FC661DB633048471DB430FFB26C211785A62FE54D0F0F554860D77D9E -->
