• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

show number of bars in the chart

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

    show number of bars in the chart

    Is it possible to show any number or the number of bars in the chart instead of data box?

    ty

    #2
    Hello frankduc,

    Yes, the CurrentBar number could be added to the chart in a TextBox with a custom coded indicator.

    Below is a link to the help guide on Draw.Text() and Draw.TextFixed().
    https://ninjatrader.com/support/help.../draw_text.htm
    https://ninjatrader.com/support/help..._textfixed.htm
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      What's the name of bars ago?
      I mean i want to replace text to draw by bars ago when you move the cursor in data box.

      ty

      Comment


        #4
        Hello frankduc,

        It would more complex but would be possible to get the mouse position and convert this to a bar number.

        Below is a link to an example script you may find helpful.
        https://ninjatrader.com/support/foru...624#post792624
        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Swing123, Today, 03:09 AM
        0 responses
        1 view
        0 likes
        Last Post Swing123  
        Started by Antares66, Yesterday, 05:19 PM
        1 response
        4 views
        0 likes
        Last Post NinjaTrader_ChrisSch  
        Started by lavalampmj, Yesterday, 05:25 PM
        0 responses
        8 views
        0 likes
        Last Post lavalampmj  
        Started by jmneto, Yesterday, 05:18 PM
        0 responses
        10 views
        0 likes
        Last Post jmneto
        by jmneto
         
        Started by Bobbyj78, Yesterday, 02:21 PM
        2 responses
        22 views
        0 likes
        Last Post bltdavid  
        Working...
        X