Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Relative Volume Indicator for NT8?

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

    Relative Volume Indicator for NT8?

    Hi all,

    Going through the motions on converting an NT7 script to NT8, and wondered if there's an equivalent to the RVOL indicator in NT8. Any help, URL's, suggestions or attention would be immensely appreciated.

    Thanks in advance!

    #2
    Originally posted by Spiderbird View Post
    Hi all,

    Going through the motions on converting an NT7 script to NT8, and wondered if there's an equivalent to the RVOL indicator in NT8. Any help, URL's, suggestions or attention would be immensely appreciated.

    Thanks in advance!
    Yes, there is one and it is called RelativeVolumeNT8.cs . See attached.

    Cheers!
    Attached Files

    Comment


      #3
      Works great! Thank you very much Alligator.

      Comment


        #4
        Hello all,

        This indicator seems to be for an outdated version of NT. Does anyone happen to have an updated version?

        Thanks!

        Comment


          #5
          Originally posted by eziv4 View Post
          Hello all,

          This indicator seems to be for an outdated version of NT. Does anyone happen to have an updated version?

          Thanks!
          This indicator in post #2 is converted from the original for NT8. Have you tried it and can you elaborate on "outdated" and what the issue is?

          Comment


            #6
            Hello all,

            I have attached an exported version of this indicator for easy importing.
            Attached Files

            Comment


              #7
              I'm not sure why the first one didn't work for me, but that one did.

              Thank you Alligator and Jim!!

              Comment


                #8
                Originally posted by eziv4 View Post
                I'm not sure why the first one didn't work for me, but that one did.

                Thank you Alligator and Jim!!
                The 1st one is a .cs file and should be installed manually (copy, paste in indicators folder, then compile) where as the 2nd one is an exported .zip file that can be directly imported into the Ninja.

                It is useful to know how to install .cs files since many custom indicators posted are not exported for direct import to ninja. There is plenty information here on how to install .cs add-on files into Ninja.

                Cheers!

                Comment


                  #9
                  Hey aligator ! Found you from googling relative volume indicator - mind if I ask you a couple questions on setting it up?

                  -How do I determine the 'Period' and the NumStDev?

                  Comment


                    #10
                    Originally posted by west3gg View Post
                    Hey aligator ! Found you from googling relative volume indicator - mind if I ask you a couple questions on setting it up?

                    -How do I determine the 'Period' and the NumStDev?
                    I do not use this indicator. But, as you already know, a search of Google for Relative Volume Indicator will give you plenty of information on how this indicator is used.

                    Cheers!

                    Comment


                      #11
                      Originally posted by NinjaTrader_Jim View Post
                      Hello all,

                      I have attached an exported version of this indicator for easy importing.
                      Hey Jim - Any idea how to read this indicator? The greyed bars are 1std and the solid black bars are 2 std? Would you be able to provide clarity?

                      Thank you!

                      Comment


                        #12
                        Hello west3gg,

                        I'm not very familiar with this indicator, so I would recommend reaching out to the original developer or to read the source code to better understand its function. I am not sure who the original developer is, I just added an exported version of the script because many clients wrote in not knowing how to import the indicator cs file, or have damaged their NinjaScripts by making manual edits to the bin/Custom folder.

                        If the indicator calculates relVol is greater than NumStdDev, Black is plotted and the plot is assigned the relVol value. If relVol is less than or equal to 0, the plot value is assigned to 0. For all other cases, relVol is assigned to the plot value and the plot color is assigned to DarkGray.

                        relVol is calculated as follows:

                        Code:
                        av = SMA(Volume, Period)[0];
                        sd = StdDev(Volume, Period)[0];
                        relVol = ((Volume[0] - av) / sd);
                        We look forward to assisting.

                        Comment


                          #13
                          Originally posted by NinjaTrader_Jim View Post
                          Hello west3gg,

                          I'm not very familiar with this indicator, so I would recommend reaching out to the original developer or to read the source code to better understand its function. I am not sure who the original developer is, I just added an exported version of the script because many clients wrote in not knowing how to import the indicator cs file, or have damaged their NinjaScripts by making manual edits to the bin/Custom folder.

                          If the indicator calculates relVol is greater than NumStdDev, Black is plotted and the plot is assigned the relVol value. If relVol is less than or equal to 0, the plot value is assigned to 0. For all other cases, relVol is assigned to the plot value and the plot color is assigned to DarkGray.

                          relVol is calculated as follows:

                          Code:
                          av = SMA(Volume, Period)[0];
                          sd = StdDev(Volume, Period)[0];
                          relVol = ((Volume[0] - av) / sd);
                          We look forward to assisting.


                          Hi there!

                          When i input this into my indicator
                          Code:
                          double av = SMA(Volume, Period)[0];
                          double sd = StdDev(Volume, Period)[0];
                          double rvol = ((Volume[0] - av) / sd);
                          
                          Print("sd: " + sd + " rvol: " + rvol);

                          sd is always = 0 and hence the rvol will return NAN. (sd: 0 rvol: NaN)

                          How could i fix this?​



                          EDIT: I seem to have figured out it was because the period was set to 0 or 1
                          Last edited by Mountain_cast; 12-12-2024, 11:22 PM.

                          Comment

                          Latest Posts

                          Collapse

                          Topics Statistics Last Post
                          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                          0 responses
                          557 views
                          0 likes
                          Last Post Geovanny Suaza  
                          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                          0 responses
                          324 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
                          545 views
                          1 like
                          Last Post Geovanny Suaza  
                          Started by RFrosty, 01-28-2026, 06:49 PM
                          0 responses
                          547 views
                          1 like
                          Last Post RFrosty
                          by RFrosty
                           
                          Working...
                          X