• 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

Visual Studio type conflict warnings

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

    Visual Studio type conflict warnings

    I have been cleaning up my code, keeping VS/Roslyn happy... but I still have a swag of these bizarre warnings (see attached) that have me stumped.

    All I do in my indicators is fairly vanilla stuff (I think) eg declaring a variable of type SMA... calling some of the drawing methods, but VS throws these warnings up.
    FYI, I have NO other complaints from VS... everything else in my code is 100% kosher. I do create a couple VERY simple classes, all works fine...

    But these errors are also shown for example on the Sample SMA CrossOver strategy ... which is surely all good. Seems to suggest to me something deeper is out of kilter ??

    Any ideas what might be causing it?

    VS Warnings.txt

    Regards,

    #2
    Hello tgn55, thanks for your post.

    Warnings are suppressed by default in the NinjaScript editor. Warnings can be enabled via the NS editor properties. They are inert warnings so they can be ignored.

    Best regards.
    Chris L.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Newtrader101, Today, 03:40 PM
    1 response
    4 views
    0 likes
    Last Post NinjaTrader_Heath  
    Started by Branpo, Today, 02:58 PM
    2 responses
    4 views
    0 likes
    Last Post Branpo
    by Branpo
     
    Started by sdauteuil, Today, 02:09 PM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by AMATX, Today, 02:19 PM
    1 response
    5 views
    0 likes
    Last Post NinjaTrader_Tyler  
    Started by dmking, Today, 01:28 PM
    2 responses
    10 views
    0 likes
    Last Post dmking
    by dmking
     
    Working...
    X