DepthHouse - Moving Average Channels
Nov 30, 2017

The DepthHouse - Moving Average Channels indicator provides a dynamic volatility-based envelope around a central moving average to identify potential support, resistance, and overextended price levels.
Usage
The Usage section describes how the script can be used to identify market trends and potential reversal zones. The indicator functions as a trend-following envelope where the central "Basis" line determines the current trend direction, and the outer channels represent extreme price deviations.
- Support and Resistance: In trending markets, the top and bottom channels often serve as areas of interest where price may exhaust its current momentum.
- Trend Confirmation: When price remains between the Basis and the Top Channel, it indicates a strong bullish trend. Conversely, price staying between the Basis and the Bottom Channel indicates a bearish trend.
- Mean Reversion: Traders may look for price to return to the central Basis line after it has touched or pierced the outer percentage channels.
The interpretation of the indicator is heavily influenced by the Offset %. A lower percentage creates tighter channels suitable for low-volatility assets, while a higher percentage is better suited for volatile assets like Bitcoin or other cryptocurrencies to capture parabolic moves.
Details
The DepthHouse - Moving Average Channels script is constructed using a central moving average as its foundation. Users can toggle between a Simple Moving Average (SMA) and an Exponential Moving Average (EMA) depending on their preference for responsiveness.
The calculation for the channels is as follows:
- Basis: A user-defined SMA or EMA based on a specific length and source (typically the closing price).
- Top Channel: Calculated by adding a user-defined percentage offset to the Basis.
- Bottom Channel: Calculated by subtracting the same user-defined percentage offset from the Basis.
The script includes built-in alert conditions that trigger when price crosses the top channel, the bottom channel, or the central basis, allowing for automated monitoring of price breakouts or mean reversion setups.
Settings
- Length: Sets the period used for the central moving average calculation. Higher values result in smoother, slower-moving channels.
- Source: Determines the price data used for the calculation (e.g., Close, Open, High, Low).
- Offset %: Controls the width of the channels. This value represents the percentage distance the outer bands are shifted away from the central basis.
- Use EMA over SMA: A boolean toggle that allows the user to switch the central calculation from a Simple Moving Average to an Exponential Moving Average for faster reaction to price changes.
FAQ
What is the best way to determine the Offset %? The Offset % should be adjusted based on the historical volatility of the asset being analyzed. Highly volatile assets like cryptocurrencies typically require a higher offset (e.g., 50-100%) to contain price action effectively compared to equities or forex.
Can I use this indicator for intraday trading? Yes, the indicator is functional on all timeframes. Users should adjust the Length and Offset % settings to match the specific noise and volatility levels of the intraday timeframe they are trading.
How do I get access to 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.

