• 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 sun0781, Today, 05:02 PM
    0 responses
    6 views
    0 likes
    Last Post sun0781
    by sun0781
     
    Started by ronhb107, 09-12-2019, 10:09 AM
    4 responses
    41 views
    0 likes
    Last Post Mr.Trader  
    Started by rwilliam, Today, 03:55 PM
    0 responses
    3 views
    0 likes
    Last Post rwilliam  
    Started by asmmbillah, Today, 03:42 PM
    2 responses
    8 views
    0 likes
    Last Post asmmbillah  
    Started by NT-Roland, Today, 03:25 PM
    0 responses
    7 views
    0 likes
    Last Post NT-Roland  
    Working...
    X