Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

the mistake of compiling

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

    the mistake of compiling

    Hi.
    I got the mistake of compiling: CS0006: "can't find meta data file".

    i tested a simple strategy: crossing sma 50. link for info don't work.



    who help me?
    Tnks

    #2
    Hello ivan55,

    Thank you for your post.

    Expand the Error column to see the full message. If the errors messages refer to a certain indicator, you could remove the indicator in the error 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


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

    Comment


      #3
      Tnanks Shawn_B!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by WeyldFalcon, 08-07-2020, 06:13 AM
      11 responses
      1,422 views
      0 likes
      Last Post jculp
      by jculp
       
      Started by RubenCazorla, Today, 09:07 AM
      0 responses
      4 views
      0 likes
      Last Post RubenCazorla  
      Started by BarzTrading, Today, 07:25 AM
      2 responses
      29 views
      1 like
      Last Post BarzTrading  
      Started by devatechnologies, 04-14-2024, 02:58 PM
      3 responses
      21 views
      0 likes
      Last Post NinjaTrader_BrandonH  
      Started by tkaboris, Today, 08:01 AM
      0 responses
      6 views
      0 likes
      Last Post tkaboris  
      Working...
      X