I've searched the forums and can't find this particular indicator or code.
I have displayed on my charts the following lines:
Yesterday's highest High and lowest Low.
This week's and last week's highest High and lowest Low.
This month's and last month's highest High and lowest Low.
What I can't figure out is how to display lines showing this year's and last year's highest High and lowest Low.
I don't mean the previous 12 months, I mean the whole year from January to December (for last year) and January to the current month (for the current year).
I'm sure it's something simple, but I can't seem to do it.
Does anyone have an indicator to display this, or can show me the code so I can write it myself?
TIA for your help.
I have displayed on my charts the following lines:
Yesterday's highest High and lowest Low.
This week's and last week's highest High and lowest Low.
This month's and last month's highest High and lowest Low.
What I can't figure out is how to display lines showing this year's and last year's highest High and lowest Low.
I don't mean the previous 12 months, I mean the whole year from January to December (for last year) and January to the current month (for the current year).
I'm sure it's something simple, but I can't seem to do it.
Does anyone have an indicator to display this, or can show me the code so I can write it myself?
TIA for your help.