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 naming
Collapse
X
-
Hello,
Thank you for the post.
Using any of the wizards in NT8 will remove underscores from names automatically, this would be expected. Underscores do not follow the standard C# naming guidelines for Classes and instead should be replaced with a Pascal Case name.
You can find the standard C# naming guidelines here: https://msdn.microsoft.com/en-us/lib...(v=vs.71).aspx
I have added a feature request to allow underscores in naming through the platform.
I look forward to being of further assistance.JesseNinjaTrader Customer Service
-
Originally posted by NinjaTrader_Jesse View PostHello,
Thank you for the post.
Using any of the wizards in NT8 will remove underscores from names automatically, this would be expected. Underscores do not follow the standard C# naming guidelines for Classes and instead should be replaced with a Pascal Case name.
You can find the standard C# naming guidelines here: https://msdn.microsoft.com/en-us/lib...(v=vs.71).aspx
I have added a feature request to allow underscores in naming through the platform.
I look forward to being of further assistance.
What you cite are guidelines by the programming language developers. it is reprehensible that you think that you can force your parochial opinions on all other developers. A guideline is NOT a ukase: it is a recommendation. Revert this.
I am normally more polite that this when I address NT staff, but this is ridiculous, so I cannot apologize for my lack of politenss in this instance.
ref: http://ninjatrader.com/support/forum...56615#poststop
Comment
-
Hi Antny,
You will have to do this manually; that's what I do.
Create your indicator and compile it. Close the indicator and then in Documents/NinjaTrader8/bin/Custom/Indicators find your indicator and add your underscores. Reopen the indicator in the editor and add the underscore in your Indicator name.Recompile the indicator again. You will now have an indicator with underscores in the name.
There may be a better/easier way to do this but this works for me.
Comment
-
I agree with Konagam. While it has always been suggested to not use underscores in names, I have always done it with no undesirable effects. Because I have also not seen any problems using underscores in NT8, besides the problem of jumping through hoops to accomplish it, I see no reason to prohibit the usage.
Comment
-
Originally posted by NinjaTrader_Jesse View PostHello,
Thank you for the post.
Using any of the wizards in NT8 will remove underscores from names automatically, this would be expected. Underscores do not follow the standard C# naming guidelines for Classes and instead should be replaced with a Pascal Case name.
You can find the standard C# naming guidelines here: https://msdn.microsoft.com/en-us/lib...(v=vs.71).aspx
I have added a feature request to allow underscores in naming through the platform.
I look forward to being of further assistance.
Comment
-
Originally posted by Zeos6 View PostHi Antny,
You will have to do this manually; that's what I do.
Create your indicator and compile it. Close the indicator and then in Documents/NinjaTrader8/bin/Custom/Indicators find your indicator and add your underscores. Reopen the indicator in the editor and add the underscore in your Indicator name.Recompile the indicator again. You will now have an indicator with underscores in the name.
There may be a better/easier way to do this but this works for me.
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by cre8able, Today, 01:16 PM
|
1 response
3 views
0 likes
|
Last Post Today, 01:30 PM | ||
Started by chbruno, 04-24-2024, 04:10 PM
|
3 responses
47 views
0 likes
|
Last Post Today, 01:29 PM | ||
Started by samish18, Today, 01:01 PM
|
1 response
6 views
0 likes
|
Last Post Today, 01:25 PM | ||
Started by WHICKED, Today, 12:56 PM
|
1 response
8 views
0 likes
|
Last Post Today, 01:17 PM | ||
Started by WHICKED, Today, 12:45 PM
|
1 response
11 views
0 likes
|
Last Post Today, 01:08 PM |
Comment