• 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

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 allinthechart, Today, 12:21 PM
    0 responses
    2 views
    0 likes
    Last Post allinthechart  
    Started by srbdoc, Today, 11:21 AM
    2 responses
    9 views
    0 likes
    Last Post NinjaTrader_PatrickG  
    Started by TazoTodua, Today, 11:20 AM
    1 response
    5 views
    0 likes
    Last Post NinjaTrader_Jim  
    Started by TazoTodua, Today, 11:19 AM
    0 responses
    6 views
    0 likes
    Last Post TazoTodua  
    Started by sdauteuil, Today, 10:22 AM
    5 responses
    16 views
    0 likes
    Last Post sdauteuil  
    Working...
    X