Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NinjaTrader Compile Issue

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

    NinjaTrader Compile Issue

    An error dialogue box came up asking me to recompile my NinjaTrader files, what does this mean and how do I accomplish this?

    #2
    Hello rwilliam,

    Thank you for your post.

    This error sometimes appears when a third party item did not close correctly when running NinjaTrader.

    To resolve the issue on your platform please:
    • Close NinjaTrader if open
    • Restart your PC
    • Change the power settings to ensure the computer does not sleep via the link above
    • Open NinjaTrader
    • Your Platform should function properly.
    If not and the compile errors persist, please follow the steps below:


    Please follow the instructions below to see where the errors are coming from after compiling the indicator. This will allow you to debug the indicator/strategy or remove it from your PC. If you are wondering why you receive an error when compiling only one indicator, it is because NinjaTrader always compiles all indicators and strategies - not just one. This is done to give you the highest runtime performance possible.

    For NinjaTrader 7:
    • Open NinjaTrader
    • From the Control Center select the Tools menu--> select the Edit NinjaScript menu item--> select Indicator
    • Select ANY indicator and double click on it (we need only to open and compile one script to see all compile errors for all files).
    • A new window will appear and you will need to right click in the window and select Compile to compile the indicators.
    • At the bottom of the window, a new section will appear where you can find the error locations.
    • From there you have the option to comment out offending code sections, remove the complete indicator or debug it to be able to compile again.

    For NinjaTrader 8:
    • Open NinjaTrader
    • From the Control Center select the New menu--> select NinjaScript Editor
    • Double click on the Indicators folder--> then double click on any of the indicators
    • Once the indicator code is in view right click in the window and select Compile to compile all NinjaScript objects
    • At the bottom of the NinjaScript Editor window, a new section will appear where you can find the error locations
    • You can exclude the file referenced in the editor by double clicking on the appropriate object type on the right of the NinjaScript Editor window. This will expand the object type folder. You can then select the file with a left click--> right click on the object--> then select Open to begin debugging the file, Exclude From Compilation, or Remove to delete the file.

    We have also collected more comprehensive steps for resolving NinjaScript programming errors in this tip in our Help Guide:
    Please let us know if we may be of further assistance.
    Heath R.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by KennyK, 05-29-2017, 02:02 AM
    3 responses
    1,282 views
    0 likes
    Last Post NinjaTrader_Clayton  
    Started by AttiM, 02-14-2024, 05:20 PM
    11 responses
    184 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by fernandobr, Today, 09:11 AM
    1 response
    3 views
    0 likes
    Last Post NinjaTrader_Erick  
    Started by timmbbo, Today, 08:59 AM
    1 response
    3 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by itrader46, Today, 09:04 AM
    1 response
    7 views
    0 likes
    Last Post NinjaTrader_Clayton  
    Working...
    X