Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Custom Script Error
Collapse
X
-
Hello,
Thanks for your post.
Custom NinjaScripts can be removed in one of two ways from within NinjaTrader 8:- Add-ons can come as packages called 'assemblies'.An assembly can be removed by going to Tools > Remove NinjaScript Assembly > Select the assembly you wish to remove > Remove.
- To remove NinjaScript individually you can go to New > NinjaScript Editor > Double click on the 'Indicators' (or the relevant) folder > Right click on the add-on you wish to remove and select 'Remove'. Repeat these steps for all add-ons you wish to remove.
- Open NinjaTrader
- From the Control Center select the New menu--> select NinjaScript Editor
- Double click on the Indicators folder--> then double click on any of the indicators
- Once the indicator code is in view 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.
If you are unsure as to what the error is indicating, please send me a screenshot of the NinjaScript File column and Error column fully visible (not to be confused with the Code column)
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 send the file as an attachment.
Click here for detailed instruction
We have also collected more comprehensive steps for resolving NinjaScript programming errors in this tip in our Help Guide:
Please let us know if we may be of further assistance.Marco G.NinjaTrader Customer Service
-
-
Hello,
Thanks for your reply.
The compile error you are seeing in the NinjaScript Editor indicates you are missing references to .DLL files in your installation or the .DLL files do not exist in your installation. Please follow the steps below to rectify the errors.- From the Control Center please select New--> NinjaScript Editor
- In the NinjaScript Editor please right click and select References.
- In the Reference window look for the .DLL file reference in the compile error by name (in the error the file name has a .cs at the end)
- If you see the .DLL file reference please left click on the reference and select Remove
- If you removed the reference in the previous step or you do not see the .DLL file reference then please select Add
- The Add option will open a File Explorer, from the path that was opened please locate the .DLL file
- If you find the .DLL please left click to select it and then select Open--> then select OK in the References window--> then right click in the NinjaScript Editor--> select Compile
- If you do not find the .DLL in the File Explorer please close the File Explorer and References windows--> then navigate to Documents\NinjaTrader 8\bin\Custom on your PC--> and delete the .cs file referenced in the compile error--> then right click in the NinjaScript Editor--> Compile
If you would like assistance with the steps provided please let us know and we can setup a remote assistance session with one of our techs. You can request this by sending an email to platformsupport[at]ninjatrader[dot]com.
Marco G.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by goodknight777, Today, 08:43 AM
|
1 response
5 views
0 likes
|
Last Post Today, 09:25 AM | ||
Started by kramnor2001, Yesterday, 02:30 PM
|
3 responses
21 views
0 likes
|
Last Post
by kramnor2001
Today, 09:20 AM
|
||
Started by ninza33, Today, 09:10 AM
|
0 responses
8 views
0 likes
|
Last Post
by ninza33
Today, 09:10 AM
|
||
Started by Padan, Today, 02:02 AM
|
3 responses
11 views
0 likes
|
Last Post Today, 08:54 AM | ||
Started by Tim-c, Today, 08:36 AM
|
1 response
3 views
0 likes
|
Last Post Today, 08:45 AM |
Comment