Buy/Sell Ei - Premium Edition (Fixed Momentum)
May 18, 2025

The Buy/Sell Ei - Premium Edition (Fixed Momentum) indicator provides a systematic approach to identifying trading opportunities by combining advanced candlestick pattern detection with trend-filtering moving averages. It aims to deliver high-precision entry and exit signals for various asset classes, including forex, stocks, and cryptocurrencies, by filtering momentum and confirming trend direction.
Usage
The indicator can be used to identify both preliminary "Ready" setups and confirmed entry signals. It operates in two primary modes:
- Trend Identification: The tool uses one or two moving averages to establish the market bias. Signals are only generated when price action aligns with the trend (e.g., Buy signals occur when price is above the MAs).
- Pattern Recognition: It looks for specific multi-candle formations. A "Ready to Buy/Sell" label indicates a potential setup is forming based on candle body size and shadow ratios, while the "Buy/Sell Signal" confirms the entry on the subsequent candle.
- Momentum Filtering: By enabling the Momentum Filter, users can ensure that signals only appear after a specific number of consecutive bullish or bearish candles, reducing the likelihood of trading against sudden counter-trend spikes.
- Live vs. Backtest Mode: In "Live Trade Mode," signals are processed with a focus on real-time execution. When disabled, the script provides historical performance tracking, including Win/Loss labels based on whether price reached a mathematical target.
Details
The script's logic is built upon three pillars:
- Moving Average Filter: Supports SMA, EMA, WMA, and VWMA. Users can choose to use a single MA or a dual MA crossover/alignment system to define the trading environment.
- Candlestick Geometry: The pattern detection logic calculates the relationship between opens, closes, highs, and lows across three consecutive bars. It specifically evaluates the shadow-to-body ratio of the "setup" candle to ensure sufficient rejection or volatility is present before confirming a signal.
- Performance Tracking: For historical analysis, the indicator calculates a win rate by assessing if the price reaches a target (midpoint of the setup candle) on the bar following a confirmed signal.
Settings
- Live Trade Mode: Toggles between real-time signal generation and historical backtesting with win/loss tracking.
- Enable Date Filter: Restricts the calculation and display of signals to a specific timeframe defined by Start and End dates.
- Fast/Slow MA Length: Sets the period for the primary and secondary moving averages used for trend filtering.
- MA Type: Selects the calculation method for the moving averages (SMA, EMA, WMA, or VWMA).
- Use Single MA Only: When enabled, the trend filter relies solely on the Fast MA instead of requiring alignment between two MAs.
- Enable Momentum Filter: Activates a requirement for a specific number of consecutive candles in the signal direction before a trade is validated.
- Consecutive Candles: Sets the number of bars required to satisfy the momentum filter.
FAQ
How do I interpret the "Ready" labels? A "Ready" label signifies that the initial candlestick pattern requirements and trend filters have been met. It serves as a warning that a confirmed entry signal may appear on the next candle if price action continues to follow the logic.
What is the difference between Live Trade Mode and the default view? Live Trade Mode is optimized for real-time alerts and current bar states. When turned off, the indicator displays historical "Win" and "Loss" labels to help users visualize how the strategy would have performed on past data.
How can I access Buy/Sell Ei - Premium Edition (Fixed Momentum)? 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.

