Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Using the Slope Indicator With Enhanced Options NT8 in Strategy Builder

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    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.

    Click image for larger version

Name:	image.png
Views:	206
Size:	6.1 KB
ID:	1310528

    #2
    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.​

    Comment


      #3
      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 CarlTrading, 03-31-2026, 09:41 PM
      1 response
      43 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      21 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      30 views
      1 like
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      50 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      40 views
      0 likes
      Last Post CarlTrading  
      Working...
      X