Timeframe Structure

GF Charts Help
Describes parameters of chart timeframe, including tick-based charts

Namespace:  GF.Clients.Charts.Utils
Assembly:  GF.Clients.Charts (in GF.Clients.Charts.dll) Version: a2f537322cdaf87d2796303449681c087e96766d
Syntax

public struct Timeframe : IComparable<Timeframe>

The Timeframe type exposes the following members.

Constructors

  NameDescription
Public methodTimeframe(Boolean, Int32)
Public methodTimeframe(BarUnit, Int32)
Public methodTimeframe(SubscriptionType, Int32, Boolean)
Top
Properties

  NameDescription
Public propertyIsAggregatedFrame
Public propertyIsDaily
Determinates whether the timeframe describes daily charts
Public propertyIsTimeBased
Public propertyMinutes
Size of bars in minutes. It has no sense in tick-based charts
Public propertySize
Size of bars
Public propertySubscriptionType
Public propertyTimeSpan
Size of bars as TimeSpan. It has no sense in tick-based charts
Top
Methods

  NameDescription
Public methodCompareTo
Public methodStatic memberConvert
Public methodStatic memberCreate
Public methodEquals (Overrides ValueTypeEquals(Object).)
Public methodStatic memberFromMinutes
Creates a time-based Timeframe from minutes
Public methodStatic memberFromTimeSpan
Public methodGetHashCode (Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns the human readable description of the timeframe
(Overrides ValueTypeToString.)
Public methodStatic memberUnitAlias
Public methodStatic memberUnitMinutes
Top
Operators

  NameDescription
Public operatorStatic memberEquality
Public operatorStatic memberInequality
Top
Fields

  NameDescription
Public fieldIgnoreSessionBoundaries
Size of bars
Public fieldIsVolumeBased
Determinates whether the timeframe describes volume-based bars
Public fieldStatic memberStandardValues
A list of standard timeframes that available in a Chart panel
Public fieldSubTimeframe
Public fieldUnit
Unit of bars
Top
See Also

Reference