Click or drag to resize

Node Class

Base abstract class for any node of decision tree.
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 Node : ViewModelBase, 
	ICloneable

The Node type exposes the following members.

Constructors
  NameDescription
Public methodNode
Initializes a new instance of the Node class
Top
Properties
  NameDescription
Public propertyDirection
Direction of the signal.
Public propertyEntryPrice
Price for the entry. Assign it at the moment of validation of the signal.
Public propertyNodes
Child nodes.
Public propertyParent
Parent node.
Public propertyTree
The tree in which the node is included.
Top
Methods
  NameDescription
Public methodCode exampleAddChild
Adds node to the child nodes of the node.
Public methodAssignTree
Public methodCheckSyntax
Public methodClone
Public methodGetHeight
Protected methodGetLegendText
Public methodGetLogDescription
Public methodGetNodesT
Public methodGetRange
Public methodStatic memberInvert
Inverts the direction.
Public methodStatic memberIsDetermined
True if the direction is Long or Short.
Public methodStatic memberIsLongAllowed
True if direction is Long or Any.
Public methodStatic memberIsOppositeDirections
True if direction a is opposite to direction b, and a, b are both determined.
Public methodStatic memberIsShortAllowed
True if direction is Short or Any.
Public methodLogDescriptions
Logs the node.
Public methodOnCalculate(MarketDataEventArgs, Int32, SignalDirection)
Public methodOnCalculate(MarketDepthEventArgs, Int32, SignalDirection)
Public methodOnMarketEvent
Public methodOnPatternValidated
Protected methodReset
Public methodStatic memberResolveDirection
Returns resulting direction of two directions. Note: can returns SignalDirection.Any.
Public methodToLegendView
Public methodTryReset
Reset the signal depending on IsReset property. True if the signal is reset anyway.True if view of the signal should be reset.
Public methodStatic memberUpgradeDirection
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.
Top
See Also