Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Expected Behavior of Calculate on Bar Close When Indicator Calls Indicator
Collapse
X
-
Expected Behavior of Calculate on Bar Close When Indicator Calls Indicator
What is the expected behavior when one indicator calls another and the settings for Calculate on Bar Close for the two indicators is not consistent? Should or must one pass that setting as a Property to insure consistency?Tags: None
-
Is it the intention of ninjatrader to allow indicators to be set to different COBC states? So that if you strategy is set to cobc=false but you want some indicators to calc only on bar close you can set the cobc=true in the indicator and they will only calc on bar close or will it automatically take the condition set in the strategy. So if the strat is cobc=false, all indicators called will be COBC=false regardless of what code is within the indicator initialize method?
Comment
-
neb1998,
Thank you for your post.
The value you set in the initialize method will set the default settings for COBC.
Each indicator and strategy can be set to its own settings by changing the Indicator or Strategy parametrs. The value it is set to from the indicator or strategy parameters will be the state the current indicator or strategy runs in.MatthewNinjaTrader Product Management
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
578 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
334 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
101 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
553 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
551 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment