Bollinger Bands + Moving Average (BBMA Oma Ally)
Aug 6, 2021

The Bollinger Bands + Moving Average (BBMA Oma Ally) indicator provides a comprehensive multi-layered analysis framework by combining volatility bands with specific moving averages to identify trend exhaustion and potential entry points.
Usage
The Usage section describes how the script can be used to identify specific market phases and setups. This indicator is based on the BBMA Oma Ally technique, which categorizes market behavior into three primary stages:
- Extrem (Signal): This serves as an early warning that a current trend is reaching exhaustion. It occurs when a Moving Average moves outside of the Top or Low Bollinger Bands. A valid Extrem signal requires a reversal candle and a retest candle (entry) at the MA5 or the candle body.
- MHV (Market Loss Volume): This setup indicates a loss of momentum following an Extrem signal. It is characterized by the inability of the price to close outside the Bollinger Bands. Validation occurs when a directional candlestick (CSA) appears, signaling a potential long-distance trend change.
- Re-entry: This is used to join an existing trend. A strong re-entry occurs when the price retraces but fails to close past the MA5/MA10 and the Mid BB. Traders typically wait for a second candle to confirm the entry after the first candle validates the re-entry zone.
Details
The script integrates several technical components to provide dynamic support and resistance:
- Bollinger Bands: Act as the primary boundaries for price action. Breaks outside these bands suggest high momentum, while failures to break them (MHV) suggest trend weakness.
- High/Low Moving Averages: The script utilizes two sets of MAs applied to the Highs (MA5/MA10) and two sets applied to the Lows (MA5/MA10). These act as tracking mechanisms for price Extremes and Re-entry zones.
- MA50 (Baseline): A 50-period Exponential Moving Average is used as a higher-level trend filter to determine the overall market direction.
- Alert Integration: The script includes automated alerts for price interactions with the Upper/Lower Bollinger Bands and the MA50 to assist in monitoring the setups in real-time.
Settings
Moving Averages
- MA1-MA4 Settings: Allows customization of the period, calculation method (SMA or EMA), and source (High/Low/Close) for the four short-term MAs used in the BBMA technique.
- MA5 Period: Sets the length for the long-term trend filter (default 50).
- MA5 Type: Selects between SMA and EMA for the long-term filter.
Bollinger Bands
- BB Length: Determines the lookback period for the Bollinger Bands basis line (default 20).
- BB Source: Sets the price input used for band calculations (default Close).
- BB StdDev: Adjusts the multiplier for the standard deviation, controlling the width of the bands.
- BB Offset: Shifts the Bollinger Bands forward or backward on the X-axis.
FAQ
How do I identify a trend reversal using this tool?
A reversal is typically identified through the sequence of an Extrem signal (MA outside the bands) followed by an MHV setup (price failing to close outside the bands) and a subsequent directional candle.
What is the purpose of the MA5 and MA10 applied to High/Low?
These moving averages create a "channel" that identifies entry zones. In a downtrend, the MA Highs act as resistance for re-entries, while in an uptrend, the MA Lows act as support.
How can I access the BBMA Oma Ally indicator?
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.

