OPEN-SOURCE SCRIPT
DEV many TimeFrame

💡 DEV many TimeFrame – Multi-Timeframe Momentum Pattern Classification Using RSI
DEV many TimeFrame is a powerful technical indicator designed for TradingView. It combines RSI (Relative Strength Index) with smoothed moving averages (EMA and WMA) to detect and classify different market phases such as accumulation, breakout, and exhaustion. Its core strength lies in automatically identifying momentum models and classifying trend strength across time.
🔧 Key Components and Logic
1. RSI & Moving Average Calculation
RSI: Calculated with standard settings (default period = 14).
EMA RSI: Fast exponential moving average of the RSI.
WMA RSI: Slow weighted moving average of the RSI.
DEV: Measures the deviation between EMA RSI and WMA RSI, representing trend expansion strength.
2. Expansion Detection
A trend is considered "expanding" when the DEV exceeds a threshold (Consider_length, default = 7).
The indicator tracks each RSI movement model (defined between EMA/WMA crossovers) and evaluates its behavior—whether it's strengthening, weakening, or consolidating.
3. Momentum Model Classification
Based on:
Current bar count of the active model (Sonenhientai)
Whether there is momentum or not
Whether RSI is outside the 40–60 zone
Whether it's a strong/weak expansion
Whether the previous model succeeded or failed
➡️ The indicator classifies RSI momentum patterns into 9 main model types:
Strong Momentum
Normal Momentum
Weak Momentum
Fail Momentum
Done Momentum
Strong Accumulation
Normal Accumulation
Weak Accumulation
None (invalid or no clear model)
📊 Current Model – Market Phase
The indicator analyzes the current RSI model to determine whether the market is:
In active momentum
In a fail/reversal phase
Or undergoing accumulation / sideways movement
Recognized patterns include:
Adjust Momentum
Momentum in Fail Momentum
Fail Momentum
Strong Accumulating
Normal Accumulating
Sideway Upp▲ / Dow▼
Strong Model Support
Weak Model Support
⚡ Power – Momentum Strength
Measures the strength of the current momentum using 3 levels:
Very Strong: RSI moves aggressively above both EMA and WMA.
Strong: RSI remains between EMA and WMA, showing continued pressure.
Weak / Very Weak: RSI cuts below the averages, signaling potential weakening.
⚠️ If the model is already expanded but shows signs of exhaustion, it may signal a reversal.
🧯 Fuel – Trend Energy Remaining
Estimates how much "fuel" a trend has left based on how long the model has existed:
Under 10 bars: 100% energy
10–20 bars: 70%
20–30 bars: 50%
30–40 bars: 30%
Over 40 bars: 5% → Trend likely exhausted
✅ Summary Score – Status
The indicator assigns a total status score based on:
Model Support
Power
Fuel
Then classifies the overall trend into one of the following statuses:
Very Strong Bull▲
Strong Bull▲
Normal Bull▲
Sideway
Bear▼ (This category is not yet fully implemented in the code but can be extended similarly.)
🧠 Practical Applications
DEV many TimeFrame is more than a standard RSI—it is a smart behavioral system for RSI analysis that helps traders:
Identify when a trend begins and ends
Distinguish between accumulation, breakout, and fail breakout
Gauge trend strength with high precision
Make informed decisions on entry, hold, or exit
📝 Usage Tips
Combine with higher timeframes for trend confirmation
Use the Power and Fuel states to decide when to hold or exit trades
Avoid entries when in Sideway, Weak Momentum, or Fail Momentum states
Would you like:
A visual user guide with examples and screenshots?
A polished TradingView description for publishing?
A full SEO-optimized English write-up for marketing or social media?
Let me know how you'd like to proceed!
DEV many TimeFrame is a powerful technical indicator designed for TradingView. It combines RSI (Relative Strength Index) with smoothed moving averages (EMA and WMA) to detect and classify different market phases such as accumulation, breakout, and exhaustion. Its core strength lies in automatically identifying momentum models and classifying trend strength across time.
🔧 Key Components and Logic
1. RSI & Moving Average Calculation
RSI: Calculated with standard settings (default period = 14).
EMA RSI: Fast exponential moving average of the RSI.
WMA RSI: Slow weighted moving average of the RSI.
DEV: Measures the deviation between EMA RSI and WMA RSI, representing trend expansion strength.
2. Expansion Detection
A trend is considered "expanding" when the DEV exceeds a threshold (Consider_length, default = 7).
The indicator tracks each RSI movement model (defined between EMA/WMA crossovers) and evaluates its behavior—whether it's strengthening, weakening, or consolidating.
3. Momentum Model Classification
Based on:
Current bar count of the active model (Sonenhientai)
Whether there is momentum or not
Whether RSI is outside the 40–60 zone
Whether it's a strong/weak expansion
Whether the previous model succeeded or failed
➡️ The indicator classifies RSI momentum patterns into 9 main model types:
Strong Momentum
Normal Momentum
Weak Momentum
Fail Momentum
Done Momentum
Strong Accumulation
Normal Accumulation
Weak Accumulation
None (invalid or no clear model)
📊 Current Model – Market Phase
The indicator analyzes the current RSI model to determine whether the market is:
In active momentum
In a fail/reversal phase
Or undergoing accumulation / sideways movement
Recognized patterns include:
Adjust Momentum
Momentum in Fail Momentum
Fail Momentum
Strong Accumulating
Normal Accumulating
Sideway Upp▲ / Dow▼
Strong Model Support
Weak Model Support
⚡ Power – Momentum Strength
Measures the strength of the current momentum using 3 levels:
Very Strong: RSI moves aggressively above both EMA and WMA.
Strong: RSI remains between EMA and WMA, showing continued pressure.
Weak / Very Weak: RSI cuts below the averages, signaling potential weakening.
⚠️ If the model is already expanded but shows signs of exhaustion, it may signal a reversal.
🧯 Fuel – Trend Energy Remaining
Estimates how much "fuel" a trend has left based on how long the model has existed:
Under 10 bars: 100% energy
10–20 bars: 70%
20–30 bars: 50%
30–40 bars: 30%
Over 40 bars: 5% → Trend likely exhausted
✅ Summary Score – Status
The indicator assigns a total status score based on:
Model Support
Power
Fuel
Then classifies the overall trend into one of the following statuses:
Very Strong Bull▲
Strong Bull▲
Normal Bull▲
Sideway
Bear▼ (This category is not yet fully implemented in the code but can be extended similarly.)
🧠 Practical Applications
DEV many TimeFrame is more than a standard RSI—it is a smart behavioral system for RSI analysis that helps traders:
Identify when a trend begins and ends
Distinguish between accumulation, breakout, and fail breakout
Gauge trend strength with high precision
Make informed decisions on entry, hold, or exit
📝 Usage Tips
Combine with higher timeframes for trend confirmation
Use the Power and Fuel states to decide when to hold or exit trades
Avoid entries when in Sideway, Weak Momentum, or Fail Momentum states
Would you like:
A visual user guide with examples and screenshots?
A polished TradingView description for publishing?
A full SEO-optimized English write-up for marketing or social media?
Let me know how you'd like to proceed!
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
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.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
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.