Click or drag to resize

Entry Constructor (Strategy)

Initializes a new instance of the Entry class

Namespace:  MZpack.NT8.Algo
Assembly:  MZpack.NT8.Pro (in MZpack.NT8.Pro.dll) Version: 3.18.1.0 (3.18.1.0)
Syntax
C#
public Entry(
	Strategy strategy
)

Parameters

strategy
Type: MZpack.NT8.AlgoStrategy
Parent strategy.
Examples
Creates an entry instance
C#
Entry entry = new Entry(Strategy)
{
    EntryMethod = EntryMethod.Market,
    Quantity = 1,
    SignalName = @"My signal",
    StopLossTicks = 10,
    ProfitTargetTicks = 30,
    IsBreakEven = true,
    BreakEvenAfterTicks = 15,
    BreakEvenShiftTicks = 2,
    Trail = new Trail(20, 8, 1)
};
See Also