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 Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      601 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      347 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      103 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      559 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      558 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X