Key concepts in this example:
- Simple text/string manipulation ideas
Important related documentation:
C#
NinjaTrader 8
NinjaTrader 7
Note: A related sample demonstrating how to format numbers can be found here.
Import instructions:
NinjaTrader 8
- Download the file contained in this thread to your PC desktop
- From the Control Center window, select the menu Tools > Import > NinjaScript
- Select the downloaded file
NinjaTrader 7
- Download the file contained in this thread to your PC desktop
- From the Control Center window, select the menu File > Utilities > Import NinjaScript
- Select the downloaded file and click Import.