Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Not able to export an indicator that references speech assembly

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

    Not able to export an indicator that references speech assembly

    I am trying to export an indicator that references System.Speech.Synthesis assembly. I get an error "Error compiling export assembly. Please check your logs". Where are the logs located?

    #2
    Hello cay7man,

    Thanks for your post.

    You could see the error message you mentioned located in the Log tab of the Control Center. Also, Log files could be found in the Documents/NinjaTrader 8/log folder.

    What does the error message report exactly in the Log tab of the Control Center?

    Please send us a screenshot of the full error message so we may accurately assist.
    • To send a screenshot with Windows 10 or newer I would recommend using the Windows Snipping Tool.
    • Alternatively to send a screenshot press Alt + PRINT SCREEN to take a screenshot of the selected window. Then go to Start--> Accessories--> Paint, and press CTRL + V to paste the image. Lastly, save it as a jpeg file and send the file as an attachment.

    I look forward to assisting further.
    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    Comment


      #3
      I get two errors regarding the speech assembly I'm using. However the indicator compiles successfully in NT editor and I've been using it.

      cs0256:The type or namespace name "SpeechSynthesizer" could not be found (are you missing a using directive or an assembly reference?)
      cs0234:Tge type or namespace name "Speech" does not exist in the namespace "System( are you missing a using directive or an assembly reference?)

      Comment


        #4
        Hello cay7man,

        Thanks for your note.

        These error messages indicate that you are not including the References to SpeechSynthesizer and System.Speech with your indicator when exporting your script.

        You would need to ensure to include those References with your NinjaScript Indicator when exporting from the Tools > Export NinjaScript window.

        To see the available References that could be added to the export, you could change the 'Type' drop-down menu in the Export NinjaScript window to 'References'.

        Let us know if we may assist further.
        <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

        Comment


          #5
          TY! That worked.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          626 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          359 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          105 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          562 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          567 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X