OPEN-SOURCE SCRIPT

Price-Time Confluence Engine

93
Price-Time Confluence Engine is a two-component analytical framework designed to examine how price-based volatility behavior and time-based momentum rhythm align on a chart.

The script is intended for visual context and structural analysis. It does not predict price, generate trade instructions, or guarantee outcomes.

Component A — Price-Based Volatility Context (Overlay)

This component plots volatility-derived reference levels directly on the price chart.

ATR Target
A single ATR-based reference level is calculated from the current bar:

If the current close is higher than the prior close, the target is placed above price.

If the current close is lower than the prior close, the target is placed below price.

If the close is unchanged, no new target is generated.

The ATR target represents a volatility reach reference, not a forecast.

Mean & Deviation Bands
A statistical context layer is added using:

A simple moving average (mean)

Up to four standard-deviation bands (mean ± N × deviation)

These bands provide range context for assessing whether volatility behavior is occurring within relatively normal or extended conditions.

Target and HIT Labels

A Target label marks the ATR reference level.

A HIT label appears when price reaches that ATR level on the same bar.

An optional filter can require the ATR target to fall within the first deviation band before a HIT is printed, limiting labels in extended conditions.

Label history can be limited to the most recent N labels or allowed to persist (with a safety cap).

Component B — Time-Based Momentum Context (Indicator Pane)

This component analyzes momentum rhythm using a Stochastic RSI oscillator and a visual projection tool.

Live Stochastic RSI

RSI is calculated from price.

A stochastic transform is applied to RSI.

%K and %D lines are smoothed using user-defined inputs.

Overbought and oversold reference levels are displayed.

This provides real-time momentum context.

Projection Clone (Pattern Comparison)
A historical segment of the oscillator is selected using bars-back inputs, then:

Re-plotted forward by a user-defined shift

Optionally normalized to the recent oscillator range for visual consistency

This feature is a pattern-comparison and rhythm-study tool, not a prediction model.

Timing Annotations
When projected %K and %D segments cross:

Vertical dotted timing markers may be drawn in the pane

Small directional arrows may be placed near the crossing level

An optional single “Projected Cross” label highlights the nearest upcoming projected crossing

These annotations identify potential timing alignment points, not trade signals.

Intended Interpretation

The script is designed to help users observe situations where:

Price volatility reference levels and

Momentum timing behavior

appear near each other in time.

This proximity is presented as context for analysis, not confirmation of reversal, continuation, or outcome.

Chart Setup Notes

Price-based elements are plotted on the price scale. Ensure the indicator is properly aligned with the chart’s price scale if using custom layouts.

The projection feature relies on historical data. Symbols or settings with limited available history may restrict projection length.

Important Notes

ATR targets are volatility references, not price predictions.

Projection patterns may or may not repeat.

HIT labels indicate that a defined volatility condition occurred; they are not buy or sell signals.

This script is intended for educational and analytical use only.

כתב ויתור

המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.