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 devatechnologies, 07-17-2024, 12:33 PM
            4 responses
            17 views
            0 likes
            Last Post devatechnologies  
            Started by mtamaku, Today, 10:11 AM
            1 response
            6 views
            0 likes
            Last Post mtamaku
            by mtamaku
             
            Started by samish18, Today, 10:06 AM
            0 responses
            5 views
            0 likes
            Last Post samish18  
            Started by dbennett3, Yesterday, 10:49 AM
            1 response
            20 views
            0 likes
            Last Post marcus2300  
            Started by Touch-Ups, Today, 08:42 AM
            0 responses
            14 views
            0 likes
            Last Post Touch-Ups  
            Working...
            X