marking box around high and low of 8.00 AM MYT candle H1

 

mark hl

Hi fellows, how do I make a indicator to mark a rectangle like this for H1 candle on 8.00 AM MYT time (my local time)? Thanks.

 

You should:

  • Check last closed candle open time and compare with the time you want (you can choose to put 08:00 as an input string, so can be customizable)
  • Create an OBJ_RECTANGLE based on High/Low of that candle
  • Proceed with loop only if time of current day is different than time of last processed day (for avoding useless calculations until next day starts).
Here no one will give you the code needed for free, but there is a freelance section where there are tons of developers ready to provide you the code you need.
Reason: