Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

?

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

    ?

    Is there an indicator that will count the bars? I did it manually.

    ty
    Attached Files

    #2
    Hello bdelorm,

    Thank you for your post.

    Which bars are you looking to count?

    Are you looking for the total count of bars or from a certain point?
    Cal H.NinjaTrader Customer Service

    Comment


      #3
      The total count of a price bar when it finish!

      Comment


        #4
        bdelorm,

        You can use CurrentBar to return the total amount of completed bars on the chart.

        I'm not aware of any indicator that does just this function.

        However, note that CurrentBar starts at 0 for counting. So, if 500 gets returned, then there are 501 bars completed on the chart.

        http://www.ninjatrader.com/support/h...currentbar.htm

        Let me know if I can be of further assistance.
        Last edited by NinjaTrader_CalH; 10-21-2014, 08:34 AM.
        Cal H.NinjaTrader Customer Service

        Comment


          #5
          and where can I found that indicator?

          Comment


            #6
            bdelorm,

            There is no indicator for this. This is a NinjaScript item that can be called to return the number of bars.
            Cal H.NinjaTrader Customer Service

            Comment


              #7
              so what do I do? Im sorry I dont understand

              Comment


                #8
                Hello bdelorm,

                I was able to find an Indicator that will just print the number of bars that you are looking for on the chart.

                I have attached this indicator to my post

                You will need to download and import this into NinjaTrader -
                To Import

                * Download the indicator to your desktop, keep them in the compressed .zip file.
                * From the Control Center window select the menu File> Utilities> Import NinjaScript
                * Select the downloaded .zip file
                * NinjaTrader will then confirm if the import has been successful.


                Critical - Specifically for some indicators, it will prompt that you are running newer versions of @SMA, @EMA, etc. and ask if you want to replace, press 'No'
                Attached Files
                Cal H.NinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                0 responses
                656 views
                0 likes
                Last Post Geovanny Suaza  
                Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                0 responses
                371 views
                1 like
                Last Post Geovanny Suaza  
                Started by Mindset, 02-09-2026, 11:44 AM
                0 responses
                109 views
                0 likes
                Last Post Mindset
                by Mindset
                 
                Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                0 responses
                574 views
                1 like
                Last Post Geovanny Suaza  
                Started by RFrosty, 01-28-2026, 06:49 PM
                0 responses
                579 views
                1 like
                Last Post RFrosty
                by RFrosty
                 
                Working...
                X