Pivot Reversal strategy long only
Aug 6, 2021

The Pivot Reversal strategy long only indicator provides a systematic approach to identifying long entries by combining pivot point price action with a trend-filtering Least Squares Moving Average (LSMA). It aims to capture bullish reversals after a swing high is established, ensuring entries align with the prevailing trend direction.
Usage
The Usage section focuses on how the strategy identifies entry and exit points. A long position is triggered when the price breaks above a recent pivot high while the closing price remains above the Least Squares Moving Average (LSMA). This dual-condition setup ensures that the reversal has sufficient momentum and is supported by the broader trend.
Exits are triggered based on pivot lows. When a new pivot low is detected, the strategy closes the open long position to protect capital from potential bearish shifts. The strategy is specifically designed for long-only execution, making it suitable for trending markets or assets like Bitcoin.
Details
The strategy builds upon traditional pivot point reversal techniques by adding an LSMA filter. The Least Squares Moving Average is used for its reduced lag and high accuracy in tracking price trends compared to standard moving averages.
The entry mechanism uses a stop order placed slightly above the detected pivot high. This ensures the trade is only executed if price action confirms the reversal by breaking the resistance level. Additionally, the strategy includes built-in leverage and risk management calculations to determine position sizes based on equity and user-defined risk percentages.
Settings
Backtest Range
- From Day/Month/Year: Sets the start date for the backtesting period.
- To Day/Month/Year: Sets the end date for the backtesting period.
Indicators
- Length MA: Determines the lookback period for the Least Squares Moving Average (LSMA).
- Source: The price data used to calculate the LSMA (default is Close).
- Left Bars: The number of bars required to the left of a high or low to confirm a pivot.
- Right Bars: The number of bars required to the right of a high or low to confirm a pivot.
Risk Management
- Leverage Multiplier: Adjusts the entry stop price sensitivity.
- Risk %: The percentage of equity to risk on each trade.
- Leverage: The leverage factor applied to the position size calculation.
FAQ
How do I access the Pivot Reversal strategy long only?
You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
What timeframes are best for this strategy?
While it can be used on various timeframes, the default settings are optimized for 2-hour (2H) charts.
Can I use this for shorting?
This specific version is a "long only" strategy, designed to enter positions during bullish reversals and close them during bearish shifts without opening short contracts.
Free indicator
Get free access to this indicator on the platforms below.
Unlock the entire LuxAlgo Library
Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.