Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Updated to .34

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

    Updated to .34

    After updated to .34 this afternoon, i seem to of lost all my indicators and can not import any new ones.
    I receive "you have custom Ninjascript files on your PC that have programming errors. These errors must be resolved before you can import a ninja script archive file."

    I tried searching the forum, and doing what was recommended, but still can't seem to resolve the issues. Can someone, in plain english, give me some directions to address and resolve this?

    Thanks.

    #2
    Hello Andrew99,


    Thanks for your post.



    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.
    • 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.




    If the errors messages refer to certain indicators, you could remove the indicators in question by going to the following directory:


    Documents\NinjaTrader 7\bin\Custom\ folder


    or


    Documents\NinjaTrader 7\bin\Custom\indicators\ folder


    Finding the indicator and deleting it from the folder will remove the indicator from NinjaTrader. After removing the indicator, you can compile to see if the errors are resolved.


    If the error messages refer to a reference .dll file. This indicates you are missing some required reference DLL's or have corrupted ones listed - please follow the steps below to rectify the errors.


    To resolve reference errors:

    • Right click in the code section of the NinjaScript editor.
    • In the context menu click on 'References'
    • In the Reference dialog, if a reference to the noted DLL files exists already then select the DLL's which are giving errors one by one and click on the 'Remove' button.

    After removing, add back the reference with the right path :
    • In the Reference dialog, Click on the 'Add' button.
    • Select all the missing DLL's (located in the Documents\NinjaTrader 7\bin\Custom\ folder or in the NinjaTrader installation folder, typically C:\Program Files (x86)\NinjaTrader 7\bin64) one by one and then click 'Ok'. [Please adjust if needed for 32 bit setup]
    • Compile the indicator now by pressing F5.
    • The issues should be resolved and your NT should be again in properly compiled state

    Please also see the section "How to add a reference" from our help guide




    We have also collected more comprehensive steps for resolving NinjaScript programming errors in this tip on our forums - http://www.ninjatrader.com/support/f...ead.php?t=4678



    Please do not hesitate to contact us for any other NinjaTrader inquiries you may have.
    Shawn B.NinjaTrader Customer Service

    Comment


      #3
      Hello,

      I have the same problem.I tried to delete my custom indicators as you describe it in
      Documents\NinjaTrader 7\bin\Custom\indicators\ folder but they don't exist there.
      When I try to go to Tools menu--> select the Edit NinjaScript menu item--> select Indicator and try to delete it I get the message
      "you have custom idicator that can't be deleted.This file is likely referenced by other NinjaScript files and these dependencies need to be removed first".

      How do I remove these indicators?Thank you.

      Comment


        #4
        Hello Jurase,

        Thank you for your post.

        This indicates that there are references to the removed scripts that are still present in the platform.

        To resolve the reference errors:

        • Right click in the code section of the NinjaScript editor.
        • In the context menu click on 'References'
        • In the Reference dialog, if a reference to the noted DLL files exists already then select the DLL's which are giving errors one by one and click on the 'Remove' button.
        • Compile the indicator now by pressing F5.
        • The issues should be resolved.

        Please do not hesitate to contact us for any other NinjaTrader inquiries you may have.
        Shawn B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by algospoke, 04-17-2024, 06:40 PM
        6 responses
        49 views
        0 likes
        Last Post algospoke  
        Started by arvidvanstaey, Today, 02:19 PM
        4 responses
        11 views
        0 likes
        Last Post arvidvanstaey  
        Started by samish18, 04-17-2024, 08:57 AM
        16 responses
        61 views
        0 likes
        Last Post samish18  
        Started by jordanq2, Today, 03:10 PM
        2 responses
        11 views
        0 likes
        Last Post jordanq2  
        Started by traderqz, Today, 12:06 AM
        10 responses
        21 views
        0 likes
        Last Post traderqz  
        Working...
        X