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 abelsheila, Today, 07:38 PM
            0 responses
            5 views
            0 likes
            Last Post abelsheila  
            Started by nailz420, Today, 09:14 AM
            1 response
            37 views
            0 likes
            Last Post NinjaTrader_ChristopherJ  
            Started by NinjaTrader_Brett, 05-12-2025, 03:19 PM
            0 responses
            260 views
            0 likes
            Last Post NinjaTrader_Brett  
            Started by domjabs, 05-12-2025, 01:55 PM
            2 responses
            56 views
            0 likes
            Last Post domjabs
            by domjabs
             
            Started by Morning Cup Of Trades, 05-12-2025, 11:50 AM
            1 response
            58 views
            0 likes
            Last Post NinjaTrader_ChristopherJ  
            Working...
            X