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.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。