Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Plot DashStyle

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

    Plot DashStyle

    Greetings,

    I guess this 6.5 plot is not supported in NT7?

    Is there a workaround?

    Thanks

    Code:
    Plots[5].Pen.DashStyle = DashStyle.Dot;

    #2
    Can you clarify what you feel is not working? I ask since this is pure .NET and not NinjaScript. It should work no problem.... I believe.
    RayNinjaTrader Customer Service

    Comment


      #3
      Ray,

      I discovered that I had an important component missing in the declarations statement.

      Adding that resolved the issue.
      If others make this simple error, here is the code.

      Original:
      Code:
      using System;
      using System.ComponentModel;
      using System.Drawing;
      using System.Xml.Serialization;
      using NinjaTrader.Data;
      using NinjaTrader.Gui.Chart;
      Revised:
      Code:
      using System;
      using System.Diagnostics;
      using System.Drawing;
      using System.Drawing.Drawing2D;
      using System.ComponentModel;
      using System.Xml.Serialization;
      using NinjaTrader.Cbi;
      using NinjaTrader.Data;
      using NinjaTrader.Gui.Chart;
      Thanks

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Hwop38, 05-04-2026, 07:02 PM
      0 responses
      163 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Started by CaptainJack, 04-24-2026, 11:07 PM
      0 responses
      313 views
      0 likes
      Last Post CaptainJack  
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      245 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      350 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      179 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Working...
      X