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 code here is to color the indicator cyan if it is higher than the day's close when the indicator is inserted into the watch list, and red if it has not made an intraday high on the day.
However, I would like to color the indicator when the intraday high or intraday low is first renewed.
For example, in the attached image here, the intraday low of the close leg was made first, so I want the indicator to be colored down (red).
I do not understand what you want to do. Could you provide more information?
I suppose that the image you show comes from a site/ system that you have seen and you would like to replicate it. If relevant and able, provide the link so that your request for help would be better understood
Still having issues figuring out what it is you want to do that is different than what is being shown. After a bit of thought here is what I think you mean to say using your own message:
***************
The code here is to color the indicator cyan if it is higher than the day's close when the indicator is inserted into the watch list, and red if it has not made an intraday high on the day. For example, in the attached image here, the intraday low of the close leg was made first, so I want the indicator to be colored down (red).
However, I would like to color the indicator when the intraday high or intraday low is first renewed.
***************
I believe that you know you have correctly coded for the first paragraph and have given a screen shot of what that code produces and that you are happy with everything so far. Then you say "However..." and go on to state the change you wish to make.
Am I right so far? If so, when use the word "renew", do you mean a new low of day (LoD)?
When we use the word "renewal" we mean both new lows and new highs.
The chart I attached shows the data for the COO symbol for May 31, and the intraday leg for that day renewed both new highs and new lows after the next leg of the first close bar, but the new low renewed first.
In other words, we want to color the watch list if either the high or the low updates a new price first.
In the case of the chart example in the attached image, we have priced the new intraday low first, so we do not want to include the new intraday high after that as a calculation.
Hypothetically, if we priced a new high price ahead of the new low price, we want to make sure that any new lows made after that will not be included in the calculation.