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 CarlTrading, Yesterday, 09:41 PM
      1 response
      15 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, Today, 02:41 AM
      0 responses
      6 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, Yesterday, 11:44 PM
      0 responses
      12 views
      0 likes
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      32 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      31 views
      0 likes
      Last Post CarlTrading  
      Working...
      X