Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Not able to export an indicator that references speech assembly
Collapse
X
-
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>
-
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
-
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>
- Likes 1
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
78 views
1 like
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
40 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
63 views
2 likes
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
63 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
54 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment