Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Printing a string on the chart

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

    Printing a string on the chart

    I would like to print out the volume left as a string for only the current price bar of a constant volume chart. I would like to display it on the bottom of the chart. How do I do it?

    #2
    Hi xewoox,
    so you mean like the BarTimer for tick / volume charts? If so, then please take a look at this post - http://www.elitetrader.com/vb/showth...er#post1907047

    Thanks to our member tobbe for sharing!

    Comment


      #3
      I am not looking a bartimer for ticks. But rather I try to display how much contracts left to fill up for the current bar before a new bar appear.

      I have a constant volume bar chart. Each bar is 1000. So I would like to display at the bottom left of the chart the number of contracts in the current bar or how much contracts left to fill the current bar (i.e. 1000 - the number of contracts in the current bar)

      This value will continue update at every tick
      I just not sure what API I can call to do that.

      Comment


        #4
        Hi xewoox, have you tried using VOL with CalculateOnBarClose = False?

        Comment


          #5
          VOL is not I am looking for. I am not looking at plotting volume of each bar since my chart is Constant Volume BAR chart (i.e. every bar is 1000 contracts) . What I am interest is as current bar is developed, I would like to print a string to indicate a count down of how many contracts needed to fill up the current bar. I know how to get the value but I don"t know to display.

          Fore example, I will like to display update this string at the bottom left corner above. This is the string I will display and update as each tick.


          Volume Left 890


          This indicate that it need 890 contracts to fill up the current bar

          Comment


            #6
            VolumeCounter is the indicator. Shows volume remaining on a Volume Chart. Is an Indicator that comes with NT

            Comment


              #7
              Thank you . That is what I am looking for.

              Comment


                #8
                Thanks TAJTrades!

                Should you need a custom coded one, you can use DrawText() to display it - http://www.ninjatrader-support.com/H.../DrawText.html

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                0 responses
                648 views
                0 likes
                Last Post Geovanny Suaza  
                Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                0 responses
                369 views
                1 like
                Last Post Geovanny Suaza  
                Started by Mindset, 02-09-2026, 11:44 AM
                0 responses
                108 views
                0 likes
                Last Post Mindset
                by Mindset
                 
                Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                0 responses
                572 views
                1 like
                Last Post Geovanny Suaza  
                Started by RFrosty, 01-28-2026, 06:49 PM
                0 responses
                573 views
                1 like
                Last Post RFrosty
                by RFrosty
                 
                Working...
                X