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)
Using internal indicators within a custom indicator
I am having an issue creating a new custom indicator based upon the Wiseman stock indicators from NinjaTrader 8.
I can create a strategy using the Wiseman Alligator and unlock the code and compile with it working.
If I transfer this code over to a new custom indicator and add this line which works fine in the Strategy version, it errors with: 'WisemanAlligator' cannot be used like a method.
The line that works with the strategy but not in the indicator:
WisemanAlligator1 = WisemanAlligator(Close, 13, 8, 5, 8, 5, 3);
The example: (doesn't work for me):
// Prints the current value of the teeth for the Wiseman Alligator
double value = WisemanAlligator(13, 8, 5, 8, 5, 3).Teeth[0];
Print("The current Wiseman Alligator teeth value is " + value.ToString());
Any Ideas?
Can you help answer these questions from other members on NexusFi?
Mmmm. Just a very quick thought (and I have not looked into this at all) - but NinjaTrader have obfuscated the Wiseman suite of indicators. This could be the problem, but as I said this is just a quick guess.
--------------------------------------------------------
- Trade what you see. Invest in what you believe -
--------------------------------------------------------
I found that the issue is that it will compile fine in NinjaEditor but not in Visual Studio after playing more with it. Wonder what's missing in Visual Studio to cause this.