Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
Errors in Custom NinjaScripts
Collapse
X
-
Errors in Custom NinjaScripts
I want to download a new Indicator and get messge :You have custom NinjaScript flies on your that have programming errors. Then it says I have to fix these before I can download the new one. I have proprietary indicators from online forex trainers downloaded and suspect this is where the problem lies. How can I have the error containing files and how can I fix themTags: None
-
I want to download a new Indicator and get messge :You have custom NinjaScript flies on your PC that have programming errors. Then it says I have to fix these before I can download the new one. I have proprietary indicators from online forex trainers downloaded and suspect this is where the problem lies. How can I find the error containing files and how can I fix them
-
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 always compiles all indicators and strategies - not just one. This is done to give you the highest runtime performance possible.
- Open NinjaTrader
- From the Control Center select the Tools menu--> select the Edit NinjaScript menu item--> select Indicator
- Select any indicator and double click on it (we need only to open and compile one script to see all compile errors for all files).
- 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 where you can find the error locations.
- From there you have the option to comment out offending code sections, remove the complete indicator or debug it to be able to compile again.
If you are unsure as to what the error is indicating, please send me a screenshot of the error with the name and description fields clearly readable.
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 CRTL + V to paste the image. Lastly, save as a jpeg file and send the file as an attachment.
We have also collected more comprehensive steps for resolving NinjaScript programming errors in this tip on our forums - http://www.ninjatrader.com/support/f...ead.php?t=4678MatthewNinjaTrader Product Management
Comment
-
I want to download a new Indicator and get messge :You have custom NinjaScript flies on your that have programming errors. Then it says I have to fix these before I can download the new one. I have proprietary indicators from online forex trainers downloaded and suspect this is where the problem lies. How can I find the error containing files and how can I fix them
Comment
-
This indicates you miss needed reference DLL’s or have corrupted ones listed - please follow the steps below to rectify the errors.
- In Control Center menu bar go to Tools > Edit NinjaScript > Indicator
- In the indicator dialog select any indicator and click on the ‘Ok’ button.
This will open the NinjaScript editor for you :
- Right click in the code section of the NinjaScript editor.
- In the context menu click on ‘References’
- In the Reference dialog, if a reference to the noted DLL files exists already then select the DLL’s which are giving errors one by one and click on the ‘Remove’ button.
After removing, add back the reference with the right path :
- In the Reference dialog, Click on the ‘Add’ button.
- Select all the missing DLL’s (located in the Documents\NinjaTrader 7\bin\Custom\ folder or in the NinjaTrader installation folder, typically C:\Program Files (x86)\NinjaTrader 7\bin64) one by one and then click ‘Ok’. [Please adjust if needed for 32 bit setup]
- Compile the indicator now by pressing F5.
The issues should now be resolved and your NT should be again in properly compiled state
Please also see the section “How to add a reference” from our help guide
If you run into any issues fixing the issue with the steps provided please let us know and we can setup a remote assistance session with one of our techs.MatthewNinjaTrader Product Management
Comment
-
Hello,
The "NinjaTrader.Core.dll" and "WilsonORMapper.dll" should be located in your Program Files directory.
You will need to select the existing referneces you have and then press "Delete". Once deleted, please press "Add" and navigate to C:\Program Files(x86)\NinjaTrader 7\bin and add the NinjaTrader.Core.dll file and press OK. You will need to repeat this for the WilsonORMapper.dll
Here is an example of my references.MatthewNinjaTrader Product Management
Comment
-
Originally posted by pswarts View PostI want to add an EMA to my chart calculated on high of bar when the bar closes, but the listed EMA indicator does not give that option, it calculates only on bar close value. How can I achieve this?
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by pmachiraju, 11-01-2023, 04:46 AM
|
8 responses
147 views
0 likes
|
Last Post
by rehmans
Today, 06:44 PM
|
||
Started by mattbsea, Today, 05:44 PM
|
0 responses
5 views
0 likes
|
Last Post
by mattbsea
Today, 05:44 PM
|
||
Started by RideMe, 04-07-2024, 04:54 PM
|
6 responses
33 views
0 likes
|
Last Post
by RideMe
Today, 05:31 PM
|
||
Started by tkaboris, Today, 05:13 PM
|
0 responses
4 views
0 likes
|
Last Post
by tkaboris
Today, 05:13 PM
|
||
Started by GussJ, 03-04-2020, 03:11 PM
|
16 responses
3,282 views
0 likes
|
Last Post
by Leafcutter
Today, 04:14 PM
|
Comment