The original script can be found on the NinjaTrader 8 Support Forum
using_bitmapimage_objects_with_buttons.htm
demoToolBarButton.cs
For demonstration, this NinjaTrader 8 Indicator loads a button (but excludes the bitmap) and assigns a Click event. This event simply toggles the printing of the Instrument Name and Description on to the chart.
This is a convenient solution to add custom button functionality to a NinjaTrader 8 Chart. (without the need to impliment WPF)
NinjaTrader 8 - Demo Tool Bar Button |
demoToolBarButton.cs