• 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

  • Zeos6
    started a topic Warming Message with ChartStyle

    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.

  • Zeos6
    replied
    Thank you very much ChrisL. That did the trick. Very helpful. Appreciate it.

    Leave a comment:


  • NinjaTrader_ChrisL
    replied
    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.

    Leave a comment:

Latest Posts

Collapse

Topics Statistics Last Post
Started by uiwislth, Yesterday, 11:25 PM
0 responses
4 views
0 likes
Last Post uiwislth  
Started by Steve L, Yesterday, 10:04 PM
0 responses
3 views
0 likes
Last Post Steve L
by Steve L
 
Started by marianfed, Yesterday, 09:47 PM
0 responses
4 views
0 likes
Last Post marianfed  
Started by hir04068, Yesterday, 09:29 PM
0 responses
2 views
0 likes
Last Post hir04068  
Started by iq200, 03-11-2018, 07:49 PM
24 responses
1,018 views
0 likes
Last Post mrlucky1x  
Working...
X