Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Calculating and plotting 'tape' speed

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

    Calculating and plotting 'tape' speed

    Has anyone ever seen an indicator that measures the ticks per second on an n tick bar? OR can anyone tell me how to program an indicator to plot the average ticks per second?

    Cheers,


    CanOz

    #2
    CanOz, I would suggest you take a look into the Avg Time per bar indicator found in the sharing for example - http://www.ninjatrader.com/support/f...ch=time&desc=1
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Hello, canaussieuck

      This indicator plots, depending of your choise:
      WhatToPlot = Seconds - duration of bar in seconds;
      WhatToPlot = Ticks - number of tiks in bar;
      WhatToPlot = Speed - (duration of bar in seconds) / (number of tiks in bar).

      NOTE: It looks to work correct on tick and range bars, not on time-based bars.
      Attached Files
      fx.practic
      NinjaTrader Ecosystem Vendor - fx.practic

      Comment


        #4
        Many thanks mate....i knew i saw something somewhere....

        Comment


          #5
          Hello, Bertrand

          In previous post I shared indicator that use Bars.TickCount to calculate numbers of tick in current bar.
          It seems to work strange:
          - on minute-based charts it return number of munutes in bar
          - on tick-based charts it return smaller number that it have to
          (on 100-tick chart it return 70, on 1000-tick chart it return 870)

          Is this bug, or I something misunderstood?
          Attached Files
          fx.practic
          NinjaTrader Ecosystem Vendor - fx.practic

          Comment


            #6
            Thanks FX....much appreciated.

            Comment


              #7
              iTicks per second

              It´s possible to create wonderfull ticktimer in Ninja 8?

              optional in different colour
              variable time field
              time < 25 sec = green
              time >25<30 = orange
              time >30 = red

              THX for all helping Programmers

              Comment


                #8
                Hello BoTrad,


                Please note that we do not offer development of scripts on the support team. However, due to the nature of your request, I have modified the original Tick Counter indicator to accomplish this.
                Here is a basic guideline of how to Import NinjaScripts in NinjaTrader 8.

                To import NinjaScripts you will need the original .zip file included with this message.

                To Import
                1. Download the NinjaScripts to your desktop, keep them in the compressed .zip file.
                2. From the Control Center window select the menu Tools > Import > NinjaScript
                3. Find and Select the downloaded .zip file
                4. NinjaTrader will then confirm if the import has been successful.
                Once installed, you may add the indicator to a chart by:

                • Right click you chart > indicators > Select the Indicator from the list on the left > New > OK



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

                Comment


                  #9
                  Thank you very much!

                  it´s a goog help but perhaps wrong understand

                  i search no counter, better like a volume peak indikator with the time, wich seconds each tick in the tick-chart every bar need (beginn/close) for every minute (unit: second)

                  optional in colour:
                  <= 20 = green
                  >20 = red

                  or only an bar like the volume indikator with second display



                  Originally posted by NinjaTrader_ShawnB View Post
                  Hello BoTrad,


                  Please note that we do not offer development of scripts on the support team. However, due to the nature of your request, I have modified the original Tick Counter indicator to accomplish this.
                  Here is a basic guideline of how to Import NinjaScripts in NinjaTrader 8.

                  To import NinjaScripts you will need the original .zip file included with this message.

                  To Import
                  1. Download the NinjaScripts to your desktop, keep them in the compressed .zip file.
                  2. From the Control Center window select the menu Tools > Import > NinjaScript
                  3. Find and Select the downloaded .zip file
                  4. NinjaTrader will then confirm if the import has been successful.
                  Once installed, you may add the indicator to a chart by:

                  • Right click you chart > indicators > Select the Indicator from the list on the left > New > OK



                  Critical - Specifically for some NinjaScripts, it will prompt that you are running newer versions of @SMA, @EMA, etc. and ask if you want to replace, press 'No'

                  Comment


                    #10
                    Hello BoTrad,


                    You would have to create a Multi-Time Frame script to accomplish this.


                    You could build this by creating a custom script and adding a tick series to your script. Here is our Help Guide on Multi-Time Frame & Instruments to assist you further.
                    Shawn B.NinjaTrader Customer Service

                    Comment


                      #11
                      Originally posted by fx.practic View Post
                      Hello, canaussieuck

                      This indicator plots, depending of your choise:
                      WhatToPlot = Seconds - duration of bar in seconds;
                      WhatToPlot = Ticks - number of tiks in bar;
                      WhatToPlot = Speed - (duration of bar in seconds) / (number of tiks in bar).

                      NOTE: It looks to work correct on tick and range bars, not on time-based bars.
                      Is this indicator for NT8/7

                      Comment


                        #12
                        Hello Joemotho,

                        Thank you for your post.

                        The iTicksPerSecond indicator posted by fx.practic that you are referring to is for NinjaTrader 7.

                        Please let us know if we may assist further.
                        Brandon H.NinjaTrader Customer Service

                        Comment

                        Latest Posts

                        Collapse

                        Topics Statistics Last Post
                        Started by aussugardefender, Today, 01:07 AM
                        0 responses
                        3 views
                        0 likes
                        Last Post aussugardefender  
                        Started by pvincent, 06-23-2022, 12:53 PM
                        14 responses
                        238 views
                        0 likes
                        Last Post Nyman
                        by Nyman
                         
                        Started by TraderG23, 12-08-2023, 07:56 AM
                        9 responses
                        384 views
                        1 like
                        Last Post Gavini
                        by Gavini
                         
                        Started by oviejo, Today, 12:28 AM
                        0 responses
                        4 views
                        0 likes
                        Last Post oviejo
                        by oviejo
                         
                        Started by pechtri, 06-22-2023, 02:31 AM
                        10 responses
                        125 views
                        0 likes
                        Last Post Leeroy_Jenkins  
                        Working...
                        X