OPEN-SOURCE SCRIPT
Daily & Weekly Confluence

Daily & Weekly Confluence is a precision momentum-alignment indicator built on Stochastic RSI, designed to highlight high-probability bullish conditions when lower-timeframe momentum aligns with higher-timeframe structure. It combines live Stoch RSI signals with a forward-shifted momentum path and a robust daily/weekly confirmation system to help traders anticipate and confirm trend transitions with clarity and discipline.
Why this indicator matters
Momentum signals are most effective when they agree across timeframes. Daily & Weekly Confluence filters noise by requiring alignment between daily and weekly Stoch RSI behavior, allowing traders to focus on setups that occur within a supportive higher-timeframe context rather than reacting to isolated signals.
What the indicator shows
1. Live Stochastic RSI (%K / %D)
The indicator plots real-time Stoch RSI values for the active chart timeframe, including standard overbought and oversold reference levels. These lines represent current momentum conditions and form the basis for all signal logic.
2. Forward-shifted Stoch RSI path
A user-defined Stoch RSI pattern window is sampled from the past and drawn forward on the chart. This path visually maps how momentum previously evolved and where similar momentum behavior may re-emerge. Optional normalization keeps the path scaled to recent conditions for consistent visual interpretation.
3. Momentum cross visualization
When %K and %D intersect within the forward-shifted path, the indicator can display:
Color-cycling vertical reference lines
Small directional arrows at the crossing point
A single highlighted label marking the next upcoming cross
These visuals are designed to keep attention on momentum inflection zones, not clutter.
Multi-timeframe signal logic
Weekly signals
The indicator independently computes weekly Stoch RSI values and detects:
Confirmed bullish crosses
Near-cross conditions based on distance and slope
Daily signals
Daily bullish crosses and near-cross conditions are detected using the same logic but on the daily timeframe.
Weekly context filter (optional)
Daily signals can be restricted so they only trigger when weekly momentum is already bullish or has recently turned bullish. This alignment filter significantly reduces counter-trend signals.
Dual confirmation
When daily and weekly bullish crosses occur together, the indicator flags a high-confidence confluence event.
Alerts built for real trading
Preconfigured alert conditions include:
Weekly bullish confirmed
Weekly bullish near-cross
Daily bullish confirmed
Daily bullish near-cross
Daily signals with weekly confirmation required
Dual daily + weekly confirmation
Alerts can be configured to trigger only on confirmed bar closes for cleaner execution timing.
How to use it effectively
Use weekly signals to define directional bias
Use daily signals for timing within that bias
Treat “near-cross” alerts as early warnings, not entries
Give the highest weight to dual confirmed alignment events
This indicator is best suited for swing traders, position traders, and systematic momentum strategies that prioritize structure, confirmation, and discipline over reactive entries.
Why this indicator matters
Momentum signals are most effective when they agree across timeframes. Daily & Weekly Confluence filters noise by requiring alignment between daily and weekly Stoch RSI behavior, allowing traders to focus on setups that occur within a supportive higher-timeframe context rather than reacting to isolated signals.
What the indicator shows
1. Live Stochastic RSI (%K / %D)
The indicator plots real-time Stoch RSI values for the active chart timeframe, including standard overbought and oversold reference levels. These lines represent current momentum conditions and form the basis for all signal logic.
2. Forward-shifted Stoch RSI path
A user-defined Stoch RSI pattern window is sampled from the past and drawn forward on the chart. This path visually maps how momentum previously evolved and where similar momentum behavior may re-emerge. Optional normalization keeps the path scaled to recent conditions for consistent visual interpretation.
3. Momentum cross visualization
When %K and %D intersect within the forward-shifted path, the indicator can display:
Color-cycling vertical reference lines
Small directional arrows at the crossing point
A single highlighted label marking the next upcoming cross
These visuals are designed to keep attention on momentum inflection zones, not clutter.
Multi-timeframe signal logic
Weekly signals
The indicator independently computes weekly Stoch RSI values and detects:
Confirmed bullish crosses
Near-cross conditions based on distance and slope
Daily signals
Daily bullish crosses and near-cross conditions are detected using the same logic but on the daily timeframe.
Weekly context filter (optional)
Daily signals can be restricted so they only trigger when weekly momentum is already bullish or has recently turned bullish. This alignment filter significantly reduces counter-trend signals.
Dual confirmation
When daily and weekly bullish crosses occur together, the indicator flags a high-confidence confluence event.
Alerts built for real trading
Preconfigured alert conditions include:
Weekly bullish confirmed
Weekly bullish near-cross
Daily bullish confirmed
Daily bullish near-cross
Daily signals with weekly confirmation required
Dual daily + weekly confirmation
Alerts can be configured to trigger only on confirmed bar closes for cleaner execution timing.
How to use it effectively
Use weekly signals to define directional bias
Use daily signals for timing within that bias
Treat “near-cross” alerts as early warnings, not entries
Give the highest weight to dual confirmed alignment events
This indicator is best suited for swing traders, position traders, and systematic momentum strategies that prioritize structure, confirmation, and discipline over reactive entries.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.