Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Export strategy error

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

    Export strategy error

    Hi
    I'm trying to export my strategy but I have this error:
    Error compiling export assembly: c:\Users\Fra\Documents\NinjaTrader 8\bin\Custom\Indicators\@PriceOscillator.cs(36,11) : error CS0433: Il tipo 'NinjaTrader.NinjaScript.Indicators.EMA' esiste sia in 'c:\Users\Fra\Documents\NinjaTrader 8\bin\Custom\NinjaTrader.Vendor.dll' che in 'c:\Users\Fra\Documents\NinjaTrader 8\bin\Custom\Filename.dll'
    This strategy has inside Price oscillator and Aulin reg.
    How can I resolve?
    Thank you
    Fra

    #2
    Hello Fiocco,

    Thanks for your post.

    I'd like to ask some questions to get a better idea of the issue you are encountering.

    Do you get this error when deliberately adding EMA to your export?

    Are any of these indicators included in Filename.dll?

    What is included with Filename.dll?

    You could consider removing the Filename.dll assembly under Control Center > Tools > Remove NinjaScript Assembly, and export again, but I would like to better understand the context of your issue.

    I look forward to your reply.
    JimNinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_Jim View Post
      Hello Fiocco,

      Thanks for your post.

      I'd like to ask some questions to get a better idea of the issue you are encountering.

      Do you get this error when deliberately adding EMA to your export?

      Are any of these indicators included in Filename.dll?

      What is included with Filename.dll?

      You could consider removing the Filename.dll assembly under Control Center > Tools > Remove NinjaScript Assembly, and export again, but I would like to better understand the context of your issue.

      I look forward to your reply.
      I ve removed filename.dll but my personal strategy are no more usable, however... I can use the builder to make my strategy again and then I?ll try to export
      BYE

      Comment


        #4
        Originally posted by NinjaTrader_Jim View Post
        Hello Fiocco,

        Thanks for your post.

        I'd like to ask some questions to get a better idea of the issue you are encountering.

        Do you get this error when deliberately adding EMA to your export?

        Are any of these indicators included in Filename.dll?

        What is included with Filename.dll?

        You could consider removing the Filename.dll assembly under Control Center > Tools > Remove NinjaScript Assembly, and export again, but I would like to better understand the context of your issue.

        I look forward to your reply.
        Hallo Jim,
        filename.dll is a file than has been created when I imported a strategy from third part.
        In the strategy I'd export there are: Aulinreg, price oscillator, momentum and swing. I'm not deliberately adding EMA to my export.
        I made a clean ninja8 istallation and filename.dll is not in my directory, but there aren't AulinReg too. I need AulinReg for my new strategy.
        Can you help me?
        Fra

        Comment


          #5
          What is AulinReg?

          Where did it come from?
          I mean, do you have full source code to AulinReg?
          Or, is AulinReg a third-party product provided by filename.dll?

          Comment


            #6
            It's a file created by a third part.
            thanks

            Comment


              #7
              Hello Fiocco,

              On the latest version of NinjaTrader, if I create an indicator that uses an EMA, export it as a DLL, delete the script and import that DLL, then use that indicator in a strategy, I am able to export the strategy without hitting this issue. The strategy will automatically add a reference for this DLL when exporting.

              When you export the strategy, you could try adding a reference for Filename.dll in case there was an issue with the reference being added. See attached screenshot for adding a reference with an Export after clicking Add.

              If that doesn't resolve the matter, we will need to learn more about what is in the DLL where you can't export using one of the included indicators. Please advise the developer of the issue and have them contact me. You can have them contact me at platformsupport [at] ninjatrader [dot] com with the text "Attn Jim 2480797" and a link to this thread. I will need the source code for the DLL to test on my end and investigate further.

              I look forward to assisting.
              Attached Files
              JimNinjaTrader Customer Service

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by r68cervera, Today, 05:29 AM
              0 responses
              2 views
              0 likes
              Last Post r68cervera  
              Started by geddyisodin, Today, 05:20 AM
              0 responses
              3 views
              0 likes
              Last Post geddyisodin  
              Started by JonesJoker, 04-22-2024, 12:23 PM
              6 responses
              34 views
              0 likes
              Last Post JonesJoker  
              Started by GussJ, 03-04-2020, 03:11 PM
              12 responses
              3,239 views
              0 likes
              Last Post Leafcutter  
              Started by AveryFlynn, Today, 04:57 AM
              0 responses
              6 views
              0 likes
              Last Post AveryFlynn  
              Working...
              X