OPEN-SOURCE SCRIPT

RS Framework Entry Scanner

324
This script is an advanced trading strategy for TradingView using relative strength (RS) analysis and traditional technical indicators. It's designed to identify high-probability long and short entry points on the daily chart for swing trades lasting 5-15 days.

Key features and usage guide:

1. Relative Strength (RS) Scoring:
- Computes 3-month and 6-month RS vs a benchmark (default: RSP ETF)
- Stock gets +1 for each of: 3M RS > 0, 6M RS > 0
- Background color shows current RS regime

2. Technical Indicator Scoring:
- Stock gets +1 for each of:
- Price above 200 SMA (structural uptrend)
- MACD histogram > 0 (momentum)
- RSI between 40-75 (healthy, not overbought/oversold)
- Uses standard moving averages (200, 50, 20 EMA)

3. Entry Triggers:
- Looks for any of these patterns:
- EMA pullback: Price near the 20 EMA
- MACD cross: MACD histogram crossing 0 with volume
- Breakout: New high/low on increased volume
- Long entry: RS score ≥ 4/5 ("A" grade) + bullish trigger
- Short entry: RS score ≥ 4/5 ("A" grade) + bearish trigger
- Triangles mark entries, small circles show qualifying RS setups

4. Score Table:
- Summarizes current RS metrics, indicator scores, active triggers
- Color-codes pass/fail status for each factor
- Displays overall long/short scores, RS trend, trigger labels

To use in your trading:

1. Add the script to a daily chart of a stock or ETF
2. Adjust the benchmark symbol if needed (default: RSP)
3. Review the background color for overall RS regime
4. Check table for current RS metrics and setup grade
5. Look for large triangle entries with a qualifying score
6. Confirm volume and price action aligns with the signal
7. Place trade in direction of entry with 5-15 day horizon
8. Trail stop above/below relevant swing point or moving average
9. Consider taking partial profits at measured move targets

The script aims to put the odds in your favor by requiring multiple technical and relative strength factors to line up before giving an entry signal.

免責事項

これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。