Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Using the Slope Indicator With Enhanced Options NT8 in Strategy Builder
Collapse
X
-
Using the Slope Indicator With Enhanced Options NT8 in Strategy Builder
Good afternoon. I'm trying to incorporate the above listed indicator into a strategy and am having trouble. If the "color up" is above zero, it's green and less than or equal to zero changes to red. I thought by putting it in my condition window by selecting the indicator > 0 would satisfy the condition being met, but apparently it's not. I'm not even sure if it's plottable since no "plot" is listed in the indicator window. I'd appreciate any advice on how to access the slope number being generated by the indicator.
Tags: None
-
Hello medicmiked,
Thank you for your post.
If the indicator is available in the Strategy Builder, this suggests there is a plot and a value is assigned to that plot in the indicator's code.
I suggest debugging the script to see why your condition is not evaluating as true.
In order to better understand how the code is working, it will be necessary to use Print to see how the conditions are evaluating and enable TraceOrders to see if orders are being submitted, ignored, rejected, or cancelled.
I'm also including a link to a forum post with further suggestions on debugging a script.
Enable TraceOrders, print the time of the bar and all values used in the conditions that submit entry orders. Include labels for all values and comparison operators.
Let me know if you need any assistance creating a print or enabling TraceOrders.
Save the output from the output window to a text file and provide this with your reply.
I'll be happy to assist with analyzing the output.
-
After doing some more research on the forums, I was able to get into the code and assign the plot to a value that could be referenced in strategy builder. Thanks again for getting back with me though! Have a great week!
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Yesterday, 05:17 AM
|
0 responses
59 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
134 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
75 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
45 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
50 views
0 likes
|
Last Post
|

Comment