Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Volume ma indictor rth help

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

    Volume ma indictor rth help

    Hi I am using the VOLMA indicator that came with Ninjatrader. However, I have one issue that I need help with. I trade on the RTH (regular trading hours) when it analysis the VOLMA (10 bars back) sometime it uses yesterdays data to calculated the MA. However, I do not want that. I want the VOLMA to start calculating from the beginning of the day nothing from yesterday. what is the code I need to put in to make this happen.

    Thank you

    #2
    Hello wallsteetking,
    Thanks for your note.

    You have to reset the values on the start of a new session to do it. You may refer to the VWAP indicator which is on similar lines.

    You can download the VWAP indicator from here

    JoydeepNinjaTrader Customer Service

    Comment


      #3
      Hi ,what is the code to reset the values so that I can do it to some other indicators as well, thank you.

      Comment


        #4
        Hello wallsteetking,
        In the VWAP indicator the VWAP is recalculated as per codes in 148-163.

        Please note, the VWAP indicator and the VOLMA indicators are different in structure so a exact replica may not work, however the basic idea is the same.
        JoydeepNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        169 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Started by CaptainJack, 04-24-2026, 11:07 PM
        0 responses
        328 views
        0 likes
        Last Post CaptainJack  
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        252 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        353 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        181 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Working...
        X