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 Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        579 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        334 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        101 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        554 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        551 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X