Creating Chart WPF (UI) Modifications from an Indicator
<< Click to Display Table of Contents >> Creating Chart WPF (UI) Modifications from an Indicator |
NinjaTrader's extensive C# backend allows for powerful expandability that is unmatched in other trading platforms. Within the context of C# and NinjaScript it is possible to manipulate the window in which the NinjaScript is added. This example demonstrates how chart window modifications can be performed to add your own WPF controls to your chart for custom functionality. These window modifications could be, but are not limited to: adding custom buttons, menus or toolbars.
•Adding your own toolbar with WPF Controls to the left/right side of a chart
•Adding your own toolbar with WPF Controls to the top of a chart
•Adding WPF Controls to the MainMenu title bar of a chart window
•Adding custom WPF Controls to Chart Trader
•Modifying existing Chart Trader buttons
C#
•Grid
•Menu
NinjaTrader
1.Download the file contained in this Help Guide topic to your PC desktop
2.From the Control Center window, select the menu Tools > Import > NinjaScript
3.Select the downloaded file