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)
Newby Help to access variable in an indicator in a strategy
I am attempting to learn ninjascript so pardon me if I state anything dumb.
I am using the WWaveVolume indicator which is available here on futures.io.
I want to access a variable from within this indicator in a strategy.
In the WWave code the variable is defined as a private int.
private int Trend;
Two questions.
How do I inform my strategy that I want to use data from this indicator?
Once the strategy knows about the indicator and can access it, will I have access to a variable defined as private?
Please repost your question in one of the existing threads set up for members to get help for programming or strategy topics. An obvious one is the free indicator thread, where you made your original post on the subject:
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), …
Keeping related posts together helps others to find topics that interest them, and will help you in finding someone to give you a hand with your question.
This thread is closed, to prevent creating a split topic.
Bob.
When one door closes, another opens.
-- Cervantes, Don Quixote