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)
I am referencing an indicator inside a strategy. This indicator draws dots and creates alerts to indicate conditions that I would like to check for in the strategy code also. Instead of duplicating the indicator logic in the strategy, how can a strategy access the drawn lines or dots or even alerts for given bars when they are not properties?
FYI The indicator in question is is the D3spotterV2 indicator
Can you help answer these questions from other members on NexusFi?
You would either need to duplicate the logic in the strategy, or access the indicator.
To be able to access the indicator, the indicator should come with a public DataSeries, IntSeries or BoolSeries, such that the logical condition for plotting lines or dots can be accessed.
Thank you. So I can access the dataseries and then duplicate the plotting code in my strategy (but instead of plotting I will set criteria for my strategy). Makes sense.
The indicator in question is editable, could I instead create a bool series in the indicator and set true in it when that indicator is plotting something that I'm interested in? Then I could instead have my strategy more simply refer to my new bool series. Anything wrong with that?