Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

slope down/up in last few bars

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

    slope down/up in last few bars

    Is there anyway to check if the indicators in the last few bars are slope down/up?

    Lets say current bar is "0", the bar before is "1", "2" ... so on, which is the way to get prvious bars for other indicators.

    #2
    You could store the Slope() returns into a DataSeries for future referencing.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Is there an indicator for this?

      Or it is only in programmable variable?

      Comment


        #4
        It is just a property that you would need to store into a DataSeries. It is not an indicator. Please see the Help Guide article on DataSeries for more info on how to do that.
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          Ok. I thought it can bring out a value like indicator, so I went to the indicator list on the chart.

          So I have to write script to actually try to output its value.

          Thanks for quick reply.

          Comment


            #6
            Correct. You will need to create a few lines in code to get it.
            Josh P.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by argusthome, 03-08-2026, 10:06 AM
            0 responses
            80 views
            0 likes
            Last Post argusthome  
            Started by NabilKhattabi, 03-06-2026, 11:18 AM
            0 responses
            46 views
            0 likes
            Last Post NabilKhattabi  
            Started by Deep42, 03-06-2026, 12:28 AM
            0 responses
            29 views
            0 likes
            Last Post Deep42
            by Deep42
             
            Started by TheRealMorford, 03-05-2026, 06:15 PM
            0 responses
            32 views
            0 likes
            Last Post TheRealMorford  
            Started by Mindset, 02-28-2026, 06:16 AM
            0 responses
            66 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Working...
            X