Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

acending/decending lines

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

    acending/decending lines

    Hi, I am building a strategy and one of the conditions I would like to use is if a line, lets say a macd or stochastic line changes from ascending to descending. example, stochastic is below 10 then changes from descending to ascending. I found the numeric value part of the equation but I am stuck asc/desc part. If anyone could direct me to a clear example using the strategy builder I would greatly appreciate it.

    Thank you in advance for your help

    #2
    Hello jacklegtrader,

    To find if a plot is descending use the Falling() method. To find if something is ascending use the Rising() method.

    This would not be possible to use with actual line drawing tool objects and will only work with plots.

    http://ninjatrader.com/support/helpG...t7/falling.htm

    http://ninjatrader.com/support/helpG...nt7/rising.htm
    Attached Files
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      thank you for the response, I have tried several different ways to get this to work, but I do not know the process, the specific steps, to achieve the end result, please help

      Comment


        #4
        descending to ascending

        I am trying to put in a condition for stochastic line. the condition is when the stochastic is below the 10 line, and it changes from falling to rising, the enter long position. here is an example that didn't work
        Attached Files

        Comment


          #5
          Hello jacklegtrader,

          Falling and Rising will evaluate as True or False.

          In my screenshot, on the right side column, True is highlighted, but the highlight is very faint.

          Below is a link to a video that demonstrates how to use the Strategy Wizard.
          https://www.youtube.com/watch?v=FmBi...D7105&index=10

          Attached is an example script that will draw a dot above a bar if the stochastics D plot is rising.
          Attached Files
          Chelsea B.NinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          558 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          324 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          101 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          545 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          547 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X