Importing Custom Indicator Causing Error Problems - NinjaTrader | futures io social day trading
futures io futures trading


Importing Custom Indicator Causing Error Problems
Updated: Views / Replies:5,289 / 17
Created: by shmcclun Attachments:2

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Reply
 2  
 
Thread Tools Search this Thread
 

Importing Custom Indicator Causing Error Problems

  #1 (permalink)
Elite Member
Denver, CO/ USA
 
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: Forex
 
Posts: 5 since May 2012
Thanks: 3 given, 0 received

Importing Custom Indicator Causing Error Problems

NT 7 was running just fine the other day but I received this error when I tried to import a new indicator yesterday. When I went to import another indicator, this error message was received. "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." I have read the previous posts about others problems with this exact issue and tried implementing the solution...with no luck.

When looking further into the problem in the log file, this is what was said. "Default Unable to create instance of NinjaTrader Indicator.MASlopeMulti'. Most likely there is no default constructor defined, or the default constructor does not work correctly: Exception has been thrown by the target of an invocation.

Error is listed on a lot of my custom indicators and a lot that I have downloaded from futures.io (formerly BMT) that have been running for awhile now just fine. I did not run into this problem until I went to download both MASlopeMulti and MAPackage yesterday. I've deleted both since I have ran into the problem, and have restart NT numerous times, and still running into the same problem.

I then chose a random indicator to compile and see what error message was received "Metadata File:'C:\Users\shmcclun\Document\NinjaTrader 7\bin\Custom\MASlopeMultiV3.10.dll" could not be found.



Any help is appreciated.

Reply With Quote
 
  #2 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,651 since Mar 2010
Thanks: 4,226 given, 25,597 received
Forum Reputation: Legendary

Remove all elements of that MASlopeMultiV3.10.

For removing the DLL: First try to remove it via File -> Edit -> Remove NinjaScript Assembly. If that does not work you need to remove it manually.

To remove it manually: Go to folder My Documents -> NinjaTrader 7 -> bin -> custom. Delete the files labelled MaSlopeMulti *.*. If you remove the DLLs manually, you also need to remove the references manually.

To remove references: Edit any indicator and right-click into the editor with your mouse. Select "References" and remove reference to the DLL.

After this exercise shut down NinjaTrader and restart again.


Last edited by Fat Tails; July 1st, 2012 at 02:09 PM.
Reply With Quote
The following 5 users say Thank You to Fat Tails for this post:
 
  #3 (permalink)
Elite Member
Denver, CO/ USA
 
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: Forex
 
Posts: 5 since May 2012
Thanks: 3 given, 0 received


@Fat Tails thanks for getting to me. I tried doing exactly what you said, but I didn't succeed just yet. I have replied below each of your points in red.


Fat Tails View Post
Remove all elements of that MASlopeMultiV3.10.

For removing the DLL: First try to remove it via File -> Edit -> Remove NinjaScript Assembly. If that does not work you need to remove it manually. I was not able to try this method do to the original error message.

To remove it manually: Go to folder My Documents -> NinjaTrader 7 -> bin -> custom. Delete the files labelled MaSlopeMulti *.*. If you remove the DLLs manually, you also need to remove the references manually. I successfully removed the DLL from this folder and proceeded to the next step.

