Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Custom Ninja Files on your PC That Have Prgramming Erros?

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

    Custom Ninja Files on your PC That Have Prgramming Erros?

    Can you someone help me with this?


    #2
    Hello chaynes,

    Please follow the instructions below to see where the errors are coming from after compiling the indicator.

    For NinjaTrader 8:
    • Open NinjaTrader
    • From the Control Center select the New menu--> select NinjaScript Editor
    • 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.
    If you are unsure as to what the error is indicating, please send me a screenshot of the NinjaScript File column and Error column fully visible (not to be confused with the Code column)

    We have also collected more comprehensive steps for resolving NinjaScript programming errors in this tip in our Help Guide:
    CS0006 - Explanation of Cause
    This error is caused when a .dll file is being referenced that NinjaTrader is unable to find.

    Steps to Resolve
    • Right-click within the NinjaScript Editor window and select "References".
    • Locate and select the reference to the .dll file mentioned in the Error.
    • Click "remove" to remove the reference.
    • Click "OK" and recompile.
    Below is a link to our publicly available YouTube channel overviewing this process:CS0246 - Explanation of Cause
    This error is caused when NinjaTrader is searching for a reference to a .dll file, and the reference does not exist.

    Steps to Resolve
    • Right-click within the NinjaScript Editor window and select "References".
    • Click "Add".
    • Locate the .dll file for the file mentioned in the error.
    • Click "Open" to add the reference.
    • Click "OK" and recompile.
    Below is a link to our publicly available YouTube channel overviewing this process:CS0234 - Explanation of Cause
    This error indicates that a system indicator is missing from the NinjaTrader 8 -> bin -> Custom -> Indicator folder, or a corrupt file is currently present.

    Steps to Resolve
    • Shut down NinjaTrader
    • Navigate to Add/Remove Programs within the user's PC's Control Panel.
    • Click "NinjaTrader 8" in the list of installed programs to select it.
    • Click "Repair".
    • Finally, restart NinjaTrader and recompile.

    Below is a link to our publicly available YouTube channel overviewing this process:
    Please let us know if we may be of further assistance.
    Last edited by NinjaTrader_ChristopherJ; 03-10-2023, 11:06 AM.
    Christopher J.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    72 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    43 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    25 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    28 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    58 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X