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 Mindset, 04-21-2026, 06:46 AM
          0 responses
          118 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by M4ndoo, 04-20-2026, 05:21 PM
          0 responses
          166 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by M4ndoo, 04-19-2026, 05:54 PM
          0 responses
          85 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by cmoran13, 04-16-2026, 01:02 PM
          0 responses
          130 views
          0 likes
          Last Post cmoran13  
          Started by PaulMohn, 04-10-2026, 11:11 AM
          0 responses
          88 views
          0 likes
          Last Post PaulMohn  
          Working...
          X