Click or drag to resize

ControlPanel Class

Demonstrates MZpack Control Panel with custom and built-in controls. There are two ways to add controls to MZpack Control Panel: 1. Adding [ControlPanel] attribute to a public property. These types can be added: bool, enum. 2. Using CreateControlPanelElements() overrider to create any controls with custom handlers. The strategy: Opens LONG for Up-bar, opens SHORT for Down-bar. The strategy is OnBarClose.
Inheritance Hierarchy
SystemObject
  NinjaScript
    NinjaScriptBase
      StrategyBase
        StrategyRenderBase
          MZpack.NT8.AlgoMZpackStrategyBase
            NinjaTrader.NinjaScript.Strategies.MZpackAPISamplesControlPanel

Namespace:  NinjaTrader.NinjaScript.Strategies.MZpackAPISamples
Assembly:  MZpack.NT8.Pro (in MZpack.NT8.Pro.dll) Version: 3.18.1.0 (3.18.1.0)
Syntax
C#
public class ControlPanel : MZpackStrategyBase

The ControlPanel type exposes the following members.

Constructors
  NameDescription
Public methodControlPanel
Initializes a new instance of the ControlPanel class
Top
Properties
Methods
See Also