• 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 imunitypills, Today, 12:52 AM
    1 response
    7 views
    0 likes
    Last Post marcus2300  
    Started by ttodua, Today, 02:59 AM
    0 responses
    5 views
    0 likes
    Last Post ttodua
    by ttodua
     
    Started by rikcybella, Today, 01:46 AM
    0 responses
    7 views
    0 likes
    Last Post rikcybella  
    Started by imunitypills, Today, 12:53 AM
    0 responses
    8 views
    0 likes
    Last Post imunitypills  
    Started by Marasty, Today, 12:28 AM
    0 responses
    5 views
    0 likes
    Last Post Marasty
    by Marasty
     
    Working...
    X