Trend Strength Momentum Indicator (TSMI)Introducing the Trend Strength Momentum Indicator (TSMI)
With over two decades of experience, I've found that no single indicator can consistently predict market movements. The key lies in combining multiple indicators to capture different market dimensions—trend, momentum, and volume. With this in mind, I present the Trend Strength Momentum Indicator (TSMI), a comprehensive tool designed to spot emerging uptrends and downtrends in cryptocurrency and other asset markets.
1. Overview of TSMI
The TSMI amalgamates three critical market aspects:
Trend Direction and Strength: Utilizing Moving Averages (MA) and the Average Directional Index (ADX).
Momentum: Incorporating the Moving Average Convergence Divergence (MACD) and the Relative Strength Index (RSI).
Volume Confirmation: Employing the On-Balance Volume (OBV) indicator.
By combining these elements, TSMI aims to provide a robust signal that not only indicates the direction of the trend but also confirms its strength and sustainability through momentum and volume analysis.
2. Components and Calculations
A. Trend Component
Exponential Moving Averages (EMA):
50-day EMA: Captures the short to medium-term trend.
200-day EMA: Reflects the long-term trend.
Average Directional Index (ADX):
Measures the strength of the trend regardless of its direction.
A value above 25 indicates a strong trend, while below 20 suggests a weak or non-trending market.
B. Momentum Component
Moving Average Convergence Divergence (MACD):
Calculated by subtracting the 26-day EMA from the 12-day EMA.
The MACD line crossing above the signal line (9-day EMA of MACD) indicates bullish momentum; crossing below suggests bearish momentum.
Relative Strength Index (RSI):
Oscillates between 0 and 100.
Readings above 70 indicate overbought conditions; below 30 suggest oversold conditions.
C. Volume Component
On-Balance Volume (OBV):
Cumulatively adds volume on up days and subtracts volume on down days.
A rising OBV alongside rising prices confirms an uptrend; divergence may signal a reversal.
3. TSMI Calculation Steps
Step 1: Trend Analysis
EMA Crossover:
Identify if the 50-day EMA crosses above the 200-day EMA (Golden Cross), indicating a potential uptrend.
Conversely, if the 50-day EMA crosses below the 200-day EMA (Death Cross), it may signal a downtrend.
ADX Confirmation:
Confirm the strength of the trend. An ADX value above 25 supports the EMA crossover signal.
Step 2: Momentum Assessment
MACD Evaluation:
Look for MACD crossing above its signal line for bullish momentum or below for bearish momentum.
RSI Check:
Ensure RSI is not in overbought (>70) or oversold (<30) territory to avoid potential reversals against the trend.
Step 3: Volume Verification
OBV Direction:
Confirm that OBV is moving in the same direction as the price trend.
Rising OBV with rising prices strengthens the bullish signal; falling OBV with falling prices strengthens the bearish signal.
Step 4: Composite Signal Generation
Bullish Signal:
50-day EMA crosses above 200-day EMA (Golden Cross).
ADX above 25, indicating a strong trend.
MACD crosses above its signal line.
RSI is between 30 and 70, avoiding overbought conditions.
OBV is rising.
Bearish Signal:
50-day EMA crosses below 200-day EMA (Death Cross).
ADX above 25.
MACD crosses below its signal line.
RSI is between 30 and 70, avoiding oversold conditions.
OBV is falling.
4. How to Use the TSMI
A. Entry Points
Buying into an Uptrend:
Wait for the bullish signal criteria to align.
Enter the position after the 50-day EMA crosses above the 200-day EMA, supported by positive momentum (MACD and RSI) and volume (OBV).
Selling or Shorting into a Downtrend:
Look for the bearish signal criteria.
Initiate the position after the 50-day EMA crosses below the 200-day EMA, with confirming momentum and volume indicators.
B. Exit Strategies
Protecting Profits:
Monitor RSI for overbought or oversold conditions, which may indicate potential reversals.
Watch for MACD divergences or crossovers against your position.
Use trailing stops based on the ATR (Average True Range) to allow profits to run while protecting against sharp reversals.
C. Risk Management
Position Sizing:
Use the ADX value to adjust position sizes. A stronger trend (higher ADX) may justify a larger position, whereas a weaker trend suggests caution.
Avoiding False Signals:
Be cautious during sideways markets where EMAs may whipsaw.
Confirm signals with multiple indicators before acting.
5. Examples
Example 1: Spotting an Emerging Uptrend in Bitcoin
Date: Let's assume on March 1st.
Observations:
EMA Crossover: The 50-day EMA crosses above the 200-day EMA.
ADX: Reading is 28, indicating a strong trend.
MACD: Crosses above the signal line and moves into positive territory.
RSI: Reading is 55, comfortably away from overbought levels.
OBV: Shows a rising trend, confirming increasing buying pressure.
Action:
Enter a long position in Bitcoin.
Set a stop-loss below recent swing lows.
Outcome:
Over the next few weeks, Bitcoin's price continues to rise, validating the TSMI signal.
Example 2: Identifying a Downtrend in Ethereum
Date: Let's assume on July 15th.
Observations:
EMA Crossover: The 50-day EMA crosses below the 200-day EMA.
ADX: Reading is 30, confirming a strong trend.
MACD: Crosses below the signal line into negative territory.
RSI: Reading is 45, not yet oversold.
OBV: Declining, indicating selling pressure.
Action:
Initiate a short position or exit long positions in Ethereum.
Place a stop-loss above recent resistance levels.
Outcome:
Ethereum's price declines over the following weeks, confirming the downtrend.
6. When to Use the TSMI
Trending Markets: TSMI is most effective in markets exhibiting clear trends, whether bullish or bearish.
Avoiding Sideways Markets: In range-bound markets, EMAs and momentum indicators may provide false signals. ADX readings below 20 suggest it's best to stay on the sidelines.
Volatile Assets: Particularly useful in cryptocurrency markets, which are known for their volatility and extended trends.
7. Limitations and Considerations
Lagging Indicators: Moving averages and ADX are lagging by nature. Rapid reversals may not be immediately captured.
False Signals: No indicator is foolproof. Always confirm signals with multiple components of TSMI.
Market Conditions: External factors like news events can significantly impact prices. Consider combining TSMI with fundamental analysis.
8. Enhancing TSMI
Customization: Adjust EMA periods (e.g., 20-day and 100-day) based on the asset's volatility and your trading timeframe.
Additional Indicators: Incorporate Bollinger Bands to gauge volatility or Fibonacci retracement levels to identify potential support and resistance.
Conclusion
The Trend Strength Momentum Indicator (TSMI) offers a holistic approach to spotting emerging trends by combining trend direction, momentum, and volume. By synthesizing the strengths of various traditional indicators while mitigating their individual limitations, TSMI provides traders with a powerful tool to navigate the complex landscape of cryptocurrency and other asset markets.
Key Benefits of TSMI:
Comprehensive Analysis: Integrates multiple market dimensions for well-rounded insights.
Early Trend Identification: Aims to spot trends early for optimal entry points.
Risk Management: Helps in making informed decisions, thereby reducing exposure to false signals.
By applying TSMI diligently and complementing it with sound risk management practices, traders can enhance their ability to capitalize on market trends and improve their overall trading performance.
Search in scripts for "momentum"
Nasan Rate of Change (ROC)**NOTE: FOR COMPARISON TRADITIONAL ROC IS PLOTTED WITH THE SAME ROC LENGTH OF 9. IT IS NOT PART OF THE INDICATOR"
The Nasan ROC indicator is smoothed version of the of the traditional ROC indicator. The Nasna ROC uses a triple pass moving average differencing strategy. A cumulative sum of the deviations obtained from the moving average differencing provides a smooth "noise free" trend and this cumulative sum of deviations is used for calculating ROC.
Let's break down the components and understand the indicator we discussed earlier:
Sequential Triple Pass Filter:
Three filters with lengths specified by length1, length2, and length3 are applied to the closing prices (close).
The filters involve calculating the cumulative sum of the differences between the closing prices and their respective moving averages.
The idea is to detrend the data and accumulate the deviations from the average over time, emphasizing longer-term trends.
Calculation of Rate of Change (ROC) of Cumulative Sum:
The Rate of Change (ROC) of the cumulative sum (rocCumulativeSum) is calculated using the ta.roc function with a specified length (rocLength).
ROC measures the percentage change in the cumulative sum over a specified period.
The ROC histogram provides insights into the momentum of the detrended series. Positive values suggest increasing momentum, while negative values suggest decreasing momentum.
Pay attention to the color of the histogram bars.
The histogram bars are colored green if the current ROC value is greater than or equal to the previous ROC value, and red otherwise.
This coloring is based on the concept that a positive ROC suggests upward momentum, while a negative ROC suggests downward momentum.
Volatility - Volume Impact:
The Average True Range (ATR) is calculated with a period of 14.
Volume strength is calculated as a factor (VCF) that considers the ratio of the simple moving average (SMA) of the current volume to the SMA of the volume over a longer period (144).
This volume factor (VCF) is then multiplied by ATR, creating a synergy with volatility and volume.
Visualization with Background Color Gradient:
A background color gradient is applied to the chart based on the calculated volume strength (f1).
The gradient color ranges from black (indicating low ATR and volume strength) to purple (indicating high ATR and volume strength). A low value indicates a ranging market with no significant price movements and it is safter to avoid signals generated from ROC histogram in these region.
Synergy of ROC and Volume Strength:
Observe how the ROC signals align with the background color gradient. For example, confirm whether positive ROC aligns with periods of high ATR and volume strength.
This synergy can provide confirmation or divergence signals, adding another layer of analysis.
MOM HEATThe "MOM HEAT" indicator combines MACD, Stochastic, MFI, and RSI to create a heat map of market momentum.
It calculates wave values based on these indicators for four different timeframes.
The wave values are then normalized and combined to determine overall momentum.
The indicator plots squares on the chart to represent the wave values for each timeframe.
It also draws a line to indicate potential momentum shifts.
Additionally, a table displays the timeframes and their corresponding colors (lib kaigouthro/hsvColor/15).
Overall, the indicator provides a visual representation of market momentum and potential shifts.
Strength Analyzer [DW]This is an experimental hybrid between relative strength and spectrum analysis methods aimed to deliver useful insights about cyclical dominance and momentum.
This study utilizes a modified RSI formula and a modified Goertzel algorithm to determine relative strength and spectral dominance for periods 8 through 50.
These periods are theorized by many analysts to be the main cyclical components of market movement.
In this study, you are given the option to apply equalization (EQ) to the dataset before estimating strength.
This enables you to transform your data and observe how strength estimates changes as well.
Whether you want to give emphasis to some frequencies, isolate specific bands, or completely alter the shape of your waveform, EQ filtration makes for an interesting experience.
The default EQ preset in this script cuts low end presence, dampens high frequency oscillations, and cleanly passes main cyclic components.
There are many ways to use EQ to transform your dataset, so play around with the settings and find the presets that work best for your analysis setup.
After EQ processing, the data is then passed through the modified RSI algorithm to generate momentum information
The modified RSI in this script is rescaled to oscillate between -1 and 1, and has the option to pass through a 2 pole Butterworth low pass filter before and after processing for a smoother output.
The strength thresholds are determined by the threshold value, which quantifies distance above and below 0.
The threshold value can also be thought of as conventional RSI distance from 50 rescaled so that an increment of 0.1 is equivalent to an increment of 5 on a conventional RSI.
A threshold value of 0.4 is equivalent to thresholds of 70 and 30 on a conventional RSI, so this is the default. The maximum threshold value is 1, which is equivalent to thresholds of 100 and 0.
This script plots colored sections for each period value using a gradient color scheme based on their respective strength estimates.
The color scheme in this script is a multicolored gradient that shows green scaled colors for bullish strength and red scaled colors for bearish strength.
Darker, less vibrant colors indicate lower strength. Brighter, more vibrant colors indicate higher strength.
Strength values near 0 will show the darkest colors, and values near the positive or negative threshold value will show the brightest.
The data is fed parallel through the modified Goertzel algorithm to obtain cyclic power information and to estimate the dominant cycle.
Gerald Goertzel's algorithm is a unique Fourier related transform that identifies tonal properties by quantifying resonance in a set of second order IIR filters with direct-form structure.
It is computationally more efficient than typical DFT or FFT algorithms, and yields decent spectral resolution.
In this variation of the algorithm, data is first passed through a 2 pole high pass filter to attenuate spectral dilation, then passed through a Hamming Window to tidy up the frequency range.
The clean windowed data is then passed through a recursive resonance loop over the frequency block to calculate filter coefficients, which are then used to identify real and imaginary magnitude components.
From there, the magnitude components are used to calculate cyclic power.
The power outputs of each period are then compared for dominant cycle estimation, which is plotted over the gradient.
The dominant cycle can also be optionally smoothed or halved based on your preferences.
Bar colors are included in this script. The color scheme is a gradient based on dominant cycle momentum.
Signals and alert conditions are included in this script as well, and can be customized to your liking.
The two main signal types in this script are:
-> Dominant Cycle - Signals based on dominant cycle or half dominant cycle changes from positive to negative strength or vice versa.
-> Confluence - Signals based on confluence emergence. Based on the majority of measured cycles or all measured cycles showing positive or negative strength.
The signals in this are also externally accessible by other scripts.
The output format is 1 for long signals, and -1 for short signals.
To integrate these signals with your own system, use a source input in your script and assign it to this script's "Direction Signals" output variable from the dropdown tab.
In addition, I included two external output variables that show dominant cycle strength and average cycle strength.
They can be integrated into your own scripts by using a source input and selecting the proper output variable, just like the signals.
The Strength Analyzer is a versatile and powerful analytical tool to have in the arsenal for generating unique insights about momentum and cycle dominance.
By analyzing strength on a spectral basis, we can look at relative price movements on a deeper level and gain insights that aren't necessarily obvious from simply looking at a price chart.
------------------------------------------------
This is a premium script, and access is provided on an invite-only basis.
To gain access, get a copy of the script overview, or for any other inquiries, send me a direct message!
I look forward to hearing from you!
------------------------------------------------
General Disclaimer:
Trading stocks, futures, Forex, options, ETFs, cryptocurrencies or any other financial instrument has large potential rewards, but also large potential risk.
You must be aware of the risks and be willing to accept them in order to invest in stocks, futures, Forex, options, ETFs or cryptocurrencies.
Don’t trade with money you can’t afford to lose.
This is neither a solicitation nor an offer to Buy/Sell stocks, futures, Forex, options, ETFs, cryptocurrencies or any other financial instrument.
No representation is being made that any account will or is likely to achieve profits or losses of any kind.
The past performance of any trading system or methodology is not necessarily indicative of future results.
------------------------------------------------
Note:
Because TV's UI can't handle displaying style options for 43 fills with 42 colors, the color scheme of the analyzer is currently not editable.
However, no other sacrifices to functionality or quality were made in this project.
As the TV team performs updates on the platform, the ability to customize this color scheme will likely come as well.
Also, it's important to note that this script uses a heavy amount of calculations to generate this output.
At times (very infrequently), TV will throw an error message saying "Calculation Takes Too Long", likely due to a momentary lull in available server space.
If you receive this error, simply hide then unhide the indicator, and everything should function as expected.
Swing Trading Indicators (Improved)This "Swing Trading Indicators" script is a sophisticated trading tool designed for traders who wants to use technical analysis for identifying optimal entry points, safeguarding profits, and protect their capital. With foundations loosely based on the momentum burst strategy by Pradeep Bonde, Kristjan Kullamaggie's trading methodologies, and incorporating automatic stop-losses based on Average Daily Range (ADR) and Average True Range (ATR), this script offers a comprehensive solution if you want to capitalize on short-term market movements.
Key Features:
Indicators and Moving Averages: Includes EMA (5, 10, 20, 50 days), SMA (200 days), and the highest and lowest prices over 200 days to provide a multifaceted view of market trends and momentum.
Thrust Indicator: Central to the script, the thrust indicator signals a buy point when a candlestick bar closes above the highs of the last two days, indicating a momentum burst. This feature is particularly inspired by Pradeep Bonde's 4% breakout strategy, highlighting the script's capability to identify range expansion and upward thrusts as key entry moments.
Automatic Stop-Levels: Utilizes ADR and ATR to set dynamic stop-losses, helping traders to manage risk effectively by adapting to market volatility.
Comprehensive Market Analysis : Through volume analysis, RSI, closing range, and other parameters, the script offers a deep dive into market dynamics, aiding in decision-making.
Who Should Use It:
This tool is ideal for swing traders and momentum traders focused on short to medium-term gains. Its robust set of features makes it suitable for those who prefer a data-driven approach to identify buying opportunities and manage risk.
Trading Style Compatibility:
The thrust indicator shines in momentum trading strategies, providing clear signals for entering trades ahead of potential price jumps. The integration of moving averages and volume analysis supports a variety of trading styles, including day trading and swing trading, by offering insights into trend strength and potential reversals.
How the Thrust Indicator Works:
When you see a thrust indicator (green upwards arrow below a candle) when the price is moving out of a consolidation or low volatility price-range , that's the buy point.
The thrust indicator is NOT indended as an indicator for long term positions or trend reversals, but for entries at a good price while capturing the first day of a potential 5-20% move in the coming 3-5 days.
The thrust indicator pinpoints moments when a stock shows a strong upward momentum, characterized by a candlestick closing above the highs of the preceding two days. This identifies a momentum burst, signaling an optimal entry point for traders looking to profit from a short-term price movement, typically ranging from 5-20% over the following 3-5 days. Such precision in identifying entry points is invaluable for traders focusing on capturing quick gains from market volatility.
"Top / Watch out" Indicator:
In addition to the script's core functionality, the "WatchOut" indicator plays a crucial role in identifying potential reversals after significant price movements. By analyzing conditions such as recent price increases compared to the average daily range, RSI levels, and the opening price distance from the EMA, the "WatchOut" indicator alerts traders to exercise caution. This feature is pivotal for those looking to avoid entering trades that might be on the verge of a pullback or reversal, enhancing the script's utility in managing risk.
Enhanced Stock Ticker with 50MA vs 200MA On ChartDescription:
The "Enhanced Stock Ticker with 50MA vs 200MA Signals" is a streamlined Pine Script indicator that overlays bullish and bearish crossover signals directly on the price chart, derived from normalized price indices based on short-term (default: 50-period) and long-term (default: 200-period) price ranges. Designed for traders seeking clear, actionable signals, it highlights potential trend reversals or momentum shifts with color-coded arrows and robust alert functionality.
What It Does:
Normalized Price Indices:
Calculates two internal indices based on the stock’s closing price relative to the high/low range over user-defined short (default: 50 periods) and long (default: 200 periods) lookback periods.
The Short Lookback Index (based on 50 periods) and Long Lookback Index (based on 200 periods) are computed but not plotted, serving as the foundation for crossover signals.
Crossover Signals on Price Chart:
Long-Term Signals:
Bullish Long Cross: A green triangle appears below the price bar when the Long Lookback Index crosses above 5, indicating a potential valley or bullish reversal.
Bearish Long Cross: A red triangle appears above the price bar when the Long Lookback Index crosses below 95, signaling a potential peak or bearish reversal.
Short-Term Signals:
Bullish Short Cross: A blue triangle appears below the price bar when the Short Lookback Index crosses above 5, suggesting short-term bullish momentum.
Bearish Short Cross: A white triangle appears above the price bar when the Short Lookback Index crosses below 95, indicating short-term bearish momentum.
All signals are integrated with TradingView’s alert system for real-time notifications.
Ticker and Legend Table:
Displays a table in the top-right corner with:
The stock’s ticker symbol (yellow text on blue background).
A legend explaining the blue arrows (Short MA, 50 periods) and white arrows (Long MA, 200 periods).
The table is initialized once to maintain a clean chart.
How to Use:
Customization: Adjust the short (default: 50) and long (default: 200) lookback periods in the indicator settings to align with your trading style or timeframe.
Interpretation:
Green/Blue Triangles Below Bars: Indicate potential buying opportunities (bullish crossovers at the 5 level for long/short indices).
Red/White Triangles Above Bars: Suggest potential selling opportunities (bearish crossovers at the 95 level for long/short indices).
Alerts: Set up TradingView alerts for the following conditions:
Long Index Valley: Long-term bullish crossover above 5.
Long Index Peak: Long-term bearish crossover below 95.
Short Index Valley: Short-term bullish crossover above 5.
Short Index Peak: Short-term bearish crossover below 95.
Why Use This Indicator?
This indicator provides a clean, intuitive way to visualize potential trend reversals and momentum shifts directly on the price chart. The color-coded arrows make it easy to spot entry and exit points, while customizable lookback periods and alert conditions cater to traders of all levels. It’s perfect for those who prefer minimal chart clutter with maximum signal clarity.
Notes:
Uses confirmed bars (previous bar’s OHLC data) to ensure signals are non-repainting and reliable.
Primarily designed for stocks but adaptable to other assets (e.g., forex, crypto) by tweaking lookback periods.
Arrows are placed above or below price bars for clear visibility; adjust chart zoom if signals appear crowded.
Signals at the 5 and 95 thresholds are sensitive to extreme price movements, so combine with other technical analysis for confirmation.
PhenLabs - Market Fluid Dynamics📊 Market Fluid Dynamics -
Version: PineScript™ v6
📌 Description
The Market Fluid Dynamics - Phen indicator is a new thinking regarding market analysis by modeling price action, volume, and volatility using a fluid system. It attempts to offer traders control over more profound market forces, such as momentum (speed), resistance (thickness), and buying/selling pressure. By visualizing such dynamics, the script allows the traders to decide on the prevailing market flow, its power, likely continuations, and zones of calmness and chaos, and thereby allows improved decision-making.
This measure avoids the usual difficulty of reconciling multiple, often contradictory, market indications by including them within a single overarching model. It moves beyond traditional binary indicators by providing a multi-dimensional view of market behavior, employing fluid dynamic analogs to describe complex interactions in an accessible manner.
🚀 Points of Innovation
Integrated Fluid Dynamics Model: Combines velocity, viscosity, pressure, and turbulence into a single indicator.
Normalized Metrics: Uses ATR and other normalization techniques for consistent readings across different assets and timeframes.
Dynamic Flow Visualization: Main flow line changes color and intensity based on direction and strength.
Turbulence Background: Visually represents market stability with a gradient background, from calm to turbulent.
Comprehensive Dashboard: Provides an at-a-glance summary of key fluid dynamic metrics.
Multi-Layer Smoothing: Employs several layers of EMA smoothing for a clearer, more responsive main flow line.
🔧 Core Components
Velocity Component: Measures price momentum (first derivative of price), normalized by ATR. It indicates the speed and direction of price changes.
Viscosity Component: Represents market resistance to price changes, derived from ATR relative to its historical average. Higher viscosity suggests it’s harder for prices to move.
Pressure Component: Quantifies the force created by volume and price range (close - open), normalized by ATR. It reflects buying or selling pressure.
Turbulence Detection: Calculates a Reynolds number equivalent to identify market stability, ranging from laminar (stable) to turbulent (chaotic).
Main Flow Indicator: Combines the above components, applying sensitivity and smoothing, to generate a primary signal of market direction and strength.
🔥 Key Features
Advanced Smoothing Algorithm: Utilizes multiple EMA layers on the raw flow calculation for a fluid and responsive main flow line, reducing noise while maintaining sensitivity.
Gradient Flow Coloring: The main flow line dynamically changes color from light to deep blue for bullish flow and light to deep red for bearish flow, with intensity reflecting flow strength. This provides an immediate visual cue of market sentiment and momentum.
Turbulence Level Background: The chart background changes color based on calculated turbulence (from calm gray to vibrant orange), offering an intuitive understanding of market stability and potential for erratic price action.
Informative Dashboard: A customizable on-screen table displays critical metrics like Flow State, Flow Strength, Market Viscosity, Turbulence, Pressure Force, Flow Acceleration, and Flow Continuity, allowing traders to quickly assess current market conditions.
Configurable Lookback and Sensitivity: Users can adjust the base lookback period for calculations and the sensitivity of the flow to viscosity, tailoring the indicator to different trading styles and market conditions.
Alert Conditions: Pre-defined alerts for flow direction changes (positive/negative crossover of zero line) and detection of high turbulence states.
🎨 Visualization
Main Flow Line: A smoothed line plotted below the main chart, colored blue for bullish flow and red for bearish flow. The intensity of the color (light to dark) indicates the strength of the flow. This line crossing the zero line can signal a change in market direction.
Zero Line: A dotted horizontal line at the zero level, serving as a baseline to gauge whether the market flow is positive (bullish) or negative (bearish).
Turbulence Background: The indicator pane’s background color changes based on the calculated turbulence level. A calm, almost transparent gray indicates low turbulence (laminar flow), while a more vibrant, semi-transparent orange signifies high turbulence. This helps traders visually assess market stability.
Dashboard Table: An optional table displayed on the chart, showing key metrics like ‘Flow State’, ‘Flow Strength’, ‘Market Viscosity’, ‘Turbulence’, ‘Pressure Force’, ‘Flow Acceleration’, and ‘Flow Continuity’ with their current values and qualitative descriptions (e.g., ‘Bullish Flow’, ‘Laminar (Stable)’).
📖 Usage Guidelines
Setting Categories
Show Dashboard - Default: true; Range: true/false; Description: Toggles the visibility of the Market Fluid Dynamics dashboard on the chart. Enable to see key metrics at a glance.
Base Lookback Period - Default: 14; Range: 5 - (no upper limit, practical limits apply); Description: Sets the primary lookback period for core calculations like velocity, ATR, and volume SMA. Shorter periods make the indicator more sensitive to recent price action, while longer periods provide a smoother, slower signal.
Flow Sensitivity - Default: 0.5; Range: 0.1 - 1.0 (step 0.1); Description: Adjusts how much the market viscosity dampens the raw flow. A lower value means viscosity has less impact (flow is more sensitive to raw velocity/pressure), while a higher value means viscosity has a greater dampening effect.
Flow Smoothing - Default: 5; Range: 1 - 20; Description: Controls the length of the EMA smoothing applied to the main flow line. Higher values result in a smoother flow line but with more lag; lower values make it more responsive but potentially noisier.
Dashboard Position - Default: ‘Top Right’; Range: ‘Top Right’, ‘Top Left’, ‘Bottom Right’, ‘Bottom Left’, ‘Middle Right’, ‘Middle Left’; Description: Determines the placement of the dashboard on the chart.
Header Size - Default: ‘Normal’; Range: ‘Tiny’, ‘Small’, ‘Normal’, ‘Large’, ‘Huge’; Description: Sets the text size for the dashboard header.
Values Size - Default: ‘Small’; Range: ‘Tiny’, ‘Small’, ‘Normal’, ‘Large’; Description: Sets the text size for the metric values in the dashboard.
✅ Best Use Cases
Trend Identification: Identifying the dominant market flow (bullish or bearish) and its strength to trade in the direction of the prevailing trend.
Momentum Confirmation: Using the flow strength and acceleration to confirm the conviction behind price movements.
Volatility Assessment: Utilizing the turbulence metric to gauge market stability, helping to adjust position sizing or avoid choppy conditions.
Reversal Spotting: Watching for divergences between price and flow, or crossovers of the main flow line above/below the zero line, as potential reversal signals, especially when combined with changes in pressure or viscosity.
Swing Trading: Leveraging the smoothed flow line to capture medium-term market swings, entering when flow aligns with the desired trade direction and exiting when flow weakens or reverses.
Intraday Scalping: Using shorter lookback periods and higher sensitivity to identify quick shifts in flow and turbulence for short-term trading opportunities, particularly in liquid markets.
⚠️ Limitations
Lagging Nature: Like many indicators based on moving averages and lookback periods, the main flow line can lag behind rapid price changes, potentially leading to delayed signals.
Whipsaws in Ranging Markets: During periods of low volatility or sideways price action (high viscosity, low flow strength), the indicator might produce frequent buy/sell signals (whipsaws) as the flow oscillates around the zero line.
Not a Standalone System: While comprehensive, it should be used in conjunction with other forms of analysis (e.g., price action, support/resistance levels, other indicators) and not as a sole basis for trading decisions.
Subjectivity in Interpretation: While the dashboard provides quantitative values, the interpretation of “strong” flow, “high” turbulence, or “significant” acceleration can still have a subjective element depending on the trader’s strategy and risk tolerance.
💡 What Makes This Unique
Fluid Dynamics Analogy: Its core strength lies in translating complex market interactions into an intuitive fluid dynamics framework, making concepts like momentum, resistance, and pressure easier to visualize and understand.
Market View: Instead of focusing on a single aspect (like just momentum or just volatility), it integrates multiple factors (velocity, viscosity, pressure, turbulence) to provide a more comprehensive picture of market conditions.
Adaptive Visualization: The dynamic coloring of the flow line and the turbulence background provide immediate, adaptive visual feedback that changes with market conditions.
🔬 How It Works
Price Velocity Calculation: The indicator first calculates price velocity by measuring the rate of change of the closing price over a given ‘lookback’ period. The raw velocity is then normalized by the Average True Range (ATR) of the same lookback period. Normalization enables comparison of momentum between assets or timeframes by scaling for volatility. This is the direction and speed of initial price movement.
Viscosity Calculation: Market ‘viscosity’ or resistance to price movement is determined by looking at the current ATR relative to its longer-term average (SMA of ATR over lookback * 2). The further the current ATR is above its average, the lower the viscosity (less resistance to price movement), and vice-versa. The script inverts this relationship and bounds it so that rising viscosity means more resistance.
Pressure Force Measurement: A ‘pressure’ variable is calculated as a function of the ratio of current volume to its simple moving average, multiplied by the price range (close - open) and normalized by ATR. This is designed to measure the force behind price movement created by volume and intraday price thrusts. This pressure is smoothed by an EMA.
Turbulence State Evaluation: A equivalent ‘Reynolds number’ is calculated by dividing the absolute normalized velocity by the viscosity. This is the proclivity of the market to move in a chaotic or orderly fashion. This ‘reynoldsValue’ is smoothed with an EMA to get the ‘turbulenceState’, which indicates if the market is laminar (stable), transitional, or turbulent.
Main Flow Derivation: The ‘rawFlow’ is calculated by taking the normalized velocity, dampening its impact based on the ‘viscosity’ and user-input ‘sensitivity’, and orienting it by the sign of the smoothed ‘pressureSmooth’. The ‘rawFlow’ is then put through multiple layers of exponential moving average (EMA) smoothing (with ‘smoothingLength’ and derived values) to reach the final ‘mainFlow’ line. The extensive smoothing is designed to give a smooth and clear visualization of the overall market direction and magnitude.
Dashboard Metrics Compilation: Additional metrics like flow acceleration (derivative of mainFlow), and flow continuity (correlation between close and volume) are calculated. All primary components (Flow State, Strength, Viscosity, Turbulence, Pressure, Acceleration, Continuity) are then presented in a user-configurable dashboard for ease of monitoring.
💡 Note:
The “Market Fluid Dynamics - Phen” indicator is designed to offer a unique perspective on market behavior by applying principles from fluid dynamics. It’s most effective when used to understand the underlying forces driving price rather than as a direct buy/sell signal generator in isolation. Experiment with the settings, particularly the ‘Base Lookback Period’, ‘Flow Sensitivity’, and ‘Flow Smoothing’, to find what best suits your trading style and the specific asset you are analyzing. Always combine its insights with robust risk management practices.
Swing + 3-Bar Breakout(Mastersinnifty)Overview
This script is a hybrid trading tool combining swing-based structural analysis, momentum filtering, and breakout validation — designed to detect early reversals and confirm trend continuations within a single unified system.
It integrates five major components:
- ZigZag Structural Detection — to identify critical swing highs and lows.
- Momentum Validation — using RSI and Rate of Change (ROC) to confirm the strength behind swings.
- Three-Bar Breakout Confirmation — spotting trend continuation beyond swing structures.
- Dynamic Trailing Stop System — managing trades adaptively via ATR-based trailing stops.
- Projected Target Levels — estimating future price destinations based on measured swings.
---
What Makes This Script Unique
Rather than using standard indicators in isolation, this script layers multiple conditions sequentially and contextually:
- Structural Foundation: Identifies pivots through a tight ZigZag algorithm tuned with a low-depth setting for early detection.
- Momentum Checkpoint: Validates pivots only if RSI extremes and ROC momentum surges align, reducing false breakouts during sideways movements.
- Breakout Validation: Confirms trend continuation when price breaches critical multi-bar highs/lows post-swing formation.
- Risk-Managed Progression: Initiates adaptive ATR-based trailing stops immediately after signal generation, tightening risk dynamically as trends unfold.
- Target Projection: Estimates potential move size by projecting the magnitude of the last completed swing, offering realistic price milestones.
This combination provides a dual-purpose tool for both reversals and breakouts, allowing flexible trading styles within a single indicator.
---
How the Script Works
- Swing Detection
- A swing low is identified when a price bottom forms (via ZigZag) and momentum conditions are met (RSI < 20, ROC > +0.5).
- A swing high is identified when a price top forms and momentum conditions are met (RSI > 80, ROC < -0.5).
- Breakout Confirmation
- After a swing is detected, if price crosses above/below a three-bar swing structure, a secondary breakout signal is triggered.
- Trailing Stop Activation:
- Upon a confirmed swing or breakout, an ATR-multiplied trailing stop is initialized below/above the entry point to secure profits dynamically.
- Projection Logic
- Swing height is measured from the latest high-low sequence, and potential future targets are plotted for visual guidance.
---
Who Can Benefit From This Indicator
- Swing Traders — who seek early entries around reversal zones.
- Scalpers & Intraday Traders — needing fast-reacting momentum-based confirmation.
- Breakout Traders — to time entries after multi-bar compressions.
- Risk Managers — through integrated ATR trailing stops for dynamic exit management.
- Price Action Analysts — utilizing projected swing targets for strategic planning.
---
How to Use
- Entry Identification
- Look for buy signals at swing lows with strong positive momentum.
- Look for sell signals at swing highs with strong negative momentum.
- Use breakout confirmations to validate the trend continuation beyond swings.
- Risk Management
- Monitor trailing stop lines to track trade health.
- Watch projected targets to anticipate realistic move completions.
- Chart Visibility
- All plotted points, breakout markers, trailing stops, and projected levels are generated automatically for clarity.
---
Disclaimer
This script is intended for educational and analytical purposes only.
It does not constitute financial advice, and past performance does not guarantee future results.
All trading involves risk. Users are responsible for their own trading decisions.
Candle Spread
Candle Spread is an indicator that helps traders measure the range of price movement within each candle over a specified time period. It calculates the range of the candle between the High and Low (High - Low) and displays it in a separate window below the chart as columns.
Key Features:
Colored Bars: The bars are colored based on the candle's direction:
Bullish Candle: Bars are Green.
Bearish Candle: Bars are Red.
Moving Average: The indicator includes a 30-period Simple Moving Average (SMA), which represents the overall average range of the candles.
Helps Identify Market Volatility: This indicator helps traders identify wide-range candles (signaling high volatility in the market), which could indicate a surge in momentum or potential trend reversals.
Absolute Move BandsOverview:
The Absolute Move Bands indicator calculates the absolute value of the expected return, also known as "momentum" by some traders, and then displays it with standard deviation bands. The indicator also shows a moving average and a Kalman filter of the absolute move. If you take the expected return, you get what many traders commonly call "momentum." Now, if you turn the negative values into positive values by getting the magnitude of the expected return, it shows the "strength or intensity of the expected return." A low value of the absolute value of the expected return shows that the expected return is close to 0, which means that there is no significant trending behavior. The higher the value, the higher the deviation is from the mean, indicating stronger trend moves in the expected return itself. This indicator then gets the standard score of the absolute value of the expected return and then gets the moving average and Kalman Filter.
This indicator is not a directional indicator, but it can help you time moves and determine the "strength" of the expected returns (also known as momentum).
Interpreting the Magnitude:
Low Values: A low absolute value of the expected return indicates that the expected return is close to 0, suggesting no significant trending behavior in the market.
High Values: A high absolute value indicates a strong deviation from the mean, reflecting stronger trend moves in the expected return itself.
Standard Score Calculation:
This indicator computes the standard score (z-score) of the absolute value of the expected return. The value shows how many standard deviations the absolute return is from the mean. This helps in identifying periods of extreme magnitude.
Moving Average and Kalman Filter:
Moving Average: The indicator calculates the moving average of the standard score to smooth out the short-term fluctuations and show the longer-term trends in the absolute returns.
Kalman Filter: Applied to further reduce noise and provide a clearer signal, it enhances the indicator's effectiveness in determining the strength of the expected returns.
Standard Deviation Bands
Purpose: The standard deviation bands help determine if the standard score is at an extreme low or high.
High Standard Score (+2 Standard Deviation Band): Indicates that the absolute value of the expected return is at a high level, suggesting a strong trend. This could mean that the trend is at its peak and might be nearing completion.
Low Standard Score (-2 Standard Deviation Band): Indicates that the absolute value of the expected return is at a low level, suggesting minimal or no trending behavior. This could imply that the expected return is around 0, and a new trend (in any direction) may start soon.
How to interpret and use this indicator
Two ways will be discussed on how you can use this indicator. First of all lets go back over the interpretation of the standard score and bands.
High Standard Score: Indicates that the absolute value is significantly higher than usual, which suggest a strong trend which may be nearing its peak. Some traders who entered a trade at a low standard score value might want to consider taking profits or preparing for a potential reversal.
Low Standard Score: Indicates that the absolute value is significantly low, close to 0, which suggest minimal trending behavior and a new trend or move may soon start.
This indicator shouldn't be used alone; you may need an indicator that shows you the trend with an expected return indicator or a "momentum" indicator, because all this shows you is the strength of the trend or "momentum." So let's say that if you see that the standard score is low and the Kalman filter is increasing, then this shows that a trend may start soon, so you can use the "momentum" indicator and enter with whatever the trend is on.
Another way to use the indicator is to trade extreme occurrences. If on an indicator that shows the expected returns, or "momentum," and its at an extreme standard deviation occurrence level like -2 standard deviation from the mean, and the standard score is at 2 standard deviation (the top band), and the Kalman filter starts decreasing, then the downtrend may be over and you could place a long.
Supply & Demand Trade Analyzer by NYTCSupply and Demand Trade Analyzer
Automatic Zone Identification
• Identifies high quality supply and demand zones on multiple timeframes
• Shows the prices for each zone so the user may easily identify actionable prices to buy or sell
• Once a zone is no longer valid, it is automatically removed from the chart to keep the workspace clean.
• Includes all 4 zone formations: DBR, RBR, RBD and DBD
What are supply and demand zones?
Supply and demand zones are visual representations of areas where there has been a price imbalance. Whenever a demand imbalance is detected, the indicator will plot a green demand zone which may be used as an area to buy under the right market conditions, such as an uptrend or to take profit on a short position. Also, whenever a supply imbalance is detected, the indicator will plot a red supply zone which may be used as an area to sell under the right conditions such as a downtrend or to take profit on a long position.
Automatic Trend Analysis
Proper trend analysis is one of the most important steps in successfully trading or investing in the financial markets as it helps the trader determine which side of the market, he/she wants to take: long or short. For this reason, we decided to also include in this indicator our unique trend analysis technique that utilizes highs and lows to detect when trends begin, how they continue and when they end. The indicator is able properly identify uptrends (Higher Highs and Higher Lows), downtrend (Lower Highs and Lower Lows), and sideways trends (relatively equal highs and lows, higher highs but lower lows or lower highs but higher lows).
• The trader can toggle this feature on or off as needed.
• Our unique trend indicator is located at the bottom of the chart so, as not to interfere with the candles and hide important information.
• When the indicator shows green, the trend is up, when it shows red, the trend is down and sideways when the indicator shows grey.
How it works
Being that supply and demand zones are areas of potential imbalance, under the right conditions price may reverse at these zones. Use them in conjunction with your entry and exit rules to maximize efficacy and minimize risk.
User Inputs
In the settings menu you will find the following functions:
• Zone Count: Allows the trader to determine how many zones are shown on the chart
• Zone-on-Zone: Give the trader the option to also see overlapping zones
• Minor Zones: While the indicator plots major zones by default, this function gives the trader to see all zones in real time as they are being formed.
• HTF Trend: Give the trader the option to turn on our unique trend identification tool
• LTF Momentum: Allows the trader to toggle on or off our unique lower timeframe momentum finder. This tool is best used during the Globex of the Futures session for short-term trading (scalping)
Instruments
Our Trade Analyzer works across all asset classes and on all instruments, including:
Stocks
Futures
Forex
Cryptocurrencies
Summary
The Supply and Demand Trade Analyzer offers traders a quick and easy way of identifying supply and demand or support and resistance areas on a chart. It provides:
• Zone Identification: Proper zone identification on multiple timeframes
• User-Friendly Customization: With a variety of user inputs, you can tailor the analyzer to fit your unique trading strategy.
• Cross-Asset Compatibility: Works seamlessly across all major asset classes and instruments.
• Clean Workspace: Automatic removal of invalid zones keeps your chart organized and focused on the most relevant information.
• Real-Time Insights: Stay ahead of the market with real-time zone plotting and trend analysis, enabling timely and strategic trades.
Worm *Public*This Pine Script code is designed to create a custom technical indicator called "Worm" that helps identify trends in the market based on momentum. Let's break down the code and its settings:
Indicator Title and Overlay:
The indicator is named "Worm (Clean)" and is set to be overlaid on the price chart.
Input Settings:
The code defines various input settings, which can be customized by the user. These settings include:
Indicator Settings (e.g., Alpha, Gap)
Backtest Settings (e.g., HighlightCrossovers, ApplyNorm)
Color Settings (e.g., Buy Color, Sell Color, Wait Color)
Location Settings for displaying the indicator above, below, or at the price.
Toggleable Inputs:
These settings allow you to choose whether the momentum indicator should be displayed above, below, or at the price chart. You can also specify the colors for buy, sell, and wait signals.
Indicator Calculations:
The code calculates momentum using various formulas involving the source price data (e.g., open, high, low, close). Momentum values are stored in variables L0, L1, L2, L3, and lrsi.
It also calculates the Color values for the indicator based on certain conditions and user-defined settings.
Bcolor and Scolor are used to determine the color of the plotted indicator based on buy and sell conditions.
Bollinger Bands (BB) and Keltner Channels (KC) Calculation:
The code calculates Bollinger Bands (UpperBB and LowerBB) and Keltner Channels (UpperKC and LowerKC) using the source price data.
It also determines whether the market is in a squeeze (SqzOn) or not (NoSqz) based on the relationship between BB and KC.
Signal Generation:
Buy and sell signals are generated based on various conditions, including momentum values and the squeeze state.
The color of the indicator line is determined based on the buy and sell signals.
LagF Calculation:
The LagF variable is calculated based on certain formulas involving the L0Line, L1Line, L2Line, and L3Line values.
Control Color:
The Color variable is used to control the color of the LagF indicator line based on certain conditions.
Plotting:
The momentum indicator (Val) is plotted on the chart with the specified colors and style.
The LagF indicator (Worm) is also plotted with a dynamic color based on market conditions.
Alerts are triggered when buy or sell signals are generated.
Experimental Section:
This section appears to be left for experimentation and may contain additional code or features.
Overall, this Pine Script code calculates and displays a custom momentum-based indicator called "Worm" on a price chart. It generates buy and sell signals based on momentum and squeeze conditions and allows users to customize various settings, including indicator location and colors. The code is designed for technical analysis and trend identification in financial markets.
Pro Momentum CalculatorThe Pro Momentum Calculator Indicator is a tool for traders seeking to gauge market momentum and predict future price movements. It achieves this by counting consecutive candle periods above or below a chosen Simple Moving Average (SMA) and then providing a percentage-based probability for the direction of the next candle.
Here's how this principle works:
1. Counting Consecutive Periods: The indicator continuously tracks whether the closing prices of candles are either above or below the chosen SMA.
- When closing prices are above the SMA, it counts consecutive periods as "green" or indicating potential upward momentum.
- When closing prices are below the SMA, it counts consecutive periods as "red" or suggesting potential downward momentum.
2. Assessing Momentum: By monitoring these consecutive periods, the indicator assesses the strength and duration of the current market trend.
This is important information for traders looking to understand the market's behavior.
3. Predicting the Next Candle: Based on the historical data of consecutive green and red periods, the indicator calculates a percentage probability for the direction of the next candle:
- If there have been more consecutive green periods, it suggests a higher likelihood of the next candle being green (indicating a potential upward movement).
- If there have been more consecutive red periods, it suggests a higher likelihood of the next candle being red (indicating a potential downward movement).
The Pro Momentum Calculator indicator's versatility makes it suitable for a wide range of financial markets, including stocks, Forex, indices, commodities, cryptocurrencies...
Gedhusek MomentumSqueezeThis oscillator measures a strength of momentum.
About the indicator:
Unlike the classic momentum indicator, which only measures the distance between two points, this one has a more sophisticated calculation system to better show the reality of the markets. This is reached by including the distance between the highest and lowest point over certain period and an absolute distance of each bar over certain time period. By combining the distance between the highest and lowest price point with an absolute distance into mathematical formula, we get a final value representing the momentum strength.
The next great thing about this oscillator is that its values are relative to the previous ones. Thanks to this, we get a better understanding about the current situation given what has happened in the market before.
General rules:
Value of this indicator ranges from 0 to 100.
If the value is below 50, it means that there is very weak momentum and if the value is above 50, there is strong momentum.
The idea is that these values should oscillate, therefore we can more precisely predict when the momentum is going to increase or decline.
If the current value is below 20, the market has very low momentum and it should increase and if the current value is above 80, there is an extremely high momentum and it should decline.
What is absolute distance and why use it:
Lets say that we have 2 last bars. The first one starts at 100 and closes at 110 and the second one starts at 110 and closes at 105. So the price change would be of 5 points (from 100 to 105). This is not an ideal way because we punish volatile markets with no clear trend.
With an absolute distance, we would deal with given scenario like this. The first bar went from 100 to 110, resulting in distance of 10 points, and the second bar went from 110 to 105, resulting in distance of 5 points. No we add up these distances and we get the absolute distance --> 10+5 = 15
With this type of calculation we get more accurate information about momentum
Inputs:
- Analysis Period - Sets how many bars are going to be used for calculations
Price change scalping short and long strategy indicatorPrice change scalping Short and Long indicator uses a rate of change momentum oscillator to calculate the percent change in price between a period of time. Rate of change calculation takes the current price and compares it to a price of "n" periods while the period of time can be defined by a user. The calculated rate of change value is then compared to the upper threshold and the lower threshold values to determine if a position should be opened. If the threshold is crossed and filtering conditions are met a strategy position will be triggered. Entry, take profit, and stop loss prices are calculated and displayed on the chart as well as positions directions. Once the entry price is crossed, a long or short position is created and once the take profit price is crossed, the stop loss price will begin to trail behind the price action using the close of the previous bar. Once the trailing stop price is crossed, the position is closed. If the entry price is not crossed and the price action crosses the stop level, the trade setup is cancelled. The indicator is enhanced by DCA algorithm which allows to average entry price with safety orders. The script also allows to use Martingale coefficient to increase averaging power
Advantages of this script:
The indicator has custom alert settings for each strategy action
The indicator can be used with 3Commas, Cryptohopper, Alertatron or Zignaly bots
High frequency and low duration of trades
Can be used with short-term timeframes ranging from 5 to 60 minutes
Indicator is sustainable to market slumps due to DCA implementation
Can be used for short and long positions (can be adjusted to long only, short only or both)
Can be applied to any market and quote currency
Easy to configure user interface settings
Built in detailed statistic menu
How to use?
1. Apply the indicator to a trading pair your are interested in using 5 to 60 minutes timeframe chart
2. Configure the indicator: change layer values, order size multiple and take profit/stop loss values according to current market cycle stage
3. Set up a TradingView custom alert using the indicator settings to trigger on a condition you are interested in
4. indicator will send alerts when to enter and when to exit positions which can be applied to your portfolio using external trading platforms
5. Update settings once market conditions are changed using backtests on a monthly period
BTC SOPR Momentum: OnchainThis Onchin metric is based on SOPR data
Use this metric on daily and weekly timeframes:
SOPR:
The Spent Output Profit Ratio (SOPR) is computed by dividing the realized value (in USD) divided by the value at creation (USD) of a spent output. Or simply: price sold / price paid. Renato Shirakashi created this metric. When SOPR > 1, it means that the owners of the spent outputs are in profit at the time of the transaction; otherwise, they are at a loss. You can find "SOPR" in tradingview indicators
BTC SOPR Momentum: Onchain
This metric is based on SOPR Momentum. I made some changes to it so that its momentum can be checked.
Interpretation:
If the indicator is above the gray level of resistance/support, bitcoin has an uptrend and Bullish bias
If the indicator is below the resistance/ support level, bitcoin has a downtrend and Bearish Bias
Crossup the gray level is a long signal
Cross-down the gray level is a shorts signal
Entering and exit of the indicator to the overhigh area means creating a top
Entering and leaving the indicator to the overflow area means creating a bottom
CYBER ENSEMBLE OSCILLATORS {PREMIUM}The CYBER ENSEMBLE OSCILLATORS is a companion to the CYBER ENSEMBLE buy/sell indiator.
It is based on the algorithms powering the PRISM OSCILLATORS SET, where instead of the pRSI, the main-oscillator ( main-osc ) is instead powered by an oscillator modulated by the sophisticated scoring engine of the CYBER ENSEMBLE buy/sell indicator.
In Summary
The Snap oscillator (yellow/pink) pulls the Jerk oscillator (lime), which in turns pulls the Acceleration oscillator (red), which then pulls the momentum oscillator (blue/orange fill). These constitutes the MAJeStic-Oscillators (or the MAJs) which are modulated by the main-osc .
These reveals the underlying movement of the main-osc (green/red). The Stochs of the main-osc (Stoch( main-osc )) is hidden by default, but can be made visible in the settings; and the background color fill/shading (green/red) suggests overbought/oversold states of the Stoch( main-osc ).
See PRISM OSCILLATORS SET for more detailed descriptions of the various derived oscillators modulated by the main-osc .
{PM me in TradingView to arrange subscription access}
MTF SqzMom [tradeviZion]Credits:
John Carter for creating the TTM Squeeze and TTM Squeeze Pro.
Lazybear for the original interpretation of the TTM Squeeze: Squeeze Momentum Indicator.
Makit0 for evolving Lazybear's script by incorporating TTM Squeeze Pro upgrades – Squeeze PRO Arrows.
MTF SqzMom - Multi-Timeframe Squeeze & Momentum Tool
MTF SqzMom is a tool designed to help traders easily monitor squeeze and momentum signals across multiple timeframes in a simple, organized format. Built using Pine Script 5, it ensures that data remains consistent, even when switching between different time intervals on the chart.
Key Features:
Multi-Timeframe Monitoring: Track squeeze and momentum signals across various timeframes, all in one view. This includes key timeframes like 1-minute, 5-minute, hourly, and daily.
Dynamic Table Display: A color-coded table that automatically adjusts based on the selected timeframes, offering a clear view of market conditions.
Alerts for Key Market Events: Get notifications when a squeeze starts or fires across your chosen timeframes, so you can stay informed without needing to monitor the chart continuously.
Customizable Appearance: Tailor the look of the table by selecting colors for squeeze levels and momentum shifts, and choose the best position on your chart for easy access.
How It Works:
MTF SqzMom is based on the concept of the squeeze, which signals periods of lower volatility where price breakouts may occur. The tool tracks this by monitoring the contraction of Bollinger Bands within Keltner Channels. Along with this, it provides momentum analysis to help you gauge the potential direction of the market after a squeeze.
Squeeze Conditions: The script tracks four levels of squeeze conditions (no squeeze, low, mid, and high), each represented by a different color in the table.
Momentum Analysis: Momentum is visually represented by colors indicating four stages: up increasing, up decreasing, down increasing, and down decreasing. This color coding helps you quickly assess whether the market is gaining or losing momentum.
Using Alerts:
You can enable two types of alerts: when a squeeze starts (indicating consolidation) and when a squeeze fires (indicating a breakout). These alerts cover all timeframes you’ve selected, so you never miss important signals.
How to Set It Up:
1. Enable Alerts in Settings: Turn on "Alert for Squeeze Start" and "Alert for Squeeze Fire" in the settings.
2. Add Alerts to Your Chart:
Click the three dots next to the indicator name.
Select "Add alert on tradeviZion - MTF SqzMom."
3. Customize and Save: Adjust alert options, choose your notification type, and click "Create."
Why Use MTF SqzMom ?
Consistent Data: The tool ensures that squeeze and momentum data remain consistent, even when you switch between chart intervals.
Real-Time Alerts: Stay updated with alerts for squeeze conditions without needing to constantly watch the chart.
Simple to Use, Customizable to Fit: You can easily adjust the table’s look and choose the timeframes and colors that best suit your trading style.
Acknowledgment:
While this tool builds on the TTM Squeeze concept developed by John Carter of Simpler Trading, it offers added flexibility through multi-timeframe analysis, alerts, and customizability to make monitoring market conditions more accessible.
Trend Tide Oscillator [UAlgo]🔶 Description:
The "Trend Tide Oscillator " is a technical analysis tool designed to identify potential trend reversals and overbought/oversold conditions in the market. It calculates an oscillator based on the Commodity Channel Index (CCI) and then applies smoothing techniques to provide a clearer view of market momentum.
🔶 Key Features:
Oscillator Calculation : The indicator calculates an oscillator based on the Commodity Channel Index (CCI), which is a momentum-based oscillator used to identify overbought and oversold conditions.
Smoothing : Smoothing techniques are applied to the oscillator to reduce noise and provide a clearer view of market momentum. This helps traders in identifying trends more effectively.
Support and Resistance Zones : The indicator plots support and resistance zones based on the highest and lowest values of the oscillator over a specified lookback (default 50) period. These zones can help traders identify potential areas of price reversal. The indicator considers volatility when plotting the support and resistance zones. This aims to create more adaptable levels that account for fluctuating market conditions.
Visualization : The indicator visually represents overbought and oversold conditions with shapes (⚠️), aiding traders in quickly identifying potential entry or exit points.
Customization : Users can adjust parameters such as oscillator length, smoothing, and overbought/oversold levels, support and resistance lookbacks according to their trading preferences.
🔶 Disclaimer :
This indicator is provided for informational and educational purposes only and should not be considered as financial advice. Trading in the financial markets involves risk, and users should conduct their own research and analysis before making any investment decisions.
Weighted Oscillator Convergence DivergenceThe Weighted Oscillator Convergence Divergence (WOCD) aims to help traders identify potential trend reversals or momentum shifts in financial markets by calculating and visualizing the difference between a smoothed oscillator (WMA) value and its exponential moving average (EMA) and simple moving average (SMA) counterparts. This indicator is particularly useful for traders who want an alternative perspective on price momentum and divergence.
Key Features:
Inputs:
Length: The user can specify the number of bars to consider for calculations (default is 9).
Smoothing 1: Defines the smoothing factor for the first smoothed value (default is 5).
Smoothing 2: Specifies the smoothing factor for the second smoothed value (default is 7).
Ma Type: There are three types of moving averages you can choose (Wilder, non-lag, Weighted is by default).
Color Settings: Users can customize the indicator's colors for various elements, such as length, smoothing values, and different sections of the histogram.
Calculation:
WOCD calculates the raw oscillator value by subtracting the close price from a 3-period High, Low, Close (HLC3) moving average.
It then applies smoothing to this raw oscillator value using two different methods: exponential moving average (EMA) and simple moving average (SMA) with user-defined smoothing periods.
Histogram Plot:
The indicator plots a histogram based on the difference between the smoothed oscillator and the first smoothed value.
When the histogram is above zero and rising, it is colored according to the "Above Grow" color setting. When it's above zero and falling, it uses the "Fall" color for visualization.
Similarly, when the histogram is below zero and rising, it is colored according to the "Below Grow" color setting, and when it's below zero and falling, it uses the "Fall" color.
Oscillator and Smoothed Values:
The indicator also plots the smoothed oscillator, smoothed value 1 (EMA-based), and smoothed value 2 (SMA-based) on the chart.
Zero Line:
A horizontal line at zero is drawn on the chart for reference.
How to Use the WOCD Indicator:
Trend Identification: Observe the histogram's direction and color. A rising histogram above zero may indicate bullish momentum, while a falling histogram below zero could signal bearish momentum.
Divergence: Look for divergences between price action and the histogram. When the histogram and price move in opposite directions, it can be a potential reversal signal.
Crossovers: Pay attention to crossovers between the smoothed oscillator and its smoothed counterparts (EMA and SMA). These crossovers can indicate changes in trend strength or direction.
Zero Line: The zero line can act as a reference point. Positive histogram values suggest bullish sentiment, while negative values indicate bearish sentiment.
Comparison to MACD Indicator:
The WOCD indicator shares some similarities with the Moving Average Convergence Divergence (MACD) indicator but also has distinct differences:
Similarities:
Both WOCD and MACD are momentum oscillators designed to identify potential trend reversals and divergences.
They use moving averages (EMA in the case of MACD) to smooth the raw oscillator values.
Both indicators provide histogram representations of the difference between the oscillator and its smoothed counterpart.
Differences:
WOCD uses a 3-period High, Low, Close (HLC3) moving average to calculate the raw oscillator value, whereas MACD uses the difference between two exponential moving averages (usually 12-period and 26-period EMAs).
The smoothing in WOCD employs both EMA and SMA, while MACD exclusively uses EMA.
WOCD allows users to customize colors for various elements, enhancing visual clarity.
Cryptogrithm's Secret Momentum and Volatility IndicatorThis indicator is hard-coded for Bitcoin, but you may try it on other asset classes/coins. I have not updated this indicator in over 3 years, but it seems to still work very well for Bitcoin.
This indicator is NOT for beginners and is directed towards intermediate/advanced traders with a sensibility to agree/disagree with what this indicator is signalling (common sense).
This indicator was developed back in 2018 and I has not been maintained since, which is the reason why I am releasing it. (It still works great though! At the time of this writing of May 2022).
How to use:
Terms:
PA (Price Action): Literally the candlestick formations on your chart (and the trend formation). If you don't know how to read and understand price action, I will make a fast-track video/guide on this later (but in the meanwhile, you need to begin by learning Order-Flow Analysis, please google it first before asking).
CG Level (Cryptogrithm Level/Yellow Line): PA level above = bullish, PA level below = bearish
CG Bands (Cryptogrithm Bands): This is similar to how bollingers work, you can use this the same was as bollinger bands. The only difference is that the CG bands are more strict with the upper and lower levels as it uses different calculations to hug the price tighter allowing it to be more reactive to drastic price changes (earlier signals for oversold/overbought).
CG Upper Band (Red Upper Line): Above this upper bound line means overbought.
CG Middle Band (Light Blue Line): If PA trades above this line, the current PA trend is bullish continuing in the uptrend. If PA trades below this line, the current PA trend is bearish continuing in the downtrend. This band should only be used for short-term trends.
CG Lower Band (Green Lower Line): Below this lower bound line means oversold.
What the CG Level (yellow line) tells you:
PA is trading above CG Level = Bullish
PA is trading below CG Level = Bearish
Distance between CG Level and price = Momentum
What this means is that the further away the price is from the CG Level, the greater the momentum of the current PA trend. An increasing gap between the CG Level and PA indicates the price's strength (momentum) towards the current upward/downward trend. Basically when the PA and CG Level diverge, it means that the momentum is increasing in the current trend and when they converge, the current trend is losing momentum and the direction of the PA trend may flip towards the other direction (momentum flip).
PA+CG Level Momentum:
To use the CG Level as a momentum indicator, you need to pay attention to how the price and the CG level are moving away/closer from each other:
PA + CG Level Diverges = Momentum Increasing
PA + CG Level Converges = Momentum Decreasing
Examples (kind of common sense, but just for clarity):
Case 1: Bullish Divergence (Bullish): The PA is ABOVE and trending AWAY above from the CG Level = very bullish, this means that momentum is increasing towards the upside and larger moves will come (increasing gap between the price and CG Level)
Case 2: Bearish Convergence (Bearish): - The PA is ABOVE the CG Level and trending TOWARDS the CG Level = bearish, there is a possibility that the upward trend is ending. Look to start closing off long positions until case 1 (divergence) occurs again.
Case 3: Neutral - The PA is trading on the CG Level (no clear divergence or convergence between the PA and CG Level) = Indicates a back and forth (tug of war) between bears and bulls. Beware of choppy price patterns as the trend is undecisive until either supply/liquidity is dried out and a winner between bull/bear is chosen. This is a no trade zone, but do as you wish.
Case 4: Bearish Divergence (Bearish): The PA is BELOW and trending AWAY BELOW from the CG Level = very bearish, this means that momentum is increasing towards the downside and larger downward moves will come (increasing gap between the price and CG Level).
Case 5: Bullish Convergence (Bullish): - The PA is BELOW the CG Level and trending TOWARDS the CG Level = bullish, there is a possibility that the downward trend is ending and a trend flip is occuring. Look to start closing off short positions until case 4 (divergence) occurs again.
CG Bands + CG Level: You can use the CG bands instead of the PA candles to get a cleaner interpretation of reading the momentum. I won't go into detail as this is pretty self-explanatory. It is the same explanation as PA+CG Level Momentum, but you are replacing the PA candles with the CG Bands for interpretation. So instead of the PA converging/diverging from the CG Level, the Upper and Lower Bound levels are converging/diverging from the CG level instead.
Convergence: CG Level (yellow line) trades inside the CG bands
Divergence: CG Level (yellow line) trades outside the CG bands
Bullish/Bearish depends on whether the CG Band is trading below or above the CG level. If CG Band is above the CG Level, this is bullish. If CG Band is below the CG level, this is bearish.
Crosses (PA or CG Band crosses with CG level): This typically indicates volatility is incoming.
There are MANY MANY MANY other ways to use this indicator that is not explained here and even other undiscovered methods. Use some common sense as to how this indicator works (it is a momentum indicator and volatility predictor). You can get pretty creative and apply your own methods / knowledge to it and look for patterns that occur. Feel free to comment and share what you came up with!
Scalper's Paradise Tool For NQThis powerful scalping tool was specifically designed for NQ and MNQ. Scalper's Paradise adds buy and sell signals to the chart using a proprietary blend of confluence trading principals that are incredibly accurate. Many of the settings can be customized for uses on higher time-frames and different markets. Along with the buy and sell signals, this indicator offers weakness signaling (seen as dots on the chart), along with potential exit points marked as 'EX' on the chart over a diamond shape.
How To Use:
This indicator is designed for intra-day scalping. When a buy or sell signal is marked on the chart, it's safe to enter a position. Exit the position when you see weakness in the trend or where the EX (exits) are marked.
The Trend Cloud offers great visibility for trend strength and overall volatility and can be used in conjunction with the entries and exits for added confidence that your trade is a worthwhile trade.
The red and green backgrounds on the chart are a filtering tool designed to save you from trades that otherwise don't carry enough momentum to be worth entering the market. This part of the indicator has 3 major adjustable settings that allow you to truly dial in your risk.
Identify momentum areas and trade with confidence using Scalper's Paradise!
Trend Cloud for momentum and confidence
Buy and Sell Signals
Marked Exits and Trend Weakness dots on the chart
ADX Based Clean Trade Filter allows for full customization of your trading risk profile. This part of the indicator will SUPPRESS any and all signals while the chart's background is red.
The Safer Trades Filtering in the settings allows further confidence by suppressing riskier trade signals
Limitations:
This script does not mark reversals. It will only identify safe trade zones during periods of strong momentum.
Disclaimer:
The information contained in my scripts/indicators/ideas does not constitute financial advice or a solicitation to buy or sell any securities of any type. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, or individual’s trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
My scripts/indicators/strategies/ideas are only for educational purposes!
+ WaveTrend OscillatorI'm guessing most of you are familir with LazyBear's adaptation of the Wavetrend Oscillator; it's one of the most popular indicators on TradingView. I know others have done adaptations of it, but I thought I might as well, because that's kind of a thing I like doing.
In this version I've added a second Wavetrend plot. This is a thing I like to do. The longer plot gives you a longer timeframe momentum bias, and the shorter plot gives you entries and/or exits. Here we have one plot with a lookback period of 55, and another with the default set to 6 (change this to 14 if you think you might prefer something slower and that will plot similarly to the default RSI settings). With the traditional Wavetrend Oscillator there is a simple moving average on the WTO that is to help provide entries and exits. I've done away with this as there are already two plots, and I felt more would just clutter the indicator. Instead of plotting the SMA I've plotted the crosses along the bottom and top of the indicator. Also, as is not the case in LazyBear's version, this SMA length is adjustable. By default it is set to 3, which is the default setting on the original indicator.
I've also plotted background colors for when there is what I call a momentum shift. If one or the other oscillators crosses the centerline a colored bar is plotted. By default it is turned on for both WTOs, though in practice you might only want it on for the longer one.
I would say use of the indicator is similar to the original WTO or many other oscillators. Buying oversold and selling overbought, but being mindful of the momentum of the market. If the longer WTO is above the centerline it's best to be looking for dips to the centerline, or for an overbought signal by the faster WTO, and vice versa if the longer WTO is below the centerline. That said, you can also adjust the length of the SMA on the faster WTO to fine tune entries or exits, which is kind of how you would trade LazyBear's version. In this case you have that additional confirmation of market momentum.
You can set colored candles to either of the WTO plots via a dropdown menu.
There are alerts for overbought and oversold situations, centerline crosses, and Wavetrend crosses.
That's about it. Hope you enjoy this particular implementation of LazyBear's well known indicator.
Ah yes, last thing: Original version the source is set to hlc3. I've given you the opportunity to change that, so if you prefer using close you can, or whatever you want.
MTF Signal XpertMTF Signal Xpert – Detailed Description
Overview:
MTF Signal Xpert is a proprietary, open‑source trading signal indicator that fuses multiple technical analysis methods into one cohesive strategy. Developed after rigorous backtesting and extensive research, this advanced tool is designed to deliver clear BUY and SELL signals by analyzing trend, momentum, and volatility across various timeframes. Its integrated approach not only enhances signal reliability but also incorporates dynamic risk management, helping traders protect their capital while navigating complex market conditions.
Detailed Explanation of How It Works:
Trend Detection via Moving Averages
Dual Moving Averages:
MTF Signal Xpert computes two moving averages—a fast MA and a slow MA—with the flexibility to choose from Simple (SMA), Exponential (EMA), or Hull (HMA) methods. This dual-MA system helps identify the prevailing market trend by contrasting short-term momentum with longer-term trends.
Crossover Logic:
A BUY signal is initiated when the fast MA crosses above the slow MA, coupled with the condition that the current price is above the lower Bollinger Band. This suggests that the market may be emerging from a lower price region. Conversely, a SELL signal is generated when the fast MA crosses below the slow MA and the price is below the upper Bollinger Band, indicating potential bearish pressure.
Recent Crossover Confirmation:
To ensure that signals reflect current market dynamics, the script tracks the number of bars since the moving average crossover event. Only crossovers that occur within a user-defined “candle confirmation” period are considered, which helps filter out outdated signals and improves overall signal accuracy.
Volatility and Price Extremes with Bollinger Bands
Calculation of Bands:
Bollinger Bands are calculated using a 20‑period simple moving average as the central basis, with the upper and lower bands derived from a standard deviation multiplier. This creates dynamic boundaries that adjust according to recent market volatility.
Signal Reinforcement:
For BUY signals, the condition that the price is above the lower Bollinger Band suggests an undervalued market condition, while for SELL signals, the price falling below the upper Bollinger Band reinforces the bearish bias. This volatility context adds depth to the moving average crossover signals.
Momentum Confirmation Using Multiple Oscillators
RSI (Relative Strength Index):
The RSI is computed over 14 periods to determine if the market is in an overbought or oversold state. Only readings within an optimal range (defined by user inputs) validate the signal, ensuring that entries are made during balanced conditions.
MACD (Moving Average Convergence Divergence):
The MACD line is compared with its signal line to assess momentum. A bullish scenario is confirmed when the MACD line is above the signal line, while a bearish scenario is indicated when it is below, thus adding another layer of confirmation.
Awesome Oscillator (AO):
The AO measures the difference between short-term and long-term simple moving averages of the median price. Positive AO values support BUY signals, while negative values back SELL signals, offering additional momentum insight.
ADX (Average Directional Index):
The ADX quantifies trend strength. MTF Signal Xpert only considers signals when the ADX value exceeds a specified threshold, ensuring that trades are taken in strongly trending markets.
Optional Stochastic Oscillator:
An optional stochastic oscillator filter can be enabled to further refine signals. It checks for overbought conditions (supporting SELL signals) or oversold conditions (supporting BUY signals), thus reducing ambiguity.
Multi-Timeframe Verification
Higher Timeframe Filter:
To align short-term signals with broader market trends, the script calculates an EMA on a higher timeframe as specified by the user. This multi-timeframe approach helps ensure that signals on the primary chart are consistent with the overall trend, thereby reducing false signals.
Dynamic Risk Management with ATR
ATR-Based Calculations:
The Average True Range (ATR) is used to measure current market volatility. This value is multiplied by a user-defined factor to dynamically determine stop loss (SL) and take profit (TP) levels, adapting to changing market conditions.
Visual SL/TP Markers:
The calculated SL and TP levels are plotted on the chart as distinct colored dots, enabling traders to quickly identify recommended exit points.
Optional Trailing Stop:
An optional trailing stop feature is available, which adjusts the stop loss as the trade moves favorably, helping to lock in profits while protecting against sudden reversals.
Risk/Reward Ratio Calculation:
MTF Signal Xpert computes a risk/reward ratio based on the dynamic SL and TP levels. This quantitative measure allows traders to assess whether the potential reward justifies the risk associated with a trade.
Condition Weighting and Signal Scoring
Binary Condition Checks:
Each technical condition—ranging from moving average crossovers, Bollinger Band positioning, and RSI range to MACD, AO, ADX, and volume filters—is assigned a binary score (1 if met, 0 if not).
Cumulative Scoring:
These individual scores are summed to generate cumulative bullish and bearish scores, quantifying the overall strength of the signal and providing traders with an objective measure of its viability.
Detailed Signal Explanation:
A comprehensive explanation string is generated, outlining which conditions contributed to the current BUY or SELL signal. This explanation is displayed on an on‑chart dashboard, offering transparency and clarity into the signal generation process.
On-Chart Visualizations and Debug Information
Chart Elements:
The indicator plots all key components—moving averages, Bollinger Bands, SL and TP markers—directly on the chart, providing a clear visual framework for understanding market conditions.
Combined Dashboard:
A dedicated dashboard displays key metrics such as RSI, ADX, and the bullish/bearish scores, alongside a detailed explanation of the current signal. This consolidated view allows traders to quickly grasp the underlying logic.
Debug Table (Optional):
For advanced users, an optional debug table is available. This table breaks down each individual condition, indicating which criteria were met or not met, thus aiding in further analysis and strategy refinement.
Mashup Justification and Originality
MTF Signal Xpert is more than just an aggregation of existing indicators—it is an original synthesis designed to address real-world trading complexities. Here’s how its components work together:
Integrated Trend, Volatility, and Momentum Analysis:
By combining moving averages, Bollinger Bands, and multiple oscillators (RSI, MACD, AO, ADX, and an optional stochastic), the indicator captures diverse market dynamics. Each component reinforces the others, reducing noise and filtering out false signals.
Multi-Timeframe Analysis:
The inclusion of a higher timeframe filter aligns short-term signals with longer-term trends, enhancing overall reliability and reducing the potential for contradictory signals.
Adaptive Risk Management:
Dynamic stop loss and take profit levels, determined using ATR, ensure that the risk management strategy adapts to current market conditions. The optional trailing stop further refines this approach, protecting profits as the market evolves.
Quantitative Signal Scoring:
The condition weighting system provides an objective measure of signal strength, giving traders clear insight into how each technical component contributes to the final decision.
How to Use MTF Signal Xpert:
Input Customization:
Adjust the moving average type and period settings, ATR multipliers, and oscillator thresholds to align with your trading style and the specific market conditions.
Enable or disable the optional stochastic oscillator and trailing stop based on your preference.
Interpreting the Signals:
When a BUY or SELL signal appears, refer to the on‑chart dashboard, which displays key metrics (e.g., RSI, ADX, bullish/bearish scores) along with a detailed breakdown of the conditions that triggered the signal.
Review the SL and TP markers on the chart to understand the associated risk/reward setup.
Risk Management:
Use the dynamically calculated stop loss and take profit levels as guidelines for setting your exit points.
Evaluate the provided risk/reward ratio to ensure that the potential reward justifies the risk before entering a trade.
Debugging and Verification:
Advanced users can enable the debug table to see a condition-by-condition breakdown of the signal generation process, helping refine the strategy and deepen understanding of market dynamics.
Disclaimer:
MTF Signal Xpert is intended for educational and analytical purposes only. Although it is based on robust technical analysis methods and has undergone extensive backtesting, past performance is not indicative of future results. Traders should employ proper risk management and adjust the settings to suit their financial circumstances and risk tolerance.
MTF Signal Xpert represents a comprehensive, original approach to trading signal generation. By blending trend detection, volatility assessment, momentum analysis, multi-timeframe alignment, and adaptive risk management into one integrated system, it provides traders with actionable signals and the transparency needed to understand the logic behind them.