Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Bar Centering

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

    Bar Centering

    Is there a way to center the last bar printed on the chart?

    #2
    Originally posted by Bobmac View Post
    Is there a way to center the last bar printed on the chart?
    If you are referring to always having the last (current) bar automatically fixed to the center of the chart then the answer unfortunately is no. If I misunderstood your question, please let us know.
    RayNinjaTrader Customer Service

    Comment


      #3
      a bit unconventional but you can try

      Code:
      ChartControl.BarMarginRight = (int)ChartControl.CanvasRight /2;

      Comment


        #4
        Bar centering

        How do I go about adding that code?

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        27 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        117 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 05-10-2026, 08:12 PM
        0 responses
        69 views
        0 likes
        Last Post CarlTrading  
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        226 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Started by CaptainJack, 04-24-2026, 11:07 PM
        0 responses
        417 views
        0 likes
        Last Post CaptainJack  
        Working...
        X