The best way to change an indicator name if you're making changes is: in the indicator editor, right-click and "save as", giving it a new name. It doesn't work perfectly in every case, but it's the place to start.
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
Wyckoff Wave Indicator [Help Needed]
Collapse
X
-
I wouldn't try to change the indicator name with search and replace, you'll likely change things that shouldn't be changed.
The best way to change an indicator name if you're making changes is: in the indicator editor, right-click and "save as", giving it a new name. It doesn't work perfectly in every case, but it's the place to start.
-
StockJock,
The best way, as Kdoren mentioned, is to right click in the editor and go to "Save as". The NinjaScript editor will then change anything needed. I was only trying to save you from having to input your modifications a second time.
"Index" isn't usually a reserved keyword in indicators, but it may be in some.Adam P.NinjaTrader Customer Service
Comment
-
Ok. I did as both of you said and nothing shows up. Attached is the chart's image and the WyckoffWave.cs saved per your instructions. I saved the Index.cs under a new name of WyckoffWave.cs just as you instructed me to do.
The only thing that I can think of as the problem is the errors of back filling the stock symbols for the Wyckoff Wave. I have all of them in a separate portfolio list called, of course, Wyckoff Wave.Last edited by StockJock; 04-16-2012, 06:00 PM.
Comment
-
Originally posted by NinjaTrader_Josh View PostDebugging your NinjaScript code can be time consuming and frustrating. When NinjaTrader encounters a run-time exception in your programming logic it will terminate the execution of the script and log the exception to the Control Center Log tab. This in itself can be of value however, there may be times where your script is too large and the exception error message provided is not granular enough. This is where standard C# exception handling using the keywords “try” and “catch” (try–catch block) can be very useful. A try-catch block allows you to encapsulate a section of your code to trap exceptions and write out meaningful information that can help you resolve your run-time errors.
Comment
-
StockJock,
When an indicator doesn't display, its either that there isn't historical data available, or there is another error in the code that won't necessarily show up when you compile. I would suggest using the try/catch as well as checking your log for any error messages and reporting them here to this thread.Adam P.NinjaTrader Customer Service
Comment
-
There are no instructions on how to use this utility. The instructions in the link that you gave me are for downloading and installing it, not how to use it and retrieve the error information. How is it used?
Originally posted by NinjaTrader_AdamP View PostWhen an indicator doesn't display, its either that there isn't historical data available, or there is another error in the code that won't necessarily show up when you compile. I would suggest using the try/catch as well as checking your log for any error messages and reporting them here to this thread.
Comment
-
StockJock,
Here is an example :
Code:try { // put all the code you want to try in here } catch(Exception e) { Print(e.ToString()); }
Please let me know if I may assist further.Adam P.NinjaTrader Customer Service
Comment
-
StockJock,
We have had reports of this, unfortunately the only current resolution is to reduce the amount of historical data you are requesting in charts, etc. Its a message from the TDA API indicating that it cannot get historical data as far into the past as it is being requested to grab.Adam P.NinjaTrader Customer Service
Comment
-
Originally posted by NinjaTrader_AdamP View PostWe have had reports of this, unfortunately the only current resolution is to reduce the amount of historical data you are requesting in charts, etc. Its a message from the TDA API indicating that it cannot get historical data as far into the past as it is being requested to grab.
Comment
-
StockJock,
Downloading replay data comes from our servers so it shouldn't be an issue there. It would only affect data coming in from TD Ameritrade to your charts.
It looks like most instruments have 60-90 days, some have more. The number of instruments shouldn't cause any issues, as we have reports of this message only on certain stocks when the number of stocks isn't a factor.Adam P.NinjaTrader Customer Service
Comment
-
Originally posted by NinjaTrader_AdamP View PostIt looks like most instruments have 60-90 days, some have more. The number of instruments shouldn't cause any issues, as we have reports of this message only on certain stocks when the number of stocks isn't a factor.
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by RideMe, 04-07-2024, 04:54 PM
|
6 responses
31 views
0 likes
|
Last Post
by RideMe
Today, 05:31 PM
|
||
Started by tkaboris, Today, 05:13 PM
|
0 responses
2 views
0 likes
|
Last Post
by tkaboris
Today, 05:13 PM
|
||
Started by GussJ, 03-04-2020, 03:11 PM
|
16 responses
3,281 views
0 likes
|
Last Post
by Leafcutter
Today, 04:14 PM
|
||
Started by WHICKED, Today, 12:45 PM
|
2 responses
19 views
0 likes
|
Last Post
by WHICKED
Today, 03:36 PM
|
||
Started by Tim-c, Today, 02:10 PM
|
1 response
10 views
0 likes
|
Last Post Today, 02:52 PM |
Comment