MACD and RSI Confirmation for Range-Bound Crypto Trading
Summary
This script pairs MACD crossovers with RSI thresholds to time long and short entries in a strategy presented for choppy crypto markets. A bullish MACD crossover is accepted when RSI is below its configured threshold; a bearish crossover is accepted when RSI is above its threshold. The code also limits entries to a selected date window and places percentage-based stop orders relative to the average entry price. Position size is set as a percentage of equity, with pyramiding enabled.
The accompanying description says the RSI acts as confirmation to suppress entries at price extremes, rather than serving as a standalone mean-reversion signal. It recommends a four-hour chart and warns that lower timeframes may produce false signals; it also notes that strong directional moves can require stops. The document supplies code and configuration values, but no strategy report or measured performance results. The stated thresholds and settings are examples that require validation across assets, time periods, transaction costs, and execution assumptions.
Key ideas
- MACD crossovers define entry direction, while RSI thresholds filter which crossovers qualify.
- The script applies date-window filtering and percentage-based stop losses.
- The author frames the method for choppy crypto conditions and recommends a four-hour timeframe.
- Strong trends and lower-timeframe noise are identified as risks, and no performance evidence is supplied.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.