MZpack 3 API Help
MZpack 3 API Help
MZpack.NT8.Algo
Position Class
Position Methods
CancelClose Method
CancelPendingOrders Method
Close Method
Enter Method
HasPendingLimitOrders Method
HasTrailedEntries Method
IsEntryOrder Method
OnExecution Method
OnMarketDepth Method
OnOrderUpdate Method
OnPositionUpdate Method
ResetAttempts Method
SetStopLossProfitTarget Method
StateToSignalDirection Method
Position
StateToSignalDirection Method
Converts position state to direction of signal. E.g. PositionState.Long => SignalDirection.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#
Copy
public
static
SignalDirection
StateToSignalDirection
(
PositionState
_state
)
Parameters
_state
Type:
MZpack.NT8.Algo
PositionState
Return Value
Type:
SignalDirection
Signal direction.
See Also
Reference
Position Class
MZpack.NT8.Algo Namespace
MZpack for NinjaTrader 8
https://www.mzpack.pro
Send comments on this topic to
support@mzpack.pro