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

Volume Oscillator usage

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

    Volume Oscillator usage

    Need help with coding . when the prices are falling I want to check if the volume is decreasing. And I've come across this Volume Osc indicator. But finding hard to rightly use it with stochastics.
    Need to know two things:
    1. how do I check for when the stochastics coming down volume osc is decreasing.
    (fast 3 , slow 5).
    2. Is this the right indicator for this kind of check or Is there any built in volume indicator that I can use.

    thanks.
    `kinshin

    #2
    Hello,

    You can using the Rising() or Falling() methods to determine if it is increasing or decreasing:




    Whether or not the indicator you are using is the right kind would be subjective and I would not be able to comment, however we will leave this thread open for any other users to share their experience.
    MatthewNinjaTrader Product Management

    Comment


      #3
      Thnx Matthew, could you direct me Math function to find % diference between two price points(closes).

      Comment


        #4
        Hello,

        The formula would be X - Y / X * 100

        For example:

        Close[0] - Close[1] / Close[0] * 100
        MatthewNinjaTrader Product Management

        Comment


          #5
          HI NT Support,

          Is it possible to get the intra-bar value (or tick value) for the Volume Oscillator/Histogram? If not, can it be calculated from the values of a smaller TF?

          thanks

          Comment


            #6
            Hello,

            Yes you would need to use a smaller time frame to get the intrabar values that you would want.
            Cal H.NinjaTrader Customer Service

            Comment


              #7
              Hi Cal, do you know how to do this because im not sure its as simple as adding the intrabar value to the Oscillator. I think I would at the very least need the formula for the Oscillator/Histogram.

              thanks.

              Comment


                #8
                Prudential,

                I do not know the formula for the oscillator.

                However, I am attaching a link on how to use Multi Time Frames with NinjaScript to help the process of writing this.
                http://www.ninjatrader.com/support/h...nstruments.htm
                Cal H.NinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by adeelshahzad, Today, 03:54 AM
                5 responses
                32 views
                0 likes
                Last Post NinjaTrader_BrandonH  
                Started by stafe, 04-15-2024, 08:34 PM
                7 responses
                32 views
                0 likes
                Last Post NinjaTrader_ChelseaB  
                Started by merzo, 06-25-2023, 02:19 AM
                10 responses
                823 views
                1 like
                Last Post NinjaTrader_ChristopherJ  
                Started by frankthearm, Today, 09:08 AM
                5 responses
                21 views
                0 likes
                Last Post NinjaTrader_Clayton  
                Started by jeronymite, 04-12-2024, 04:26 PM
                3 responses
                43 views
                0 likes
                Last Post jeronymite  
                Working...
                X