Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

why won't this compile??

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

    why won't this compile??

    attached indicator getting these errors

    the errors are in the

    probably something simple I don't see

    NinjaScript File Error Code Line Column
    AATest.cs The type or namespace name 'MyPlotMode' could not be found (are you missing a using directive or an assembly reference?) CS0246 108 35
    AATest.cs The type or namespace name 'MyPlotMode' could not be found (are you missing a using directive or an assembly reference?) CS0246 113 59
    AATest.cs The type or namespace name 'MyPlotMode' could not be found (are you missing a using directive or an assembly reference?) CS0246 88 24
    AATest.cs The type or namespace name 'MyPlotMode' could not be found (are you missing a using directive or an assembly reference?) CS0246 93 47
    AATest.cs The type or namespace name 'MyPlotMode' could not be found (are you missing a using directive or an assembly reference?) CS0246 124 35
    AATest.cs The type or namespace name 'MyPlotMode' could not be found (are you missing a using directive or an assembly reference?) CS0246 129 59
    Attached Files

    #2
    Hello,

    Thank you for your post.

    If you're trying to create an enum in your script, please see this sample script which demonstrates how to properly do so:

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    44 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    54 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    34 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    95 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    57 views
    0 likes
    Last Post PaulMohn  
    Working...
    X