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

Current Volume Run Rate of A Stock

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

    Current Volume Run Rate of A Stock

    Hi,

    I want to detect the overall Runrate of volume compared to the avg volume as onBarUpdate gets called, what is the right way to do that?
    Can I do that with stocks e.g. with Tos Or any other qualified Broker?

    Thanks
    G

    #2
    Hello gbajaj,

    Thanks for your post.

    I'm not sure what you mean by Volume run rate, do you have a definition?

    Or do you mean what is the current volume of the bar compared to the average volume? If so then you can just add the VOL indicator to the chart to display the volume data itself and you can use the indicator VOLMA to put a moving average on that volume plot. Looks like this:

    Click image for larger version

Name:	gbajaj-1.PNG
Views:	483
Size:	35.2 KB
ID:	1161692
    Paul H.NinjaTrader Customer Service

    Comment


      #3
      I am looking for something that TC2000 provides as Volume Buzz. I want to access this in the Ninja Script

      Comment


        #4
        Hello gbajaj,

        Thanks for your reply.

        From your link, the definition of Volume Buzz is "A stock's volume for the current day (let's say at 11:32am) is compared to its average historical volume for the same percentage of the day. The volume buzz tells you how far ahead or behind the stock is based on its normal historical activity. A volume buzz of +250% means the stock is trading 250% more than normal for this portion of the day. A figure of -50% means the stock is trading at only half of its norm for this portion of the day. A figure of 0 means nothing unusual is going on in either direction."

        I am not aware of any indicator that provides this type of information. It would be possible to create such an indicator in Ninjascript and you would have to have access to historical volume data for the stock in the time frames of interest.

        If you would like to create the indicator, we can provide links to the various properties and methods to get you started. Ninjascript is based on C# programming language so some familiarity with C# would be very helpful.

        Alternately, if you would like this created for you, we can provide a link to 3rd party programmers in the NinjaTrader ecosystem

        Paul H.NinjaTrader Customer Service

        Comment


          #5
          Thanks, Yes i can try creating the indicator if you share the instructions with me.

          -G

          Comment


            #6
            To build a custom indicator click on New > NinjaScript Editor > Indicator (right click) > New Indicator and use the wizard. However, as Paul noted, you will need to have some knowledge of coding to complete the project. Incidentally, I haven't used this indicator myself, but there is an indicator by Lizard Indicators called Relative Volume - Google for it and see if it does what you need.
            PinnacleQuant
            NinjaTrader Ecosystem Vendor - Pinnacle Quant

            Comment


              #7
              Hello gbajaj,

              Thanks for your reply.

              To create an indicator or a non-strategy builder strategy, you would need to use the indicator or strategy wizard. These will create the basic structures including the inputs and outputs. Here are is where you can find out further about the wizards: https://ninjatrader.com/support/help...?ns_wizard.htm

              Once you have created a Ninjascript strategy or indicator you would need to use the Ninjascript editor for further coding and debugging, here is a link to the overall Ninjascript editor: https://ninjatrader.com/support/help...t8/?editor.htm

              Here is a link to live webinars where you can find the Ninjascript editor and strategy builder, alternating on Thursdays: https://ninjatrader.com/PlatformTraining

              Here is a link to a recording of the Ninjascript editor webinar:
              https://www.youtube.com/watch?v=H7aD...We0Nf&index=14

              Here are various links to key help guide sections, each link will have further cascading links:

              https://ninjatrader.com/support/help...erence_wip.htm

              https://ninjatrader.com/support/help..._reference.htm

              https://ninjatrader.com/support/help..._resources.htm

              https://ninjatrader.com/support/help...ce_samples.htm

              https://ninjatrader.com/support/help.../nt8/?tips.htm

              In addition, you may want to review, use, or modify the freely available scripts from the NT user apps in the Ninjatrader Ecosystem. (Note this includes both NinjaTrader7 and Ninjatrader8 scripts that are not compatible with the other version, you can click the "show all" button for segregation)



              The NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. The add-ons listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. NinjaTrader Ecosystem LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.

              Paul H.NinjaTrader Customer Service

              Comment


                #8
                Thanks i will try these, I appreciate your help

                Comment


                  #9
                  Originally posted by gbajaj View Post
                  I am looking for something that TC2000 provides as Volume Buzz. I want to access this in the Ninja Script
                  Hi gbajaj,

                  The closest (actually better) thing to TC2000 Volume Buzz indicator is Harry 's amaRelativeVolume public indicator that you may contact him and ask for it. Or if you are a member of Futures.io you can download it here:

                  https://futures.io/local_links.php?a...27&linkid=1892

                  btw, this is a heck of an indicator and is a lot more advanced that the simple TC2000 Buzz which is simply a momentum of the volume.

                  Harry when using a 1M chart the indicator requires many days of data to be loaded where as the code uses only 8 days for calculation. Can you comment on how many days of data need to be loaded for different time frames so there is no "insufficient" message printed.

                  Thanks

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by pmachiraju, 11-01-2023, 04:46 AM
                  8 responses
                  147 views
                  0 likes
                  Last Post rehmans
                  by rehmans
                   
                  Started by mattbsea, Today, 05:44 PM
                  0 responses
                  5 views
                  0 likes
                  Last Post mattbsea  
                  Started by RideMe, 04-07-2024, 04:54 PM
                  6 responses
                  33 views
                  0 likes
                  Last Post RideMe
                  by RideMe
                   
                  Started by tkaboris, Today, 05:13 PM
                  0 responses
                  5 views
                  0 likes
                  Last Post tkaboris  
                  Started by GussJ, 03-04-2020, 03:11 PM
                  16 responses
                  3,282 views
                  0 likes
                  Last Post Leafcutter  
                  Working...
                  X