Hello, I am developing a strategy in which I wanted to measure the slope or accumulated delta momentum. In the attached strategy I don't get any error when compiling. However, when I try to turn it on in a chart it turns off automatically. I have tried both the slope and the momentum and the same thing happens. I have also tried using open instead of close and it doesn't solve anything either. I am looking forward to your response, Thank you aslope.zip
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Slope or momentum cummulative delta
Collapse
X
-
Slope or momentum cummulative delta
Hello, I am developing a strategy in which I wanted to measure the slope or accumulated delta momentum. In the attached strategy I don't get any error when compiling. However, when I try to turn it on in a chart it turns off automatically. I have tried both the slope and the momentum and the same thing happens. I have also tried using open instead of close and it doesn't solve anything either. I am looking forward to your response, Thank you aslope.zipTags: None
-
Hello manueldecastro,
Thanks for your post.
When a strategy (or indicator) is not performing as expected, the first check is to review the "Log" tab of the control center as any "run time" type errors will be displayed. A compiler cannot assess run time type conditions, so use the :"Log" tab to observe a scripts error performance.
In this case there will be an error advising that the Order Flow Cumulative Delta indicator tried to load additional data. When called by another script (host script), the host script must provide the data needed by the Order Flow Cumulative delta indicator. In addition the host script must add code to keep the indicator synchronized.
Please review the help guide here: https://ninjatrader.com/support/help...ive_delta2.htm
The help guide has two examples of how to accomplish this.
-
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
90 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
137 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
68 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|
||
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
120 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
69 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|

Comment