• 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 bankavaselina, Today, 10:38 AM
      1 response
      5 views
      0 likes
      Last Post NinjaTrader_ChrisL  
      Started by dieterp, Today, 09:40 AM
      1 response
      6 views
      0 likes
      Last Post NinjaTrader_Heath  
      Started by bankavaselina, Today, 08:51 AM
      1 response
      13 views
      0 likes
      Last Post NinjaTrader_PatrickG  
      Started by ballboy11, Today, 09:05 AM
      1 response
      6 views
      0 likes
      Last Post NinjaTrader_Jim  
      Started by frankduc, Today, 08:39 AM
      4 responses
      16 views
      0 likes
      Last Post frankduc  
      Working...
      X