TrailBase Class |
Namespace: MZpack.NT8.Algo
public abstract class TrailBase
The TrailBase type exposes the following members.
Name | Description | |
---|---|---|
IsTrailed |
True if entry is being trailed.
| |
TrailingPrice |
Current price of stop loss order or trailing price.
|
Name | Description | |
---|---|---|
GetTrailingPrice |
Called if the position is trailed. Return current traling price. Implement method for inherited classes.
| |
IsBeginTrailing |
Called if the position has been opened. Return true on begin of trailing. Implement method for inherited classes.
| |
IsTrailingStep |
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.
| |
OnExecution | ||
OnOrderUpdate | ||
OnPositionUpdate |
Name | Description | |
---|---|---|
Calculate | ||
hasPosition | ||
lastTrailed |