Swing/Daytrading strategy with reversal option
Nov 19, 2020

The Swing/Daytrading strategy with reversal option indicator is a comprehensive trend-following and mean-reversion tool designed to capture market momentum using price action relative to high/low levels and the T3 Moving Average. It aims to provide traders with a structured approach to swing trading by combining candle breakouts with a highly smoothed moving average to filter market noise.
Usage
The strategy can be utilized in two primary ways: trend-following (normal) and mean-reversion (inverse). In its standard configuration, a long position is initiated when the current close is above the previous candle's high and above the T3 Moving Average. Conversely, a short position is opened when the close is below the previous candle's low and below the T3 Moving Average.
Users can toggle the "Inverse" mode, which swaps these entry conditions, effectively trading against the breakout—a method that can be particularly effective in range-bound markets or specific instruments where false breakouts are common. The script also includes a session-based filter to restrict entries to specific hours, such as the New York or London sessions, to avoid low-liquidity periods.
Details
The core of the strategy relies on the T3 Moving Average, which is a triple exponential moving average known for being smoother and more responsive than a standard EMA while reducing lag. By requiring the price to be on the correct side of the T3 and breaking the previous bar's extremum, the strategy filters out minor fluctuations. The logic is designed as a "reversal" system where closing a long trade simultaneously opens a short trade (and vice versa) unless manual exit parameters are enabled.
Settings
Date Range
- From Day/Month/Year: Sets the start date for the strategy backtesting.
- To Day/Month/Year: Sets the end date for the strategy backtesting.
Indicator Settings
- T3 Length: Determines the period used for the T3 Moving Average calculation.
- My Defined Hours: A session string defining the specific window when the strategy is allowed to enter trades.
- Exit Time: A specific time window during which the strategy can trigger an automated exit.
Strategy Controls
- Take Profit: The percentage-based target for profit-taking (requires "Use Exit" to be active).
- Stop Loss: The percentage-based stop loss level (requires "Use Exit" to be active).
- Modified: Enables the time-based exit and profit/loss management system.
- Inverse: When enabled, the strategy enters long on short signals and short on long signals.
- Use Exit: Activates the specific Take Profit and Stop Loss levels for trade management.
FAQ
How do I access the Swing/Daytrading strategy with reversal option?
You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
Which timeframes are best for this strategy?
While it can function on various timeframes, it is optimized for the 1-hour chart and higher to minimize the impact of market noise and spreads.
Does this strategy always have an open position?
By default, the strategy operates as a "flip" system where one trade closes as another opens. However, if the "Use Exit" setting is active, the strategy can close trades based on profit or loss targets, leaving the script in a flat position.
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.

