Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Need help with error code when compiling

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

    Need help with error code when compiling

    Hello, I'm using version 7, and i'm receiving this error code on all preloaded strategies and ones i try to create myself:

    error code= cs1513
    error= } expected
    Line 61
    Column 37

    This is even on the preloaded "samplemacrossover" strategy. I am new to ninja trader and would greatly appreciate any tips on how to fix this strategy so I can compile. Thank you so much!
    -Brandon

    #2
    Hi Brandon,

    The cs1513 error is that you are missing a closing curly brace " } " in one of you indicators.

    If the compile error is shown in orange, it means the error is in a different indicator/strategy. Double click on the error and it will open the file with the error. Then you will have to find which } is missing. The NT editor has matching brace highlighting, so if you put the cursor on a brace, the matching one will be highlighted, you'll need to determine which one is missing.

    VT

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by mattbsea, Today, 05:44 PM
    0 responses
    5 views
    0 likes
    Last Post mattbsea  
    Started by RideMe, 04-07-2024, 04:54 PM
    6 responses
    31 views
    0 likes
    Last Post RideMe
    by RideMe
     
    Started by tkaboris, Today, 05:13 PM
    0 responses
    2 views
    0 likes
    Last Post tkaboris  
    Started by GussJ, 03-04-2020, 03:11 PM
    16 responses
    3,282 views
    0 likes
    Last Post Leafcutter  
    Started by WHICKED, Today, 12:45 PM
    2 responses
    20 views
    0 likes
    Last Post WHICKED
    by WHICKED
     
    Working...
    X