Quick COBC NinjaTrader Question - futures io
futures io



Quick COBC NinjaTrader Question


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Fat Tails with 3 posts (0 thanks)
    2. looks_two Big Mike with 2 posts (0 thanks)
    3. looks_3 Quick Summary with 1 posts (0 thanks)
    4. looks_4 max-td with 1 posts (0 thanks)
    1. trending_up 3,292 views
    2. thumb_up 0 thanks given
    3. group 1 followers
    1. forum 6 posts
    2. attach_file 0 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
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

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

 
Search this Thread
 

Quick COBC NinjaTrader Question

(login for full post details)
  #1 (permalink)
 Fat Tails 
Berlin, Europe
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,858 since Mar 2010
Thanks: 4,238 given, 26,770 received

Some indicators should be exclusively used in CalculateOnBarClose = true setting, as

- the algorithm used may not be compatible with CalculateOnBarClose = false

- or the CPU load would be too high


A very brute way to achieve this would be to start OnBarUpDate() with the code snippet

 
Code
 
if (!CalculateOnBarClose) return;
and the indicator will display nothing with the false settings.


But is there anything more elegant, such as eliminating CalculateOnBarClose from the indicator dialogue settings?

Started this thread Reply With Quote

Can you help answer these questions
from other members on futures io?
Experience with AGN (Introducing Broker)
Brokers
1 min chart v-shape scan help please
ThinkOrSwim
For the experts of Metastock
Platforms and Indicators
MacdBB V402 NT804 + gradient + pullback not working on N …
NinjaTrader
Eurex Denali vs dxFeed
Sierra Chart
 
 
(login for full post details)
  #3 (permalink)
 Big Mike 
Site Administrator
Swing Trader
Data Scientist & DevOps
Manta, Ecuador
 
Experience: Advanced
Platform: Custom solution
Trading: Futures & Crypto
 
Big Mike's Avatar
 
Posts: 50,129 since Jun 2009
Thanks: 32,601 given, 98,784 received



Fat Tails View Post
Some indicators should be exclusively used in CalculateOnBarClose = true setting, as

- the algorithm used may not be compatible with CalculateOnBarClose = false

- or the CPU load would be too high


A very brute way to achieve this would be to start OnBarUpDate() with the code snippet

 
Code
 
if (!CalculateOnBarClose) return;
and the indicator will display nothing.


But is there anything more elegant, such as eliminating CalculateOnBarClose from the indicator dialogue settings?

You could force the issue in OnBarUpdate, thereby ignoring what the user selects.

 
Code
                            
if (!CalculateOnBarCloseCalculateOnBarClose true
Mike

We're here to help -- just ask

For the best trading education, watch our webinars
Searching for trading reviews? Review this list

Follow us on Twitter, YouTube, and Facebook

Support our community as an Elite Member:
https://futures.io/elite/

Visit other sites? Please spread the word about your experience with our community!
Follow me on Twitter Visit my futures io Trade Journal Reply With Quote
 
(login for full post details)
  #4 (permalink)
 max-td 
Frankfurt
 
Experience: Intermediate
Platform: NinjaTrader
Trading: FGBL 6E B4
 
max-td's Avatar
 
Posts: 1,754 since Jun 2009
Thanks: 2,309 given, 924 received

comment it out ( // CalculateOnBarClose) - this should work.
i saw this in indicators yet.

if it is faster then, i dont know.

max-td
Reply With Quote
 
(login for full post details)
  #5 (permalink)
 Fat Tails 
Berlin, Europe
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,858 since Mar 2010
Thanks: 4,238 given, 26,770 received


max-td View Post
comment it out ( // CalculateOnBarClose) - this should work.
i saw this in indicators yet.

if it is faster then, i dont know.

If I comment it out it will just be ignored but not compensate a false user setting.

Honestly, I don't undertstand this answer.

Started this thread Reply With Quote
 
(login for full post details)
  #6 (permalink)
 Fat Tails 
Berlin, Europe
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,858 since Mar 2010
Thanks: 4,238 given, 26,770 received


Big Mike View Post
You could force the issue in OnBarUpdate, thereby ignoring what the user selects.

 
Code
                            
if (!CalculateOnBarCloseCalculateOnBarClose true
Mike

Will try that, if it works, it is a good solution.

NT users are by now already used that is not up to them to select the features, so nobody will complain about it.

Started this thread Reply With Quote
 
(login for full post details)
  #7 (permalink)
 Big Mike 
Site Administrator
Swing Trader
Data Scientist & DevOps
Manta, Ecuador
 
Experience: Advanced
Platform: Custom solution
Trading: Futures & Crypto
 
Big Mike's Avatar
 
Posts: 50,129 since Jun 2009
Thanks: 32,601 given, 98,784 received


Fat Tails View Post
Will try that, if it works, it is a good solution.

NT users are by now already used that is not up to them to select the features, so nobody will complain about it.

Sure. If you are really kind, you could throw an Alert letting the user know you changed it and why.

Mike

We're here to help -- just ask

For the best trading education, watch our webinars
Searching for trading reviews? Review this list

Follow us on Twitter, YouTube, and Facebook

Support our community as an Elite Member:
https://futures.io/elite/

Visit other sites? Please spread the word about your experience with our community!
Follow me on Twitter Visit my futures io Trade Journal Reply With Quote


futures io Trading Community Platforms and Indicators NinjaTrader > Quick COBC NinjaTrader Question


Last Updated on December 6, 2010


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
 

Our 12-year anniversary w/ $$,$$$ prizes (check soon)

August
     



Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada), 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