• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Warming Message with ChartStyle

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

    Warming Message with ChartStyle

    Hello,

    I am getting the following warning message when I compile my custom ChartStyle:

    Type of 'NinjaTrader.NinjaScript.ChartStyles.myCandleStyle .DashStyleWick' is not CLS-compliant CS3003
    In Properties I use:
    Code:
    public SharpDX.Direct2D1.DashStyle DashStyleWick
    { get; set; }
    Can you please provide the correct syntax for this? Thank you. Much appreciated.

    #2
    Hello Zeos6,

    Thank you for the post.

    Please decorate the property with the [CLSCompliant(false)] decorator. That should clear the warning. You can see it used in the @Lines.cs file.

    Please let me know if I can assist further.

    Chris L.NinjaTrader Customer Service

    Comment


      #3
      Thank you very much ChrisL. That did the trick. Very helpful. Appreciate it.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by mohdhm, Today, 04:09 PM
      1 response
      9 views
      0 likes
      Last Post NinjaTrader_ShawnB  
      Started by BGWTEX, Today, 03:30 PM
      1 response
      3 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by marekflys, Today, 03:07 PM
      0 responses
      6 views
      0 likes
      Last Post marekflys  
      Started by GregoryBaskin, Today, 02:51 PM
      1 response
      4 views
      0 likes
      Last Post NinjaTrader_Tyler  
      Started by swcooke, Today, 12:33 PM
      1 response
      11 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Working...
      X