Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Ninjascript files on your pc that have programming errors

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

    Ninjascript files on your pc that have programming errors

    Hello.

    I have an indicator that I was wanting to load onto Ninjatrader 8, when I try loading please see the screenshot of the error that appears, can you please advise.

    Regards.

    Donald
    Attached Files

    #2
    Hello Mackesh,

    Thank you for your post.

    Please follow the instructions below to see where the errors are coming from after compiling your NinjaScript files. This will allow you to debug the indicator/strategy causing the issue 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 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)
    • To send a screenshot with Windows 7 or newer I would recommend using Window's, Snipping Tool.
    • Alternatively to send a screenshot press Alt + PRINT SCREEN to take a screenshot of the selected window. Then go to Start--> Accessories--> Paint, and press CTRL + V to paste the image. Lastly, save as a jpeg file and send the file as an attachment.

    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.
    Kate W.NinjaTrader Customer Service

    Comment


      #3
      Hello Kate.

      Many thanks for getting back to me. Please see attached a screenshot of the errors that are coming up. It's a subscribed monthly 3rd party indicator that is causing the issues. Can this be repaired or do I need to make contact with them?

      Regards.

      Donald
      Attached Files

      Comment


        #4
        Hello Mackesh,

        Thank you for your reply.

        It looks like you're missing a reference for the The3DApexIndicatorBundle assembly. Please follow the steps below to rectify the errors.
        1. From the Control Center please select New--> NinjaScript Editor
        2. In the NinjaScript Editor please right click and select References.
        3. In the Reference window look for the .DLL file reference in the compile error by name (in the error the file name has a .cs at the end)
        4. If you see the .DLL file reference please left click on the reference and select Remove
        5. If you removed the reference in the previous step or you do not see the .DLL file reference then please select Add
        6. The Add option will open a File Explorer, from the path that was opened please locate the .DLL file
        7. If you find the .DLL please left click to select it and then select Open--> then select OK in the References window--> then right click in the NinjaScript Editor--> select Compile
        8. If you do not find the .DLL in the File Explorer please close the File Explorer and References windows--> then navigate to Documents\NinjaTrader 8\bin\Custom on your PC--> and delete the .cs file referenced in the compile error--> then right click in the NinjaScript Editor--> Compile
        Please let us know if we may be of further assistance to you.
        Kate W.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by jeronymite, 04-12-2024, 04:26 PM
        3 responses
        40 views
        0 likes
        Last Post jeronymite  
        Started by bill2023, Today, 08:51 AM
        2 responses
        16 views
        0 likes
        Last Post bill2023  
        Started by sidlercom80, 10-28-2023, 08:49 AM
        167 responses
        2,260 views
        0 likes
        Last Post jeronymite  
        Started by warreng86, 11-10-2020, 02:04 PM
        7 responses
        1,362 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Started by Perr0Grande, Today, 08:16 PM
        0 responses
        5 views
        0 likes
        Last Post Perr0Grande  
        Working...
        X