Click or drag to resize

BarResampling Constructor (IBarTradeSignal, Int32, Boolean)

Initializes a new instance of BarResampling.

Namespace:  FinAnalysis.Transformations
Assembly:  FinAnalysis (in FinAnalysis.dll) Version: 2.1.13-cc97e13414b71fde928e8f3a546ac1daf26f295f
Syntax
C#
public BarResampling(
	IBarTradeSignal nextChainLink,
	int resamplingFactor,
	bool validateVolume
)

Parameters

nextChainLink
Type: FinAnalysis.BaseIBarTradeSignal
Next chain link for transformation chain or bar indicator.
resamplingFactor
Type: SystemInt32
Resampling factor. We compress data series in resamplingFactor times.
validateVolume
Type: SystemBoolean
Set this flag if you need volume value validation.
Exceptions
ExceptionCondition
ArgumentExceptionThrown when you try to specify resampling factor smaller than one.
See Also