Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
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 arvidvanstaey, Today, 02:19 PM
|
4 responses
11 views
0 likes
|
Last Post Today, 04:08 PM | ||
Started by samish18, 04-17-2024, 08:57 AM
|
16 responses
61 views
0 likes
|
Last Post
by samish18
Today, 03:30 PM
|
||
Started by jordanq2, Today, 03:10 PM
|
2 responses
9 views
0 likes
|
Last Post
by jordanq2
Today, 03:23 PM
|
||
Started by traderqz, Today, 12:06 AM
|
10 responses
18 views
0 likes
|
Last Post
by traderqz
Today, 02:49 PM
|
||
Started by algospoke, 04-17-2024, 06:40 PM
|
5 responses
48 views
0 likes
|
Last Post Today, 02:36 PM |
Comment