Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
Hey guys, I thought many of you would enjoy and benefit from this thread. My intention is to have each poster reply and describe in as much detail as possible an indicator they want created for NinjaTrader.
The programmers on the forum (there are many), …
I needed to save the SlingShot indicator under a different name and received a Global Namespace error ( See attached pic). I am not familiar with this. Can someone point me in the right direction?
Thanks!
I'm just a simple man trading a simple plan.
My daddy always said, "Every day above ground is a good day!"
Can you help answer these questions from other members on NexusFi?
What is the full error? Your screen shot doesn't show it.
But most likely, it's the maType enum, you probably have another indicator with a similar enum name. Change it to something unique in every instance of the file (Find/Replace, "maType" -> "ss_maType").
so it is not possible to have 2 different indicators that uses the same enum - maType-file ?
for each new SlingShot-variation - file i have to make a new renamed maType file ?
is this the reason ?
Correct, for public enum they should be uniquely named. I always named it to match the base name of the indicator, so that if someone saves the indicator as a new name, NT automatically did a find-replace "base name" -> "new base name", which included the public enum.
Example, indicator named "slingshot", so public enum named "slingshot_matype". If someone later saves the indicator as "slingshotv2", the public enum gets automatically renamed to "slingshotv2_matype" by the NT editor.