Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How do I add a buffer to my X axis as I scroll

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

    How do I add a buffer to my X axis as I scroll

    I created my own footprint indicator. Is there a way to dynamically add a buffer to leading edge of the bar so my latest footprint bar doesn't get cut off ? This is the behaviour I am observing.

    this occurs when I scroll left to right or right to left with the slider. I am using OnRender functions to produce this indicator.
    Click image for larger version

Name:	image.png
Views:	107
Size:	67.3 KB
ID:	1318917

    Ideally when i scroll left to right or right to left, I want to have 1 or 2 bars of buffer so at the very least I can see the bid/ask columns of the most recent candle instead of only being able to see the left bid side of the candle.

    Click image for larger version

Name:	image.png
Views:	66
Size:	41.0 KB
ID:	1318918​​

    #2
    Hello Tradewave,

    You can set the 'Right-side margin' by right-clicking the chart and selecting Properties.


    Note, if this is increased, this cuts into the rendered area.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Thank you very much ! That worked !

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by SalmaTrader, 07-07-2026, 10:26 PM
      0 responses
      31 views
      0 likes
      Last Post SalmaTrader  
      Started by CarlTrading, 07-05-2026, 01:16 PM
      0 responses
      20 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 06-17-2026, 10:32 AM
      0 responses
      12 views
      0 likes
      Last Post CaptainJack  
      Started by kinfxhk, 06-17-2026, 04:15 AM
      0 responses
      18 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 06-17-2026, 04:06 AM
      0 responses
      20 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Working...
      X