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:	135
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:	115
Size:	20.0 KB
ID:	1306218
    Click image for larger version

Name:	2024-06-05_10-41-35.png
Views:	103
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 Mindset, 04-21-2026, 06:46 AM
      0 responses
      87 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      132 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      68 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by cmoran13, 04-16-2026, 01:02 PM
      0 responses
      118 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      67 views
      0 likes
      Last Post PaulMohn  
      Working...
      X