Skip to content
ChartForgeX
Class

ChartFinancialOptions

ChartForgeX.Core

Namespace
ChartForgeX.Core
Assembly
ChartForgeX
Modifiers
sealed
Attributes
Fluent(Copy = "Clone")

Direction-specific candlestick body, wick and OHLC stroke options.

Inheritance

  • object
  • ChartFinancialOptions

Usage

Explore 13 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.

Accepted by parameters 8

Constructors

public ChartFinancialOptions() #

Properties

public ChartFinancialItemOptions Rising { get; set; } #

Gets options for observations whose close is greater than or equal to their open, including doji.

public ChartFinancialItemOptions Falling { get; set; } #

Gets options for observations whose close is less than their open.

Extension Methods

Falling 2 overloads
public static ChartFinancialOptions Falling(ChartFinancialOptions chartFinancialOptions, ChartFinancialItemOptions value) #

Sets ChartFinancialOptions.Falling: Gets options for observations whose close is less than their open.

Parameters

chartFinancialOptions ChartForgeX.Core.ChartFinancialOptions required
The instance.
value ChartForgeX.Core.ChartFinancialItemOptions required
The value.

Returns

ChartFinancialOptions The same instance.

Examples

// C# initializer or property                                              // C# fluent
new global::ChartForgeX.Core.ChartFinancialOptions { Falling = value };    chartFinancialOptions.Falling(value);
public static ChartFinancialOptions Falling(ChartFinancialOptions chartFinancialOptions, Action<ChartFinancialItemOptions> configure) #

Configures a copy of ChartFinancialOptions.Falling (a new one when not set) and assigns a copy of it once the callback returns, leaving the property unchanged when the callback throws: Gets options for observations whose close is less than their open.

Parameters

chartFinancialOptions ChartForgeX.Core.ChartFinancialOptions required
The instance.
configure System.Action<ChartForgeX.Core.ChartFinancialItemOptions> required
Configures the copy.

Returns

ChartFinancialOptions The same instance.
Rising 2 overloads
public static ChartFinancialOptions Rising(ChartFinancialOptions chartFinancialOptions, ChartFinancialItemOptions value) #

Sets ChartFinancialOptions.Rising: Gets options for observations whose close is greater than or equal to their open, including doji.

Parameters

chartFinancialOptions ChartForgeX.Core.ChartFinancialOptions required
The instance.
value ChartForgeX.Core.ChartFinancialItemOptions required
The value.

Returns

ChartFinancialOptions The same instance.

Examples

// C# initializer or property                                             // C# fluent
new global::ChartForgeX.Core.ChartFinancialOptions { Rising = value };    chartFinancialOptions.Rising(value);
public static ChartFinancialOptions Rising(ChartFinancialOptions chartFinancialOptions, Action<ChartFinancialItemOptions> configure) #

Configures a copy of ChartFinancialOptions.Rising (a new one when not set) and assigns a copy of it once the callback returns, leaving the property unchanged when the callback throws: Gets options for observations whose close is greater than or equal to their open, including doji.

Parameters

chartFinancialOptions ChartForgeX.Core.ChartFinancialOptions required
The instance.
configure System.Action<ChartForgeX.Core.ChartFinancialItemOptions> required
Configures the copy.

Returns

ChartFinancialOptions The same instance.