Momentum Bias Index [AlgoAlpha]Description:
The Momentum Bias Index by AlgoAlpha is designed to provide traders with a powerful tool for assessing market momentum bias. The indicator calculates the positive and negative bias of momentum to gauge which one is greater to determine the trend.
Key Features:
Comprehensive Momentum Analysis: The script aims to detect momentum-trend bias, typically when in an uptrend, the momentum oscillator will oscillate around the zero line but will have stronger positive values than negative values, similarly for a downtrend the momentum will have stronger negative values. This script aims to quantify this phenomenon.
Overlay Mode: Traders can choose to overlay the indicator on the price chart for a clear visual representation of market momentum.
Take-profit Signals: The indicator includes signals to lock in profits, they appear as labels in overlay mode and as crosses when overlay mode is off.
Impulse Boundary: The script includes an impulse boundary, the impulse boundary is a threshold to visualize significant spikes in momentum.
Standard Deviation Multiplier: Users can adjust the standard deviation multiplier to increase the noise tolerance of the impulse boundary.
Bias Length Control: Traders can customize the length for evaluating bias, enabling them to fine-tune the indicator according to their trading preferences. A higher length will give a longer-term bias in trend.
Komut dosyalarını "momentum" için ara
Momentum Shift [Bigbeluga]
This indicator identifies momentum shifts using a smoothed momentum calculation. It plots dynamic shift zones consisting of five levels that expand or contract based on price action. When momentum rises, the indicator creates an upward shift zone, and when momentum falls, it generates a downward shift zone. The shift zones dynamically react to price, stopping extension when a level is crossed.
🔵Key Features:
Smoothed Momentum Calculation:
➣ Utilizes a Hull Moving Average (HMA) to smooth momentum and reduce noise.
➣ Identifies momentum shifts with crossovers between the current momentum value and its previous state.
➣ Uses a gradient color scheme to highlight momentum strength.
Dynamic Shift Zones:
➣ When momentum rises, the indicator plots an upper shift zone with five incremental levels.
➣ When momentum falls, a lower shift zone is formed with five descending levels.
➣ Each level within the shift zone represents a progressively stronger momentum shift.
Level Extension Control:
➣ Shift zones stop extending once a level is crossed by price.
➣ Levels closer to price act as key momentum resistance or support zones.
➣ If price retraces after a shift, the remaining levels stay intact for further reference.
Momentum Direction Indications:
➣ Labels (▲ and ▼) appear at momentum shift points to indicate rising or falling momentum.
🔵Usage:
Momentum-Based Entries: Identify momentum shifts early by using shift zones as confirmation for trade entries.
Trend Continuation & Exhaustion: Observe which shift levels price respects—if momentum shift zones hold, the trend may continue; if they break, momentum may reverse.
Dynamic Support & Resistance: Use the five-level shift zones as temporary support and resistance areas that adapt to momentum shifts.
Momentum Strength Analysis: If price moves through multiple shift levels in one direction, it signals strong momentum in that direction.
Momentum Shift is a powerful tool for traders looking to analyze momentum shifts with structured visual zones. By combining smoothed momentum calculations with dynamic shift zones, this indicator provides a clear view of market momentum and helps traders navigate price action effectively.
Momentum Percentage %A Percentage Momentum Indicator (oscillator) is a technical indicator which shows the trend direction and measures the pace of the price fluctuation by comparing current and past values. Normalized to be bounded to oscillate between 0 and 100 percent of recent price variation. As is, it average true range of an instrument can be easily compared to any other because of absolute percentage variation and not prices itselves.
The benefits of Percentage Momentum
It indicates volatility
It ideal to compare fluctuation and volatility between other assets
In assets that changes btw a large range of prices like crypto it's the best way to work with momentum.
It's the right way to work with algotrading.
Multi-timeframe MomentumThe Multi-timeframe momentum indicator is similar in concept to a velocity indicator like rate-of-change, but visualizes smoothed price changes by applying an EMA and linear regression to price difference at every bar. Momentums from 1 minute to 1 quarter are plotted on a single chart using the request.security function. Standard and Fibonacci timeframes are available as well as the ability to hide high-timeframes to keep the chart clean. Like any oscillator, divergence in the momentums can be used to identify price reversals in conjunction with support and resistance. When linear regression is applied, high and low inflection points are used to identify reversals in a manner similar to MACD.
Much love to DumpCap! The script is presented sans secret sauce.
Institutional Quantum Momentum Impulse [BullByte]## Overview
The Institutional Quantum Momentum Impulse (IQMI) is a sophisticated momentum oscillator designed to detect institutional-level trend strength, volatility conditions, and market regime shifts. It combines multiple advanced technical concepts, including:
- Quantum Momentum Engine (Hilbert Transform + MACD Divergence + Stochastic Energy)
- Fractal Volatility Scoring (GARCH + Keltner-based volatility)
- Dynamic Adaptive Bands (Self-adjusting thresholds based on efficiency)
- Market Phase Detection (Volume + Momentum alignment)
- Liquidity & Cumulative Delta Analysis
The indicator provides a Z-score normalized momentum reading, making it ideal for mean-reversion and trend-following strategies.
---
## Key Features
### 1. Quantum Momentum Core
- Combines Hilbert Transform, MACD divergence, and Stochastic Energy into a single composite momentum score.
- Normalized using a Z-score for statistical significance.
- Smoothed with EMA/WMA/HMA for cleaner signals.
### 2. Dynamic Adaptive Bands
- Upper/Lower bands adjust based on volatility and efficiency ratio .
- Acts as overbought/oversold zones when momentum reaches extremes.
### 3. Market Phase Detection
- Identifies bullish , bearish , or neutral phases using:
- Volume-Weighted MA alignment
- Fractal momentum extremes
### 4. Volatility & Liquidity Filters
- Fractal Volatility Score (0-100 scale) shows market instability.
- Liquidity Check ensures trades are taken in favorable spread conditions.
### 5. Dashboard & Visuals
- Real-time dashboard with key metrics:
- Momentum strength, volatility, efficiency, cumulative delta, and market regime.
- Gradient coloring for intuitive momentum visualization .
---
## Best Trade Setups
### 1. Trend-Following Entries
- Signal :
- QM crosses above zero + Market Phase = Bullish + ADX > 25
- Cumulative Delta rising (buying pressure)
- Confirmation :
- Efficiency > 0.5 (strong momentum quality)
- Liquidity = High (tight spreads)
### 2. Mean-Reversion Entries
- Signal :
- QM touches upper band + Volatility expanding
- Market Regime = Ranging (ADX < 25)
- Confirmation :
- Efficiency < 0.3 (weak momentum follow-through)
- Cumulative Delta divergence (price high but delta declining)
### 3. Breakout Confirmation
- Signal :
- QM holds above zero after a pullback
- Market Phase shifts to Bullish/Bearish
- Confirmation :
- Volatility rising (expansion phase)
- Liquidity remains high
---
## Recommended Timeframes
- Intraday (5M - 1H): Works well for scalping & swing trades.
- Swing Trading (4H - Daily): Best for trend-following setups.
- Position Trading (Weekly+): Useful for macro trend confirmation.
---
## Input Customization
- Resonance Factor (1.0 - 3.618 ): Adjusts MACD divergence sensitivity.
- Entropy Filter (0.382/0.50/0.618) : Controls stochastic damping.
- Smoothing Type (EMA/WMA/HMA) : Changes momentum responsiveness.
- Normalization Period : Adjusts Z-score lookback.
---
The IQMI is a professional-grade momentum indicator that combines institutional-level concepts into a single, easy-to-read oscillator. It works across all markets (stocks, forex, crypto) and is ideal for traders who want:
✅ Early trend detection
✅ Volatility-adjusted signals
✅ Institutional liquidity insights
✅ Clear dashboard for quick analysis
Try it on TradingView and enhance your trading edge! 🚀
Happy Trading!
- BullByte
ML - Momentum Index (Pivots)Building upon the innovative foundations laid by Zeiierman's Machine Learning Momentum Index (MLMI), this variation introduces a series of refinements and new features aimed at bolstering the model's predictive accuracy and responsiveness. Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0), my adaptation seeks to enhance the original by offering a more nuanced approach to momentum-based trading.
Key Features :
Pivot-Based Analysis: Shifting focus from trend crosses to pivot points, this version employs pivot bars to offer a distinct perspective on market momentum, aiding in the identification of critical reversal points.
Extended Parameter Set: By integrating additional parameters for making predictions, the model gains improved adaptability, allowing for finer tuning to match market conditions.
Dataset Size Limitation: To ensure efficiency and mitigate the risk of calculation timeouts, a cap on the dataset size has been implemented, balancing between comprehensive historical analysis and computational agility.
Enhanced Price Source Flexibility: Users can select between closing prices or (suggested) OHLC4 as the basis for calculations, tailoring the indicator to different analysis preferences and strategies.
This adaptation not only inherits the robust framework of the original MLMI but also introduces innovations to enhance its utility in diverse trading scenarios. Whether you're looking to refine your short-term trading tactics or seeking stable indicators for long-term strategies, the ML - Momentum Index (Pivots) offers a versatile tool to navigate the complexities of the market.
For a deeper understanding of the modifications and to leverage the full potential of this indicator, users are encouraged to explore the tooltips and documentation provided within the script.
The Momentum Indicator calculations have been transitioned to the MLMomentumIndex library, simplifying the process of integration. Users can now seamlessly incorporate the momentumIndexPivots function into their scripts to conduct detailed momentum analysis with ease.
Accelerating Dual Momentum ScoreThis is a score metric used by the Accelerating Dual Momentum strategy.
According to the website you referenced when you created, the strategy is as follows:
Strategy Rules
This strategy allocates 100% of of the portfolio to one asset each month.
1. On the last trading day of each month, calculate the “momentum score” for the S&P 500 ( SPY ) and the international small cap equities (SCZ). The momentum score is the average of the 1, 3, and 6-month total return for each asset.
2. If the momentum score of SCZ > SPY and is greater than 0, invest in SCZ.
3. If the momentum score of SPY > SCZ and is greater than 0, invest in SPY .
4. If neither momentum score is greater than 0, calculate the 1-month total return for long-term US Treasuries ( TLT ) and US TIPS (TIP). Invest in whichever has the higher return.
Source: portfoliodb.co
Risk-Adjusted Momentum Oscillator# Risk-Adjusted Momentum Oscillator (RAMO): Momentum Analysis with Integrated Risk Assessment
## 1. Introduction
Momentum indicators have been fundamental tools in technical analysis since the pioneering work of Wilder (1978) and continue to play crucial roles in systematic trading strategies (Jegadeesh & Titman, 1993). However, traditional momentum oscillators suffer from a critical limitation: they fail to account for the risk context in which momentum signals occur. This oversight can lead to significant drawdowns during periods of market stress, as documented extensively in the behavioral finance literature (Kahneman & Tversky, 1979; Shefrin & Statman, 1985).
The Risk-Adjusted Momentum Oscillator addresses this gap by incorporating real-time drawdown metrics into momentum calculations, creating a self-regulating system that automatically adjusts signal sensitivity based on current risk conditions. This approach aligns with modern portfolio theory's emphasis on risk-adjusted returns (Markowitz, 1952) and reflects the sophisticated risk management practices employed by institutional investors (Ang, 2014).
## 2. Theoretical Foundation
### 2.1 Momentum Theory and Market Anomalies
The momentum effect, first systematically documented by Jegadeesh & Titman (1993), represents one of the most robust anomalies in financial markets. Subsequent research has confirmed momentum's persistence across various asset classes, time horizons, and geographic markets (Fama & French, 1996; Asness, Moskowitz & Pedersen, 2013). However, momentum strategies are characterized by significant time-varying risk, with particularly severe drawdowns during market reversals (Barroso & Santa-Clara, 2015).
### 2.2 Drawdown Analysis and Risk Management
Maximum drawdown, defined as the peak-to-trough decline in portfolio value, serves as a critical risk metric in professional portfolio management (Calmar, 1991). Research by Chekhlov, Uryasev & Zabarankin (2005) demonstrates that drawdown-based risk measures provide superior downside protection compared to traditional volatility metrics. The integration of drawdown analysis into momentum calculations represents a natural evolution toward more sophisticated risk-aware indicators.
### 2.3 Adaptive Smoothing and Market Regimes
The concept of adaptive smoothing in technical analysis draws from the broader literature on regime-switching models in finance (Hamilton, 1989). Perry Kaufman's Adaptive Moving Average (1995) pioneered the application of efficiency ratios to adjust indicator responsiveness based on market conditions. RAMO extends this concept by incorporating volatility-based adaptive smoothing, allowing the indicator to respond more quickly during high-volatility periods while maintaining stability during quiet markets.
## 3. Methodology
### 3.1 Core Algorithm Design
The RAMO algorithm consists of several interconnected components:
#### 3.1.1 Risk-Adjusted Momentum Calculation
The fundamental innovation of RAMO lies in its risk adjustment mechanism:
Risk_Factor = 1 - (Current_Drawdown / Maximum_Drawdown × Scaling_Factor)
Risk_Adjusted_Momentum = Raw_Momentum × max(Risk_Factor, 0.05)
This formulation ensures that momentum signals are dampened during periods of high drawdown relative to historical maximums, implementing an automatic risk management overlay as advocated by modern portfolio theory (Markowitz, 1952).
#### 3.1.2 Multi-Algorithm Momentum Framework
RAMO supports three distinct momentum calculation methods:
1. Rate of Change: Traditional percentage-based momentum (Pring, 2002)
2. Price Momentum: Absolute price differences
3. Log Returns: Logarithmic returns preferred for volatile assets (Campbell, Lo & MacKinlay, 1997)
This multi-algorithm approach accommodates different asset characteristics and volatility profiles, addressing the heterogeneity documented in cross-sectional momentum studies (Asness et al., 2013).
### 3.2 Leading Indicator Components
#### 3.2.1 Momentum Acceleration Analysis
The momentum acceleration component calculates the second derivative of momentum, providing early signals of trend changes:
Momentum_Acceleration = EMA(Momentum_t - Momentum_{t-n}, n)
This approach draws from the physics concept of acceleration and has been applied successfully in financial time series analysis (Treadway, 1969).
#### 3.2.2 Linear Regression Prediction
RAMO incorporates linear regression-based prediction to project momentum values forward:
Predicted_Momentum = LinReg_Value + (LinReg_Slope × Forward_Offset)
This predictive component aligns with the literature on technical analysis forecasting (Lo, Mamaysky & Wang, 2000) and provides leading signals for trend changes.
#### 3.2.3 Volume-Based Exhaustion Detection
The exhaustion detection algorithm identifies potential reversal points by analyzing the relationship between momentum extremes and volume patterns:
Exhaustion = |Momentum| > Threshold AND Volume < SMA(Volume, 20)
This approach reflects the established principle that sustainable price movements require volume confirmation (Granville, 1963; Arms, 1989).
### 3.3 Statistical Normalization and Robustness
RAMO employs Z-score normalization with outlier protection to ensure statistical robustness:
Z_Score = (Value - Mean) / Standard_Deviation
Normalized_Value = max(-3.5, min(3.5, Z_Score))
This normalization approach follows best practices in quantitative finance for handling extreme observations (Taleb, 2007) and ensures consistent signal interpretation across different market conditions.
### 3.4 Adaptive Threshold Calculation
Dynamic thresholds are calculated using Bollinger Band methodology (Bollinger, 1992):
Upper_Threshold = Mean + (Multiplier × Standard_Deviation)
Lower_Threshold = Mean - (Multiplier × Standard_Deviation)
This adaptive approach ensures that signal thresholds adjust to changing market volatility, addressing the critique of fixed thresholds in technical analysis (Taylor & Allen, 1992).
## 4. Implementation Details
### 4.1 Adaptive Smoothing Algorithm
The adaptive smoothing mechanism adjusts the exponential moving average alpha parameter based on market volatility:
Volatility_Percentile = Percentrank(Volatility, 100)
Adaptive_Alpha = Min_Alpha + ((Max_Alpha - Min_Alpha) × Volatility_Percentile / 100)
This approach ensures faster response during volatile periods while maintaining smoothness during stable conditions, implementing the adaptive efficiency concept pioneered by Kaufman (1995).
### 4.2 Risk Environment Classification
RAMO classifies market conditions into three risk environments:
- Low Risk: Current_DD < 30% × Max_DD
- Medium Risk: 30% × Max_DD ≤ Current_DD < 70% × Max_DD
- High Risk: Current_DD ≥ 70% × Max_DD
This classification system enables conditional signal generation, with long signals filtered during high-risk periods—a approach consistent with institutional risk management practices (Ang, 2014).
## 5. Signal Generation and Interpretation
### 5.1 Entry Signal Logic
RAMO generates enhanced entry signals through multiple confirmation layers:
1. Primary Signal: Crossover between indicator and signal line
2. Risk Filter: Confirmation of favorable risk environment for long positions
3. Leading Component: Early warning signals via acceleration analysis
4. Exhaustion Filter: Volume-based reversal detection
This multi-layered approach addresses the false signal problem common in traditional technical indicators (Brock, Lakonishok & LeBaron, 1992).
### 5.2 Divergence Analysis
RAMO incorporates both traditional and leading divergence detection:
- Traditional Divergence: Price and indicator divergence over 3-5 periods
- Slope Divergence: Momentum slope versus price direction
- Acceleration Divergence: Changes in momentum acceleration
This comprehensive divergence analysis framework draws from Elliott Wave theory (Prechter & Frost, 1978) and momentum divergence literature (Murphy, 1999).
## 6. Empirical Advantages and Applications
### 6.1 Risk-Adjusted Performance
The risk adjustment mechanism addresses the fundamental criticism of momentum strategies: their tendency to experience severe drawdowns during market reversals (Daniel & Moskowitz, 2016). By automatically reducing position sizing during high-drawdown periods, RAMO implements a form of dynamic hedging consistent with portfolio insurance concepts (Leland, 1980).
### 6.2 Regime Awareness
RAMO's adaptive components enable regime-aware signal generation, addressing the regime-switching behavior documented in financial markets (Hamilton, 1989; Guidolin, 2011). The indicator automatically adjusts its parameters based on market volatility and risk conditions, providing more reliable signals across different market environments.
### 6.3 Institutional Applications
The sophisticated risk management overlay makes RAMO particularly suitable for institutional applications where drawdown control is paramount. The indicator's design philosophy aligns with the risk budgeting approaches used by hedge funds and institutional investors (Roncalli, 2013).
## 7. Limitations and Future Research
### 7.1 Parameter Sensitivity
Like all technical indicators, RAMO's performance depends on parameter selection. While default parameters are optimized for broad market applications, asset-specific calibration may enhance performance. Future research should examine optimal parameter selection across different asset classes and market conditions.
### 7.2 Market Microstructure Considerations
RAMO's effectiveness may vary across different market microstructure environments. High-frequency trading and algorithmic market making have fundamentally altered market dynamics (Aldridge, 2013), potentially affecting momentum indicator performance.
### 7.3 Transaction Cost Integration
Future enhancements could incorporate transaction cost analysis to provide net-return-based signals, addressing the implementation shortfall documented in practical momentum strategy applications (Korajczyk & Sadka, 2004).
## References
Aldridge, I. (2013). *High-Frequency Trading: A Practical Guide to Algorithmic Strategies and Trading Systems*. 2nd ed. Hoboken, NJ: John Wiley & Sons.
Ang, A. (2014). *Asset Management: A Systematic Approach to Factor Investing*. New York: Oxford University Press.
Arms, R. W. (1989). *The Arms Index (TRIN): An Introduction to the Volume Analysis of Stock and Bond Markets*. Homewood, IL: Dow Jones-Irwin.
Asness, C. S., Moskowitz, T. J., & Pedersen, L. H. (2013). Value and momentum everywhere. *Journal of Finance*, 68(3), 929-985.
Barroso, P., & Santa-Clara, P. (2015). Momentum has its moments. *Journal of Financial Economics*, 116(1), 111-120.
Bollinger, J. (1992). *Bollinger on Bollinger Bands*. New York: McGraw-Hill.
Brock, W., Lakonishok, J., & LeBaron, B. (1992). Simple technical trading rules and the stochastic properties of stock returns. *Journal of Finance*, 47(5), 1731-1764.
Calmar, T. (1991). The Calmar ratio: A smoother tool. *Futures*, 20(1), 40.
Campbell, J. Y., Lo, A. W., & MacKinlay, A. C. (1997). *The Econometrics of Financial Markets*. Princeton, NJ: Princeton University Press.
Chekhlov, A., Uryasev, S., & Zabarankin, M. (2005). Drawdown measure in portfolio optimization. *International Journal of Theoretical and Applied Finance*, 8(1), 13-58.
Daniel, K., & Moskowitz, T. J. (2016). Momentum crashes. *Journal of Financial Economics*, 122(2), 221-247.
Fama, E. F., & French, K. R. (1996). Multifactor explanations of asset pricing anomalies. *Journal of Finance*, 51(1), 55-84.
Granville, J. E. (1963). *Granville's New Key to Stock Market Profits*. Englewood Cliffs, NJ: Prentice-Hall.
Guidolin, M. (2011). Markov switching models in empirical finance. In D. N. Drukker (Ed.), *Missing Data Methods: Time-Series Methods and Applications* (pp. 1-86). Bingley: Emerald Group Publishing.
Hamilton, J. D. (1989). A new approach to the economic analysis of nonstationary time series and the business cycle. *Econometrica*, 57(2), 357-384.
Jegadeesh, N., & Titman, S. (1993). Returns to buying winners and selling losers: Implications for stock market efficiency. *Journal of Finance*, 48(1), 65-91.
Kahneman, D., & Tversky, A. (1979). Prospect theory: An analysis of decision under risk. *Econometrica*, 47(2), 263-291.
Kaufman, P. J. (1995). *Smarter Trading: Improving Performance in Changing Markets*. New York: McGraw-Hill.
Korajczyk, R. A., & Sadka, R. (2004). Are momentum profits robust to trading costs? *Journal of Finance*, 59(3), 1039-1082.
Leland, H. E. (1980). Who should buy portfolio insurance? *Journal of Finance*, 35(2), 581-594.
Lo, A. W., Mamaysky, H., & Wang, J. (2000). Foundations of technical analysis: Computational algorithms, statistical inference, and empirical implementation. *Journal of Finance*, 55(4), 1705-1765.
Markowitz, H. (1952). Portfolio selection. *Journal of Finance*, 7(1), 77-91.
Murphy, J. J. (1999). *Technical Analysis of the Financial Markets: A Comprehensive Guide to Trading Methods and Applications*. New York: New York Institute of Finance.
Prechter, R. R., & Frost, A. J. (1978). *Elliott Wave Principle: Key to Market Behavior*. Gainesville, GA: New Classics Library.
Pring, M. J. (2002). *Technical Analysis Explained: The Successful Investor's Guide to Spotting Investment Trends and Turning Points*. 4th ed. New York: McGraw-Hill.
Roncalli, T. (2013). *Introduction to Risk Parity and Budgeting*. Boca Raton, FL: CRC Press.
Shefrin, H., & Statman, M. (1985). The disposition to sell winners too early and ride losers too long: Theory and evidence. *Journal of Finance*, 40(3), 777-790.
Taleb, N. N. (2007). *The Black Swan: The Impact of the Highly Improbable*. New York: Random House.
Taylor, M. P., & Allen, H. (1992). The use of technical analysis in the foreign exchange market. *Journal of International Money and Finance*, 11(3), 304-314.
Treadway, A. B. (1969). On rational entrepreneurial behavior and the demand for investment. *Review of Economic Studies*, 36(2), 227-239.
Wilder, J. W. (1978). *New Concepts in Technical Trading Systems*. Greensboro, NC: Trend Research.
Momentum and AccelerationThe following oscillator is a twist on momentum, incorporating a 2nd derivative "acceleration" to help determine changes in momentum. Both are plotted directly accessing previous series values rather than using a moving average.
The script has an option to divide so the formula is d(Price)/d(Time), like a derivative. The script also provides options for the user to use their price source, volume, or a combination of price and volume.
Credit: This script utilizes the "color gradient framework" tutorial by LucF (PineCoders) to create user-adjustable gradient visuals.
Definitions
"1st Derivative - Momentum" - Momentum is most commonly referred to as a rate and measures the acceleration of the price and/or volume of a security.
"2nd Derivative - Acceleration" - Acceleration is the rate of change of momentum.
Value Added
This script may help the trader to assess directional changes in momentum easier.
This script also plots using previous series values rather than using a moving average function. To my knowledge, I was unable to find one that does this for "2nd derivative", so it had to be created.
Momentum ChannelbandsThe "Momentum Channelbands" is indicator that measures and displays an asset's momentum. It includes options to calculate Bollinger Bands and Donchian Channels around the momentum. Users can customize settings for a comprehensive view of momentum-related insights. This tool helps assess trend strength, identify overbought/oversold conditions, and pinpoint highs/lows. It should be used alongside other indicators due to potential lag and false signals.
Dynamic Volume-Volatility Adjusted MomentumThis Indicator in a refinement of my earlier script PC*VC Moving average Old with easier to follow color codes, overbought and oversold zones. This script has converted the previous script into a standardized measure by converting it into Z-scores and also incorporated a volatility based dynamic length option. Below is a detailed Explanation.
The "Dynamic Volume-Volatility Adjusted Momentum" or "Nasan Momentum Oscillator" is designed to capture market momentum while accounting for volume and volatility fluctuations. It leverages the Typical Price (TP), calculated as the average of high, low, and close prices, and introduces the Price Coefficient (PC) based on deviations from the simple moving average (SMA) across various time frames. Additionally, the Volume Coefficient (VC) compares current volume to SMA, and calculates Intraday Volatility (IDV) which gauges the daily price range relative to the close. Then intraday volatility ratio is calculated ( IDV Ratio) as the ratio of current Intraday Volatility (IDV) to the average of IDV for three different length periods, which provides a relative measure of current intraday volatility compared to its recent historical average. An inter-day ATR based Relative Volatility (RV) is calculated to adjusts for changing market volatility based on which the dynamic length adjustment adapts the moving average (standard length is 14). The PC *VC/IDV Ratio integrates price, volume, and volatility information which provides a volume and volatility adjusted momentum. This volume and volatility adjusted momentum is converted into a standardized Z-Score. The Z-Score measures deviations from the mean. Color-coded plots visually represent momentum, and thresholds aid in identifying overbought or oversold conditions.
The indicator incorporates a nuanced approach to emphasize the joint impact of price and volume while considering the stabilizing effect of lower intraday volatility. Placing the volume ratio (VC) in the numerator means that higher volume positively contributes to the overall ratio, aligning with the observation that increased volumes often accompany robust price movements. Simultaneously, the decision to include the inverse of intraday volatility (1/IDV) in the denominator acts as a dampener, reducing the impact of extreme intraday volatility on the momentum indicator. This design choice aims to filter out noise, giving more weight to significant price changes supported by substantial trading activity. In essence, the indicator's design seeks to provide a more robust momentum measure that balances the influence of price, volume, and volatility in the analysis of market dynamics.
Composite Momentum IndicatorComposite Momentum Indicator" combines the signals from several oscillators, including Stochastic, RSI, Ultimate Oscillator, and Commodity Channel Index (CCI) by averaging the standardized values (Z-Scores). Since it is a Z-Score based indicators the values will be typically be bound between +3 and -3 oscillating around 0. Here's a summary of the code:
Input Parameters: Users can customize the look-back period and set threshold values for overbought and oversold conditions. They can also choose which oscillators to include in the composite calculation.
Oscillator Calculations: The code calculates four separate oscillators - Stochastic, RSI, Ultimate Oscillator, and CCI - each measuring different aspects of market momentum.
Z-Scores Calculation: For each oscillator, the code calculates a Z-Score, which normalizes the oscillator's values based on its historical standard deviation and mean. This allows for a consistent comparison of oscillator values across different timeframes.
Composite Z-Score: The code aggregates the Z-Scores from the selected oscillators, taking into account user preferences (whether to include each oscillator). It then calculates an average Z-Score to create the "Composite Momentum Oscillator."
Conditional Color Coding: The composite oscillator is color-coded based on its average Z-Score value. It turns green when it's above the overbought threshold, red when it's below the oversold threshold, and blue when it's within the specified range.
Horizontal Lines: The code plots horizontal lines at key levels, including 0, ±3, ±2, and ±1, to help users identify important momentum levels.
Gradient Fills: It adds gradient fills above the overbought threshold and below the oversold threshold to visually highlight extreme momentum conditions.
Combining the Stochastic, RSI, Ultimate Oscillator, and Commodity Channel Index (CCI) into one composite indicator offers several advantages for traders and technical analysts:
Comprehensive Insight: Each of these oscillators measures different aspects of market momentum and price action. Combining them into one indicator provides a more comprehensive view of the market's behavior, as it takes into account various dimensions of momentum simultaneously.
Reduced Noise: Standalone oscillators can generate conflicting signals and produce noisy readings, especially during choppy market conditions. A composite indicator smoothes out these discrepancies by averaging the signals from multiple indicators, potentially reducing false signals.
Confirmation and Divergence: By combining multiple oscillators, traders can seek confirmation or divergence signals. When multiple oscillators align in the same direction, it can strengthen a trading signal. Conversely, divergence between the oscillators can warn of potential reversals or weakening trends.
Customization: Traders can tailor the composite indicator to their specific trading strategies and preferences. They have the flexibility to include or exclude specific oscillators, adjust look-back periods, and set threshold levels. This adaptability allows for a more personalized approach to technical analysis.
Clarity and Efficiency: Rather than cluttering the chart with multiple individual oscillators, a composite indicator condenses the information into a single plot. This enhances the clarity of the chart and makes it easier for traders to quickly interpret market conditions.
Overbought/Oversold Identification: Combining these oscillators can improve the identification of overbought and oversold conditions. It reduces the likelihood of false signals since multiple indicators must align to trigger these extreme conditions.
Educational Tool: For novice traders and analysts, a composite indicator can serve as an educational tool by demonstrating how different oscillators interact and influence each other's signals. It allows users to learn about multiple technical indicators in one glance.
Efficient Use of Screen Space: A single composite indicator occupies less screen space compared to multiple separate indicators. This is especially beneficial when analyzing multiple markets or timeframes simultaneously.
Holistic Approach: Instead of relying on a single indicator, a composite approach encourages a more holistic assessment of market conditions. Traders can consider a broader range of factors before making trading decisions.
Increased Confidence: A composite indicator can boost traders' confidence in their decisions. When multiple reliable indicators align, it can provide a stronger basis for taking action in the market.
In summary, combining the Stochastic, RSI, Ultimate Oscillator, and CCI into one composite indicator enhances the depth and reliability of technical analysis. It simplifies the decision-making process, reduces noise, and offers a more complete picture of market momentum, ultimately helping traders make more informed and well-rounded trading decisions.
* Feel free to compare against individual oscillatiors*
[LazyBear] SQZ Momentum + 1st Gray Cross Signals ━ whvntrI have modified LazyBears Squeeze Momentum Indicator with enhancements, plus added signals
LazyBear mentioned that in John F. Carter's book, Chapter 11, "Mastering the Trade", that "Mr. Carter suggests waiting till the first gray after a black cross, and taking a position in the direction of the momentum (for ex., if momentum value is above zero, go long). Exit the position when the momentum changes (increase or decrease --- signified by a color change)." I have done just that. Now at each "first gray after a black cross", there are now Bearish and Bullish signals.. The signals only appear in the direction of the momentum.
Disclaimer: This indicator does not constitute investment advice. Trade at your own
risk with this method of identifying changes in stock market momentum.
TradFi Fundamentals: Momentum Trading with Macroeconomic DataIntroduction
This indicator combines traditional price momentum with key macroeconomic data. By retrieving GDP, inflation, unemployment, and interest rates using security calls, the script automatically adapts to the latest economic data. The goal is to blend technical analysis with fundamental insights to generate a more robust momentum signal.
Original Research Paper by Mohit Apte, B. Tech Scholar, Department of Computer Science and Engineering, COEP Technological University, Pune, India
Link to paper
Explanation
Price Momentum Calculation:
The indicator computes price momentum as the percentage change in price over a configurable lookback period (default is 50 days). This raw momentum is then normalized using a rolling simple moving average and standard deviation over a defined period (default 200 days) to ensure comparability with the economic indicators.
Fetching and Normalizing Economic Data:
Instead of manually inputting economic values, the script uses TradingView’s security function to retrieve:
GDP from ticker "GDP"
Inflation (CPI) from ticker "USCCPI"
Unemployment rate from ticker "UNRATE"
Interest rates from ticker "USINTR"
Each series is normalized over a configurable normalization period (default 200 days) by subtracting its moving average and dividing by its standard deviation. This standardization converts each economic indicator into a z-score for direct integration into the momentum score.
Combined Momentum Score:
The normalized price momentum and economic indicators are each multiplied by user-defined weights (default: 50% price momentum, 20% GDP, and 10% each for inflation, unemployment, and interest rates). The weighted components are then summed to form a comprehensive momentum score. A horizontal zero line is plotted for reference.
Trading Signals:
Buy signals are generated when the combined momentum score crosses above zero, and sell signals occur when it crosses below zero. Visual markers are added to the chart to assist with trade timing, and alert conditions are provided for automated notifications.
Settings
Price Momentum Lookback: Defines the period (in days) used to compute the raw price momentum.
Normalization Period for Price Momentum: Sets the window over which the price momentum is normalized.
Normalization Period for Economic Data: Sets the window over which each macroeconomic series is normalized.
Weights: Adjust the influence of each component (price momentum, GDP, inflation, unemployment, and interest rate) on the overall momentum score.
Conclusion
This implementation leverages TradingView’s economic data feeds to integrate real-time macroeconomic data into a momentum trading strategy. By normalizing and weighting both technical and economic inputs, the indicator offers traders a more holistic view of market conditions. The enhanced momentum signal provides additional context to traditional momentum analysis, potentially leading to more informed trading decisions and improved risk management.
The next script I release will be an improved version of this that I have added my own flavor to, improving the signals.
SMI Momentum Bollinger Squeeze Signals - TradeUIMomentum Bollinger Squeeze Signals - TradeUI
The Squeeze Momentum Indicator (SMI) uses the principles of the Squeeze Indicator, which is a volatility indicator, and combines them with a momentum calculation to provide a more comprehensive view of the market.
The original Squeeze Indicator uses the relationship between the Bollinger Bands and Keltner Channels to identify periods of low volatility, known as "Squeezes", and potential breakout points. The SMI takes this one step further by adding a momentum calculation, making it a more dynamic tool for trading.
The momentum calculation is based on the rate of change of the asset's price. When the price increases rapidly, it signifies positive momentum, and when the price decreases rapidly, it signifies negative momentum.
Chiko-Span Momentum_PineScript_Version5This is Momentum indicator based on "Chiko-span" of Ichimoku Kinko-Hyo.
Differ from normal momentum indicator, this indicator is using "close" and "open" as default parameter which is based on 9 week-candle chart Invented by Ichimoku-Sanjin. And, It is located 26 period before to match chiko-span.
(Parameters can change as you like)
The usage is same as normal momentum indicator so please check momentum indicator usage. However, due to use this indicator, it may support to compare momentum of chiko-span movement and to predict effect 5 lines of ichimoku.
For example, when price break out tenkan-sen, you can measure slope or period of chiko-span momentum and compare previously chiko-span momentum. If momentum is stronger than previously price, we can think that price try to out kijun- sen, touch cloud or break out cloud.
I wish, this indicator helps ichimoku users.
Trend Surfers - Momentum + ADX + EMAThis script mixes the Lazybear Momentum indicator, ADX indicator, and EMA.
Histogram meaning:
Green = The momentum is growing and the ADX is growing or above your set value
Red = The momentum is growing on the downside and the ADX is growing or above your set value
Orange = The market doesn't have enough momentum or the ADX is not growing or above your value (no trend)
Background meaning:
Blue = The price is above the EMA
Purple = The price is under the EMA
Cross color on 0 line:
Dark = The market might be sideway still
Light = The market is in a bigger move
Volatility Adjusted MomentumIt's a script that computes volatility-adjusted momentum indicators.
The problem with the momentum indicator is that it's absolute and it's hard to interpret its value. For example, if you'll change the timeframe or instrument value of Momentum will be very different.
We tried to solve that by expressing momentum in volatility. This way you can easier spot overbought/oversold values.
You can choose to use Standard Deviation or ATR for adjustments.
Thanks to @MUQWISHI for helping me code it.
Disclaimer
Please remember that past performance may not be indicative of future results.
Due to various factors, including changing market conditions, the strategy may no longer perform as well as in historical backtesting.
This post and the script don’t provide any financial advice.
Squeeze Momentum Strategy [LazyBear] Buy Sell TP SL Alerts-Modified version of Squeeze Momentum Indicator by @LazyBear.
-Converted to version 5,
-Taken inspiration from @KivancOzbilgic for its buy sell calculations,
-Used @Bunghole strategy template with Take Profit, Stop Loss and Enable/Disable Toggles
-Added Custom Date Backtesting Module
------------------------------------------------------------------------------------------------------------------------
All credit goes to above
Problem with original version:
The original Squeeze Momentum Strategy did not have buy sell signals and there was alot of confusion as to when to enter and exit.
There was no proper strategy that would allow backtesting on which further analysis could be carried out.
There are 3 aspects this strategy:
1 ) Strategy Logic (easily toggleable from the dropdown menu from strategy settings)
- LazyBear (I have made this simple by using Kivanc technique of Momentums Moving Average Crossover, BUY when MA cross above signal line, SELL when crossdown signal line)
- Zero Crossover Line (BUY signal when crossover zero line, and SELL crossdown zero line)
2) Long Short TP and SL
- In strategies there is usually only 1 SL and 1 TP, and it is assumed that if a 2% SL giving a good profit %, then it would be best for both long and short. However this is not the case for many. Many markets/pairs, go down with much more speed then they go up with. Hence once we have a profitable backtesting setting, then we should start optimizing Long and Short SL's seperately. Once that is done, we should start optimizing for Long and Short TP's separately, starting with Longs first in both cases.
3) Enable and Disable Toggles of Long and Short Trades
- Many markets dont allow short trades, or are not suitable for short trades. In this case it would be much more feasible to disable "Short" Trading and see results of Long Only as a built in graphic view of backtestor provides a more easy to understand data feed as compared to the performance summary in which you have to review long and short profitability separately.
4) Custom Data Backtesting
- One of most crucial aspects while optimizing for backtesting is to check a strategies performance on uptrends, downtrend and sideways markets seperately as to understand the weak points of strategy.
- Once you enable custom date backtesting, you will see lines on the chart which can be dragged left right based on where you want to start and end the backtesting from and to.
Note:
- Not a financial advise
- Open to feedback, questions, improvements, errors etc.
- More info on how the squeeze momentum works visit LazyBear indicator link:
Happy Trading!
Cheers
M Tahreem Alam @mtahreemalam
Momentum HUD (Enhanced with VWAP)*********** TRADERS YOU MUST DOUBLE CLICK THE MOMENTUM HUD TO SET WHAT YOU'RE TRADING, DROP DOWN FOR ETH SET FOR SPY SPX QQQ IWM NDX or OTHER STOCKS and below you PICK YOUR STOCK so it will form the 13 EMA 48 EMA 200 EMA and VWAP for you ***********
This one took all weekend, enjoy fam!!!!
The Momentum HUD (Enhanced with VWAP) is a powerful, all-in-one trading indicator designed to identify high-probability buy and sell signals for ETH-based indices (QQQ, SPY, SPX, IWM, NDX) or custom stocks like AAPL. It combines momentum, RSI, MACD, ADX, EMAs (13, 48, 200), VWAP, and volume analysis to generate actionable "CALLS" (buy) and "PUTS" (sell) signals. A customizable heads-up display (HUD) table provides real-time insights into key metrics, making it ideal for traders seeking a comprehensive technical analysis tool.
This indicator also supports support and resistance analysis indirectly through price interactions with EMAs and VWAP, which often act as dynamic support (e.g., 200 EMA) or resistance (e.g., VWAP rejection). Signals are filtered by an ATR-based volatility check and a cooldown period to reduce noise, ensuring robust trading decisions.
Key Features
Multi-Indicator Signals: Combines Momentum, RSI, MACD, ADX, EMAs, and VWAP for precise buy/sell signals.
Dynamic Support/Resistance: Uses EMA 13, EMA 48, EMA 200, and VWAP to highlight key price levels (e.g., price crossing EMA 13 for support or rejecting VWAP for resistance).
Customizable HUD Table: Displays real-time metrics (Momentum, RSI, MACD, ADX, EMA 200, VWAP) with bullish/bearish status and thresholds.
Symbol Flexibility: Supports ETH-based indices (QQQ, SPY, SPX, IWM, NDX) or any custom stock via user input.
Volatility Filter: Optional ATR filter ensures signals align with sufficient market volatility.
Cooldown Mechanism: Prevents over-signaling with a user-defined cooldown period.
Visual Cues: Plots EMAs, VWAP, buy/sell triangles, and labels for clear visualization.
Alert System: Configurable alerts for buy ("CALLS") and sell ("PUTS") signals.
How It Works
The indicator generates signals based on a confluence of conditions:
Buy Signals (CALLS): Triggered when price crosses above EMA 13 or bounces off VWAP, with positive momentum, RSI > 65, MACD bullish crossover, ADX > 25, price above EMA 200/VWAP, and high volume.
Sell Signals (PUTS): Triggered when price crosses below EMA 48 or rejects EMA 200/VWAP, with negative momentum, RSI < 35, MACD bearish crossover, ADX > 25, price below EMA 200/VWAP, and high volume.
Support/Resistance Context: EMA 200 and VWAP often act as support (e.g., ETH at $2,531–$2,600) or resistance (e.g., ETH at $2,695–$2,800), enhancing signal reliability.
HUD Table: Displays real-time values, status (Bullish/Bearish), and thresholds for all metrics, positioned at a user-defined chart location.
Usage Instructions
Add to Chart: Open TradingView’s Pine Editor, paste the script, and click “Add to Chart.”
Select Symbol: Choose from QQQ (ETH), SPY (ETH), SPX (ETH), IWM (ETH), NDX (ETH), or enter a custom stock symbol (e.g., AAPL).
Adjust Settings: Customize inputs (see below) to match your trading style and timeframe (e.g., intraday or daily).
Interpret Signals:
Green Triangles (CALLS): Indicate buy opportunities below the price bar.
Red Triangles (PUTS): Indicate sell opportunities above the price bar.
EMA/VWAP Lines: Monitor for price interactions (e.g., bounces or rejections) to confirm support/resistance levels.
Set Alerts: Use the built-in alert conditions (“Momentum Buy Signal” or “Momentum Sell Signal”) to receive notifications.
Combine with Analysis: Pair with additional tools (e.g., pivot-based support/resistance scripts) to validate key levels like ETH’s $2,531 support or $2,695 resistance.
Input Settings
Momentum Length: Period for momentum calculation (default: 14).
RSI Length: RSI period (default: 14).
RSI Buy/Sell Thresholds: RSI levels for buy (default: 65) and sell (default: 35).
MACD Fast/Slow/Signal Lengths: MACD settings (default: 12/26/9).
ADX Length/Threshold: ADX period (default: 14) and trend strength threshold (default: 25).
EMA Lengths: Periods for EMA 13, 48, and 200 (default: 13, 48, 200).
Volume Threshold: Multiplier for volume above 20-period average (default: 1.5x).
Signal Cooldown: Bars between signals to reduce noise (default: 5).
ATR Volatility Filter: Enable/disable ATR filter (default: true) and set ATR length (default: 14) and threshold (default: 0.75% of price).
Table Position: HUD placement (options: top_right, top_left, bottom_right, bottom_left).
Symbol Choice: Select ETH-based indices or custom stock (default: QQQ (ETH)).
Custom Stock Symbol: Input ticker for custom stocks (default: AAPL).
Label Colors: Customize text colors for EMA 13, EMA 48, EMA 200, and VWAP labels (default: black).
Example Use Case
For ETH (via QQQ): On a daily chart, set symbol_choice to “QQQ (ETH).” Monitor for buy signals when ETH crosses above $2,600 (EMA 13) with RSI > 65 and high volume, confirming support. Sell signals may trigger if ETH rejects $2,695 (VWAP) with RSI < 35, indicating resistance.
For Stocks (e.g., AAPL): Set custom_symbol to “AAPL.” Look for buy signals when price bounces off EMA 200 (support) and sell signals when price rejects VWAP (resistance).
Notes
Timeframe: Works on any timeframe, with intraday defaulting to the chart’s period and others to daily.
Support/Resistance: Combine with a pivot-based script (e.g., pivot highs/lows) to explicitly plot static support/resistance levels alongside dynamic EMAs/VWAP.
Risk Management: Always use proper risk management, as indicators are not foolproof.
Performance: Best used in trending markets (ADX > 25) and with confirmation from other tools.
Disclaimer
This indicator is for educational and informational purposes only and should not be considered financial advice. Always conduct your own research and consult a financial advisor before trading.
This info page is ready for TradingView’s publication requirements. It highlights the script’s functionality, ties in support/resistance context (per your ETH request), and provides clear instructions. Before publishing, ensure your TradingView account meets their requirements (e.g., verified profile). If you need tweaks or additional features (e.g., explicit support/resistance plotting), let me know!
Momentum Candles by @PipsandProfitFXThe High Momentum Candles indicator highlights price bars with exceptional price movement and strong volume. It identifies candles with significantly long bodies relative to their shadows, indicating rapid price changes. Additionally, the indicator filters for candles with above-average volume to confirm the strength of the price movement.
Dark red: bearish momentum
Orange: bullish momentum
(You can easily change the momentum candles to whatever color you want in the indicator settings.)
By visually emphasizing these high momentum candles, traders can potentially identify potential trend reversals or continuations, as well as potential entry and exit points.
Key Features:
Identifies candles with large bodies relative to their shadows
Filters candles based on volume to confirm strength
Highlights high momentum candles with a distinct color
Let me know if you'd like to see any updates on this indicator.
Note: This indicator is a visual tool and should be used in conjunction with other technical analysis techniques for making informed trading decisions.
München's Momentum WaveMUNICH'S MOMENTUM WAVE:
This momentum tracker has features sampled from Madrid's moving average ribbon but has differentiated many values, parameters, and usage of integers. It is derived using momentum and then creates moving averages and mean lengths to help support the strength of a move in price action, and also has the key mean length that helps determine HL/LH or rejections into trend continuation. This indicator works on ALL TIME FRAMES, ALL ASSET CLASSES ON ALL SETTINGS!!
HOW DO I USE IT?
*First off, I have arranged the input settings into groups based on the parts of the indicator it affects.
*You want to use the aqua/white/yellow (Munich's line) as your leading indicator, this is a combined average of the MoM indicator.
* When using Munich's line you want to look at the relation to the mean line (the flat line that adjusts based on price action. You will often see rejections of this line into trend continuation. I personally have caught perfect LH/HL bounce trades off of this indicator.
* Use the Background and other colored moving averages to help pre-determine moves based on the -3 offset value of Munich's line. This was by design not to create 'accurate' results, but to help predict momentum swings based on sharper moves in price action better than if all values lined up to the current bar.
Cheat Code's Notes:
I hope you guys find this indicator to be useful, this is most likely the best indicator that I have written. Simply for the fact it is useful on any chart, any timeframe with any setting. If you guys have any issues with it, shoot me a pm or drop a comment. Thanks!
-CheatCode1
BINANCE:BTCUSDT BITSTAMP:ETHUSD BITSTAMP:BTCUSD PEPPERSTONE:JPYX TVC:DXY TVC:NDQ AMEX:SPY
Momentum Candle Detector (Full Control)To Detect Momentum Candle
Larger Body Candle than before
Larger Total Candle than before (opt)
You can modified minimum or maximum pips (body or total)
Best for Scalping Momentum Candle on XAU/USD
Need to be combined with High Volume