Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
problem
Collapse
X
-
problem
3 PhotosLast edited by NinjaTrader_Emily; 04-13-2023, 09:06 AM. Reason: inserting screenshots for better visibilityTags: None
-
Hello RafalKment,
Thank you for your post.
Please follow the instructions below to see where the errors are coming from after compiling your NinjaScripts.
For NinjaTrader 8:- Open NinjaTrader
- From the Control Center select the New menu--> select NinjaScript Editor
- Right-click in the window and select Compile to compile all NinjaScript objects
- At the bottom of the NinjaScript Editor window, a new section will appear where you can find the error locations
- You can exclude the file referenced in the editor by double-clicking on the appropriate object type on the right of the NinjaScript Editor window. This will expand the object type folder. You can then select the file with a left-click--> right-click on the object--> then select Open to begin debugging the file, Exclude From Compilation, or Remove to delete the file.
- To send a screenshot with Windows 7 or newer I would recommend using 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 as a jpeg file and send the file as an attachment.
Please let us know if we may be of further assistance.
Emily C.NinjaTrader Customer Service
-
Dear Emily,
Many thanks for the explanation, looks like all the indicators with CS0101 are already used as names.
i tried to exclude one by one but nothing happens. no chance to remove them.
not sure what to do next.1 Photo
Comment
-
Hello RafalKment,
Thank you for your reply.
If you go to the Documents folder on your PC and look in Documents\NinjaTrader 8\bin\Custom\Indicators do you see any duplicated scripts? I suspect that there are potentially two indicators sharing the same name that are causing this error message. You will need to delete one of the duplicated files or change the name of the class inside of the script (for example, where it says "public class ______ : Indicator" you will need to make sure there are no duplicates with the same name) then recompile again to test.
Please let me know if I may be of further assistance.Emily C.NinjaTrader Customer Service
Comment
-
Hello Emili,
I have checked the indicators file. there is 2 indicators with the same name in bin file
opened ADL in visual studio so you can investigate, but it look s OK for me2 Photos
Comment
-
Hello RafalKment,
Which two indicators have the same name? I am not seeing any duplicates based on your screenshot.
I would like to work with you via email. Please send me your log and trace files so that I may look into what occurred.
You can do this by going to the Control Center-> Help-> Email Support
Ensuring 'Log and Trace Files' is checked will include these files. This is checked by default. Please include "ATTN Emily C" in the subject line along with a link to this forum thread in the body of the email.
I look forward to resolving this item with you.Emily C.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by fx.practic, 10-15-2013, 12:53 AM
|
5 responses
5,403 views
0 likes
|
Last Post
by Bidder
Today, 12:22 AM
|
||
Started by Shai Samuel, 07-02-2022, 02:46 PM
|
4 responses
94 views
0 likes
|
Last Post
by Bidder
Today, 12:11 AM
|
||
Started by DJ888, Yesterday, 10:57 PM
|
0 responses
6 views
0 likes
|
Last Post
by DJ888
Yesterday, 10:57 PM
|
||
Started by MacDad, 02-25-2024, 11:48 PM
|
7 responses
158 views
0 likes
|
Last Post Yesterday, 10:23 PM | ||
Started by Belfortbucks, Yesterday, 09:29 PM
|
0 responses
8 views
0 likes
|
Last Post
by Belfortbucks
Yesterday, 09:29 PM
|
Comment