Version: 1.1
Strategy Name in NT: ChangeFontNinjaTrader
Only tested for NT7
This code makes use of a strategy to change the default font within Ninja Trader. Add the strategy to the Strategy tab within the control panel. Choose your font and enable the strategy. The font will stay on whatever you choose until Ninja Trader is restarted. To reset back to the original font choose Default from the strategy and re-enable. Disable the strategy once the font is set.
Couple of notes:
- The code makes use of the active window condition. This means if you keep in enabled then goto a chart or a edit strategy it will change some of the fonts within the menus and options boxes.
- The code is setup to add additional fonts. See the "Font Types" section of the code.
- when adding additional fonts be sure to use a "_" underscore where ever there is a space.
- Add a comma to the end of the font name.
- The name spelling must be exact or it will change the font to the default setting.
Example of an entry:
Comic_Sans_MS,
Instructions can be found here on how to add a font type: https://nexusfi.com/ninjatrader-programming/20711-change-font-control-panel-ninja-trader.html
Final note:
Although this should not mess anything else up within Ninja Trader, be sure to use caution when using code which changes the default settings of a program. In other words: use at your own risk!!
SD
Category The Elite Circle
|
|
|