When I try to import an updated version of an existing 3rd party indicator (dValueArea), I got the following error message. Don't have any idea where the programming errors are and how to fix them? Thx very much for your advice.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
NinjaScript Files Programming Errors
Collapse
X
-
NinjaScript Files Programming Errors
Hello,
When I try to import an updated version of an existing 3rd party indicator (dValueArea), I got the following error message. Don't have any idea where the programming errors are and how to fix them? Thx very much for your advice.Tags: None
-
Hello pipal
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.
1. Open NinjaTrader
2. From the Control Center select the Tools menu--> select the Edit NinjaScript menu item--> select Indicator
3. Select an indicator and double click on it.
4. A new window will appear and you will need to right click in the window and select Compile to compile the indicators.
5. 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.
More information regarding debugging can be found at the link below:
ChipNinjaTrader Customer Service
-
Can't import NinjaScript
Hello,
The same thing happens to me, when I try to import a ninjascript, I get a message;
"You have custom NinjaScript files on your PC that have programming errors, etc.."
So I did what you posted above, when I get to edit NinjaScript files it shows only
the files that came wth Ninjatrader and none which I have since downloaded.
However when I click on any of these files and try to compile I get a message:
"The following NinjaScript file(s) have errors..."
and
NinjaTrader Core.dll could not be found
WilsonORMapper.dll could not be found
What do I do?
Thanks!
Comment
-
Can't import Indicator
Hello:
Just updated my NT 6.5 to 7, and trying to install an Indicator I have a similar problem.
When trying to import a ninjascript (NT7 Indicator), I get the following 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."
Next, getting to edit the NinjaScript files it shows only the files (Indicators) that came with Ninjatrader since I can't install any newer.
Then, when compiling any of those files I get a the following message:
"The following NinjaScript file(s) have programming errors and must be resolved before compiling:"
In all cases the NinjaScript File is: NinjaTrader.Vendor.cs
There are several errors:
- The type or namespace name 'JurikDMX' could not be found (are you missing a using directive or an assembly reference?)
- The type or namespace name 'JurikJMA' could not be found (are you missing a using directive or an assembly reference?)
- The type or namespace name 'Woodies CCI' could not be found (are you missing a using directive or an assembly reference?)
- Ninja Trader.Indicator.Indicator.JurikDMX(int) is a 'method' but is used like a 'type'
- Ninja Trader.Indicator.Indicator.JurikJMA(double. double) is a 'method' but is used like a 'type'
- And so on...
Codes: CS0246 and CS0118
I don't know why this happend, a collegue of mine just updated its NT to 7 and had no problem installing new indicators.
What can I do?
Thank you in advance!
Comment
-
Please take the following steps:- From the Control Center, click Tools > Edit NinjaScript > Indicators.
- In the edit indicators menu, double click on any indicator to load it's code.
- In the code window, click F5 to compile.
- Next, right click in the code window and select References.
- In the references window, if a reference to NinjaTrader.Vendor.dll exists, select it and then press delete.
- Next, press the add button. This will open a browse window where you will select the file to reference. You will need to add the file mentioned in the error message NinjaTrader.Vendor.dll
Christopher J.NinjaTrader Customer Service
Comment
-
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Nickgiaco, 02-26-2024, 10:23 AM
|
2 responses
71 views
0 likes
|
Last Post Today, 05:12 AM | ||
Started by Johndc, Today, 04:39 AM
|
0 responses
4 views
0 likes
|
Last Post
by Johndc
Today, 04:39 AM
|
||
Started by johntraderuser2, Today, 02:34 AM
|
0 responses
9 views
0 likes
|
Last Post Today, 02:34 AM | ||
Started by IanS00, 03-27-2024, 11:24 AM
|
2 responses
13 views
0 likes
|
Last Post Today, 02:00 AM | ||
Started by Mariawilcoxi, Today, 01:32 AM
|
0 responses
5 views
0 likes
|
Last Post
by Mariawilcoxi
Today, 01:32 AM
|
Comment