Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Moving average over a Volume

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

    Moving average over a Volume

    Hi,
    is there a way to plot moving average over a Volume (VOL)?

    #2
    See the VolMA indicator, this does exactly what you are looking for.
    RayNinjaTrader Customer Service

    Comment


      #3
      Thanks a lot!

      Comment


        #4
        VolMA

        Originally posted by NinjaTrader_Ray View Post
        See the VolMA indicator, this does exactly what you are looking for.
        Is there a way to access this in NinjaScript coding?

        In my customer indicator, I'm trying to access the average volume of an instrument over the past 10 bars.

        Thanks.

        Joe

        Comment


          #5
          Hello,

          Thank you for your forum post.

          Yes this is possible. You would just use VOLMA(10)[0];



          Let me know if I can be of further assistance.

          Comment


            #6
            Originally posted by NinjaTrader_Brett View Post
            Hello,

            Thank you for your forum post.

            Yes this is possible. You would just use VOLMA(10)[0];



            Let me know if I can be of further assistance.
            Thanks Brett.

            Would you believe I had VolMA(10)[0] and I could not figure out why the error. :-(
            Case senstiive. Thx.

            Comment


              #7
              Hello,

              Ah, yes NinjaScript and c# are case sensitive. Good catch!

              Let me know if I can be of further assistance.

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by DynamicTest, Today, 11:18 PM
              0 responses
              3 views
              0 likes
              Last Post DynamicTest  
              Started by dcriador, Today, 01:43 AM
              3 responses
              19 views
              0 likes
              Last Post dcriador  
              Started by smartromain, Today, 10:50 PM
              0 responses
              5 views
              0 likes
              Last Post smartromain  
              Started by popecapllc, 08-09-2023, 07:42 PM
              10 responses
              1,366 views
              0 likes
              Last Post BartMan
              by BartMan
               
              Started by jbays87, Today, 09:46 PM
              0 responses
              6 views
              0 likes
              Last Post jbays87
              by jbays87
               
              Working...
              X