OPEN-SOURCE SCRIPT
Final trend following weekly

System 1 — Weekly Trend Flip Indicator
System 1 (Weekly) is a simple trend-following indicator that uses weekly EMAs with ATR filtering to highlight strong directional shifts.
📈 Uses weekly fast & slow EMAs
🧭 ATR filter removes weak or choppy signals
🟢 Bullish regime = fast EMA above slow + ATR margin
🔴 Bearish regime = fast EMA below slow − ATR margin
⚪ Neutral when neither condition is met
Works on any chart timeframe, but signals are based on weekly data
Ideal for position traders and longer-term swing trading
💡 Tip: Use this indicator to confirm larger trend direction and combine with lower timeframe strategies for entry timing.
System 1 (Weekly) is a simple trend-following indicator that uses weekly EMAs with ATR filtering to highlight strong directional shifts.
📈 Uses weekly fast & slow EMAs
🧭 ATR filter removes weak or choppy signals
🟢 Bullish regime = fast EMA above slow + ATR margin
🔴 Bearish regime = fast EMA below slow − ATR margin
⚪ Neutral when neither condition is met
Works on any chart timeframe, but signals are based on weekly data
Ideal for position traders and longer-term swing trading
💡 Tip: Use this indicator to confirm larger trend direction and combine with lower timeframe strategies for entry timing.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.