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
Indicator programming for NT7
Collapse
X
-
Originally posted by homey View PostHi NinjaTrader_Bertrand. Actually the error occurs when I try compiling the file. I have trouble importing it via the 'File/Utilities' option as the computer picks up errors in other ninjascript files (it doesn't allow me to proceed). So what I do is unzip the PRC2 folder, copy and paste the indicator in the 'Ninjatrader/bin/indicator' directory, compile it, and try to run it that way. It works for other indicators so this method shouldn't be a problem.
You need to clean up your NinjaTrader installation because you are not allowed to import a new file when NinjaTrader is in a non-compilable state. And please stop copy and pasting.
To clean up your installation please edit any indicator and compile via F5. You will get error messages. Please delete all indicator and strategy files that are listed in those error messages. If need, deleting those files can be done manually via the windows explorer. Repeat that process until you get no more error messages.
Now you can import the file below.
Leave a comment:
-
The reason it will not import is the same as why nothing will compile, you already have existing errors somewhere else. You will not be able to use the indicator until the errors are corrected. I sent you some ideas in your original email question to me earlier. Please read it.
Dan
Leave a comment:
-
homey, you will need to fix the compile errors in the other scripts first, there's valid reason the import process won't let you proceed here. In what script is the compile issue then found if you double click on the error? Could perhaps post a screenshot here for us?
Leave a comment:
-
Hi NinjaTrader_Bertrand. Actually the error occurs when I try compiling the file. I have trouble importing it via the 'File/Utilities' option as the computer picks up errors in other ninjascript files (it doesn't allow me to proceed). So what I do is unzip the PRC2 folder, copy and paste the indicator in the 'Ninjatrader/bin/indicator' directory, compile it, and try to run it that way. It works for other indicators so this method shouldn't be a problem.
Leave a comment:
-
homey, welcome to our forums - when is that error for your setup exactly thrown? Upon importing the zip?
Leave a comment:
-
Indicator programming for NT7
Could someone please help with some programming for this indicator. It is a Polynomial Regression Channel that was posted in a previous thread in the forum. I assume it is compatible with NT7, however, I keep getting compile error CS0260 'Missing partial modifier on declaration of type 'Ninjatrader.Indicator.Indicator;' another partial declaration of this type exists'.
Any help and suggestions would be much appreciated.
Thanks in advance.Attached FilesTags: None
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by pvincent, 06-23-2022, 12:53 PM
|
14 responses
238 views
0 likes
|
Last Post
by Nyman
Today, 12:47 AM
|
||
Started by TraderG23, 12-08-2023, 07:56 AM
|
9 responses
383 views
1 like
|
Last Post
by Gavini
Today, 12:29 AM
|
||
Started by oviejo, Today, 12:28 AM
|
0 responses
1 view
0 likes
|
Last Post
by oviejo
Today, 12:28 AM
|
||
Started by pechtri, 06-22-2023, 02:31 AM
|
10 responses
125 views
0 likes
|
Last Post Today, 12:03 AM | ||
Started by judysamnt7, 03-13-2023, 09:11 AM
|
4 responses
59 views
0 likes
|
Last Post
by DynamicTest
Yesterday, 08:25 PM
|
Leave a comment: