Liquidity Weighted Moving Averages
Dec 25, 2023

The Liquidity Weighted Moving Averages indicator aims to identify underlying market trends by isolating price action on bars with the highest levels of liquidity to filter out market noise and outliers.
Usage
The indicator can be used as a more robust alternative to traditional Moving Average crossover systems. By focusing only on bars where high volume resulted in minimal price displacement (signifying high liquidity), it attempts to find the "true fair value" of an asset.
Users can observe the relationship between the Fast and Slow Moving Averages:
- Bullish Trend: When the Fast MA is above the Slow MA, the area between them is colored green, suggesting an upward bias.
- Bearish Trend: When the Fast MA is below the Slow MA, the area between them is colored red, suggesting a downward bias.
- Crossovers: Shifts in the relationship between the two averages can be used to identify potential trend reversals or momentum shifts.
Details
The script operates on the logic that high liquidity makes it more difficult for market participants to move price aggressively. It calculates "coincident liquidity" by dividing volume by the absolute distance between the open and close of each bar.
To refine the data, the tool uses a standard deviation threshold to identify spikes in liquidity. When a bar's liquidity crosses above this boundary, the closing price is recorded. The resulting Moving Averages are then calculated based solely on these high-liquidity price points rather than every bar in the dataset. This methodology effectively removes price outliers and "empty" volume bars from the trend calculation.
Settings
- Outlier Threshold Length: The period used by the EMA and Standard Deviation calculation to determine what constitutes a significant spike in liquidity.
- Fast MA length: The period used for the faster moving average calculation.
- Slow MA length: The period used for the slower moving average calculation.
FAQ
How do I use the Liquidity Weighted Moving Averages? You can use it to identify trend direction and potential reversal points by monitoring the crossovers and the color-coded cloud between the fast and slow averages.
What makes this different from a standard EMA? Unlike a standard EMA that calculates values based on every bar, this tool only updates its internal price data when high liquidity is detected, filtering out noise from low-liquidity price movements.
How can I access this tool? You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
Trading & investing are risky and many will lose money in connection with trading and investing activities. All content on this site is not intended to, and should not be, construed as financial advice. Decisions to buy, sell, hold or trade in securities, commodities and other investments involve risk and are best made based on the advice of qualified financial professionals. Past performance does not guarantee future results.
Hypothetical or Simulated performance results have certain limitations. Unlike an actual performance record, simulated results do not represent actual trading. Also, since the trades have not been executed, the results may have under-or-over compensated for the impact, if any, of certain market factors, including, but not limited to, lack of liquidity. Simulated trading programs in general are designed with the benefit of hindsight, and are based on historical information. No representation is being made that any account will or is likely to achieve profit or losses similar to those shown.
Testimonials appearing on this website may not be representative of other clients or customers and is not a guarantee of future performance or success.
As a provider of technical analysis tools and strategies, we do not have access to the personal trading accounts or brokerage statements of our customers. As a result, we have no reason to believe our customers perform better or worse than traders as a whole based on any content, tool, or platform feature we provide.
Charts used on this site are by TradingView in which the majority of our technical indicators are built on. TradingView® is a registered trademark of TradingView, Inc. www.TradingView.com TradingView® has no affiliation with the owner, developer, or provider of the Services described herein.
Market data is provided by CBOE, CME Group, BarChart, Massive, CoinAPI. Select U.S. equities data is provided through Massive. CBOE BZX real-time U.S. equities data is licensed from CBOE and provided through BarChart. Real-time futures data is licensed from CME Group and provided through BarChart. Select cryptocurrency data, including major coins, is provided through CoinAPI. All data is provided “as is” and should be verified independently for trading purposes.
This does not represent our full Disclaimer. Please read our full disclaimer.
© 2026 LuxAlgo Global, LLC.

