logo
Developers

Simple RSI and SMA Long and Short (by Coinrule)

Script from: TradingViewSwingTrend followingMomentumReversal

The Simple RSI and SMA Long and Short strategy uses the RSI and simple moving averages to identify buy and sell signals. Go long when SMA100 is above SMA150 and RSI is over 50. Go short when SMA100 is below SMA150 and RSI is under 50. Positions flip between long and short based on these signals, enhancing trend reversal detection and maximizing returns. Back-tested since Jan 2022.

CAKE / TetherUS (CAKEUSDT)

+ Simple RSI and SMA Long and Short (by Coinrule)

@ 4 h

1.50

Risk Reward

551.59 %

Total ROI

33

Total Trades

VIRTUAL / TetherUS (VIRTUALUSDT)

+ Simple RSI and SMA Long and Short (by Coinrule)

@ 1 h

1.49

Risk Reward

157.19 %

Total ROI

32

Total Trades

RENDER / TetherUS (RENDERUSDT)

+ Simple RSI and SMA Long and Short (by Coinrule)

@ 4 h

1.32

Risk Reward

859.98 %

Total ROI

28

Total Trades

AR / TetherUS (ARUSDT)

+ Simple RSI and SMA Long and Short (by Coinrule)

@ 2 h

1.26

Risk Reward

236.25 %

Total ROI

74

Total Trades

RENDER / TetherUS (RENDERUSDT)

+ Simple RSI and SMA Long and Short (by Coinrule)

@ 2 h

1.23

Risk Reward

666.39 %

Total ROI

76

Total Trades

Premium users only

Premium users can access all backtests with a Risk/Reward Ratio > 3

@ 5 min

3.43

Risk Reward

189.87 %

Total ROI

72

Total Trades

McDonald's Corporation (MCD)

+ Simple RSI and SMA Long and Short (by Coinrule)

@ 1 h

2.96

Risk Reward

27.10 %

Total ROI

16

Total Trades

Boeing Company (The) (BA)

+ Simple RSI and SMA Long and Short (by Coinrule)

@ 15 min

1.59

Risk Reward

164.45 %

Total ROI

70

Total Trades

Constellation Brands, Inc. (STZ)

+ Simple RSI and SMA Long and Short (by Coinrule)

@ 1 h

1.58

Risk Reward

18.88 %

Total ROI

23

Total Trades

Kohl's Corporation (KSS)

+ Simple RSI and SMA Long and Short (by Coinrule)

@ 15 min

1.17

Risk Reward

7.87 %

Total ROI

44

Total Trades

Accenture plc (ACN)

+ Simple RSI and SMA Long and Short (by Coinrule)

@ 15 min

1.17

Risk Reward

24.98 %

Total ROI

78

Total Trades

Mondelez International, Inc. (MDLZ)

+ Simple RSI and SMA Long and Short (by Coinrule)

@ 15 min

1.15

Risk Reward

14.84 %

Total ROI

65

Total Trades
Create your account for free to see all 31+ backtests

Access filters, details, best timeframes, explore 100K+ backtests and more

Active Trades

Create your account to see on which symbols Simple RSI and SMA Long and Short (by Coinrule) is currently trading on.

Guide

How does the Simple RSI and SMA Long and Short (by Coinrule) strategy work ?

The Simple RSI and SMA Long and Short strategy utilizes the Relative Strength Index (RSI) and Simple Moving Averages (SMA) to identify trading opportunities. The RSI is a momentum indicator that measures the speed and magnitude of security's price changes to determine overbought or oversold conditions. Typically, an RSI reading above 70 signifies overbought conditions, whereas a reading below 30 signifies oversold conditions.

The Simple Moving Average (SMA) calculates the average closing prices over a selected range of periods. This strategy uses the 100-period SMA and the 150-period SMA to identify the trend direction.

  • LONG: The strategy opens a long position when the SMA100 is greater than the SMA150 and the RSI is above 50.
  • SHORT: A short position is opened when the SMA100 is less than the SMA150 and the RSI is below 50.

A position remains open until the conditions for the opposite trade are met. For instance, a long position will be closed and a short position will be opened if the short conditions are triggered. The strategy was back tested starting January 1, 2022, and includes provisions to use 30% of available coins and considers a trading fee of 0.1%.

How to use the Simple RSI and SMA Long and Short (by Coinrule) strategy ?

This trading strategy uses the RSI and SMA indicators to identify buy and sell signals. The system buys when a short-term SMA crosses above a long-term SMA while RSI is above 50, and sells when a short-term SMA crosses below the long-term SMA while RSI is below 50. It operates within a defined date range from January 1, 2022, onward. To trade this strategy manually:

1. Open TradingView and apply the following indicators to your chart:

  • Relative Strength Index (RSI) with a length of 14
  • Simple Moving Average (SMA) with a period of 100
  • Simple Moving Average (SMA) with a period of 150

