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)
About the Indicator where the high of the day renews the high of the previous day
The attached file is an indicator that plots and outputs an alert when the resolution is set to "Day" and the high of the day is greater than the high of the previous day, but when the resolution is set to 1 minute, it compares the current bar with the previous bar. I think.
So, even if the Resolution is set to 1 minute, I would like to output a plot and alerts when the high of the day updates the high of the previous day.
Can you help answer these questions from other members on NexusFi?
I would like to receive an alert each time an intraday high is renewed, but if the intraday high is renewed consecutively as shown in the attached image, the alert will go off for the second bar as well.
I only want to receive alerts for the first …
that demonstrates tracking a daily high on an intraday chart. You need a similar approach for this task and store this value in a new variable on a new day.
Then you can check if the current bar's high is greater than the value stored in the variable that holds yesterday's high.
there are usually multiple ways to accomplish a goal in PowerLanguage. When you look at the original code you posted in the other thread, it shows how you can track the daily high using one variable and the reserved word high.
Regards,
ABCTG
LW11041104
Thank you for your reply.
Does that mean using functions or reserved words after having variables?