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)
The anaHeikinAshi indicator comes with an internal BoolSeries "upTrend". The indicator further comes with a public property "UpTrend" that can be used to access the BoolSeries via a strategy.
To access the indicator
(1) add an instance of the indicator to your strategy, for example
(2) Add properties for candleType, period and smoothing Type in order to access the parameters in your strategy.
(3) Use AHA in OnBarUpdate(). You can now access the trend of the current bar as "AHA.UpTrend[0]".
Thanks for the great, quick response. And thank you for all of the great coding indicators you have provided. I can't believe how much trading strategy I am being exposed to by reviewing them. It is very enlightening, and I appreciate your contribution very much.