Thank you so much for this indicator & the matching strategy. It is great that you have included a trend filter & the ability to customise the upper & lower shadows. I would like to make a request that I think would be a valuable further improvement. It would be great if we could also customise the size (i.e. entire length including shadows) of the candle. Ideally this would be linked to average true range. In this way the indicator length can be customised according to the surrounding price activity rather than a randomly-selected number of pips.
To explain further, I would like to be able to specify that the indicator selects hammers/hanging men that are greater than x*average-true-range of the past y bars, where x & y are user specified. For example a user might wish to only capture bars where the entire length of the candle (low to high) is at least 3 x the average-true-range of the past 100 bars. Or perhaps the user may refine this to, say, 2.3 times the ATR.
If you have the time to add this refinement it would be greatly appreciated (& please also update the matching strategy).
Many thanks in advance.