Skip to content
ChartForgeX
Class

ChartFinancialOptionsFluent

ChartForgeX.Core

Namespace
ChartForgeX.Core
Assembly
ChartForgeX
Modifiers
static

The fluent methods of ChartFinancialOptions, generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.

Inheritance

  • object
  • ChartFinancialOptionsFluent

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.