This indicator creates a representation of a Higher Time Frame (HFT_) candlestick which is overlaid onto the Current chart. You can optionally show Body and/or Wicks.
Warning: Be aware the current HTF_ candle does not back update the bar representation and chart needs be refreshed to update properly. I don't know of a way around this issue.
If you change line 53 : type=resolution to type=string
This allows more diverse options for Higher Time Frame resolutions, for example "1M", "240" etc., which are not available in the "resolution" type drop down list.