Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

I need help with an Indicator- Relative Volume

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

    I need help with an Indicator- Relative Volume

    I tried. I have spent too many days attempting to understand how to even approach writing this indicator. I apologize my programming experience is five days old.

    I just want to see if anyone can help with this indicator I would like for the ES.

    Relative Volume. I would like a display at the top of my chart that displays "Relative Volume = " [RV]

    where RV = the average of the highest 5 out of 6 days cumulative volume readings at each time of the day. I hope I stated that right. Here is an example;

    At the start of the 10:01 pm bar I want the indicator to average the highest five out of six previous days cumulative volume for the 10:01pm bar and display it as Relative Volume.

    Then at the start of the 10:02 pm bar I want the the indicator to average the highest five out of six previous days cumulative volume for the 10:02pm bar and display it as Relative Volume.

    The indicator would run for the entirety of the RTH session.

    Does anyone have any idea as to how to start this formula in NinjaScript so I can input this into my custom indicator? Thank you.
    Last edited by loujen213; 01-01-2012, 10:50 PM.

    #2
    Unfortunately, what you ask is not at all simple, mainly because of the need to use identical time slices from different days.

    I do remember that someone has something similar on BMT. There is a whole thread on it. You might want to scoot over and take a gander over there.

    I could write that myself, but I would not do it for free, and as I am not yet a NT partner, it would be unethical of me to use their forum to solicit business, which is why I direct you to another source. And no, I am not the one who wrote on the subject at BMT. In fact, I use the same moniker on BMT that I use here.

    Comment


      #3
      Kapow! The indicator gods say: see attached
      Attached Files

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by sinpeople, Today, 07:20 AM
      0 responses
      1 view
      0 likes
      Last Post sinpeople  
      Started by Frank1000, Today, 03:05 AM
      0 responses
      3 views
      0 likes
      Last Post Frank1000  
      Started by ntdev, Today, 01:14 AM
      4 responses
      15 views
      0 likes
      Last Post ntdev
      by ntdev
       
      Started by ct, Today, 02:22 AM
      1 response
      6 views
      0 likes
      Last Post NinjaTrader_Jason  
      Started by yodaler, Yesterday, 06:12 PM
      4 responses
      13 views
      0 likes
      Last Post NinjaTrader_Jason  
      Working...
      X