Give NT preference over other application that are running - NinjaTrader | futures io social day trading
futures io futures trading


Give NT preference over other application that are running
Updated: Views / Replies:651 / 9
Created: by JimWalker Attachments:0

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Reply
 
Thread Tools Search this Thread
 

Give NT preference over other application that are running

  #1 (permalink)
Elite Member
Fairfax VA
 
Futures Experience: Beginner
Platform: NinjaTrader
 
Posts: 36 since Dec 2009
Thanks: 1 given, 22 received

Give NT preference over other application that are running

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.

I have created a NT Indicator that sets NinjaTrader's Process Priority to High, giving NT preference over other applications that are running. It has been saved in the Futures.io Download Area.

NT 8 Version: https://futures.io/local_links.php?action=ratelink&catid=27&linkid=1665
NT 7 Version: https://futures.io/download/ninjatrader-7/indicators/1666-download.html?view

Adding this Indicator to one chart in your Workspace will set NinjaTrader's Process Priority High 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.

Everyone trading with NT should run this indicator or running at High Process Priority should be coded into NinjaTrader.

Reply With Quote
The following user says Thank You to JimWalker for this post:
 
  #2 (permalink)
Site Administrator
Manta, Ecuador
 
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
 
Big Mike's Avatar
 
Posts: 46,238 since Jun 2009
Thanks: 29,350 given, 83,221 received

I admire the ingenuity, but you might consider just setting it one time on start-up. Create a script that launches NinjaTrader, and then sets the priority, and it's done. Instead of an indicator that is constantly checking. You can replace the shortcut with a link to the script.

Changing Windows process priority via command line - Super User

This was the approach I used 5-6 years ago when I was using NT and wanted to accomplish the opposite of your intent, by setting NT to a lower priority since I was using it mainly for backtesting.

Mike

Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
6)
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.

Reply With Quote
The following user says Thank You to Big Mike for this post:
 
  #3 (permalink)
Site Administrator
Manta, Ecuador
 
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
 
Big Mike's Avatar
 
Posts: 46,238 since Jun 2009
Thanks: 29,350 given, 83,221 received


Actually here is what I used exactly, it's even simpler.

unix - Windows Equivalent of 'nice' - Stack Overflow

Mike

Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
6)
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.

Reply With Quote
The following user says Thank You to Big Mike for this post:
 
  #4 (permalink)
Elite Member
Fairfax VA
 
Futures Experience: Beginner
Platform: NinjaTrader
 
Posts: 36 since Dec 2009
Thanks: 1 given, 22 received

Your suggestion for Below Normal and Low Priority is a very good one. Currently the Indicator's Priority Parameter allows selection of Above Normal, or Normal. It is two line of NinjaScript to add the new ones.

The only Indicator overhead is an OnStateChange() test for (State == State.Configure), which would be done when Chart is loaded or Indicator parameters changed. If NT's Process Priority is already set to the specified Priority Parameter then nothing is done. Otherwise, NT's Process Priority is set to the Parameter value. There is no OnBarUpdate processing.


Last edited by JimWalker; October 20th, 2015 at 03:28 PM.
Reply With Quote
The following 2 users say Thank You to JimWalker for this post:
 
  #5 (permalink)
Administrator: Retired Backtester
 Vendor: speedytradingservers.com 
Rennes France
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: IB/Kinetick
Favorite Futures: Futures
 
sam028's Avatar
 
Posts: 3,366 since Jun 2009
Thanks: 3,572 given, 3,982 received

Unless having a run-queue higher than the available CPU, let's say a run-queue of 12 with only 4 cores, then I don't think that will help.
If you mine bitcoins or search for E.T. with SETI project while using trading with NinjaTrader then it might help!

Success requires no deodorant! (Sun Tzu)
Reply With Quote
The following user says Thank You to sam028 for this post:
 
  #6 (permalink)
Site Administrator
Manta, Ecuador
 
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
 
Big Mike's Avatar
 
Posts: 46,238 since Jun 2009
Thanks: 29,350 given, 83,221 received


sam028 View Post
Unless having a run-queue higher than the available CPU, let's say a run-queue of 12 with only 4 cores, then I don't think that will help.
If you mine bitcoins or search for E.T. with SETI project while using trading with NinjaTrader then it might help!

Agreed setting higher priority won't help speed anything up with Ninja. Lower priority did help though for backtesting, to still have a responsive machine.

Mike

Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
6)
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.

Reply With Quote
 
  #7 (permalink)
Elite Member
Fairfax VA
 
Futures Experience: Beginner
Platform: NinjaTrader
 
Posts: 36 since Dec 2009
Thanks: 1 given, 22 received


sam028 View Post
. . . I don't think that will help. . . .

I will be traveling for a couple of weeks. When I return I will convert another of my NT 7 Indicators. Testing it will also test your hypothesis and the improvement from NT 8 multi-threading. Will post the results. Thanks for your comments. Jim


Last edited by JimWalker; October 20th, 2015 at 07:31 PM.
Reply With Quote
 
  #8 (permalink)
Elite Member
Fairfax VA
 
Futures Experience: Beginner
Platform: NinjaTrader
 
Posts: 36 since Dec 2009
Thanks: 1 given, 22 received

I have updated the NT 8 version with Big Mike's suggestion to add BelowNormal Priority value to selectable parameter. Other changes include:
New parm Show NT Priority.
Priority now also checked/set in State.Terminated.
Improved debugging information.
https://futures.io/local_links.php?catid=27&linkid=1665

Working on the NT 7 version to bring up to NT 8 level of features.

Reply With Quote
The following user says Thank You to JimWalker for this post:
 
  #9 (permalink)
Site Administrator
Manta, Ecuador
 
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
 
Big Mike's Avatar
 
Posts: 46,238 since Jun 2009
Thanks: 29,350 given, 83,221 received

Notifications sent.

Mike

Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
6)
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.

Reply With Quote
 
  #10 (permalink)
Elite Member
Fairfax VA
 
Futures Experience: Beginner
Platform: NinjaTrader
 
Posts: 36 since Dec 2009
Thanks: 1 given, 22 received


NT 7 version of SetNinjaTradersPriorityHigh now has all NT 8 features.

Updated: Oct 22, 2015 8:30AM - New Priority value of BelowNormal. New parm ShowNTPriority. Priority changed only when required. New parameter Debug message to Output Window.

Reply With Quote

Reply



futures io > > > > Give NT preference over other application that are running

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Linda Bradford Raschke: Reading The Tape

Elite only

Adam Grimes: TBA

Elite only

NinjaTrader: TBA

January

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to keep positions running when shutting down NT? jiorose NinjaTrader 7 October 7th, 2015 06:14 PM
Drawing on NT charts from external application alexbbfg NinjaTrader Programming 1 August 30th, 2015 11:48 AM
NT Indicator that would give me colors between 2 functions? tracy NinjaTrader 2 March 18th, 2014 01:20 PM
is this a good deal for running NT? supermht Tech Support 5 November 27th, 2013 03:19 PM
Frustration: NT not running with MBTrading jmjstrider The Elite Circle 2 May 27th, 2011 05:18 PM


All times are GMT -4. The time now is 03:30 AM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts
Page generated 2017-12-13 in 0.13 seconds with 19 queries on phoenix via your IP 54.226.132.197