Reverse Stochastic Momentum Index On Chart
Apr 26, 2021

The Reverse Stochastic Momentum Index On Chart indicator projects critical Stochastic Momentum Index (SMI) levels directly onto the price chart, allowing traders to see the exact price required to trigger momentum crossovers. By reverse-engineering the SMI formula, this tool calculates the specific closing price needed to reach alert levels, the signal line, or the zero line, bridging the gap between oscillator momentum and price action.
Usage
The indicator is designed to help traders plan entries and exits by visualizing momentum thresholds as price levels.
- SMI Equality Price: This level shows the closing price required to keep the SMI at its current value. A close above this line suggests increasing momentum, while a close below suggests decreasing momentum.
- Signal Line Crossover: This plot displays the price at which the SMI will cross its signal line. It is used to anticipate bullish or bearish shifts before they appear on a sub-pane oscillator.
- Alert Levels: Traders can set specific SMI values (defaulting to +40 and -40) to see where the price must reach to enter overbought or oversold territory.
- Zero Line: Displays the price required for the SMI to cross the midline, often used to determine the transition between bullish and bearish bias.
Details
The Stochastic Momentum Index (SMI) is a refinement of the traditional stochastic oscillator that measures the distance of the current closing price relative to the median of the high/low range. This script reverse-engineers the SMI calculation to solve for price. It employs two primary functions: one to find the price for a specific SMI scale value and another to find the price for a signal line crossover. To ensure chart stability, a filter is applied to replace any theoretical negative price results with zero, preventing auto-focus issues on the Y-axis.
Settings
SMI Properties
- Price Source: Determines the price data used for the SMI calculation (default is Close).
- SMI Length: The lookback period for the high/low range.
- Smooth 1: The first EMA smoothing period applied to the SMI.
- Smooth 2: The second EMA smoothing period applied to the SMI.
SMI Line Plot Settings
- Show SMI eq: Toggles the display of the SMI equality price line.
- Color Type: Choose between a single color or dual colors based on rising/falling momentum.
Signal Line Plot Settings
- Show Signal Line Crossover: Toggles the projection of the signal line crossover price.
- MA Length: The moving average length used to calculate the SMI signal line.
Scale Settings
- Alert Hi/Lo: Sets the specific SMI values to project onto the chart (e.g., +40 and -40).
- Mid-line: Sets the center point for projection (usually 0).
Info Box Settings
- Show Info Box: Toggles a labels-based dashboard on the right side of the chart.
- Show Alert Levels Info: Adds the specific price requirements for alert levels into the dashboard.
FAQ
How do I interpret the projected lines?
The lines represent the "target" price for the current candle. If price closes above a projected level, the corresponding SMI event (like a signal line cross) will occur on the oscillator.
Can this replace the standard SMI oscillator?
Yes, it provides the same information but translates it into price levels, making it easier to set stop-losses or take-profit orders based on momentum targets.
How can I access Reverse Stochastic Momentum Index On Chart?
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.

