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.
          JasonNinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by rhyminkevin, Today, 04:58 PM
          4 responses
          52 views
          0 likes
          Last Post dp8282
          by dp8282
           
          Started by iceman2018, Today, 05:07 PM
          0 responses
          5 views
          0 likes
          Last Post iceman2018  
          Started by lightsun47, Today, 03:51 PM
          0 responses
          7 views
          0 likes
          Last Post lightsun47  
          Started by 00nevest, Today, 02:27 PM
          1 response
          14 views
          0 likes
          Last Post 00nevest  
          Started by futtrader, 04-21-2024, 01:50 AM
          4 responses
          50 views
          0 likes
          Last Post futtrader  
          Working...
          X