Type/to search

Comparative Relative Strength Strategy

Cryptocurrency
Created: 2023-09-14 17:58:19
Last modified: 3 years ago
1
Follow
1781
Followers

Strategy Logic

The comparative relative strength strategy generates trades by comparing the relative strength of two markets. Outperformance of the comparison market versus the benchmark is seen as a buy signal, underperformance as a sell signal.

The logic is:

  1. Select comparison market, e.g. a stock

  2. Select benchmark market, e.g. S&P 500 index

  3. Compute ratio of comparison market vs benchmark

  4. Go long the comparison when ratio exceeds overbought level

  5. Go short when ratio falls below oversold zone

  6. Set pullback line to close positions when price falls back

By comparing relative strength, the strategy aims to uncover undervalued opportunities and avoid overvalued conditions.

Advantages

  • Compares relative strength to find undervaluation

  • Pullback line avoids chasing trends

  • Simple and clear rules

Risks

  • Appropriate benchmark needs selection

  • Overbought/oversold zones require optimization

  • LONG/SHORT only misses full opportunities

Summary

The relative strength strategy identifies arbitrage chances by comparing two markets. But parameter tuning and stop strategies require prudent assessment.

Source
Pine
/*backtest
start: 2022-09-07 00:00:00
end: 2023-09-13 00:00:00
period: 1d
basePeriod: 1h
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/

//@version=2
////////////////////////////////////////////////////////////
//  Copyright by HPotter v1.0 10/03/2017
// Comparative Relative Strength Strategy for ES
Strategy parameters
Strategy parameters
b
len
BuyBand
SellBand
CloseBand
Trade reverse
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)