Click or drag to resize

TrailBaseIsTrailingStep Method

Called if the position is trailed. Return true on new trailing step. Implement method for inherited classes. The last trailed price is in lastTrailed member.

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 abstract bool IsTrailingStep(
	MarketPosition position,
	Entry entry
)

Parameters

position
Type: MarketPosition
Current market position: Long or Short
entry
Type: MZpack.NT8.AlgoEntry
The trailed entry

Return Value

Type: Boolean
See Also