Unless there is a logic error (quite possible!) the indicator places a dot above any downward Wide Range Body interval or below any upward Wide Range Body interval. (purple in the examples). These intervals don't need have hidden gaps. This can be switched on or off. You can also select how many bars back to look (default 3).
If it detects a WRBody it will look for a hidden gap by checking next interval low > previous interval high OR next interval high < previous interval low. It displays this as a background on that interval (blue in the examples). It is displayed from previous interval h/l to subsequent interval l/h.
wrbtrader wrote:
Hi,
Thanks for sharing your code for multicharts.
I have a question...does your code identify WRB Hidden Gap intervals differently from WRB intervals via
color Also, it looks like in your code you're using the RANGE to determine WRBs instead of the difference between Close & Open
If so, that's ok but many others (including myself) don't use the range.
Regards,
M.A. Perry
TheStrategyLab