To remove references: Edit any indicator and right-click into the editor with your mouse. Select "References" and remove reference to the DLL. This is where I may have made my mistake, there was still a reference to the MASlopeMulti.dll, however after deleting the file I restarted and did not have any luck in the original error message problem. Therefore, I came back to the reference section and also removed the remaining DLL files (probably wasn't the best idea on my part), and am now in a further problem than before I believe?!? Any thoughts?

After this exercise shut down NinjaTrader and restart again.



Last edited by shmcclun; July 1st, 2012 at 03:49 PM.
Reply With Quote
 
  #4 (permalink)
Elite Member
Denver, CO/ USA
 
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: Forex
 
Posts: 5 since May 2012
Thanks: 3 given, 0 received

Problem Solved

Thank you @Fat Tails for your help this morning in resolving my NT error problems.
Everything is back up and running perfectly!

Reply With Quote
 
  #5 (permalink)
Elite Member
Singapore
 
Futures Experience: Intermediate
Platform: NinjaTrader,Amibroker,TOS
Favorite Futures: ES,EUR/USD
 
Posts: 15 since Oct 2011
Thanks: 6 given, 2 received

I encountered similar problem but nothing works


shmcclun View Post
Thank you @Fat Tails for your help this morning in resolving my NT error problems.
Everything is back up and running perfectly!

NJ was running ok until I put a anaholtema.cs into the custom/indicator folder

after that i could not import scripts through utility and got the darn message,..... custom indicator error,,,,,,
i deleted it and the indicator was not even used because it was not visible in the indicator list.

I was experimenting edit scripts and i tried to copy the whole chunk into another indicator and there was error when I compiled. I tried to compile another indicator that is working find and also have error message.

seems something just mess up.

Reply With Quote
 
  #6 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,651 since Mar 2010
Thanks: 4,226 given, 25,597 received
Forum Reputation: Legendary


goldie View Post
NJ was running ok until I put a anaholtema.cs into the custom/indicator folder

after that i could not import scripts through utility and got the darn message,..... custom indicator error,,,,,,
i deleted it and the indicator was not even used because it was not visible in the indicator list.

I was experimenting edit scripts and i tried to copy the whole chunk into another indicator and there was error when I compiled. I tried to compile another indicator that is working find and also have error message.

seems something just mess up.


If you copy and paste around for sure you will run into problems, if you do not understand how to do it. The error messages are generated because you have

- either files with coding errors
- or files that reference missing files

None of these problems can be attributed to the anaHoltEMA, because

- it does not have coding errors
- it does not reference any external files

If you want to get rid of your mess, please post a screenshot of the error messages after compiling. Alternatively you can also have a look at you log and trace files and inform us about the error messages that you find there.

Reply With Quote
The following 2 users say Thank You to Fat Tails for this post:
 
  #7 (permalink)
Elite Member
Singapore
 
Futures Experience: Intermediate
Platform: NinjaTrader,Amibroker,TOS
Favorite Futures: ES,EUR/USD
 
Posts: 15 since Oct 2011
Thanks: 6 given, 2 received


Fat Tails View Post
If you copy and paste around for sure you will run into problems, if you do not understand how to do it. The error messages are generated because you have

- either files with coding errors
- or files that reference missing files

None of these problems can be attributed to the anaHoltEMA, because

- it does not have coding errors
- it does not reference any external files

If you want to get rid of your mess, please post a screenshot of the error messages after compiling. Alternatively you can also have a look at you log and trace files and inform us about the error messages that you find there.

This is my second time experiencing the problem.
Last week. I copied files into the indicator folder and had the same problem.
I deleted them and voila, it worked.

However, I wanted to attempt again today, if a particular file is a problem. Okay, it may not be the right way
I could not even run the anaHoltema because it did not appear on the indicator list in NJ, but it is in the folder and visible.

I then attempt to import through utilities and the error message about custom indicator error....
I have read through the log file, no idea what is the issue.
can I pm you the log file?

Reply With Quote
 
  #8 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,651 since Mar 2010
Thanks: 4,226 given, 25,597 received
Forum Reputation: Legendary


goldie View Post
This is my second time experiencing the problem.
Last week. I copied files into the indicator folder and had the same problem.
I deleted them and voila, it worked.

However, I wanted to attempt again today, if a particular file is a problem. Okay, it may not be the right way
I could not even run the anaHoltema because it did not appear on the indicator list in NJ, but it is in the folder and visible.

I then attempt to import through utilities and the error message about custom indicator error....
I have read through the log file, no idea what is the issue.
can I pm you the log file?

Edit any of your indicators and compile. Post a screenshot of the error messages shown by the editor.

Reply With Quote
The following user says Thank You to Fat Tails for this post:
 
  #9 (permalink)
Elite Member
Singapore
 
Futures Experience: Intermediate
Platform: NinjaTrader,Amibroker,TOS
Favorite Futures: ES,EUR/USD
 
Posts: 15 since Oct 2011
Thanks: 6 given, 2 received


Fat Tails View Post
Edit any of your indicators and compile. Post a screenshot of the error messages shown by the editor.

ONE corrupted indicator seems to affect the rest. I am surprised how other files could be affected. they had to be deleted and then it would work.

Reply With Quote
 
  #10 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,651 since Mar 2010
Thanks: 4,226 given, 25,597 received
Forum Reputation: Legendary



goldie View Post
ONE corrupted indicator seems to affect the rest. I am surprised how other files could be affected. they had to be deleted and then it would work.

When you compile via F5 or import an indicator, all indicators and strategies will be compiled for use with NinjaTrader.

A single corrupted file or a single mising link will prevent the compiling.

Reply With Quote
The following 2 users say Thank You to Fat Tails for this post:

Reply



futures io > > > > Importing Custom Indicator Causing Error Problems

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Linda Bradford Raschke: Reading The Tape

Elite only

Adam Grimes: TBA

Elite only

NinjaTrader: TBA

January

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
UPS power supply causing noise and modem problems josh Tech Support 13 December 26th, 2011 05:31 AM
NT indicator script compiling issuses / error while importing skyfly NinjaTrader Programming 8 July 20th, 2010 01:56 AM
Problems with importing indicators into NT7Beta 16 ZTR The Elite Circle 1 May 25th, 2010 07:49 PM
Help Needed: Error Msg When Importing Files CTGUY NinjaTrader Programming 6 April 3rd, 2010 06:41 PM
How to find which indicator or strategy is causing errors on later compile attempts Saroj NinjaTrader Programming 0 June 26th, 2009 01:40 PM


All times are GMT -4. The time now is 10:19 PM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts
Page generated 2017-12-10 in 0.15 seconds with 20 queries on phoenix via your IP 54.221.73.186