Skip to content
All library documents

RSI Midline Crossovers for Long and Short Positions

Article TradingView scripts

Summary

This simple strategy calculates a 14-period relative strength index and uses its 50 level as the directional trigger. A cross above 50 opens a long and closes any short; a cross below 50 closes the long and opens a short. The script also colors the chart background and bars when RSI is below a lower visual threshold of 39 or above an upper threshold of 61. Those thresholds affect display only, not trade entry or exit.

The document describes the rule but gives no backtest statistics, market, timeframe, transaction costs, or risk controls. As written, the entries reverse exposure at the RSI midline rather than using separate protective stops or profit targets. The visual overbought and oversold zones may help identify stronger readings, but they do not alter the strategy's signals. Results would depend on the asset, bar interval, execution assumptions, and market regime.

Key ideas

  • A 14-period RSI crossing above 50 opens a long and closes a short.
  • A crossing below 50 closes the long and opens a short.
  • The 39 and 61 RSI thresholds only control chart coloring.
  • The document reports no performance evidence or explicit stop, target, or transaction-cost assumptions.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.