• 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 denalek2419, Today, 01:46 PM
      1 response
      3 views
      0 likes
      Last Post NinjaTrader_ChristopherJ  
      Started by REI140205, Today, 12:58 PM
      1 response
      6 views
      0 likes
      Last Post NinjaTrader_Jim  
      Started by Aditrade, Today, 12:33 PM
      1 response
      3 views
      0 likes
      Last Post NinjaTrader_Kate  
      Started by music_p13, Today, 12:22 PM
      2 responses
      10 views
      0 likes
      Last Post music_p13  
      Started by The Big D, Today, 11:41 AM
      2 responses
      7 views
      0 likes
      Last Post The Big D  
      Working...
      X