Name: SetNinjaTradersPriorityHigh Version 1.1
Exported with: NT 64-bit 7.0.1000.27
To Import Indicator Into NT 7:
1. Download the attached file by clicking on the blue downward arrow or the NT Chart image. Save the file. Do not open it.
2. From the Control Center window select the menu File > Utilities > Import NinjaScript.
3. Navigate to the folder that contains the .zip file download by your browser.
4. Select the downloaded .zip file then click the Open button.
Updated: Oct 22, 2015 8:30AM File & Text- New Priority value of BelowNormal. New parm Show NT Priority. Priority changed only when required. New parameter Debug message to Output Window.
Author: James R. Walker
NT 8 Version available https://nexusfi.com/local_links.php?catid=27&linkid=1665
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.
Adding this Indicator to one chart in your Workspace will set NinjaTrader's Process Priority until you exit NT. The Indicator will check before setting the Priority and do nothing if Priority is already set to the Priority specified in its parameter.
Quoting from https://www.eightforums.com/tutorials/23830-processor-priority-level-set-processes-windows-8-a.html : "Windows 8 shares the processor time between all running processes based upon their priority level. 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 8 will automatically set the priority back to default for the process or application."
Parameters:
Priority - Select High, Above Normal, Normal, or BelowNormal for NinjaTrader's Process Priority. The Default is High.
HideIndicatorName - Prevent display of indicator's name at top of chart if true. Default is false.
ShowNTPriority - Display NT's Priority at top of chart. Default is true.
To have nothing displayed at top of chart set HideIndicatorName parameter to true and ShowNTPriority to false.
Category NinjaTrader 7 Indicators
|
|
|