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.

    https://gyazo.com/9626aff775ef39676e80e2d46c30f09a

    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
    http://www.ninjatrader.com/support/h...indicators.htm

    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 rogeamos, Today, 11:00 PM
      0 responses
      1 view
      0 likes
      Last Post rogeamos  
      Started by Cimhripljwe, Today, 10:18 PM
      0 responses
      2 views
      0 likes
      Last Post Cimhripljwe  
      Started by TimothyDavis, Today, 09:37 PM
      0 responses
      3 views
      0 likes
      Last Post TimothyDavis  
      Started by cetrtrew, Today, 09:35 PM
      0 responses
      1 view
      0 likes
      Last Post cetrtrew  
      Started by smcllr, Today, 04:15 PM
      1 response
      9 views
      0 likes
      Last Post NinjaTrader_ShawnB  
      Working...
      X