OPEN-SOURCE SCRIPT

Dual Momentum OSC

330
Overview:
Momentum OSC is a dual-layered momentum oscillator that blends multi-timeframe momentum readings with moving average crossovers for deeper insight into trend acceleration and exhaustion. Perfect for confirming trend strength or spotting early shifts in momentum.

Features:

✅ Two separate momentum streams with customizable timeframes

✅ Smoothing via moving averages for both momenta

✅ Cross-timeframe momentum structure for confirmation and divergence

✅ Color-coded areas for intuitive visual interpretation

✅ Optional crossover markers to signal bullish/bearish momentum shifts

How It Works:
The script calculates two momentum values by comparing current price sources against lagged values across separate timeframes. Each is smoothed with a moving average to filter noise. The difference between momentum and its moving average forms a core component of trend strength confirmation. Optional visual circles mark bullish or bearish crossovers.

Customizable Inputs:

Timeframes, sources, lengths, and MA periods for both momentum streams

Toggle to display momentum cross signals (circles)

Works on any asset or timeframe

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.