OPEN-SOURCE SCRIPT

Infinity Signal - Momentum Consensus

102
Infinity Signal — Momentum Consensus is a multi-timeframe momentum classification framework that aggregates Stochastic RSI readings from five timeframes (1H, 4H, 1D, 1W, 1M) into a single, readable view.

The script is designed to help users assess momentum alignment, disagreement, and regime strength across timeframes. It is intended for context and structure, not as a standalone signal generator or predictive system.

What This Script Displays

1) Composite Momentum Pane (MTF Composite %K)
For each timeframe, the script computes a standard Stochastic RSI using higher-timeframe data via request.security() with no lookahead.

A composite momentum line is created by taking a simple average of the five %K values and applying smoothing. This produces a single oscillator that reflects aggregate momentum behavior across timeframes.

Overbought and oversold reference levels are shown for context.

2) Multi-Timeframe Consensus Table
A table summarizes the Stoch RSI state for each timeframe using optional bars-back anchors (allowing the table to be locked to a specific historical bar).

For each timeframe, the table classifies:

Direction: Bull / Bear / Mix (based on %K vs %D)

Zone: Overbought / Oversold / Mid (based on %K level)

Timeframes are combined using fixed weights to produce:

Bull vs Bear percentage balance

A dominant bias label

A simple alignment grade reflecting agreement strength across higher and lower timeframes

This table is designed to reduce single-timeframe bias by making agreement and disagreement across the stack immediately visible.

3) Mini MTF Oscillator (Anchored Summary)
An additional oscillator plot displays the anchored average %K across all five timeframes, along with a short smoothed signal line.
This provides a compact visual summary of the table’s combined momentum state.

4) Projection Clone and Timing Annotations (Optional)
An optional projection feature copies a selected historical segment of the composite momentum curve (defined by start/end bars-back) and shifts it forward in time.

Optional normalization rescales the copied segment to the recent oscillator range for visual comparability.

When projected segments contain internal cross-events, optional annotations may appear in the indicator pane:

vertical dotted timing markers

small directional arrows at the approximate crossing level

These annotations highlight timing reference points inside the projected pattern. They are not trade signals or predictions.

How to Use

Use the composite momentum line to observe whether momentum is strengthening or weakening across multiple timeframes.

Use the table to confirm whether higher-timeframe momentum aligns with lower-timeframe momentum or shows disagreement.

Use bars-back anchors to study historical alignment at specific points in time.

Use the projection clone as a pattern comparison and rhythm study tool, not as a forecast.

Notes and Limitations

Projection patterns are visual references and may not repeat.

Table weights and grades represent a classification framework, not universal truth.

Projection markers and arrows indicate internal timing events within the projected pattern; they are not buy or sell commands.

This script does not predict price, guarantee outcomes, or provide financial advice.

إخلاء المسؤولية

لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.