All the applications running on your computer equally share your computer's resources. The NinjaTrader application runs at Normal Priority with all the other applications. Especially during fast markets, when other applications are running on your computer, NT is not processing incoming data as quickly as your computer would allow and possibly losing trade data from your market data service. By default, this Indicator sets NinjaTrader's Process Priority to High, giving it preference over other applications that are running.
This Indicator allows you to set NT's Process Priority to one of four values: High, Above Normal, Normal, or BelowNormal. You may want to use High during your trading day and Normal at other times. You could also set it to BelowNormal to do backtesting in the background while you use your computer for other tasks. Remember to set it back before the trading day starts. There is a priority higher than High, but it should never be used for an application. Real-time priority is the highest priority. It’s a higher priority than mouse input, keyboard input, and the disk cache.
Adding this Indicator to one chart in your Workspace will set NinjaTrader's Process Priority until you exit NT or you change it. The Indicator will check before setting the Priority and do nothing if Priority is already set to the Priority specified in its parameter.
"Windows shares the processor time between all running processes based upon their priority level in a round-robin fashion. If a process has a higher priority, it gets more processor time compared to a process having a lower priority. . . . The changes you make to the priority level of the current instance of an application or process are only temporary and not set permanently. Once you close the application or restart the PC, Windows will automatically set the priority back to default for the process or application."
Indicator - SetNinjaTradersPriorityHigh
Select Priority - Select High, Above Normal, Normal, or BelowNormal for NinjaTrader's Process Priority. The Default is High.
If changed then must change in all instances of Priority in my Indicators LEDOnMarketDataLast, LEDOnMarketDataBidAsk, or DataFeedMonitor. Otherwise, last Priority in Workspace will prevail.
Hide Indicator Name - Prevent display of Indicator's name at top of chart if true. Default is false. See screenshot.
Show NT Priority - Display NT's Priority at top of chart. Default is true. See screenshot.
To have nothing displayed at top of chart set Hide Indicator Name parameter to true and Show NT Priority to false. See screenshot.
Debug message to Output Window - If true then debugging Output messages printed.
|Created By||James.R.Walker (Jim W.)|
|File Size||2.8 KB|
|# of Downloads||527|
Importing to NinjaTrader 7 is Easy!
To import your 3rd party app or add-on to NinjaTrader, simply follow these 3 steps:
- Download the app or add-on file to your desktop
- From the NinjaTrader Control Center window, select the menu File > Utilities > Import NinjaScript
- Select the downloaded file from your desktop
Visit the NinjaScript File Sharing discussion in the NinjaTrader user forum to interact with fellow traders and the NinjaTrader support team.