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

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!
    BertrandNinjaTrader Customer Service

    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?
        BertrandNinjaTrader Customer Service

        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
                BertrandNinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by PaulMohn, Today, 03:49 AM
                0 responses
                7 views
                0 likes
                Last Post PaulMohn  
                Started by inanazsocial, Today, 01:15 AM
                1 response
                9 views
                0 likes
                Last Post NinjaTrader_Jason  
                Started by rocketman7, Today, 02:12 AM
                0 responses
                10 views
                0 likes
                Last Post rocketman7  
                Started by dustydbayer, Today, 01:59 AM
                0 responses
                4 views
                0 likes
                Last Post dustydbayer  
                Started by trilliantrader, 04-18-2024, 08:16 AM
                5 responses
                23 views
                0 likes
                Last Post trilliantrader  
                Working...
                X