NexusFi: Find Your Edge


Home Menu

 





Indicators "Calculate on bar close" Question


Discussion in NinjaTrader

Updated
    1. trending_up 5,714 views
    2. thumb_up 3 thanks given
    3. group 3 followers
    1. forum 4 posts
    2. attach_file 0 attachments




 
Search this Thread

Indicators "Calculate on bar close" Question

  #1 (permalink)
 
whatnext's Avatar
 whatnext 
Rockland county , New York
 
Experience: Intermediate
Platform: NT 7
Trading: CL, 6E, SI, ZC
Posts: 230 since Mar 2011
Thanks Given: 338
Thanks Received: 81

Hoping to get some wisdom from the indicator gurus here who have been in my shoes.

I'd like to have NT chart indicators set to "Calculate on bar close" = 'False' , so they keep up with the current bar of price action (not lagging one bar behind current price), but am worried it will over stress the one processor core NT uses.

The computer is new with a Quad core Xeon W3565 (3.2 ghz) - 12 RAM - 10K RPM 300 Hard Drive.

The minimum I could do per instrument traded is two charts with a total of 19 indicators and a superDOM.

Do you think that will run smoothly?

If needed I can just apply the real time setting to some of the indicators. While also cutting down the number of historical days loaded AND increase the chart refresh interval (sec) slightly on the higher time frame chart.

I trade SI, CL and 6E but only one at a time.

Do you think I could have the six charts up but only use the real time indicator setting on the two charts of the instrument being traded?

Thanks a million for the responses - I know it's something that can just be tested - but I haven't had any problems with NT and don't want to create them.

"Be right and sit tight." - Jesse Livermore
Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Increase in trading performance by 75%
The Elite Circle
Better Renko Gaps
The Elite Circle
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
How to apply profiles
Traders Hideout
ZombieSqueeze
Platforms and Indicators
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
34 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
19 thanks
GFIs1 1 DAX trade per day journal
16 thanks
Vinny E-Mini & Algobox Review TRADE ROOM
13 thanks
  #2 (permalink)
 
redratsal's Avatar
 redratsal 
Milan (I)
 
Experience: Advanced
Platform: Ninjatrader
Broker: Kinetick
Trading: FDAX,6E,CL,YM,NQ,ES
Posts: 1,648 since Oct 2010
Thanks Given: 1,215
Thanks Received: 2,090


whatnext View Post
Hoping to get some wisdom from the indicator gurus here who have been in my shoes.

I'd like to have NT chart indicators set to "Calculate on bar close" = 'False' , so they keep up with the current bar of price action (not lagging one bar behind current price), but am worried it will over stress the one processor core NT uses.

The computer is new with a Quad core Xeon W3565 (3.2 ghz) - 12 RAM - 10K RPM 300 Hard Drive.

The minimum I could do per instrument traded is two charts with a total of 19 indicators and a superDOM.

Do you think that will run smoothly?

If needed I can just apply the real time setting to some of the indicators. While also cutting down the number of historical days loaded AND increase the chart refresh interval (sec) slightly on the higher time frame chart.

I trade SI, CL and 6E but only one at a time.

Do you think I could have the six charts up but only use the real time indicator setting on the two charts of the instrument being traded?

Thanks a million for the responses - I know it's something that can just be tested - but I haven't had any problems with NT and don't want to create them.

Why don't you install a cpu meter Most Wanted Windows Gadgets - Windows Vista and Windows 7 and check the performance of your computer.

Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #3 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102


If you use an indicator in CalculateOnBarClose = false mode, it will perform calculations with every incoming tick, and not just once, when the bar is completed.

You should avoid this, if you do not need the information.

My default workspace has 5 charts, and on each chart I have set some indicators to CalculateOnBarClose = false, because I want them to update in real-time. I have an old processor with a dual core, and I do not have problems so far.

This is what you can consider:

-> Only use indicators that are properly coded in a way that they can be updated without consuming 150% of the capacity of your CPU. Before using an indicator in CalculateOnBarClose = false mode you should either examine the code or test the indicator in real-time. Open a default chart and monitor CPU load without the indicator.
Then add the indicator 3 times with different settings to the chart, and monitor CPU load again

-> For monitoring CPU load download Process Explorer from the Microsoft website.

-> During the indicator test, the chart needs to be visible, if you cover the chart, this will reduce CPU load and this is not what you want during the test.

-> If you use indicators with custom plots, the plotting can consume CPU capacity as well. In this case try to increase the display update interval under chart properties to 0.5 sec. You do not need to have a new chart pciture 10 times per second.

-> Once you have tested your indicators individually, add all indicators that you want to use in CalculateOnBarClose = false mode to a default chart. Add some more of these charts and monitor CPU load.

Some indicators are awfully coded and cannot be run in CalculateOnBarClose = false mode.

Reply With Quote
Thanked by:
  #4 (permalink)
 
whatnext's Avatar
 whatnext 
Rockland county , New York
 
Experience: Intermediate
Platform: NT 7
Trading: CL, 6E, SI, ZC
Posts: 230 since Mar 2011
Thanks Given: 338
Thanks Received: 81

Thanks for the knowledgeable and thorough input. I'll gradually add more to act in real time and see how it handles. All the indicators used come standard from NT7.

"Be right and sit tight." - Jesse Livermore
Started this thread Reply With Quote
  #5 (permalink)
 
whatnext's Avatar
 whatnext 
Rockland county , New York
 
Experience: Intermediate
Platform: NT 7
Trading: CL, 6E, SI, ZC
Posts: 230 since Mar 2011
Thanks Given: 338
Thanks Received: 81

100 people on here must have dealt with the exact same thing and the input would still be very much appreciated to minimize the methodical testing.

The only helpful advice I can think of in exchange is that when ordering a workstation; only paying for 2 or three gb of factory ram, but then buying 12 gb (in 3 strips) of compatible Crucial or Kingston ECC to put in after, should save over $600...

A downside could be that the company gets pissed at what you are doing and will not inspect voltages as carefully. I ordered another workstation (Dell T3500) and noticed it shipped in 1/4 the time of their estimation.

Also on NT getting a 6 core CPU instead of a good 4 core isn't worth it because only one core is used.

"Be right and sit tight." - Jesse Livermore
Started this thread Reply With Quote




Last Updated on June 29, 2011


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
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.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts