Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Slope Condition

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

    Slope Condition

    Hi, I'm hoping you can show me how to add a condition to a set in the strategy builder:

    The condition occurs when the thicker dark blue line (ADXVMA indicator) is sloping up for more than 4 bars. I'm pretty sure I can do this in strategy builder but just don't know the exact settings to use in the wizard to add this condition. Thanks, Mitch
    Attached Files

    #2
    Hello mmenigma,

    If you mean the overall slope between the first and second point you can use the Misc -> Slope method.
    Set the Series 1 to the indicator
    Set the Start bar to 4 bars ago
    Set the operator in the center to Greater
    Compare this to Misc -> Numeric value 0 on the right

    Click image for larger version

Name:	2024-06-05_10-36-26.png
Views:	121
Size:	22.2 KB
ID:	1306217

    If you want to ensure every bar value from the plot is greater than the previous bar's value
    Select the Indicator -> Indicator name
    Select Greater as the operator
    Compare this to the same Indicator on the right, with Bars ago set to 1
    Add a new condition to the set
    Select the Indicator -> Indicator name
    Set Bars ago to 1
    Select Greater as the operator
    Compare this to the same Indicator on the right, with Bars ago set to 2​
    Add a new condition to the set
    Select the Indicator -> Indicator name
    Set Bars ago to 2
    Select Greater as the operator
    Compare this to the same Indicator on the right, with Bars ago set to 3
    Add a new condition to the set
    Select the Indicator -> Indicator name
    Set Bars ago to 3
    Select Greater as the operator
    Compare this to the same Indicator on the right, with Bars ago set to 4

    Click image for larger version

Name:	2024-06-05_10-40-50.png
Views:	94
Size:	20.0 KB
ID:	1306218
    Click image for larger version

Name:	2024-06-05_10-41-35.png
Views:	92
Size:	22.7 KB
ID:	1306219
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Thank you Chelsea. Awesome as always.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      116 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      61 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      40 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      43 views
      0 likes
      Last Post TheRealMorford  
      Started by Mindset, 02-28-2026, 06:16 AM
      0 responses
      82 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X