Click or drag to resize

Signal Class

Base class for any signal of a pattern.
Inheritance Hierarchy
SystemObject
  ViewModelBase
    MZpack.NT8.AlgoNode
      MZpack.NT8.AlgoSignal
        More...

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 class Signal : Node

The Signal type exposes the following members.

Constructors
  NameDescription
Public methodSignal
Initializes a new instance of the Signal class
Public methodCode exampleSignal(Strategy, MarketDataSource, SignalCalculate, Boolean)
Initializes a new instance of the Signal class.
Top
Properties
  NameDescription
Public propertyCalculate
When the signal is calculated.
Public propertyCalculatedTime
Time when the signal/filter has been calculated (validated or not).
Public propertyChartRange
Bar/price range on the chart where the signal has been valdated.
Public propertyDescription
Textual description of validated signal.
Public propertyHasPrice
True if the price of the signal will be used in the decision tree.
Public propertyIsReset
True if the signal is re-calculated on relevant data event. Set it to False to keep the state of the signal after its validation. Note, that all signals in the tree will be reset after validation of the whole pattern.
Public propertyMarketDataSource
Type of market data processed by the signal.
Public propertyName
Public propertyPartiallyVisibleMode
Visibility of the signal in partially visible mode of the indicator.
Public propertyStrategy
Parent strategy.
Public propertyTime
Time when the signal has been validated.
Top
Methods
  NameDescription
Public methodAddChild
Throws DecisionTreeInvalidStructureException exception.
(Overrides NodeAddChild(Node).)
Protected methodGetBestEntryPrice
Protected methodGetCurrentBarAgo
Returns 'bars ago' value for Ninja data series for the current bar to use in OnCalculate().
Protected methodGetEntryPrice
Returns entry price. Returns current Bid price if Calculate == SignalCalculate.OnEachTick and direction == SignalDirection.Long. Returns current Ask price if Calculate == SignalCalculate.OnEachTick and direction == SignalDirection.Short. Returns bar close price if Calculate == SignalCalculate.OnBarClose.
Protected methodGetLegendText (Overrides NodeGetLegendText.)
Public methodGetLogDescription (Overrides NodeGetLogDescription.)
Public methodCode exampleOnCalculate(MarketDataEventArgs, Int32, SignalDirection)
Override in inherited class to implement calculation (validation) of signals based on Level 1 market data.
(Overrides NodeOnCalculate(MarketDataEventArgs, Int32, SignalDirection).)
Public methodOnCalculate(MarketDepthEventArgs, Int32, SignalDirection)
Override in inherited class to implement calculation (validation) of signals based on Level 2 market data.
(Overrides NodeOnCalculate(MarketDepthEventArgs, Int32, SignalDirection).)
Protected methodCode exampleReset
Override to hide plots of indicators used in the signal if required.
(Overrides NodeReset(Boolean).)
Public methodToLegendView (Overrides NodeToLegendView(DashboardLegendView, DashboardLegendViewItem, Int32).)
Public methodToString
Default textual presentation of the signal.
(Overrides ObjectToString.)
Public methodTryReset (Overrides NodeTryReset(Boolean, Boolean).)
Top
See Also
Inheritance Hierarchy
SystemObject
  ViewModelBase
    MZpack.NT8.AlgoNode
      MZpack.NT8.AlgoSignal
        MZpack.NT8.AlgoAction
        MZpack.NT8.Algo.SignalsBarDeltaSignal
        MZpack.NT8.Algo.SignalsBarIcebergsSignal
        MZpack.NT8.Algo.SignalsBarJoinedPOCsSignal
        MZpack.NT8.Algo.SignalsBarVolumeSignal
        MZpack.NT8.Algo.SignalsBarWickSignal
        MZpack.NT8.Algo.SignalsBigTradeSignal
        MZpack.NT8.Algo.SignalsDeltaRateSignal
        MZpack.NT8.Algo.SignalsDOMBlockSignal
        MZpack.NT8.Algo.SignalsDOMImbalanceSignal
        MZpack.NT8.Algo.SignalsFootprintAbsoprtionSignal
        MZpack.NT8.Algo.SignalsFootprintImbalanceSignal
        MZpack.NT8.Algo.SignalsFootprintSRZonesSignal
        MZpack.NT8.Algo.SignalsRelativeToProfileSignal
        MZpack.NT8.Algo.SignalsTradesClusterSignal
        MZpack.NT8.Algo.SignalsUpDownBarSignal
        MZpack.NT8.Algo.SignalsVolumeProfileDeltaSignal
        NinjaTrader.NinjaScript.Strategies.MZpackStrategies.ReversalAStrategyUnfinishedAuctionInRangeSignal
        NinjaTrader.NinjaScript.Strategies.MZpackStrategiesVolumeProfilePositionSignal