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 pel11, Today, 06:44 PM
        0 responses
        2 views
        0 likes
        Last Post pel11
        by pel11
         
        Started by traderbot, Today, 06:40 PM
        0 responses
        4 views
        0 likes
        Last Post traderbot  
        Started by CCLQMT, Today, 05:31 PM
        0 responses
        8 views
        0 likes
        Last Post CCLQMT
        by CCLQMT
         
        Started by yodaler, Today, 03:17 PM
        2 responses
        12 views
        0 likes
        Last Post yodaler
        by yodaler
         
        Started by tatir, Today, 03:09 PM
        2 responses
        19 views
        0 likes
        Last Post tatir
        by tatir
         
        Working...
        X