Rearview Download

Short overbought bounces

Short-term mean reversion on the short side: fade stretched up-moves in an index member.

Strategies · short_meanrev.rvw

language 1
strategy "Short overbought bounces" {
  universe   members("SYN500")
  rsi3       rsi(close, 3)
  stretched  close > sma(close, 10) * 1.02
  enter short when rsi3 > rsi_entry and stretched
  rank by    rsi3
  stop       8%
  size       5% of equity, max 10 positions
  exit short when rsi3 < 45 or close < sma(close, 10)
  max bars   10
  fill       next_open
  param      rsi_entry = 80 in 70..90 step 5
}

Functions it uses

rsi, sma

Try it

File ▸ New Script from Example adds it to a project. The examples read the sample’s index label, SYN500, and market ETF, SYNSPY; when your data has neither, a sheet asks what to read instead, one of your index labels (or every stock and ETF) and a ticker, so the example runs on your data as it is.

Before you trust what it does on your data, see whether it’s luck: Is this result luck?