TMA + OSMA Scalping System
Jan 2, 2021

The TMA + OSMA Scalping System indicator is a comprehensive trend-following tool that combines Triangular Moving Average (TMA) bands, the Oscillator of Moving Average (OSMA), and a dedicated Moving Average (MA) Zone to identify high-probability scalping opportunities. It streamlines technical analysis by looking for price interaction with volatility bands followed by momentum alignment to generate entry signals.
Usage
The tool is designed for short-term trading and scalping. A trade setup typically involves three distinct steps:
- Band Interaction: The script tracks when the price has recently touched or breached the upper or lower TMA bands. A touch of the lower band sets a bullish bias, while a touch of the upper band sets a bearish bias.
- Trend Confirmation: The price must cross through the "MA Zone" (defined by a central EMA or VWMA with a specific vertical offset). A cross above the zone confirms bullish momentum, while a cross below confirms bearish momentum.
- Momentum Alignment: The OSMA (histogram) must be aligned with the trade direction (positive for longs, negative for shorts).
Signals are plotted as circles on the chart. A common exit strategy or take-profit target for these signals is the opposite TMA band.
Details
The system utilizes three core components:
- TMA Bands: These are calculated using a double-smoothed moving average filtered by the Average True Range (ATR). This creates a smoother volatility envelope compared to standard Bollinger Bands.
- OSMA: This oscillator measures the distance between the MACD line and its signal line, providing a sensitive gauge of momentum changes.
- MA Zone: Users can choose between an EMA or VWMA. This zone acts as a dynamic filter, ensuring that entries are only taken when price shows sufficient strength to break away from the mean.
Settings
TMA & ATR
- TMA number of bars back: Sets the lookback period for the Triangular Moving Average smoothing.
- ATR number of bars back: Determines the period used for volatility calculation within the bands.
- ATR Multiplier: Adjusts the width of the TMA bands.
- Source: The price data used for calculations (default is Close).
OSMA
- OSMA Fast Length: The period for the fast EMA in the MACD calculation.
- OSMA Slow Length: The period for the slow EMA in the MACD calculation.
- OSMA Signal Smoothing: The lookback for the signal line EMA.
- OSMA Display: Choose to highlight OSMA alignment via bar colors, background colors, or none.
MA Zone
- MA Type: Select between EMA or VWMA for the central zone.
- MA Length: The period of the central moving average.
- MA Vertical Offset: The distance from the MA to create the upper and lower zone boundaries.
FAQ
How do I interpret the signals?
A green circle indicates a bullish entry when the price has recently touched the lower band, crossed above the MA zone, and OSMA is positive. A red circle indicates a bearish entry when the price has recently touched the upper band, crossed below the MA zone, and OSMA is negative.
Can I use this for long-term trading?
While designed as a scalping system for lower timeframes, the logic can be applied to any timeframe by adjusting the periods and multipliers in the settings.
How do I access the TMA + OSMA Scalping System?
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.

