• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Indicator programming for NT7

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • homey
    replied
    Thank you all for your help!

    Leave a comment:


  • Harry
    replied
    Originally posted by homey View Post
    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.
    You get error messages because you have copied and pasted indicator files in the past. Other files or references are missing now.

    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:


  • eDanny
    replied
    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:


  • NinjaTrader_Bertrand
    replied
    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:


  • homey
    replied
    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:


  • NinjaTrader_Bertrand
    replied
    homey, welcome to our forums - when is that error for your setup exactly thrown? Upon importing the zip?

    Leave a comment:


  • homey
    started a topic Indicator programming for NT7

    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 Files

Latest Posts

Collapse

Topics Statistics Last Post
Started by glennts, Today, 08:24 PM
0 responses
4 views
0 likes
Last Post glennts
by glennts
 
Started by ibabinov, 11-12-2019, 09:50 AM
3 responses
66 views
0 likes
Last Post NinjaTrader_ShawnB  
Started by PrimoItch, 05-27-2020, 04:35 PM
2 responses
17 views
0 likes
Last Post bkonia
by bkonia
 
Started by RuthB, Yesterday, 09:41 PM
1 response
15 views
0 likes
Last Post NinjaTrader_ChrisL  
Started by Newtrader101, Today, 12:12 PM
3 responses
12 views
0 likes
Last Post NinjaTrader_ShawnB  
Working...
X