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
Strategy will not enable
Collapse
X
-
Strategy will not enable
I am unable to a strategy to enable. I am using the order flow cumulative delta in the strategy. In the Log i have the message Order Flow Cumulative Delta tried to load additional data. All data must first be loaded by the hosting Ninjascript in its configure state. Any help would be appreciatedTags: None
-
Hello kudos,
Thanks for your post.
When using the Order Flow Cumulative Delta indicator in a NinjaScript strategy, you must add a 1-Tick series to the strategy by calling AddDataSeries() in OnStateChange() when State == State.Configure since the indicator requires a 1-Tick series to calculate values. If you do not include a 1-Tick additional data series, this error message will appear.
See this help guide page for more information about accessing Order Flow Cumulative Delta values and sample code: https://ninjatrader.com/support/help...ive_delta2.htm
And, see the attached sample script demonstrating how to print out the Delta Close value of the Order Flow Cumulative Delta indicator in a custom NinjaScript.
Let me know if I may further assist.Attached FilesBrandon H.NinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by wzgy0920, 02-22-2024, 01:11 AM
|
5 responses
32 views
0 likes
|
Last Post
by wzgy0920
Today, 10:33 PM
|
||
Started by wzgy0920, Yesterday, 09:53 PM
|
2 responses
49 views
0 likes
|
Last Post
by wzgy0920
Today, 10:29 PM
|
||
Started by Kensonprib, 04-28-2021, 10:11 AM
|
5 responses
191 views
0 likes
|
Last Post
by Hasadafa
Today, 10:19 PM
|
||
Started by GussJ, 03-04-2020, 03:11 PM
|
11 responses
3,230 views
0 likes
|
Last Post Today, 08:07 PM | ||
Started by andrewtrades, Today, 04:57 PM
|
1 response
15 views
0 likes
|
Last Post Today, 05:02 PM |
Comment