Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Volumetric Info

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

    Volumetric Info

    Hi, i want to develop an indicator who plot a dot when in a down bar the second-last Ask level by the low of the bar(in the volumetric bars) is 0 and/or in an up bar the second-last bid level by the top of the bar is 0. It is possible to do? How can i write the second-last as code in the editor? Thanks.
    Last edited by ClFil; 03-05-2020, 12:19 PM.

    #2
    Hello ClFil,

    Thank you for the post.

    To access the volumetric information you can see the following link, some specific syntax is needed to access that type of data.


    Regarding the second-last ask level, you can gather the ask volume for each price level however I am not certain how you could determine it was the second to last level. The levels are not in a collection to where we would know the order of the levels. We can also only gather the volume from specific levels but would not be aware of the prices that contribute to the volumetric display.


    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment


      #3
      Hi, so how can i gather the volume from a spefic bid or ask level?

      Comment


        #4
        Hello ClFil,

        You can use the methods

        GetAskVolumeForPrice and GetBidVolumeForPrice to access the volume's at a certain price.

        These are shown in the prints in the example, they use a single price in the example of Close[0].


        I look forward to being of further assistance.
        JesseNinjaTrader Customer Service

        Comment


          #5
          So i can write GetAskVolumeForPrice asking for the low of a down bar; so if i write GetAskVolumeForPrice for low adding [1] i should have the second-last ask volume right?

          Comment


            #6
            Hello ClFil,

            No not quite, Low[1] is just the previous bars low price. That is not specifically the second to last ask that the volumetric is displaying but would just be the low price of 1 bar ago. The GetAskVolumeForPrice is just looking for a price so we would not know what level in the list of asks that price actually is. If you are seeing that consistently the Low[1] is the second to last level you could try using Low[1].


            I look forward to being of further assistance.
            JesseNinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Haiasi, Today, 06:53 PM
            1 response
            4 views
            0 likes
            Last Post NinjaTrader_Manfred  
            Started by ScottWalsh, Today, 06:52 PM
            1 response
            10 views
            0 likes
            Last Post NinjaTrader_Manfred  
            Started by ScottW, Today, 06:09 PM
            1 response
            5 views
            0 likes
            Last Post NinjaTrader_Manfred  
            Started by ftsc2022, 10-25-2022, 12:03 PM
            5 responses
            256 views
            0 likes
            Last Post KeyonMatthews  
            Started by Board game geek, 10-29-2023, 12:00 PM
            14 responses
            244 views
            0 likes
            Last Post DJ888
            by DJ888
             
            Working...
            X