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 op1031, Yesterday, 05:16 PM
        1 response
        8 views
        0 likes
        Last Post NT-Roland  
        Started by sinpeople, Today, 07:20 AM
        1 response
        3 views
        0 likes
        Last Post NT-Roland  
        Started by Frank1000, Today, 03:05 AM
        1 response
        7 views
        0 likes
        Last Post NT-Roland  
        Started by ntdev, Today, 01:14 AM
        4 responses
        16 views
        0 likes
        Last Post ntdev
        by ntdev
         
        Started by ct, Today, 02:22 AM
        1 response
        8 views
        0 likes
        Last Post NinjaTrader_Jason  
        Working...
        X