OPEN-SOURCE SCRIPT
Updated

Hui-Heubel Liquidity Ratio

4865
The Hui-Heubel Liquidity Ratio (lhh) is a measurement of market resiliency and liquidity. Higher values indicate a more liquid and resilient market, lower values indicate a more fragile market susceptible to volatile moves. It does not work on all tickers (for example, if something does not report volume).

Generally, you will see lhh rise when stocks sell off and fall when they are bought. Occasionally you will see scenarios where price will go up while lhh does as well, often this is a symptom of short covering.

Includes two configurable SMAs and a configurable lookback window.
Release Notes
Version 1.2
  • Updated MA lengths to correspond with default ELMo settings
  • Added fill colors
Release Notes
Bump version to match ELMo. No changes.
Release Notes
Update fill colors, function syntax
Release Notes
Update image
Release Notes
Visual updates.

  • LHH line made larger
  • Conditional coloring of SMA lines
  • Update fill colors
Release Notes
Minor fixes for accuracy
Release Notes
Added option to normalize values

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.