Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Importing problem...
Collapse
X
-
Importing problem...
When trying to import a custom indicator I get this message...."You have custom Ninjascript files on your PC that have programming errors. These errors must be resolved before you can import a NinjaScript Archive File." But it doesn't tell me which file..How can I resolve?????Tags: None
-
Hello Miked11,
Thank you for your post.
Please follow the instructions below to see where the errors are coming from after compiling the indicator. This will allow you to debug the indicator/strategy or remove it from your PC. If you are wondering why you receive an error when compiling only one indicator, it is because NinjaTrader compiles all indicators and strategies- not just one.- Open NinjaTrader
- From the Control Center select the Tools menu--> select the Edit NinjaScript menu item--> select Indicator
- Select an indicator and double click on it.
- A new window will appear and you will need to right click in the window and select Compile to compile the indicators.
- At the bottom of the window a new section will appear were you can find the error locations.
- From there you have the option to remove the indicator or debug it.
Ryan M.NinjaTrader Customer Service
-
Originally posted by NinjaTrader_RyanM View PostHello Miked11,
Thank you for your post.
Please follow the instructions below to see where the errors are coming from after compiling the indicator. This will allow you to debug the indicator/strategy or remove it from your PC. If you are wondering why you receive an error when compiling only one indicator, it is because NinjaTrader compiles all indicators and strategies- not just one.- Open NinjaTrader
- From the Control Center select the Tools menu--> select the Edit NinjaScript menu item--> select Indicator
- Select an indicator and double click on it.
- A new window will appear and you will need to right click in the window and select Compile to compile the indicators.
- At the bottom of the window a new section will appear were you can find the error locations.
- From there you have the option to remove the indicator or debug it.
After doing the Compile feature again I noticed the correct file name for the .cs file with the error. Thanks
Comment
-
Originally posted by NinjaTrader_Jason View PostCan you please tell us what the error message exactly states.
Do you see the indicator that has the error at Tools-->Edit NinjaScript-->Indicator?
I would learn to follow instructions life would be much easier, no more errors when using the Compile tool. Thanks for the help.
Comment
-
I'm trying to just move my custom indicators over, from 6.5 to 7, and then compile them, but I'm getting about 20 of these types of errors (see below). None of the indicators I'm trying to move over have anything to do with these "namespace name" indicators.
Any help with a solution would be appreciated.
------------------------------------------------------------------------
Sample of errors:
NinjaTrader.Vendor.cs The type or namespace name 'JurikDMX' could not be found (are you missing a using directive or an assembly reference?) CS0246 - click for info 21 17
NinjaTrader.Vendor.cs The type or namespace name 'JurikJMA' could not be found (are you missing a using directive or an assembly reference?) CS0246 - click for info 22 17
NinjaTrader.Vendor.cs The type or namespace name 'JurikRSX' could not be found (are you missing a using directive or an assembly reference?) CS0246 - click for info 23 17
NinjaTrader.Vendor.cs The type or namespace name 'JurikVEL' could not be found (are you missing a using directive or an assembly reference?) CS0246 - click for info 24 17
NinjaTrader.Vendor.cs The type or namespace name 'WoodiesCCI' could not be found (are you missing a using directive or an assembly reference?) CS0246 - click for info 25 17
Comment
-
Hello Thomas,
To resolve this:- Right Click within the NinjaScript editor and select References
- Click Add
- Browse to My Documents\NinjaTrader 6.5\bin\custom\
- Select the file "NinjaTrader.vendor.dll" and then recompile.
Let us know if this doesn't work for you.Ryan M.NinjaTrader Customer Service
Comment
-
Originally posted by NinjaTrader_RyanM View PostHello Thomas,
To resolve this:- Right Click within the NinjaScript editor and select References
- Click Add
- Browse to My Documents\NinjaTrader 6.5\bin\custom\
- Select the file "NinjaTrader.vendor.dll" and then recompile.
Let us know if this doesn't work for you.
I open up a random indicator and right click.
Select references.
Add NinjaTrader 6.5\bin\Custom\NinjaTrader.Vendor.dll
The file is in a little box titled "References" and "Assembly"
What is the next step? How do I compile from here?
Comment
-
Hi Thomas,
After you have added the reference you can compile by right clicking in the programming window and selecting compile. If that does not work Compile is available by hitting the F5 key on the keyboard, or the fifth icon from the right on the toolbar.Ryan O.NinjaTrader Customer Service
Comment
-
Originally posted by NinjaTrader_RyanOlson View PostHi Thomas,
After you have added the reference you can compile by right clicking in the programming window and selecting compile. If that does not work Compile is available by hitting the F5 key on the keyboard, or the fifth icon from the right on the toolbar.
Comment
-
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by elirion, Today, 01:36 AM
|
0 responses
1 view
0 likes
|
Last Post
by elirion
Today, 01:36 AM
|
||
Is it possible to have a drawing, such as a line, cycle through different colors?
by gentlebenthebear
Started by gentlebenthebear, Today, 01:30 AM
|
0 responses
2 views
0 likes
|
Last Post Today, 01:30 AM | ||
Started by samish18, Yesterday, 08:31 AM
|
2 responses
9 views
0 likes
|
Last Post
by elirion
Today, 01:28 AM
|
||
Started by Mestor, 03-10-2023, 01:50 AM
|
16 responses
389 views
0 likes
|
Last Post
by z.franck
Today, 01:04 AM
|
||
Started by rtwave, 04-12-2024, 09:30 AM
|
4 responses
31 views
0 likes
|
Last Post
by rtwave
Today, 12:50 AM
|
Comment