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 Waxavi, Today, 02:10 AM
    0 responses
    6 views
    0 likes
    Last Post Waxavi
    by Waxavi
     
    Started by TradeForge, Today, 02:09 AM
    0 responses
    11 views
    0 likes
    Last Post TradeForge  
    Started by Waxavi, Today, 02:00 AM
    0 responses
    2 views
    0 likes
    Last Post Waxavi
    by Waxavi
     
    Started by elirion, Today, 01:36 AM
    0 responses
    4 views
    0 likes
    Last Post elirion
    by elirion
     
    Started by gentlebenthebear, Today, 01:30 AM
    0 responses
    5 views
    0 likes
    Last Post gentlebenthebear  
    Working...
    X