Click or drag to resize

TrailBase Class

Base abstract class for trailing an entry.
Inheritance Hierarchy

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 class TrailBase

The TrailBase type exposes the following members.

Constructors
  NameDescription
Public methodTrailBase
Initializes a new instance of the TrailBase class
Top
Properties
  NameDescription
Public propertyIsTrailed
True if entry is being trailed.
Public propertyTrailingPrice
Current price of stop loss order or trailing price.
Top
Methods
  NameDescription
Public methodGetTrailingPrice
Called if the position is trailed. Return current traling price. Implement method for inherited classes.
Public methodIsBeginTrailing
Called if the position has been opened. Return true on begin of trailing. Implement method for inherited classes.
Public methodIsTrailingStep
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.
Public methodOnExecution
Public methodOnOrderUpdate
Public methodOnPositionUpdate
Top
Fields
See Also