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 have 3 lines on my chart. An SMA, EMA & T3.
I'm using DrawRegion 3 times (1 for each combination).
This would be fine if that was all I needed but
I have 5 separate conditions (whether one is trending for example).
This requires using DrawRegion 15 times.
During each condition evaluation, I determine which line is on top & on bottom.
Is there a way to assign a substitute variable in each condition to use for the DrawRegion inputs ?
That way, I would only have to use 2 DrawRegion lines...
Thx in advance for any help you can offer.
P.S. I can't just use the line values as the DrawRegion output is very blocky.
Can you help answer these questions from other members on NexusFi?
You could calculate the MAX and MIN for your set of lines and then and then write those values to two new DataSeries objects. Then use DrawRegion() with those DataSeries.