OHLCData
public struct OHLCDataOHLC data structure for candlestick charts.
Fields
Section titled “Fields”
public float XReturns
System.Single
public float OpenReturns
System.Single
public float HighReturns
System.Single
public float LowReturns
System.Single
public float CloseReturns
System.Single
Volume
Section titled “Volume”public float VolumeReturns
System.Single
Constructors
Section titled “Constructors”
OHLCData(float, float, float, float, float, float)
Section titled “OHLCData(float, float, float, float, float, float)”public OHLCData(float x, float open, float high, float low, float close, float volume = 0)Creates one open-high-low-close sample at the specified X position, with optional volume metadata.
Parameters
| Name | Type |
|---|---|
x |
System.Single |
open |
System.Single |
high |
System.Single |
low |
System.Single |
close |
System.Single |
volume |
System.Single |
Methods
Section titled “Methods”
ToCandlestick()
Section titled “ToCandlestick()”public CandleStickMark ToCandlestick()Creates a candlestick mark from the price fields. Volume is not represented by the returned mark.
Returns
ChartGuru.CandleStickMark
Properties
Section titled “Properties”
IsBullish
Section titled “IsBullish”public bool IsBullish { get; }Returns
System.Boolean