High & Low Objects Indicator

sangnakhon

Trader
Apr 22, 2016
17
5
9
52
This indicator can draw highs & lows objects from H1-MN1. It's very good.
But I want it to also draw :
1. last year high & low.
2. last quater high & low.
(1st quater = Jan-Mar, 2nd quater = Apr-Jun, 3rd quater = Jul-Sep & 4th quater = Oct-Dec)
Because these two also are important suport & resistance levels.
Actually I tried to do it myself, but can't, since I didn't know how to code.
Thanks in advance.
 

Attachments

  • HL_Objects.mq4
    10.3 KB · Views: 177

Enivid

Administrator
Staff member
Nov 30, 2008
19,234
1,507
144
Odesa
www.earnforex.com
I realize that I am a bit late with this one, but I had to rewrite the code completely because it was a mess. Now the indicator will display High/Low lines for the previous quarters (any number) and years (also any number).

Please let me know if it works for you.
 

Attachments

  • HL_Objects.mq4
    17.6 KB · Views: 150
  • 👍
Reactions: lisparc

kinyo

Trader
Nov 26, 2015
3
1
19
44
Hello Enivid,

Great work !
Could you add the same options to this indicator please ?
Thanks in advance.
 

Attachments

  • Last Month Hi Lo.mq4
    1.3 KB · Views: 43

kinyo

Trader
Nov 26, 2015
3
1
19
44
My indicator draws more effectively the very important strategic levels for swing trading. I know how to encode it to draw prev HL days, weeks and months, but not for quarters and years. This is the reason for my help request (if it's possible).
 

kinyo

Trader
Nov 26, 2015
3
1
19
44
Here it is Sir:
Previous HL for days, weeks and months.
Could you add quarters and years please ?
Thanks in advance.
 

Attachments

  • Prev HL mtf.mq4
    2.1 KB · Views: 54
  • 👍
Reactions: Enivid

Enivid

Administrator
Staff member
Nov 30, 2008
19,234
1,507
144
Odesa
www.earnforex.com
The attached indicator should be working with both previous quarters and years.

The example image shows the previous year's Highs and Lows on a daily timeframe chart:
EURUSD-Prev-Yearly-High-Low.png
 

Attachments

  • Prev_HL_MTF_QY.mq4
    9.1 KB · Views: 95
  • 👍
Reactions: kinyo

Godwin21

Active Trader
Sep 30, 2017
5
0
32
64
I realize that I am a bit late with this one, but I had to rewrite the code completely because it was a mess. Now the indicator will display High/Low lines for the previous quarters (any number) and years (also any number).

Please let me know if it works for you.
Good day all and coders. Kindly add previous Quarterly Open and Quarterly Close to this HL_Objects indicator. Thank you
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,234
1,507
144
Odesa
www.earnforex.com
Good day all and coders. Kindly add previous Quarterly Open and Quarterly Close to this HL_Objects indicator. Thank you
Here it is. It now supports Open/Close for all timeframes, including quarterly and daily:
Previous OHLC Indicator.png
 

Attachments

  • Prev_HL_MTF_QY.ex4
    16.2 KB · Views: 13
  • Prev_HL_MTF_QY.mq4
    5.7 KB · Views: 21

Tylergibson

Newbie
Sep 17, 2022
15
2
4
42
Hi Enivid, seems the latest file is missing H1 timeframe, can you pls help me with the file which has H1 timeframe, this indicator looks very promising, I have tried daily timeframe, looking for H1 timeframe..thanks
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,234
1,507
144
Odesa
www.earnforex.com
Hi Enivid, seems the latest file is missing H1 timeframe, can you pls help me with the file which has H1 timeframe, this indicator looks very promising, I have tried daily timeframe, looking for H1 timeframe..thanks
I don't think I ever created one that shows the H1 High/Low objects.
 

krazi

Trader
Nov 30, 2021
4
2
14
47
Hi Envid, any chance you could provide an option for extending the lines to the current candle (like the original indicator)?

FYI - original w/ default settings:

1687807691621.png

Thanks in advance!