Powerfull strategy MACD + RSI + Stoch buy on High exit on ATR
Jan 24, 2019

The Powerfull strategy MACD + RSI + Stoch buy on High exit on ATR tool identifies trend-following opportunities by combining momentum, strength, and volatility oscillators to enter positions during market breakouts.
Usage
This strategy is designed for higher timeframes, such as the Daily or 1H charts, and is particularly effective when markets break out from consolidation phases. It uses a "buy stop" entry method, meaning a long position is triggered only if the price reaches the previous bar's high after all momentum conditions are met.
- Long Conditions: Occur when the MACD is above its signal line, the Stochastic %K is above 60, the RSI is above 60, and the price is above the 70-period SMA.
- Short Conditions: Occur when the MACD is below its signal line, the Stochastic %K is below 40, the RSI is below 50, and the price is below the 140-period SMA.
- Exits: Positions are closed when the momentum shifts (e.g., MACD crosses back over the signal line) or when the specific oscillator thresholds are no longer maintained.
Details
The strategy integrates three classic indicators to ensure confluence:
- MACD: Used to detect the direction of the trend and momentum shifts.
- Stochastic: Used to identify the strength of the current price action within a recent range.
- RSI: Provides a measure of relative strength to ensure the market has enough velocity to sustain a breakout.
By using a stop order at the previous high/low for entries, the strategy filters out "fakeouts" where momentum indicators might turn positive while the price remains stagnant.
Settings
MACD
- MACD fast moving average: Sets the period for the faster EMA in the MACD calculation.
- MACD slow moving average: Sets the period for the slower EMA in the MACD calculation.
- MACD signal line moving average: Sets the period for the signal line EMA.
Stochastic
- Stochastic Length: The lookback period for calculating the Stochastic oscillator.
- Smoothing of Stochastic %K: The period for the initial SMA smoothing of the %K line.
- Moving Average of Stochastic %K: The period for the secondary SMA smoothing (%D).
ATR & Volatility
- ATR Length: The lookback period for Average True Range calculations.
- Stop Loss Multiplier: A multiplier applied to the ATR for volatility-based calculations.
Visuals & Backtesting
- Enable MACD Bar Color?: Toggles the candlestick coloring based on the multi-indicator trend logic.
- Backtest Window: Input fields for "From" and "To" dates (Year, Month, Day) to define the strategy simulation period.
FAQ
How do I access the Powerfull strategy MACD + RSI + Stoch buy on High exit on ATR?
You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
Which timeframes work best for this strategy?
While it can function on lower timeframes like the 1H, it is primarily designed for the Daily chart to capture significant market moves and avoid market noise.
Can I use this for cryptocurrencies?
Yes, the strategy is versatile and can be applied to stocks, commodities, and cryptocurrencies, especially during periods following market consolidation.
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.