Node Class |
Namespace: MZpack.NT8.Algo
public abstract class Node : ViewModelBase, ICloneable
The Node type exposes the following members.
Name | Description | |
---|---|---|
Direction |
Direction of the signal.
| |
EntryPrice |
Price for the entry. Assign it at the moment of validation of the signal.
| |
Nodes |
Child nodes.
| |
Parent |
Parent node.
| |
Tree |
The tree in which the node is included.
|
Name | Description | |
---|---|---|
AddChild |
Adds node to the child nodes of the node.
| |
AssignTree | ||
CheckSyntax | ||
Clone | ||
GetHeight | ||
GetLegendText | ||
GetLogDescription | ||
GetNodesT | ||
GetRange | ||
Invert |
Inverts the direction.
| |
IsDetermined |
True if the direction is Long or Short.
| |
IsLongAllowed |
True if direction is Long or Any.
| |
IsOppositeDirections |
True if direction a is opposite to direction b, and a, b are both determined.
| |
IsShortAllowed |
True if direction is Short or Any.
| |
LogDescriptions |
Logs the node.
| |
OnCalculate(MarketDataEventArgs, Int32, SignalDirection) | ||
OnCalculate(MarketDepthEventArgs, Int32, SignalDirection) | ||
OnMarketEvent | ||
OnPatternValidated | ||
Reset | ||
ResolveDirection |
Returns resulting direction of two directions. Note: can returns SignalDirection.Any.
| |
ToLegendView | ||
TryReset |
Reset the signal depending on IsReset property.
True if the signal is reset anyway.True if view of the signal should be reset. | |
UpgradeDirection |
Returns upgraded source direction: None => Long, Short, Any; Long => Long, Any; Short => Short, Any; Any => Any.
Example 1: source = Long, upgrade = Short, returns Any.
Example 2: source = Long, upgrade = None, returns Long.
|