• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Export Error

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

    Export Error

    Hello,

    I am trying to export a strategy file from NT and am getting an error.

    The error says "error compiling export sources" and lists the name of an indicator that is not used for the strategy I am trying to export. The referenced indicator compiles without incident, so I am not sure what is causing the issue.

    I deleted the indicator, but then got an error stating that the indicator was missing (despite the fact that no strategy actually uses it). I then added it back and continue getting the same error.

    I have tried the steps noted here:
    http://ninjatrader.com/support/helpG...t_problems.htm

    but this does not resolve the problem.

    Can you please advise how I might remedy this issue?

    Thank you.

    #2
    Hello ivb73077,

    Thank you for your inquiry.

    Please ensure that you are also exporting the indicator that is referenced in the error into your NinjaScript Archive file.
    1. Take note of which indicator is referenced by the error.
    2. Go to your NinjaScript Export utility. (New > Utilities > Export NinjaScript...)
    3. Under “Export objects”, select “System indicators” (or custom indicators if it is a custom indicator)
    4. Add the indicator that was referenced in the error to the export list along with your custom NinjaScript by pressing the > button
    5. Press the “Export” button to create your NinjaScript Archive File. If you receive the same error again, repeat this procedure until you add all the referenced system indicators and are able to successfully export your custom NinjaScript.


    Please, let me know if these are the steps you have taken and are still having issues.
    Zachary G.NinjaTrader Customer Service

    Comment


      #3
      As I explained in my initial, I have already tried this:

      I have tried the steps noted here:
      http://ninjatrader.com/support/helpG...t_problems.htm

      Any other suggestions?

      Comment


        #4
        Hello ivb73077,

        Can you please specify the errors that you are getting in the Log tab of the NinjaTrader Control Center so I may investigate further?
        Zachary G.NinjaTrader Customer Service

        Comment


          #5
          The error is:

          Error compiling export sources C:\......The Type or Namespace could not be found. Are you missing a reference?

          The error comes from a custom indicator that compiles without issue. I do not understand why this error is being generated.

          Comment


            #6
            Hello,

            So I may assist further, please show me the error message in full (including the file name of said indicator).

            Can you please provide screenshots of the error still occurring despite adding this indicator into the export list?

            To send a screenshot with Windows 7 or newer I would recommend using Window's Snipping Tool.

            Click here for instructions

            Alternatively to send a screenshot press Alt + PRINT SCREEN to take a screen shot 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 post the file as an attachment.

            Click here for detailed instruction
            Zachary G.NinjaTrader Customer Service

            Comment


              #7
              I have resolved the issue. Evidently, deleting the indicator and adding it back was required.

              Of course, there is no reason this should work, but I will take it.

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by pjsmith, Today, 10:50 AM
              0 responses
              5 views
              0 likes
              Last Post pjsmith
              by pjsmith
               
              Started by ForexBoy, Today, 01:40 AM
              1 response
              39 views
              0 likes
              Last Post NinjaTrader_Marco  
              Started by dalecast, Today, 09:57 AM
              2 responses
              4 views
              0 likes
              Last Post dalecast  
              Started by siroya, Today, 10:02 AM
              1 response
              8 views
              0 likes
              Last Post NinjaTrader_Heath  
              Started by foxy_rav, Today, 07:11 AM
              1 response
              6 views
              0 likes
              Last Post NinjaTrader_Jim  
              Working...
              X