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 Mckcrd, Yesterday, 10:49 PM
      0 responses
      7 views
      0 likes
      Last Post Mckcrd
      by Mckcrd
       
      Started by royzech, Yesterday, 09:06 PM
      0 responses
      8 views
      0 likes
      Last Post royzech
      by royzech
       
      Started by xiinteractive, Yesterday, 12:03 PM
      2 responses
      8 views
      0 likes
      Last Post xiinteractive  
      Started by BrendoApex, Yesterday, 08:47 PM
      0 responses
      2 views
      0 likes
      Last Post BrendoApex  
      Started by JackyP, Yesterday, 08:46 PM
      0 responses
      6 views
      0 likes
      Last Post JackyP
      by JackyP
       
      Working...
      X