OPEN-SOURCE SCRIPT
Quantum Momentum Fusion

Purpose of the Indicator
"Quantum Momentum Fusion" aims to combine the strengths of RSI (Relative Strength Index) and Williams %R to create a hybrid momentum indicator tailored for volatile markets like crypto:
RSI: Measures the strength of price changes, great for understanding trend stability but can sometimes lag.
Williams %R: Assesses the position of the price relative to the highest and lowest levels over a period, offering faster responses but sensitive to noise.
Combination: By blending these two indicators with a weighted average (default 50%-50%), we achieve both speed and reliability.
Additionally, we use the indicator’s own SMA (Simple Moving Average) crossovers to filter out noise and generate more meaningful signals. The goal is to craft a simple yet effective tool, especially for short-term trading like scalping.
How Signals Are Generated
The indicator produces signals as follows:
Calculations:
RSI: Standard 14-period RSI based on closing prices.
Williams %R: Calculated over 14 periods using the highest high and lowest low, then normalized to a 0-100 scale.
Quantum Fusion: A weighted average of RSI and Williams %R (e.g., 50% RSI + 50% Williams %R).
Fusion SMA: 5-period Simple Moving Average of Quantum Fusion.
Signal Conditions:
Overbought Signal (Red Background):
Quantum Fusion crosses below Fusion SMA (indicating weakening momentum).
And Quantum Fusion is above 70 (in the overbought zone).
This is a sell signal.
Oversold Signal (Green Background):
Quantum Fusion crosses above Fusion SMA (indicating strengthening momentum).
And Quantum Fusion is below 30 (in the oversold zone).
This is a buy signal.
Filtering:
The background only changes color during crossovers, reducing “fake” signals.
The 70 and 30 thresholds ensure signals trigger only in extreme conditions.
On the chart:
Purple line: Quantum Fusion.
Yellow line: Fusion SMA.
Red background: Sell signal (overbought confirmation).
Green background: Buy signal (oversold confirmation).
Overall Assessment
This indicator can be a fast-reacting tool for scalping. However:
Volatility Warning: Sudden crypto pumps/dumps can disrupt signals.
Confirmation: Pair it with price action (candlestick patterns) or another indicator (e.g., volume) for validation.
Timeframe: Works best on 1-5 minute charts.
Suggested Settings for Long Timeframes
Here’s a practical configuration for, say, a 4-hour chart:
RSI Period: 20
Williams %R Period: 20
RSI Weight: 60%
Williams %R Weight: 40% (automatically calculated as 100 - RSI Weight)
SMA Period: 15
Overbought Level: 75
Oversold Level: 25
"Quantum Momentum Fusion" aims to combine the strengths of RSI (Relative Strength Index) and Williams %R to create a hybrid momentum indicator tailored for volatile markets like crypto:
RSI: Measures the strength of price changes, great for understanding trend stability but can sometimes lag.
Williams %R: Assesses the position of the price relative to the highest and lowest levels over a period, offering faster responses but sensitive to noise.
Combination: By blending these two indicators with a weighted average (default 50%-50%), we achieve both speed and reliability.
Additionally, we use the indicator’s own SMA (Simple Moving Average) crossovers to filter out noise and generate more meaningful signals. The goal is to craft a simple yet effective tool, especially for short-term trading like scalping.
How Signals Are Generated
The indicator produces signals as follows:
Calculations:
RSI: Standard 14-period RSI based on closing prices.
Williams %R: Calculated over 14 periods using the highest high and lowest low, then normalized to a 0-100 scale.
Quantum Fusion: A weighted average of RSI and Williams %R (e.g., 50% RSI + 50% Williams %R).
Fusion SMA: 5-period Simple Moving Average of Quantum Fusion.
Signal Conditions:
Overbought Signal (Red Background):
Quantum Fusion crosses below Fusion SMA (indicating weakening momentum).
And Quantum Fusion is above 70 (in the overbought zone).
This is a sell signal.
Oversold Signal (Green Background):
Quantum Fusion crosses above Fusion SMA (indicating strengthening momentum).
And Quantum Fusion is below 30 (in the oversold zone).
This is a buy signal.
Filtering:
The background only changes color during crossovers, reducing “fake” signals.
The 70 and 30 thresholds ensure signals trigger only in extreme conditions.
On the chart:
Purple line: Quantum Fusion.
Yellow line: Fusion SMA.
Red background: Sell signal (overbought confirmation).
Green background: Buy signal (oversold confirmation).
Overall Assessment
This indicator can be a fast-reacting tool for scalping. However:
Volatility Warning: Sudden crypto pumps/dumps can disrupt signals.
Confirmation: Pair it with price action (candlestick patterns) or another indicator (e.g., volume) for validation.
Timeframe: Works best on 1-5 minute charts.
Suggested Settings for Long Timeframes
Here’s a practical configuration for, say, a 4-hour chart:
RSI Period: 20
Williams %R Period: 20
RSI Weight: 60%
Williams %R Weight: 40% (automatically calculated as 100 - RSI Weight)
SMA Period: 15
Overbought Level: 75
Oversold Level: 25
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Para acesso rápido no gráfico, adicione esse script para seus favoritos — saiba mais aqui.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Para acesso rápido no gráfico, adicione esse script para seus favoritos — saiba mais aqui.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.