SuperDOM Column
<< Click to Display Table of Contents >> SuperDOM Column |
Custom SuperDOM Columns can be used to add additional functionality to the SuperDOM window. The methods and properties covered in this section are unique to custom SuperDOM column development.
Tip: The system SuperDOM Columns which ship with NinjaTrader are open source and you can review their implementation from the NinjaScript Editor SuperDOMColumn folder, or by using the text editor of your choice by reviewing the source code located in Documents\NinjaTrader 8\bin\Custom\SuperDomColumns |
Provides Level 2 information for a SuperDOMColumn. |
|
Called and guaranteed to be in the correct sequence for every change in level one market data for the underlying instrument. The OnMarketData() method updates can include but is not limited to the bid, ask, last price and volume. |
|
Called every time an order changes state. An order will change state when a change in order quantity, price or state (e.g. working to filled) occurs. |
|
Called every time a position changes state. |
|
This method should be used any time you wish to repaint the column instead of calling OnRender() directly. |
|
Used to draw custom content to the SuperDOM Column, such as a Grid. |
|
Called when the column is restored (e.g. from a workspace). |