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

    http://www.ninjatrader.com/support/f...tid=-1&lpage=1
    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 WaveAtElliot, Today, 05:11 PM
        1 response
        5 views
        1 like
        Last Post hdge4u
        by hdge4u
         
        Started by bosajin, Yesterday, 09:15 AM
        5 responses
        35 views
        0 likes
        Last Post NinjaTrader_Jim  
        Started by Dolfan, Today, 12:24 PM
        4 responses
        22 views
        0 likes
        Last Post NinjaTrader_Jim  
        Started by WeyldFalcon, Today, 11:09 AM
        7 responses
        25 views
        0 likes
        Last Post WeyldFalcon  
        Started by DTSSTS, 08-10-2020, 09:48 AM
        12 responses
        67 views
        0 likes
        Last Post DTSSTS
        by DTSSTS
         
        Working...
        X