PROTECTED SOURCE SCRIPT
Updated Fidelity Sector Switching Program

Approximate recreation of the "Fidelity Sector Fund Switching Program" based on Walter Deemer’s published methodology. Source: walterdeemer.com
This script analyzes Fidelity sector funds, calculates relative strength ratings, and ranks them by strength. It selects the top 3 funds for holding. Exit triggers:
Pine Script®
Notes:
Funds marked with " * * " are not official switching set but are included for long-term trend observation.
* 90d T-Bill rates [TMUBMUSD03M] are unavailable; TBIL ETF used as proxy.
* Script loads slowly due to required fund data volume.
• Minor output variations may occur if the Wednesday market is closed; script uses the next available close.
Intended Use & Disclaimer:
• Intended for educational and analytical use only. Not financial or investment advice.
• This 'program' may be at risk of Fidelity’s 90-day round-trip violation policy.
This script analyzes Fidelity sector funds, calculates relative strength ratings, and ranks them by strength. It selects the top 3 funds for holding. Exit triggers:
- Fund drops into the bottom half of all funds.
- Fund falls below the S&P 500.
- Fund falls below the money market rate (T-Bills).
strength_rating = (( (0.5 * 8) + (0.25 * 16) + (0.25 * 32) ) * 1000) - 1000
Notes:
Funds marked with " * * " are not official switching set but are included for long-term trend observation.
* 90d T-Bill rates [TMUBMUSD03M] are unavailable; TBIL ETF used as proxy.
* Script loads slowly due to required fund data volume.
• Minor output variations may occur if the Wednesday market is closed; script uses the next available close.
Intended Use & Disclaimer:
• Intended for educational and analytical use only. Not financial or investment advice.
• This 'program' may be at risk of Fidelity’s 90-day round-trip violation policy.
Release Notes
Color fixRelease Notes
r/c colors fixed. consistent color scheme.Protected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
ko-fi.com/eventhorizon011
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Protected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
ko-fi.com/eventhorizon011
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.