IBarDescriptionFactoryCreateMomentum Method

GF API Documentation
Creates momentum BarDescription

Namespace:  GF.Api.Subscriptions.Bars
Assembly:  GF.Api (in GF.Api.dll) Version: dd7171be68430789135ec75c4e9f4bbfeca31201
Syntax

BarDescription CreateMomentum(
	int interval,
	bool isIgnoreSessionBoundaries
)

Parameters

interval
Type: SystemInt32
ticks amount
isIgnoreSessionBoundaries
Type: SystemBoolean
False to cut bars on session boundaries

Return Value

Type: BarDescription
Bar Description
Remarks

Cuts bars by "Interval" range (>= High-Low) and session breaks
See Also

Reference