Click or drag to resize

NodeUpgradeDirection Method

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.

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 static SignalDirection UpgradeDirection(
	SignalDirection source,
	SignalDirection upgrade
)

Parameters

source
Type: MZpack.NT8.AlgoSignalDirection
upgrade
Type: MZpack.NT8.AlgoSignalDirection

Return Value

Type: SignalDirection
See Also