Click or drag to resize

RollingProfileAction Constructor (Strategy, StrategyVolumeProfileIndicator, StrategyVolumeProfileIndicator)

Initializes a new instance of the RollingProfileAction class

Namespace:  MZpack.NT8.Algo.Operations
Assembly:  MZpack.NT8.Pro (in MZpack.NT8.Pro.dll) Version: 3.18.1.0 (3.18.1.0)
Syntax
C#
public RollingProfileAction(
	Strategy strategy,
	StrategyVolumeProfileIndicator indicator,
	StrategyVolumeProfileIndicator outerProfileIndicator
)

Parameters

strategy
Type: MZpack.NT8.AlgoStrategy
Parent strategy.
indicator
Type: MZpack.NT8.Algo.IndicatorsStrategyVolumeProfileIndicator
Footprint indicator instance.
outerProfileIndicator
Type: MZpack.NT8.Algo.IndicatorsStrategyVolumeProfileIndicator
Outer profile indicator. Rolling profile is break on each new outer profile. Can be null
Examples
Creates RollingProfileOperation instance.
C#
Signal signal = new RollingProfileOperation(Strategy, volumeProfileIndicator, null)
{
     Calculate = MZpack.NT8.Algo.SignalCalculate.OnBarClose,  // How to calculate the operation: OnBarClose or OnEachTick
     BarsRange = 5
});
See Also