OPEN-SOURCE SCRIPT
Price-Time Confluence Engine

Price-Time Confluence Engine is a dual-layer market analysis indicator designed to synchronize price-based targets with time-based momentum projections, helping traders anticipate potential reaction points, reversals, and momentum shifts.
The indicator combines adaptive ATR price targets with deviation context on the chart, alongside a forward-projected Stochastic RSI structure in a dedicated pane.
🔹 Core Components
1️⃣ Adaptive Price Targets (Chart Overlay)
On every new candle, a new ATR-based price target is generated automatically.
The target updates dynamically with live price movement until the candle closes.
Targets are directionally aligned with the current candle’s momentum.
A HIT label is displayed when price reaches the active target during the candle.
Behavioral Insight
If a target fails to be hit and remains red after the next candle forms, this behavior has shown a tendency to correlate with short-term swing reversals, signaling potential exhaustion or loss of momentum.
2️⃣ Mean & Deviation Framework
A configurable mean (moving average) is plotted with up to four deviation bands.
Deviation bands provide contextual boundaries for price targets and help visually frame volatility expansion or compression.
An optional filter allows HIT labels to require alignment with the first deviation band.
3️⃣ Stochastic RSI Projection (Indicator Pane)
The lower pane displays live Stochastic RSI %K and %D values.
A historical Stoch RSI pattern is cloned and projected forward in time, creating a time-based momentum forecast.
The projection highlights anticipated crossing points between %K and %D before they occur.
A single dynamic “Projected Cross” label marks the next expected crossing location.
Vertical reference lines and directional arrows help visualize projected momentum shifts.
Important Note on Timeframes
The projection logic is optimized for the Daily timeframe.
Other timeframes may require different lookback settings for meaningful alignment.
Price-based targets and deviation logic function on any timeframe.
🔧 User Controls
ATR length and multiplier
Mean length and deviation depth
Number of deviation bands displayed
Label visibility and history limits
Projection visibility and forward shift
Optional normalization of projected momentum
Visual toggles for arrows, vertical lines, and labels
📈 How to Use
Observe the active price target forming with each new candle.
Watch whether price hits or fails to hit the target before the next candle.
Use deviation bands to contextualize where targets sit within volatility structure.
Reference the Projected Cross in the lower pane to anticipate potential momentum transitions.
Look for confluence between unhit targets and projected momentum shifts as potential inflection zones.
⚠️ Disclaimer
This indicator is a visual analysis and decision-support tool.
It does not generate trade signals and should be used in conjunction with proper risk management and additional market context.
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。