Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Ticks per hour

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

    Ticks per hour

    Is there a way to have an indicator that would tell me how many ticks were produced per hour. For example each bar would look back 60 minutes and calculate how many ticks were made. Is this even possible and if so how would I do something like this?

    Thanks, Steven

    #2
    Steven,

    I made something like this.

    It sort of slow because it calculates based on 100 ticks at a time since you can have 25000 ticks or more per hour. For every 100 ticks, it increments a counter, then multiplies by 100 at the end to estimate ticks for each hour within +- 100 ticks.

    Keep in mind this is going to look an awful lot like volume. In fact it should look almost exactly like volume.

    The Smoothing parameter is for if you want to take a moving average of the ticks/hour.

    Please find it attached.

    Please let me know if I may assist further.
    Attached Files
    Last edited by NinjaTrader_AdamP; 11-07-2011, 03:06 PM.
    Adam P.NinjaTrader Customer Service

    Comment


      #3
      Thanks I will give it a try...

      Comment


        #4
        StevenV

        You will notice that its almost exactly like volume in appearance.
        Adam P.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Blairski, Yesterday, 09:19 AM
        1 response
        9 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Started by tonynt, Today, 09:33 AM
        1 response
        5 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Started by minotti1, Today, 08:31 AM
        1 response
        13 views
        0 likes
        Last Post NinjaTrader_Jim  
        Started by SmartArtsStudio, 05-15-2021, 10:46 AM
        1 response
        15 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by Airwave, Today, 06:02 AM
        2 responses
        23 views
        0 likes
        Last Post NinjaTrader_BrandonH  
        Working...
        X