I am trying to develop a simple study that will highlight the current bar if it is either of the following:
1. The current bar is an inside bar (today's high is less than/equal to the prior day high and the low is greater than/equal to the prior day low) and it has the narrowest range of the last four bars (high-to-range).
2. The current bar has the widest high-to-low range of the last seven bars.
Help would be much appreciated. Thanks.
1. The current bar is an inside bar (today's high is less than/equal to the prior day high and the low is greater than/equal to the prior day low) and it has the narrowest range of the last four bars (high-to-range).
2. The current bar has the widest high-to-low range of the last seven bars.
Help would be much appreciated. Thanks.
Comment