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

Name:	2024-06-05_10-41-35.png
Views:	111
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 CaptainJack, 05-29-2026, 05:09 AM
      0 responses
      163 views
      0 likes
      Last Post CaptainJack  
      Started by CaptainJack, 05-29-2026, 12:02 AM
      0 responses
      81 views
      0 likes
      Last Post CaptainJack  
      Started by charlesugo_1, 05-26-2026, 05:03 PM
      0 responses
      125 views
      0 likes
      Last Post charlesugo_1  
      Started by DannyP96, 05-18-2026, 02:38 PM
      1 response
      206 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      184 views
      0 likes
      Last Post CarlTrading  
      Working...
      X