Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Plot break

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

    Plot break

    Hello,

    The red line annotated on the chart is drawn with the code below. Without changing the plot style, how can the line be made to end instead of connecting between sessions.

    Thanks!


    Code:
    AddPlot(new Stroke(Brushes.Red), PlotStyle.Line,  "CumVolAvg");

    Click image for larger version  Name:	Plot.png Views:	0 Size:	63.4 KB ID:	1141677
    Last edited by Bidder; 02-13-2021, 05:36 AM.

    #2
    Hello Bidder,

    Don't set a value on that bar and it will not connect.

    Or use two plots.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Not adding a value on the transition bar works perfectly. Simple solution. Thank you !

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CaptainJack, 05-29-2026, 05:09 AM
      0 responses
      53 views
      0 likes
      Last Post CaptainJack  
      Started by CaptainJack, 05-29-2026, 12:02 AM
      0 responses
      34 views
      0 likes
      Last Post CaptainJack  
      Started by charlesugo_1, 05-26-2026, 05:03 PM
      0 responses
      101 views
      0 likes
      Last Post charlesugo_1  
      Started by DannyP96, 05-18-2026, 02:38 PM
      1 response
      181 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      170 views
      0 likes
      Last Post CarlTrading  
      Working...
      X