2. Plot the SMAs and RSI on your chart.

  • Green line: SMA (100)
  • Blue line: SMA (150)

3. Monitor these conditions for entries and exits:

  • Buy Entry (Long): When the 100-period SMA crosses above the 150-period SMA and RSI is above 50.
  • Sell Entry (Short): When the 100-period SMA crosses below the 150-period SMA and RSI is below 50.
  • Exit Long Position: When the 100-period SMA crosses below the 150-period SMA and RSI is below 50.
  • Exit Short Position: When the 100-period SMA crosses above the 150-period SMA and RSI is above 50.

How to optimize the Simple RSI and SMA Long and Short (by Coinrule) trading strategy ?

To improve the Simple RSI and SMA Long and Short strategy with manual trading, consider the following enhancements:

1. Optimize SMA Periods:

  • Test different SMA periods to find optimal short-term and long-term moving averages. For example, try using SMA(50) and SMA(200) instead of the default SMA(100) and SMA(150).
  • Evaluate the results of these adjustments under varying market conditions to identify the most effective combination.

2. Adjust RSI Thresholds:

  • Fine-tune the RSI thresholds. Instead of the standard 50 level for bullish and bearish signals, experiment with levels like 55 for bullish and 45 for bearish to reduce false signals.
  • Monitor the market volatility and adjust the RSI length to better capture momentum. You might try different lengths such as RSI(10) or RSI(20) instead of RSI(14).

3. Implement Additional Filters:

  • Incorporate additional indicators such as MACD (Moving Average Convergence Divergence) or ADX (Average Directional Index) to confirm the signals provided by SMA and RSI.
  • Use volume analysis to filter out low-volume trades, ensuring higher confidence in the signals. High volume often confirms the validity of a trend.

4. Dynamic Position Sizing:

  • Instead of using a static 30% allocation, implement dynamic position sizing based on the strength of the signals, such as increasing the position size when multiple indicators align.
  • Adjust position sizing based on risk management principles, like the current volatility index (VIX) or Average True Range (ATR). Higher volatility may warrant smaller positions.

5. Set Stop-Loss and Take-Profit Levels:

  • Define clear stop-loss levels to limit potential losses based on recent support and resistance levels, ATR, or a fixed percentage of the trade size. For example, set a stop-loss at 2% below entry for long positions.
  • Establish take-profit levels based on the risk-to-reward ratio. A common approach is a 2:1 ratio, meaning if your stop-loss is 2%, your take-profit should be 4%.

6. Backtest and Forward Test:

  • Run extensive backtesting on historical data to validate the modified strategy. Evaluate the performance across different market conditions (bullish, bearish, and sideways).
  • Forward test the strategy in a simulated trading environment before applying it to live trades. This step helps understand the strategy's real-time performance and necessary adjustments.

For which kind of traders is the Simple RSI and SMA Long and Short (by Coinrule) strategy suitable ?

This strategy is ideal for traders who prefer a systematic and rule-based approach to trading, making it suitable for both beginners and experienced traders. It's best suited for swing traders and position traders who aim to capitalize on medium to long-term trends, as the use of SMA and RSI helps to identify trend reversals and market momentum.

Characteristics of suitable traders:

  • Prefer structured entry and exit signals based on technical indicators.
  • Are comfortable holding positions for days to weeks, rather than day trading or scalping.
  • Value historical backtesting and evidence-based strategies for decision-making.
  • Have an understanding of technical analysis and are willing to adjust and optimize parameters such as SMA periods and RSI thresholds to suit their trading style and market conditions.

Overall, this strategy provides a balanced approach to trading, combining momentum and trend-following elements, making it an excellent choice for disciplined traders.

Key Takeaways of Simple RSI and SMA Long and Short (by Coinrule)

Key Takeaways:

  • How it works: The strategy uses RSI and SMA indicators to identify buy and sell signals. Buy when SMA100 crosses above SMA150 and RSI is above 50; sell when SMA100 crosses below SMA150 and RSI is below 50.
  • Automation: The strategy can be automated using TradingView scripts, but can also be manually implemented by applying RSI and SMA indicators to a chart and monitoring their crossovers.
  • Using Alerts: Set up TradingView alerts for the SMA and RSI crossover conditions to receive real-time notifications, assisting in timely trade executions.
  • Manual Trading: Monitor the chart manually and place trades based on the defined entry and exit conditions using RSI and SMA indicators.
  • Optimization: Improve the strategy by testing different SMA periods, adjusting RSI thresholds, incorporating additional indicators like MACD or ADX, and using volume analysis.
  • Risk Management: Implement dynamic position sizing and set stop-loss and take-profit levels based on recent support/resistance levels or ATR to manage risk effectively.
  • Backtesting and Testing: Conduct thorough backtesting on historical data and forward testing in a simulated environment to validate and refine the strategy before live trading.
Explore the best Trading & TradingView strategies

Stop trading blindly. Explore the best strategies among 100K+ backtests and improve your trading skills with data.

Start for free