Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

look up current viewport height

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

    look up current viewport height

    How does one program an indicator to look up the current viewport height?

    I'm having some issues with an indicator where several rows of text are either too close together or too far apart. To solve it I would like to set the spacing between the text rows as a percent of the current viewport height, rather than as a fixed number of points or ticks.

    thanks

    #2
    GoldStandard, unfortunately this is unsupported.
    AustinNinjaTrader Customer Service

    Comment


      #3
      Similar Question - TickSize and Text Placement?

      This might be along the same lines, so I will ask it here.

      I am displaying text right above and below the High and Low of a bar. However, because I don't know what chart an end-user is using, the only way I know to add some space is to come up with a ticksize formula (like High[0] + (TickSize * 2). However, because the ticksize is different depending on the chart, this is not working well.

      Do you have a different way to display text above and below the bar that is consistent?

      If not, I would ask that you consider a call for displaying text above and below a bar, and also what this gentlemen asked too (as far as the viewpoint.) In fact, I would like to see the viewpoint as a grid so we can place stuff on the X-Y of the viewport.

      Just a thought! If you have any advice about placing text above and below a bar other than what I am doing, I would appreciate it!

      Comment


        #4
        Thank you for the suggestion. It is on our list of future considerations.
        Josh P.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        579 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        334 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        101 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        554 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        551 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X