Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Overlay instrument to show currentbar only

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

    Overlay instrument to show currentbar only

    Hi, I watch the S&P500 chart & I'd like to overlay the SPY chart but only see the SPY's currentbar. Can I make an indicator to erase past bars or how could I do this?

    #2
    Originally posted by stockgoblin View Post
    Hi, I watch the S&P500 chart & I'd like to overlay the SPY chart but only see the SPY's currentbar. Can I make an indicator to erase past bars or how could I do this?
    You would have to write an indicator to make past bars transparent. they will still be there; you just will not see them. Visually, that works, but it saves no computing resources.

    Comment


      #3
      Hello stockgoblin,

      As suggested by koganam, you would need to set the barcolor of the previous bars to transparent.
      MatthewNinjaTrader Product Management

      Comment


        #4
        Thanks - hey another issue: I had 2 charts overlaid, working great in market replay and then this morning with live data it didn't work at all, all screwed up. It should of worked if it was perfect in market replay, shouldn't it?

        Comment


          #5
          Hello stockgoblin,

          Yes, a chart with 2 data series in one panel should work on live data as well.

          What happens if you right click in the chart and select 'Reload All Historical Data'?

          What instruments do you have applied in the chart? Please let me know to what data feed you connect in NinjaTrader as well.

          Could it be both instrument share the same price axis and their prices are very different? This will extend the price axis and price bars will be vertically compressed because of this. Make sure 'Scale justification' is set to Overlay for one data series in the Data series menu.

          If the issue remains, could you please post a screenshot of the chart.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by argusthome, 03-08-2026, 10:06 AM
          0 responses
          71 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          42 views
          0 likes
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          25 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Started by TheRealMorford, 03-05-2026, 06:15 PM
          0 responses
          28 views
          0 likes
          Last Post TheRealMorford  
          Started by Mindset, 02-28-2026, 06:16 AM
          0 responses
          56 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Working...
          X