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 algospoke, Yesterday, 06:40 PM
            2 responses
            19 views
            0 likes
            Last Post algospoke  
            Started by ghoul, Today, 06:02 PM
            3 responses
            14 views
            0 likes
            Last Post NinjaTrader_Manfred  
            Started by jeronymite, 04-12-2024, 04:26 PM
            3 responses
            45 views
            0 likes
            Last Post jeronymite  
            Started by Barry Milan, Yesterday, 10:35 PM
            7 responses
            20 views
            0 likes
            Last Post NinjaTrader_Manfred  
            Started by AttiM, 02-14-2024, 05:20 PM
            10 responses
            181 views
            0 likes
            Last Post jeronymite  
            Working...
            X