|12-30-2008, 09:46 AM||#1|
Join Date: Mar 2008
Location: UK West Sussex
Thanked 9 times in 7 posts
How do you remove an Input?
I posted this a while ago here .
In attempting to revise it I have come up against an issue I don't know how to resolve.
The dec variable (Decimal Input) is no longer required but if I delete it from the properties region it gives a pile of errors in the ninja generated script section which I completely fail to understand at the moment.
I have got round the issue by converting it to internal rather than public so that at least it compiles and runs and the decimal input doesn't display in the parameters box. However I am only halfway through my C# for dummies book!
Here is the revised indicator which once I have this issue resolved I will post in the share forum.
BTW is it possible to simply update the existing indicator with a new zip file or do I have to delete and repost this one?
|12-30-2008, 09:51 AM||#2|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Thanked 107 times in 70 posts
You should be able to press the Edit button and make the changes to the file attachment. To remove a user input you need to remove all calls to that input as well. Anything you added to create that input you need to remove and then it will work. If you reference this indicator in your other scripts, changing the input will influence the other scripts because they use to use that input so you need to change all of those as well.
NinjaTrader Customer Service
|Thread||Thread Starter||Forum||Replies||Last Post|
|Color input clears||mrlogik||Indicator Development||2||12-10-2008 12:28 PM|
|Variable input?||ju1234||Strategy Development||3||11-24-2008 09:15 AM|
|Keyboard input||BradB||General Programming||1||10-29-2008 03:31 PM|
|Color Input Parameter||aslane||Indicator Development||2||12-24-2007 01:49 PM|
|custom Dataseries as indicator input, or input to indi through underlying strategy||Nathamus||General Programming||3||08-30-2007 12:04 PM|