Failed Breakout DetectionThis indicator is a reverse-engineered copy of the FBD Detection indicator published by xfuturesgod. The original indicator aimed at detecting "Failed Breakdowns". This version tracks the opposite signals, "Failed Breakouts". It was coded with the ES Futures 15 minute chart in mind but may be useful on other instruments and time frames.
The original description, with terminology reversed to explain this version:
'Failed Breakouts' are a popular set up for short entries.
In short, the set up requires:
1) A significant high is made ('initial high')
2) Initial high is undercut with a new high
3) Price action then 'reclaims' the initial high by moving +8-10 points from the initial high
This script aims at detecting such set ups. It was coded with the ES Futures 15 minute chart in mind but may be useful on other instruments and time frames.
Business Logic:
1) Uses pivot highs to detect 'significant' initial highs
2) Uses amplitude threshold to detect a new high above the initial high; used /u/ben_zen script for this
3) Looks for a valid reclaim - a red candle that occurs within 10 bars of the new high
4) Price must reclaim at least 8 points for the set up to be valid
5) If a signal is detected, the initial high value (pivot high) is stored in array that prevents duplicate signals from being generated.
6) FBO Signal is plotted on the chart with "X"
7) Pivot high detection is plotted on the chart with "P" and a label
8) New highs are plotted on the chart with a red triangle
Notes:
User input
- My preference is to use the defaults as is, but as always feel free to experiment
- Can modify pivot length but in my experience 10/10 work best for pivot highs
- New high detection - 55 bars and 0.05 amplitude work well based on visual checks of signals
- Can modify the number of points needed to reclaim a high, and the # of bars limit over which this must occur.
Alerts:
- Alerts are available for detection of new highs and detection of failed breakouts
- Alerts are also available for these signals but only during 7:30PM-4PM EST - 'prime time' US trading hours
Limitations:
- Current version of the script only compares new highs to the most recent pivot high, does not look at anything prior to that
- Best used as a discretionary signal
Analisis Trend
DoloresOverview
The "Dolores Trading Assistant" is a sleek and intuitive indicator designed to empower traders during the high-volatile New York trading session. This tool overlays a customizable table on your chart, presenting real-time insights from key market internals—NYSE and Nasdaq Advance/Decline (A/D), Volume Difference (VOLD), and TICK—in a clear, color-coded format. Its streamlined design focuses on delivering essential market data with trend states, making it a practical companion for assessing momentum and sentiment at a glance.
Purpose and Usefulness
Tailored for intraday traders, the Dolores Trading Assistant goes beyond price-based analysis by tapping into broad market internals to uncover the underlying forces driving the New York session. Whether you’re scalping, day trading, or monitoring short-term trends, this indicator helps you quickly gauge market direction, confirm momentum, and identify potential shifts—all from a single, visually accessible table. Its simplicity and focus on real-time data make it a valuable tool for traders seeking clarity in fast-moving markets.
How It Works
The indicator fetches live data from six vital market internals using a 1-second timeframe:
NYSE Advance/Decline (A/D) - Tracks the net balance of advancing versus declining NYSE stocks.
Nasdaq Advance/Decline (A/D) - Monitors the same for Nasdaq stocks.
NYSE VOLD - Measures the net volume difference between buying and selling on the NYSE.
Nasdaq VOLD - Captures the equivalent for Nasdaq.
NYSE TICK - Reflects the net number of NYSE stocks ticking up versus down.
Nasdaq TICK - Provides the same for Nasdaq.
These internals are processed to determine their trend states—such as bullish, bearish, or neutral—displayed in colors and emojis for instant recognition. The table organizes this data into three columns: the condition (e.g., "NYSE A/D"), its current reading (formatted for readability, like "1.2m" or "500k"), and its trend state (e.g., "Trending Bullish" or "Neutral"). This setup offers a snapshot of market health without overwhelming the user with excessive details.
Internal Signals and Their Role
Each internal signal contributes to understanding the market’s current state and the conditions you’re trading into:
NYSE and Nasdaq A/D: Reveals market breadth. Strong positive values suggest widespread buying, while negative readings indicate broad selling, helping you confirm if a move has robust participation.
NYSE and Nasdaq VOLD: Tracks volume momentum. High positive figures point to aggressive buying pressure, while deep negatives signal heavy selling, validating whether price moves are backed by volume.
NYSE and Nasdaq TICK: Captures short-term sentiment. Extreme readings highlight overbought or oversold conditions, offering clues about momentum strength or potential exhaustion.
How Signals Confirm Conditions
Trend States: Each internal’s trend state (e.g., "Bullish," "Bearish," "Trending Bearish") reflects its current momentum. Consistent bullish states across multiple internals confirm a strong upward trend, while bearish alignments suggest selling pressure. Neutral or mixed states indicate indecision or choppiness, guiding you to adjust expectations accordingly.
Visual Cues: Color-coded backgrounds (e.g., green for bullish, red for bearish) and emojis (e.g., 🐂for bullish, 🐻for bearish) make it easy to spot dominant conditions or emerging shifts, enhancing your ability to react quickly.
How to Use It
Add to Chart: Apply the indicator to any symbol (Best W/ SPY, QQQ, IWM and correlated futures securities) on a 1-second or higher timeframe. The table appears in your chosen position (default: bottom right).
Monitor Internals: Check the table for real-time readings and trend states. For example, "NYSE TICK: 800, Strong Overbought Rally" signals short-term bullish momentum.
Assess Conditions: Look for alignment across internals—e.g., multiple "Bullish" states suggest buying strength, while "Neutral" dominance warns of choppy action.
Adapt Your Strategy: Use the trend states to confirm entries, exits, or hold-off decisions. Pair with price tools (e.g., candlestick patterns) for a fuller picture.
Customize: Adjust table position, orientation (vertical/horizontal), text size, colors, and transparency via inputs to match your setup.
Customization
Tailor the experience with options for table placement (e.g., "Top Left"), text size (e.g., "Small" to "Huge"), orientation, and color schemes. Adjust transparency settings to keep the table unobtrusive yet readable.
Limitations
Requires real-time NYSE/Nasdaq data access, which may depend on your TradingView subscription.
Displays current conditions only, not predictive signals—use it as a real-time snapshot, not a crystal ball.
Best paired with price analysis for comprehensive trading decisions.
Requires a TradingView Subscription that supports the 1s Time Frame
Why It’s Original
The Dolores Trading Assistant stands out with its elegant, yet simple table-based presentation of NYSE and Nasdaq internals, distilled into an intuitive format with trend states and visual cues. Unlike cluttered dashboards or generic mashups, it offers a focused, trader-centric view of market momentum, avoiding unnecessary complexity while delivering actionable insights—making it a fresh and practical tool for the New York session.
Smarter Money Concepts - OBs [PhenLabs]📊 Smarter Money Concepts - OBs
Version: PineScript™ v6
📌 Description
Smarter Money Concepts - OBs (Order Blocks) is an advanced technical analysis tool designed to identify and visualize institutional order zones on your charts. Order blocks represent significant areas of liquidity where smart money has entered positions before major moves. By tracking these zones, traders can anticipate potential reversals, continuations, and key reaction points in price action.
This indicator incorporates volume filtering technology to identify only the most significant order blocks, eliminating low-quality signals and focusing on areas where institutional participation is likely present. The combination of price structure analysis and volume confirmation provides traders with high-probability zones that may attract future price action for tests, rejections, or breakouts.
🚀 Points of Innovation
Volume-Filtered Block Detection : Identifies only order blocks formed with significant volume, focusing on areas with institutional participation
Advanced Break of Structure Logic : Uses sophisticated price action analysis to detect legitimate market structure breaks preceding order blocks
Dynamic Block Management : Intelligently tracks, extends, and removes order blocks based on price interaction and time-based expiration
Structure Recognition System : Employs technical analysis algorithms to find significant swing points for accurate order block identification
Dual Directional Tracking : Simultaneously monitors both bullish and bearish order blocks for comprehensive market structure analysis
🔧 Core Components
Order Block Detection : Identifies institutional entry zones by analyzing price action before significant breaks of structure, capturing where smart money has likely positioned before moves.
Volume Filtering Algorithm : Calculates relative volume compared to a moving average to qualify only order blocks formed with significant market participation, eliminating noise.
Structure Break Recognition : Uses price action analysis to detect legitimate breaks of market structure, ensuring order blocks are identified only at significant market turning points.
Dynamic Block Management : Continuously monitors price interaction with existing blocks, extending, maintaining, or removing them based on current market behavior.
🔥 Key Features
Volume-Based Filtering : Filter out insignificant blocks by requiring a minimum volume threshold, focusing only on zones with likely institutional activity
Visual Block Highlighting : Color-coded boxes clearly mark bullish and bearish order blocks with customizable appearance
Flexible Mitigation Options : Choose between “Wick” or “Close” methods for determining when a block has been tested or mitigated
Scan Range Adjustment : Customize how far back the indicator looks for structure points to adapt to different market conditions and timeframes
Break Source Selection : Configure which price component (close, open, high, low) is used to determine structure breaks for precise block identification
🎨 Visualization
Bullish Order Blocks : Blue-colored rectangles highlighting zones where bullish institutional orders were likely placed before upward moves, representing potential support areas.
Bearish Order Blocks : Red-colored rectangles highlighting zones where bearish institutional orders were likely placed before downward moves, representing potential resistance areas.
Block Extension : Order blocks extend to the right of the chart, providing clear visualization of these significant zones as price continues to develop.
📖 Usage Guidelines
Order Block Settings
Scan Range : Default: 25. Defines how many bars the indicator scans to determine significant structure points for order block identification.
Bull Break Price Source : Default: Close. Determines which price component is used to detect bullish breaks of structure.
Bear Break Price Source : Default: Close. Determines which price component is used to detect bearish breaks of structure.
Visual Settings
Bullish Blocks Color : Default: Blue with 85% transparency. Controls the appearance of bullish order blocks.
Bearish Blocks Color : Default: Red with 85% transparency. Controls the appearance of bearish order blocks.
General Options
Block Mitigation Method : Default: Wick, Options: Wick, Close. Determines how block mitigation is calculated - “Wick” uses high/low values while “Close” uses close values for more conservative mitigation criteria.
Remove Filled Blocks : Default: Disabled. When enabled, order blocks are removed once they’ve been mitigated by price action.
Volume Filter
Volume Filter Enabled : Default: Enabled. When activated, only shows order blocks formed with significant volume relative to recent average.
Volume SMA Period : Default: 15, Range: 1-50. Number of periods used to calculate the average volume baseline.
Min. Volume Ratio : Default: 1.5, Range: 0.5-10.0. Minimum volume ratio compared to average required to display an order block; higher values filter out more blocks.
✅ Best Use Cases
Identifying high-probability support and resistance zones for trade entries and exits
Finding optimal stop-loss placement behind significant order blocks
Detecting potential reversal areas where price may react after extended moves
Confirming breakout trades when price clears major order blocks
Building a comprehensive market structure map for medium to long-term trading decisions
Pinpointing areas where smart money may have positioned before major market moves
⚠️ Limitations
Most effective on higher timeframes (1H and above) where institutional activity is more clearly defined
Can generate multiple signals in choppy market conditions, requiring additional filtering
Volume filtering relies on accurate volume data, which may be less reliable for some securities
Recent market structure changes may invalidate older order blocks not yet automatically removed
Block identification is based on historical price action and may not predict future behavior with certainty
💡 What Makes This Unique
Volume Intelligence : Unlike basic order block indicators, this script incorporates volume analysis to identify only the most significant institutional zones, focusing on quality over quantity.
Structural Precision : Uses sophisticated break of structure algorithms to identify true market turning points, going beyond simple price pattern recognition.
Dynamic Block Management : Implements automatic block tracking, extension, and cleanup to maintain a clean and relevant chart display without manual intervention.
Institutional Focus : Designed specifically to highlight areas where smart money has likely positioned, helping retail traders align with institutional perspectives rather than retail noise.
🔬 How It Works
1. Structure Identification Process :
The indicator continuously scans price action to identify significant swing points and structure levels within the specified range, establishing a foundation for order block recognition.
2. Break Detection :
When price breaks an established structure level (crossing below a significant low for bearish breaks or above a significant high for bullish breaks), the indicator marks this as a potential zone for order block formation.
3. Volume Qualification :
For each potential order block, the algorithm calculates the relative volume compared to the configured period average. Only blocks formed with volume exceeding the minimum ratio threshold are displayed.
4. Block Creation and Management :
Valid order blocks are created, tracked, and managed as price continues to develop. Blocks extend to the right of the chart until they are either mitigated by price action or expire after the designated timeframe.
5. Continuous Monitoring :
The indicator constantly evaluates price interaction with existing blocks, determining when blocks have been tested, mitigated, or invalidated, and updates the visual representation accordingly.
💡 Note:
Order Blocks represent areas where institutional traders have likely established positions and may defend these zones during future price visits. For optimal results, use this indicator in conjunction with other confluent factors such as key support/resistance levels, trendlines, or additional confirmation indicators. The most reliable signals typically occur on higher timeframes where institutional activity is most prominent. Start with the default settings and adjust parameters gradually to match your specific trading instrument and style.
FordOverview
The "Ford Trading Assistant" is an indicator crafted to support traders during the fast-paced New York trading session. This tool overlays a customizable table on your chart, delivering real-time insights from key market internals—NYSE and Nasdaq Advance/Decline (A/D), Volume Difference (VOLD), and TICK—alongside a unique Trend Score and actionable trading instructions. Its innovative design blends multiple data points into a cohesive market analysis tool, offering visual clarity and contextual guidance to help traders navigate intraday momentum shifts.
Purpose and Usefulness
Unlike typical price-based indicators, the Ford Trading Assistant taps into broad market internals to reveal underlying sentiment and momentum, making it an essential companion for intraday trading in the New York session for ETFs such as SPY/QQQ/IWM and Futures Markets(ES/NQ/RTY). It’s ideal for scalpers, day traders, and swing traders looking to confirm trend strength, spot potential reversals, or avoid choppy conditions. The indicator’s dual-table interface—one for data and signals, another for instructions—provides a streamlined way to assess current market dynamics and anticipate what’s ahead, enhancing decision-making in real time.
How It Works
The indicator pulls live data from six critical market internals using a 1-second timeframe:
NYSE Advance/Decline (A/D) - Tracks the balance of advancing versus declining NYSE stocks.
Nasdaq Advance/Decline (A/D) - Monitors the same for Nasdaq stocks.
NYSE VOLD - Measures the net volume difference between buying and selling on the NYSE.
Nasdaq VOLD - Captures the equivalent for Nasdaq.
NYSE TICK - Gauges the net number of NYSE stocks ticking up versus down.
Nasdaq TICK - Reflects the same for Nasdaq.
These internals are analyzed to determine their trend state (e.g., bullish, bearish, or neutral), displayed with color-coded backgrounds and emojis for instant recognition. The indicator then:
Assesses Trend Conditions: Evaluates the alignment of internals to identify varying degrees of bullish or bearish momentum, reflected in bar colors on the chart.
Calculates a Trend Score: Combines the strength of all internals into a single, proprietary metric that summarizes market direction and intensity.
Generates Signals: Detects changing states in market internals like reversals, acceleration, exhaustion, divergence, breakouts, and mean reversion, presented with directional cues and timestamps.
A separate instruction panel interprets these conditions, delivering guidance tailored to the market’s current state—whether it’s trending strongly, leaning one way, or stuck in divergence—helping traders understand the auction’s behavior and adjust their approach.
Internal Signals and Their Role
Each internal signal plays a distinct role in confirming the market’s current state and the conditions you’re trading into:
NYSE and Nasdaq A/D: Reflects market breadth. Strong positive readings indicate widespread buying interest, while negative readings suggest broad selling pressure, helping confirm if a move has solid participation.
NYSE and Nasdaq VOLD: Tracks volume momentum. High positive values signal aggressive buying, while deep negatives point to heavy selling, validating whether price action is supported by volume.
NYSE and Nasdaq TICK: Captures short-term sentiment. Extreme values highlight overbought or oversold conditions, offering clues about potential continuation or exhaustion.
How Signals Confirm Conditions
Trend Score: A positive score suggests bullish control, a negative score indicates bearish control, and a neutral score points to indecision. It acts as a quick gauge of overall market health with a low score of -24 and a max score of +24 with calculations based on overall internal conditions.
Reversal: Warns of potential trend shifts, triggered by significant changes in momentum or conflicting internals. Useful for exiting trends or preparing for counter-moves.
Acceleration: Highlights strengthening momentum, confirming conditions for trading a trend with confidence.
Exhaustion: Flags overextended moves, signaling fading momentum—ideal for profit-taking or fading trades.
Divergence: Indicates a disconnect between price and internals, cautioning against chasing moves that lack internal support.
Breakout: Identifies sharp momentum surges, confirming conditions for high-probability breakout trades.
Mean Reversion: Signals a pullback from extremes, suggesting a return to balance for range-bound strategies.
How to Use It
Add to Chart: Apply the indicator to any symbol (e.g., SPY, QQQ) on a 1-second or higher timeframe. It displays an "Internals Table" (default bottom right) and an "Instructions" panel (top right).
Track Internals: Watch the table for real-time data, trend states, and the Trend Score. The Bar colors also reflect the strength of bullish or bearish conditions.
Read Instructions: Use the instruction panel to understand the market’s state—e.g., "Trending Bullish" suggesting buying conditions, while "Diverging" would suggests caution.
Leverage Signals: Act on signals like "Breakout" or "Exhaustion" to enter new trades, exit old trades, manage current trades or continue to remain sidelined. Adjust table settings (position, size, colors) via inputs.
Pair with Price: Combine with your favorite price tools (e.g., support/resistance) to align internals with chart setups.
Customization
Modify the lookback period (default 100 bars), table orientation (vertical/horizontal), text size, colors, and transparency to fit your workflow.
Limitations
Requires real-time NYSE/Nasdaq data, which may depend on your TradingView plan.
Signals reflect current conditions, not future predictions, and may lag in extreme volatility.
Best used alongside price analysis for a complete trading strategy.
Requires a TradingView Subscription that supports the 1s Time Frame
Why It’s Original
The Ford Trading Assistant stands apart by integrating NYSE and Nasdaq internals into a unified, trader-friendly tool with a custom Trend Score and dynamic instructions. Rather than simply mashing up existing indicators, it offers a fresh approach to interpreting market momentum, enhanced by real-time signal detection and actionable guidance—making it a standout assistant for the New York session.
Correlation Heatmap█ OVERVIEW
This indicator creates a correlation matrix for a user-specified list of symbols based on their time-aligned weekly or monthly price returns. It calculates the Pearson correlation coefficient for each possible symbol pair, and it displays the results in a symmetric table with heatmap-colored cells. This format provides an intuitive view of the linear relationships between various symbols' price movements over a specific time range.
█ CONCEPTS
Correlation
Correlation typically refers to an observable statistical relationship between two datasets. In a financial time series context, it usually represents the extent to which sampled values from a pair of datasets, such as two series of price returns, vary jointly over time. More specifically, in this context, correlation describes the strength and direction of the relationship between the samples from both series.
If two separate time series tend to rise and fall together proportionally, they might be highly correlated. Likewise, if the series often vary in opposite directions, they might have a strong anticorrelation . If the two series do not exhibit a clear relationship, they might be uncorrelated .
Traders frequently analyze asset correlations to help optimize portfolios, assess market behaviors, identify potential risks, and support trading decisions. For instance, correlation often plays a key role in diversification . When two instruments exhibit a strong correlation in their returns, it might indicate that buying or selling both carries elevated unsystematic risk . Therefore, traders often aim to create balanced portfolios of relatively uncorrelated or anticorrelated assets to help promote investment diversity and potentially offset some of the risks.
When using correlation analysis to support investment decisions, it is crucial to understand the following caveats:
• Correlation does not imply causation . Two assets might vary jointly over an analyzed range, resulting in high correlation or anticorrelation in their returns, but that does not indicate that either instrument directly influences the other. Joint variability between assets might occur because of shared sensitivities to external factors, such as interest rates or global sentiment, or it might be entirely coincidental. In other words, correlation does not provide sufficient information to identify cause-and-effect relationships.
• Correlation does not predict the future relationship between two assets. It only reflects the estimated strength and direction of the relationship between the current analyzed samples. Financial time series are ever-changing. A strong trend between two assets can weaken or reverse in the future.
Correlation coefficient
A correlation coefficient is a numeric measure of correlation. Several coefficients exist, each quantifying different types of relationships between two datasets. The most common and widely known measure is the Pearson product-moment correlation coefficient , also known as the Pearson correlation coefficient or Pearson's r . Usually, when the term "correlation coefficient" is used without context, it refers to this correlation measure.
The Pearson correlation coefficient quantifies the strength and direction of the linear relationship between two variables. In other words, it indicates how consistently variables' values move together or in opposite directions in a proportional, linear manner. Its formula is as follows:
𝑟(𝑥, 𝑦) = cov(𝑥, 𝑦) / (𝜎𝑥 * 𝜎𝑦)
Where:
• 𝑥 is the first variable, and 𝑦 is the second variable.
• cov(𝑥, 𝑦) is the covariance between 𝑥 and 𝑦.
• 𝜎𝑥 is the standard deviation of 𝑥.
• 𝜎𝑦 is the standard deviation of 𝑦.
In essence, the correlation coefficient measures the covariance between two variables, normalized by the product of their standard deviations. The coefficient's value ranges from -1 to 1, allowing a more straightforward interpretation of the relationship between two datasets than what covariance alone provides:
• A value of 1 indicates a perfect positive correlation over the analyzed sample. As one variable's value changes, the other variable's value changes proportionally in the same direction .
• A value of -1 indicates a perfect negative correlation (anticorrelation). As one variable's value increases, the other variable's value decreases proportionally.
• A value of 0 indicates no linear relationship between the variables over the analyzed sample.
Aligning returns across instruments
In a financial time series, each data point (i.e., bar) in a sample represents information collected in periodic intervals. For instance, on a "1D" chart, bars form at specific times as successive days elapse.
However, the times of the data points for a symbol's standard dataset depend on its active sessions , and sessions vary across instrument types. For example, the daily session for NYSE stocks is 09:30 - 16:00 UTC-4/-5 on weekdays, Forex instruments have 24-hour sessions that span from 17:00 UTC-4/-5 on one weekday to 17:00 on the next, and new daily sessions for cryptocurrencies start at 00:00 UTC every day because crypto markets are consistently open.
Therefore, comparing the standard datasets for different asset types to identify correlations presents a challenge. If two symbols' datasets have bars that form at unaligned times, their correlation coefficient does not accurately describe their relationship. When calculating correlations between the returns for two assets, both datasets must maintain consistent time alignment in their values and cover identical ranges for meaningful results.
To address the issue of time alignment across instruments, this indicator requests confirmed weekly or monthly data from spread tickers constructed from the chart's ticker and another specified ticker. The datasets for spreads are derived from lower-timeframe data to ensure the values from all symbols come from aligned points in time, allowing a fair comparison between different instrument types. Additionally, each spread ticker ID includes necessary modifiers, such as extended hours and adjustments.
In this indicator, we use the following process to retrieve time-aligned returns for correlation calculations:
1. Request the current and previous prices from a spread representing the sum of the chart symbol and another symbol ( "chartSymbol + anotherSymbol" ).
2. Request the prices from another spread representing the difference between the two symbols ( "chartSymbol - anotherSymbol" ).
3. Calculate half of the difference between the values from both spreads ( 0.5 * (requestedSum - requestedDifference) ). The results represent the symbol's prices at times aligned with the sample points on the current chart.
4. Calculate the arithmetic return of the retrieved prices: (currentPrice - previousPrice) / previousPrice
5. Repeat steps 1-4 for each symbol requiring analysis.
It's crucial to note that because this process retrieves prices for a symbol at times consistent with periodic points on the current chart, the values can represent prices from before or after the closing time of the symbol's usual session.
Additionally, note that the maximum number of weeks or months in the correlation calculations depends on the chart's range and the largest time range common to all the requested symbols. To maximize the amount of data available for the calculations, we recommend setting the chart to use a daily or higher timeframe and specifying a chart symbol that covers a sufficient time range for your needs.
█ FEATURES
This indicator analyzes the correlations between several pairs of user-specified symbols to provide a structured, intuitive view of the relationships in their returns. Below are the indicator's key features:
Requesting a list of securities
The "Symbol list" text box in the indicator's "Settings/Inputs" tab accepts a comma-separated list of symbols or ticker identifiers with optional spaces (e.g., "XOM, MSFT, BITSTAMP:BTCUSD"). The indicator dynamically requests returns for each symbol in the list, then calculates the correlation between each pair of return series for its heatmap display.
Each item in the list must represent a valid symbol or ticker ID. If the list includes an invalid symbol, the script raises a runtime error.
To specify a broker/exchange for a symbol, include its name as a prefix with a colon in the "EXCHANGE:SYMBOL" format. If a symbol in the list does not specify an exchange prefix, the indicator selects the most commonly used exchange when requesting the data.
Note that the number of symbols allowed in the list depends on the user's plan. Users with non-professional plans can compare up to 20 symbols with this indicator, and users with professional plans can compare up to 32 symbols.
Timeframe and data length selection
The "Returns timeframe" input specifies whether the indicator uses weekly or monthly returns in its calculations. By default, its value is "1M", meaning the indicator analyzes monthly returns. Note that this script requires a chart timeframe lower than or equal to "1M". If the chart uses a higher timeframe, it causes a runtime error.
To customize the length of the data used in the correlation calculations, use the "Max periods" input. When enabled, the indicator limits the calculation window to the number of periods specified in the input field. Otherwise, it uses the chart's time range as the limit. The top-left corner of the table shows the number of confirmed weeks or months used in the calculations.
It's important to note that the number of confirmed periods in the correlation calculations is limited to the largest time range common to all the requested datasets, because a meaningful correlation matrix requires analyzing each symbol's returns under the same market conditions. Therefore, the correlation matrix can show different results for the same symbol pair if another listed symbol restricts the aligned data to a shorter time range.
Heatmap display
This indicator displays the correlations for each symbol pair in a heatmap-styled table representing a symmetric correlation matrix. Each row and column corresponds to a specific symbol, and the cells at their intersections correspond to symbol pairs . For example, the cell at the "AAPL" row and "MSFT" column shows the weekly or monthly correlation between those two symbols' returns. Likewise, the cell at the "MSFT" row and "AAPL" column shows the same value.
Note that the main diagonal cells in the display, where the row and column refer to the same symbol, all show a value of 1 because any series of non-na data is always perfectly correlated with itself.
The background of each correlation cell uses a gradient color based on the correlation value. By default, the gradient uses blue hues for positive correlation, orange hues for negative correlation, and white for no correlation. The intensity of each blue or orange hue corresponds to the strength of the measured correlation or anticorrelation. Users can customize the gradient's base colors using the inputs in the "Color gradient" section of the "Settings/Inputs" tab.
█ FOR Pine Script® CODERS
• This script uses the `getArrayFromString()` function from our ValueAtTime library to process the input list of symbols. The function splits the "string" value by its commas, then constructs an array of non-empty strings without leading or trailing whitespaces. Additionally, it uses the str.upper() function to convert each symbol's characters to uppercase.
• The script's `getAlignedReturns()` function requests time-aligned prices with two request.security() calls that use spread tickers based on the chart's symbol and another symbol. Then, it calculates the arithmetic return using the `changePercent()` function from the ta library. The `collectReturns()` function uses `getAlignedReturns()` within a loop and stores the data from each call within a matrix . The script calls the `arrayCorrelation()` function on pairs of rows from the returned matrix to calculate the correlation values.
• For consistency, the `getAlignedReturns()` function includes extended hours and dividend adjustment modifiers in its data requests. Additionally, it includes other settings inherited from the chart's context, such as "settlement-as-close" preferences.
• A Pine script can execute up to 40 or 64 unique `request.*()` function calls, depending on the user's plan. The maximum number of symbols this script compares is half the plan's limit, because `getAlignedReturns()` uses two request.security() calls.
• This script can use the request.security() function within a loop because all scripts in Pine v6 enable dynamic requests by default. Refer to the Dynamic requests section of the Other timeframes and data page to learn more about this feature, and see our v6 migration guide to learn what's new in Pine v6.
• The script's table uses two distinct color.from_gradient() calls in a switch structure to determine the cell colors for positive and negative correlation values. One call calculates the color for values from -1 to 0 based on the first and second input colors, and the other calculates the colors for values from 0 to 1 based on the second and third input colors.
Look first. Then leap.
Multi-Timeframe Trend Analysis [BigBeluga]Multi-Timeframe Trend Analysis
A powerful trend-following dashboard designed to help traders monitor and compare trend direction across multiple higher timeframes. By analyzing EMA conditions from five customizable timeframes, this tool gives a clear visual breakdown of short- to long-term trend alignment.
🔵Key Features:
Multi-Timeframe EMA Dashboard:
➣ Displays a table in the top-right corner showing trend direction across 5 user-defined timeframes.
➣ Each row shows whether ema is rising or falling its corresponding EMA for that timeframe.
➣ Green arrows (🢁) indicate uptrends, purple arrows (🢃) signal downtrends.
Custom Timeframe Selection:
➣ Traders can input any 5 timeframes (e.g., 1h, 2h, 3h, etc.) with individual EMA lengths for flexible trend mapping.
➣ The tool auto-adjusts to match and align external timeframe EMAs to the current chart for seamless overlay.
Dynamic Chart Arrows:
➣ On-chart arrows mark when EMA rising or falling EMAs from the current chart timeframe.
➣ Each EMA arrows has a unique transparency level—shorter EMA arrows are more transparent, longer EMA arrows are more vivid. (Hover Mouse over the arrow to see which EMAs it is)
Gradient EMA Plotting:
➣ All five EMAs are plotted with gradually increasing opacity.
➣ Gradient fills between EMAs enhance visual structure, making it easier to track convergence/divergence.
🔵Usage:
Trend Confirmation: Use the dashboard to confirm multi-timeframe trend alignment before entering trades.
Entry Filtering: Avoid countertrend trades by spotting when higher timeframes disagree with the current one.
Momentum Insight: Track the transition of arrows from lighter to stronger opacity to visualize trend shifts over time.
Scalping or Swinging: Customize timeframes depending on your strategy—from intraday scalps to longer-term swings.
Multi-Timeframe Trend Analysis is the ultimate visual companion for traders who want clarity on how price behaves across multiple time horizons. With its smart EMA mapping and dashboard feedback, it keeps you aligned with dominant trend directions and transition zones at all times.
Pullback Entry Zone FinderPullback Entry Zone Finder
Overview:
This indicator is designed to help traders identify potential buying opportunities during short-term pullbacks, particularly when faster-moving averages show signs of converging back towards slower ones. It visually flags potential zones where price might find support and resume its upward movement, based on moving average dynamics and price proximity.
How It Works:
The indicator utilizes four customizable moving averages (Trigger, Short-term, Intermediate, and Long-term) and Average True Range (ATR) to pinpoint specific conditions:
Pullback Detection: It identifies when the fast 'Trigger MA' is below the 'Short-term MA', indicating a potential short-term pullback or consolidation phase.
MA Convergence: Crucially, it looks for signs that the pullback might be weakening by detecting when the gap between the Short-term MA and the Trigger MA is narrowing (maConverging). This suggests the faster average is starting to catch up, potentially preceding a move back up.
Base Buy Zone (Orange Diamond): This signal appears when both the Pullback and Convergence conditions are met simultaneously. It indicates the general area where conditions are becoming favourable for a potential entry.
Refined Entry Zones:
Prime Entry Zone (Green Diamond): This appears within a Base Buy Zone if the bar's low comes within a specified percentage (Max Distance %) of the Short-term MA. It suggests price has pulled back close to the dynamic support of the Short MA.
ATR Entry Zone (Purple Diamond): This appears within a Base Buy Zone if the bar's low comes within the specified percentage (Max Distance %) of an ATR-based target level. This target level (Buy ATR Target Level, plotted as a purple line when active) is calculated by adding a multiple (ATR Multiplier %) of the ATR to the Short-term MA, providing a volatility-adjusted potential entry area.
Visual Elements:
Moving Averages: Four lines representing the Trigger, Short-term, Intermediate, and Long-term MAs (colors and opacity are customizable). Use the Intermediate and Long-term MAs to gauge the broader market trend.
Orange Diamond (Below Bar): Indicates a 'Base Buy Zone' where a pullback and MA convergence are detected.
Green Diamond (Below Bar): Indicates a 'Prime Entry Zone' where price is close to the Short-term MA during a Base Buy Zone.
Purple Diamond (Below Bar): Indicates an 'ATR Entry Zone' where price is close to the ATR-based target level during a Base Buy Zone.
Purple Line: Plots the calculated 'Buy ATR Target Level' only when the Base Buy Zone condition is active.
Input Parameters:
Moving Averages: Customize the Length and Type (EMA, SMA, WMA, VWMA) for all four moving averages.
ATR Settings: Adjust the ATR Length, the ATR Multiplier % (for calculating the target level), and the Max Distance % (for triggering the Prime and ATR Entry Zones).
Visualization: Set the colors for the four Moving Average lines.
How to Use:
Look for the Orange Diamond as the initial signal that pullback/convergence conditions are met.
The Green and Purple Diamonds suggest price has reached potentially more optimal entry levels within that zone, based on proximity to the Short MA or the ATR target, respectively.
Always consider the signals within the context of the broader trend, indicated by the Intermediate and Long-term MAs. This indicator is generally more effective when used to find entries during pullbacks within an established uptrend (e.g., Intermediate MA > Long MA).
Combine these signals with other forms of analysis, such as chart patterns, support/resistance levels, volume analysis, or other indicators for confirmation.
Disclaimer:
You should always use proper risk management techniques and conduct your own analysis before making any trading decisions. This indicator, or any other, will be of no use if you don't have good risk management.
Fibonacci Levels with SMA SignalsThis strategy leverages Fibonacci retracement levels along with the 100-period and 200-period Simple Moving Averages (SMAs) to generate robust entry and exit signals for long-term swing trades, particularly on the daily timeframe. The combination of Fibonacci levels and SMAs provides a powerful way to capitalize on major trend reversals and market retracements, especially in stocks and major crypto assets.
The core of this strategy involves calculating key Fibonacci retracement levels (23.6%, 38.2%, 61.8%, and 78.6%) based on the highest high and lowest low over a 365-day lookback period. These Fibonacci levels act as potential support and resistance zones, indicating areas where price may retrace before continuing its trend. The 100-period SMA and 200-period SMA are used to define the broader market trend, with the strategy favoring uptrend conditions for buying and downtrend conditions for selling.
This indicator highlights high-probability zones for long or short swing setups based on Fibonacci retracements and the broader trend, using the 100 and 200 SMAs.
In addition, this strategy integrates alert conditions to notify the trader when these key conditions are met, providing real-time notifications for optimal entry and exit points. These alerts ensure that the trader does not miss significant trade opportunities.
Key Features:
Fibonacci Retracement Levels: The Fibonacci levels provide natural price zones that traders often watch for potential reversals, making them highly relevant in the context of swing trading.
100 and 200 SMAs: These moving averages help define the overall market trend, ensuring that the strategy operates in line with broader price action.
Buy and Sell Signals: The strategy generates buy signals when the price is above the 200 SMA and retraces to the 61.8% Fibonacci level. Sell signals are triggered when the price is below the 200 SMA and retraces to the 38.2% Fibonacci level.
Alert Conditions: The alert conditions notify traders when the price is at the key Fibonacci levels in the context of an uptrend or downtrend, allowing for efficient monitoring of trade opportunities.
Application:
This strategy is ideal for long-term swing trades in both stocks and major cryptocurrencies (such as BTC and ETH), particularly on the daily timeframe. The daily timeframe allows for capturing broader, more sustained trends, making it suitable for identifying high-quality entries and exits. By using the 100 and 200 SMAs, the strategy filters out noise and focuses on larger, more meaningful trends, which is especially useful for longer-term positions.
This script is optimized for swing traders looking to capitalize on retracements and trends in markets like stocks and crypto. By combining Fibonacci levels with SMAs, the strategy ensures that traders are not only entering at optimal levels but also trading in the direction of the prevailing trend.
Adaptable Relative Momentum Index [ParadoxAlgo]The Adaptable Relative Momentum Index (RMI) by ParadoxAlgo is an advanced momentum-based indicator that builds upon the well-known RSI (Relative Strength Index) concept by introducing a customizable momentum length. This indicator measures price momentum over a specified number of periods and applies a Rolling Moving Average (RMA) to both the positive and negative price changes. The result is a versatile tool that can help traders gauge the strength of a trend, pinpoint overbought/oversold levels, and potentially identify breakout opportunities.
⸻
Smart Configuration Feature
What sets this version of the RMI apart is ParadoxAlgo’s exclusive “Smart Configuration” functionality. Instead of manually adjusting parameters, traders can simply select their Asset Class (e.g., Stocks, Forex, Futures/Indices, Crypto, Commodities) and Trading Style (e.g., Scalping, Day Trading, Swing Trading, Short-Term Investing, Long-Term Investing). Based on these selections, the indicator automatically optimizes its core parameters:
• Length – The period over which the price changes are smoothed.
• Momentum Length – The number of bars used to calculate the price change.
By automating this process, users save time on tedious trial-and-error adjustments, ensuring that the RMI’s settings are tailored to the characteristics of specific markets and personal trading horizons.
⸻
Key Features & Benefits
1. Momentum-Based Insights
• Uses RMA to smooth price movements, helping identify shifts in market momentum more clearly than a basic RSI.
• Enhanced adaptability for a wide range of asset classes and time horizons.
2. Simple Yet Powerful Configuration
• Smart Configuration automatically sets optimal parameter values for each combination of asset class and trading style.
• Eliminates guesswork and manual recalibration when switching between markets or timeframes.
3. Overbought & Oversold Visualization
• Integrated highlight zones mark potential overbought and oversold extremes (default at 80 and 20).
• Optional breakout highlighting draws attention to times when the indicator crosses these key thresholds, helping spot possible entry or exit signals.
4. Intuitive Design & Ease of Use
• Clean plotting and color-coded signal lines make it easy to interpret bullish or bearish shifts in momentum.
• Straightforward dropdown menus keep the interface user-friendly, even for novice traders.
⸻
Practical Applications
• Early Trend Detection: Spot emerging trends when the RMI transitions from oversold to higher levels or vice versa.
• Breakout Confirmation: Confirm potential breakout trades by tracking overbought/oversold breakouts alongside other technical signals.
• Support/Resistance Confluence: Combine RMI signals with horizontal support/resistance levels to reinforce trade decisions.
• Trade Timing: Quickly gauge when momentum could be shifting, helping you time entries and exits more effectively.
⸻
Disclaimer
As with any technical indicator, the Adaptable Relative Momentum Index should be used as part of a broader trading strategy that includes risk management, fundamental analysis, and other forms of technical confirmation. Past performance does not guarantee future results.
⸻
Enjoy using the Adaptable RMI and experience a more streamlined, flexible approach to momentum analysis. Feel free to explore different asset classes and trading styles to discover which configurations resonate best with your unique trading preferences.
RSI Support & Resistance Breakouts with OrderblocksThis tool is an overly simplified method of finding market squeeze and breakout completely based on a dynamic RSI calculation. It is designed to draw out areas of price levels where the market is pushing back against price action leaving behind instances of short term support and resistance levels you otherwise wouldn't see with the common RSI.
It uses the changes in market momentum to determine support and resistance levels in real time while offering price zone where order blocks exist in the short term.
In ranging markets we need to know a couple things.
1. External Zone - It's important to know where the highs and lows were left behind as they hold liquidity. Here you will have later price swings and more false breakouts.
2. Internal Zone - It's important to know where the highest and lowest closing values were so we can see the limitations of that squeeze. Here you will find the stronger cluster of orders often seen as orderblocks.
In this tool I've added a 200 period Smoothed Moving Average as a trend filter which causes the RSI calculation to change dynamically.
Regular Zones - without extending
The Zones draw out automatically but are often too small to work with.
To solve this problem, you can extend the zones into the future up to 40 bars.
This allows for more visibility against future price action.
--------------------------------------------
Two Types of Zones
External Zones - These zones give you positioning of the highest and lowest price traded within the ranging market. This is where liquidity will be swept and often is an ultimate breaking point for new price swings.
How to use them :
External Zones - External zones form at the top of a pullback. After this price should move back into its impulsive wave.
During the next corrective way, if price breaches the top of the previous External Zone, this is a sign of trend weakness. Expect a divergence and trend reversal.
Internal Zones - (OrderBlocks) Current price will move in relation to previous internal zones. The internal zone is where a majority of price action and trading took place. It's a stronger SQUEEZE area. Current price action will often have a hard time closing beyond the previous Internal Zones high or low. You can expect these zones to show you where the market will flip over. In these same internal zones you'll find large rejection candles.
**Important Note** Size Doesn't Matter
The size of the internal zone does not matter. It can be very small and still very powerful.
Once an internal zone has been hit a few times, its often not relevant any longer.
Order Block Zone Examples
In this image you can see the Internal Zone that was untouched had a STRONG price reaction later on.
Internal Zones that were touched multiple times had weak reactions later as price respected them less over time.
Zone Overlay Breakdown
The Zones form and update in real time until momentum has picked up and price begins to trend. However it leaves behind the elements of the inducement area and all the key levels you need to know about for future price action.
Resistance Fakeout : Later on after the zone has formed, price will return to this upper zone of price levels and cause fakeouts. A close above this zone implies the market moves long again.
Midline Equilibrium : This is simply the center of the strongest traded area. We can call this the Point of Control within the orderblock. If price expands through both extremes of this zone multiple times in the future, it eliminates the orderblock.
Support Fakeout : Just like its opposing brother, price will wick through this zone and rip back causing inducement to trap traders. You would need a clear close below this zone to be in a bearish trend.
BARCOLOR or Candle Color: (Optional)
Bars are colored under three conditions
Bullish Color = A confirmed bullish breakout of the range.
Bearish Color = A confirmed bearish breakout of the range.
Squeeze Color = Even if no box is formed a candle or candles can have a squeeze color. This means the ranging market happened within the high and low of that singular candle.
Max Price Range DeviationThis indicator measures how far a stock has moved in recent days relative to its typical movement over a longer period.
🧠 What it does:
Calculates the absolute price range (highest high − lowest low) over a recent number of days.
Compares this recent range to the average max range from rolling windows of the same size over a longer lookback period.
Plots:
✅ Recent Range (blue line)
✅ Average Historical Range (orange line)
✅ Ratio of Recent to Average (green line)
Highlights when recent movement is significantly higher than normal using a configurable threshold.
⚙️ Inputs:
Recent Period (days): Number of days to calculate the current price move.
Lookback Period (days): Number of days used to calculate the average historical range.
High Move Threshold (x avg): If the recent move exceeds this multiple of average, it's flagged.
🛠️ Use Cases:
Spot unusually large price swings.
Identify good opportunities to sell out-of-the-money options (e.g., covered calls or credit spreads) when moves are extended.
Avoid chasing late-stage breakouts.
Price Range Deviation📌 Description: Price Range Deviation Indicator
This indicator measures how much a stock has moved over a recent period (e.g., 15 days) and compares that move to the average move of similar-length windows over a longer lookback period (e.g., 1 year or 252 days).
It helps identify when a stock has made an unusually large move compared to its historical norm — which can signal that the move is overextended.
📊 How It Works:
Recent Move ($): The absolute price change over the selected recent period.
Average Move ($): The average absolute price change over rolling windows of the same size across the full lookback period.
Move Ratio: The current move divided by the average move.
When the move ratio exceeds a custom threshold (e.g., 1.5× the average), the background highlights red to signal that the move is unusually large.
💡 Use Case:
Ideal for options traders looking to:
Identify overextended price moves
Sell out-of-the-money calls or puts beyond a high-move zone
Fade price exhaustion with high probability setups
Timed Reversion Markers (Custom Session Alerts)This script plots vertical histogram markers at specific intraday time points defined by the user. It is designed for traders who follow time-based reversion or breakout setups tied to predictable market behavior at key clock times, such as institutional opening moves, midday reversals, or end-of-day volatility.
Unlike traditional price-action indicators, this tool focuses purely on time-based triggers, a technique often used in time cycle analysis, market internals, and volume-timing strategies.
The indicator includes eight fully customizable time inputs, allowing users to mark any intraday minute with precision using a decimal hour format (for example, 9.55 for 9:55 AM). Each input is automatically converted into hour and minute format, and a visual histogram marker is plotted once per day at that exact time.
Example use cases:
Mark institutional session opens (e.g., 9:30, 10:00, 15:30)
Time-based mean reversion or volatility windows
Backtest recurring time-based reactions
Highlight algorithmic spike zones
The vertical plots serve as non-intrusive, high-contrast visual markers for scalping setups, session analysis, and decision-making checkpoints. All markers are displayed at the top of the chart without interfering with price candles.
Machine Learning Adaptive Trend Toolkit [Velowave]The Machine Learning Adaptive Trend Toolkit is a technical analysis tool that combines adaptive algorithms with comprehensive market feature extraction to provide insights into changing market conditions. Unlike static indicators with fixed parameters, this system continuously analyzes and adapts to the evolving market environment.
Core Technology
At the heart of this system is a dynamic approach to market analysis:
• Feature Engineering Pipeline: Extracts and normalizes volatility, momentum, volume, and trend strength metrics
• Market Regime Classification: Identifies 10 distinct market environments including trending, ranging, breakout, and reversal conditions
• Parameter Optimization: Automatically adjusts sensitivity based on detected market conditions
• Dynamic Wave Technology: Creates adaptive support/resistance levels that respond to changing volatility
⚠️ Signal Interpretation
Important: The indicator's wave crosses should be interpreted as trend change signals rather than direct buy/sell recommendations. These signals represent potential trend changes based on adaptive parameters, but require confirmation from other analysis before making trading decisions.
(Image showing example color customizability)
Custom Candle Behavior
The custom candlesticks in this indicator are designed to enhance trend visualization but will behave differently than default candlesticks:
• They use linear regression smoothing to reduce noise
• Their coloring is based on position relative to the adaptive wave, not merely open/close relationships
• They may show different patterns than traditional candlesticks on the same chart
• Trading strategies developed using traditional candlestick patterns may not apply directly to these custom candles
This modified representation helps visualize trend conditions more clearly but should be understood as an analytical tool rather than a direct replacement for traditional price action analysis.
Practical Applications
• Trend Identification
The adaptive wave system provides clear visualization of trend direction and strength, with dynamic support and resistance levels that adjust to current volatility conditions.
• Volatility-Adjusted Analysis
Parameters automatically optimize during high and low volatility periods, preventing false signals during consolidation while remaining responsive during breakouts.
• Regime-Based Strategy Selection
Knowing the current market regime allows you to apply appropriate trading techniques for specific conditions rather than using a one-size-fits-all approach.
• Visual Price Action Analysis
Enhanced candlestick coloring instantly communicates price position relative to the adaptive trend, helping you process market information more efficiently.
(Image showing only the supertrend wave and dynamic moving average)
Technical Components
• Adaptive Wave Algorithm: Creates dynamic support/resistance bands based on volatility, volume, and detected regime
• Dynamic Moving Average: Period automatically adjusts based on market conditions - shorter in trending markets, longer in ranging conditions
• Market Regime Engine: Continuously analyzes feature patterns to classify current conditions
• Custom Candlestick Visualization: Provides instant visual feedback on trend position and momentum
Implementation Details
For full transparency, the core calculations include:
• Volatility normalization through comparative ATR analysis
• Momentum feature extraction using multi-timeframe momentum indicators
• Trend strength quantification through price structure analysis
• Regime detection through feature pattern recognition
• Adaptive parameter adjustment based on detected market conditions
The system uses only historical and current price data for its calculations and analyses. It does not use predictive methodologies that could lead to misleading results. The indicator will show different values on an open bar than it will after the bar closes, which is standard behavior for indicators that use closing prices in their calculations.
Risk Disclaimer:
Trading involves significant risk. This indicator is designed as an analytical tool to enhance decision-making, not as a standalone trading system. Past performance is not indicative of future results.
RSI-Volume Momentum Signal ScoreRSI-Volume Momentum Signal Score
Description
The RSI-Volume Momentum Signal Score is a predictive technical indicator designed to identify bullish and bearish momentum shifts by combining volume-based momentum with the Relative Strength Index (RSI). It generates a Signal Score derived from:
• The divergence between short-term and long-term volume (Volume Oscillator), and
• RSI positioning relative to a user-defined threshold.
This hybrid approach helps traders detect early signs of price movement based on volume surges and overbought/oversold conditions.
The Signal Score is computed as follows:
Signal Score = Volume Momentum x RSI Divergence Factor
Volume Momentum = tanh ((Volume Oscillator value (vo) – Volume Threshold)/Scaling Factor)
RSI Divergence Factor = ((RSI Threshold – RSI Period)/Scaling Factor)
Or,
Signal Score = tanh((vo - voThreshold) / scalingFactor) * ((rsiThreshold - rsi) / scalingFactor)
The logic of this formula are as follows:
• If Volume Oscillator >= Volume Threshold and RSI <= RSI Threshold: Bullish Signal (+1 x Scaling Factor)
• If Volume Oscillator >= Volume Threshold and RSI >= (100 – RSI Threshold): Bearish Signal (-1 x Scaling Factor)
• Otherwise: Neutral (0)
The tanh function provides the normalization process. It ensures that the final signal score is bounded between -1 and 1, increases sensitivity to early changes in volume patterns based on RSI conditions, and prevent sudden jumps in signals ensuring smooth and continuous signal line.
Input Fields
The input fields allow users to customize the behavior of the indicator based on their trading strategy:
Short-Term Volume MA
- Default: `2`
- Description: The period for the short-term moving average of volume.
- Purpose: Captures short-term volume trends.
Long-Term Volume MA)
- Default: `10`
- Description: The period for the long-term moving average of volume.
- Purpose: Captures long-term volume trends for comparison with the short-term trend.
RSI Period)
- Default: `3`
- Description: The period for calculating the RSI.
- Purpose: Measures the relative strength of price movements over the specified period.
Volume Oscillator Threshold
- Default: `70`
- Description: The threshold for the Volume Oscillator to determine significant volume momentum.
- Purpose: Filters out weak volume signals.
RSI Threshold
- Default: `25`
- Description: The RSI level used to identify overbought or oversold conditions.
- Purpose: Helps detect potential reversals in price momentum.
Signal Scaling Factor
- Default: `10`
- Description: A multiplier for the signal score.
- Purpose: Adjusts the magnitude of the signal score for better visualization.
How To Use It for Trading:
Upcoming Bullish Signal: Signal line turns from Gray to Green or from Green to Gray
Upcoming Bearish Signal: Signal line turns from Gray to Red or from Red to Gray
Note: The price that corresponds to the transition of Signal line from Gray to Green or Red and vise versa is the signal price for upcoming bullish or bearish signal.
The signal score dynamically adjusts based on volume and RSI thresholds, making it adaptable to various market conditions, and this is what makes the indicator unique from other traditional indicators.
Unique Features
Unlike traditional indicators, this indicator combines two different dimensions—volume trends and RSI divergence—for more comprehensive signal generation. The use of tanh() to scale and smooth the signal is a mathematically elegant way to manage signal noise and highlight genuine trends. Traders can tune the scaling factor and thresholds to adapt the indicator for scalping, swing trading, or longer-term investing.
7-Channel Trend Meter v3🔥 7-Channel Trend Meter – Ultimate Trend Confirmation Tool 💹
Purpose: Supplementary indicator used as confirmation
The 7-Channel Trend Meter offers an all-in-one confirmation system that combines 7 high-accuracy indicators into one easy-to-read visual tool. Say goodbye to guesswork and unnecessary tab-switching—just clear, actionable signals for smarter trades. Whether you're trading stocks, crypto, or forex, this indicator streamlines your decision-making process and enhances your strategy’s performance.
⚙️ What’s Inside The Box?
Here is each tool that the Trend Meter uses, and why/how they're used:
Average Directional Index: Confirms market strength ✅
Directional Movement Index: Confirms trend direction ✅
EMA Cross: Confirms reversals in trend through average price ✅
Relative Strength Index: Confirms trend through divergences ✅
Stochastic Oscillator: Confirms shifts in momentum ✅
Supertrend: Confirms trend-following using ATR calculations ✅
Volume Delta: Confirms buying/selling pressure weight by finding differences ✅
🧾 How To Read It:
🟨 Bar 1 – Market Strength Meter:
Light Gold 🟡: Strong market with trending conditions.
Dark Gold 🟤: Weakening market or consolidation—proceed with caution.
📊 Bars 2 to 7 – Trend Direction Confirmations:
🟩 Green: Bullish signal, uptrend likely.
🟥 Red: Bearish signal, downtrend likely.
💯 Why it's helpful to traders:
✅ 7 Confirmations in 1 View: No need to flip between multiple charts.
✅ Visual Clarity: Spot trends instantly with a quick glance.
✅ Perfect for Entry Confirmation: Confirm trade signals before pulling the trigger.
✅ Boosts Your Win Rate: Make data-backed decisions, not guesses.
✅ Works Across Multiple Markets: Stocks, crypto, forex—you name it 🌍.
🤔 "What's with the indicator mashup/How do these components work together? 🤔
The 7-Channel Trend Meter is designed as an original and useful tool that integrates multiple indicators to enhance trading decisions, rather than merely combining existing tools without logical coherence. This strategic mashup creates a comprehensive analysis framework that offers deeper insights into market conditions by capitalizing on each component's unique strengths. The careful integration of seven indicators creates a unified system that eliminates conflicting signals and enhances the decision-making process. Rather than simply merging indicators for the sake of it, the 7-Channel Trend Meter is designed to streamline trading strategies, making it a practical tool for traders across various markets. By leveraging the combined strengths of these indicators, traders can act with greater confidence, backed by comprehensive data rather than fragmented insights. Here’s how they synergistically work together:
Average Directional Index (ADX) and Directional Movement Index (DMI): The reason for this mashup is because ADX indicates the strength of the prevailing trend, while the DMI pinpoints its direction. Together, they equip traders with a dual framework that not only identifies whether to engage with a trend but also quantifies its strength, allowing for more decisive trading strategies.
EMA Cross: The reason for this addition to the mashup is because this tool signals potential trend reversals by identifying moving average crossovers. When combined with the ADX and DMI, traders can better differentiate between genuine trend shifts and market noise, leading to more accurate entries.
Relative Strength Index (RSI) and Stochastic Oscillator: The reason for this mashup is because by using both momentum indicators, traders gain a multifaceted view of market dynamics. The RSI assesses overbought or oversold conditions, while the Stochastic Oscillator confirms momentum shifts. When both agree with the trend signals from the DMI, it enhances the reliability of reversal or continuation strategies.
Supertrend: The reason for this addition to the mashup is because as a trailing stop based on market volatility, the Supertrend indicator works hand-in-hand with the ADX’s strength assessment, allowing traders to ride strong trends while managing risk. This cohesion prevents premature exits during minor pullbacks.
Volume Delta: The reason for this addition to the mashup is because integrating volume analysis helps validate signals from the price action indicators. Significant volume behind a price movement reinforces the likelihood of its continuation, ensuring that traders can act on well-supported signals.
🔍 How it does what it says it does 🔍
While the exact calculations remain proprietary, the following outlines how the components synergistically work to aid traders in making informed decisions:
Market Strength Assessment: Average Directional Index (ADX)
This component is used as confirmation by measuring the strength of the market trend on a scale from 0 to 100. A reading above 20 generally indicates a strong trend, while readings below 20 suggest sideways movement. The Trend Meter flags strong trends, effectively helping traders identify optimal conditions for entering positions.
Trend Direction Confirmation: Directional Movement Index (DMI)
This component is used as confirmation by distinguishing between bullish and bearish trends by evaluating price movements. This combination allows traders to confirm not only if a trend exists but also its direction, informing whether to buy or sell.
Trend Reversal Detection: Exponential Moving Average (EMA) Cross
This component is used as confirmation by calculating two EMAs (one shorter and one longer) to identify potential reversal points. When the shorter EMA crosses above the longer EMA, it signals a bullish reversal, and vice versa for bearish reversals. This helps traders pinpoint optimal entry or exit points.
Momentum Analysis: Relative Strength Index (RSI) and Stochastic Oscillator
These components are used as confirmation by providing insights into momentum. The RSI assesses the speed and change of price movements, indicating overbought or oversold conditions. The Stochastic Oscillator compares a particular closing price to a range of prices over a specified period. This helps identify whether momentum is slowing or speeding up, offering a clear view of potential reversal points. When both the RSI and Stochastic Oscillator converge on signals, it increases the reliability of those signals in trading decisions.
Volatility-Based Trend Following: Supertrend
This component is used as confirmation by utilizing Average True Range (ATR) calculations to help traders stay in momentum-driven trades by providing dynamic support and resistance levels that adapt to volatility. This enables better risk management while allowing traders to capture stronger trends.
Volume Confirmation: Volume Delta
This component is used as confirmation by analyzing buying and selling pressure by measuring the difference between buy and sell volumes, offering critical insights into market sentiment. Significant volume behind a price movement increases confidence in the sustainability of that move.
🧠 Pro Tip:
When all 7 bars line up in green or red, it’s time to take action: load up for a confirmed move or sit back and wait for market confirmation. Let the Trend Meter guide your strategy with precision.
Conclusion:
Integrate the 7-Channel Trend Meter as useful confirmation for your TradingView strategy and stop trading like the average retail trader. This tool eliminates the noise and helps you stay focused on high-confidence trades.
Upside Reversal ScreenerIndicator mainly intended to be used in Pinescript screener to find Upside Reversals - where an instruments drops in price then reverses.
The minimum drop (as % or % of instrument ATR) and minimum recovery (as fraction of drop) can be specified.
When used as an indicator (Set the "Running in Screener" input to False in the settings) an up arrow will show under the days where an upside reversal occurred.
To use in a screener, set it as a favourite indicator, so it will be showin in the PineScript screener.
The indicator publishes the Open, High, Low, Close (or last) prices, % price change, % of drop (from high), the recovery (as % of drop), and if the stock matched the reverse settings.
Market Phases (ZigZag + MA + RSI)This script is a TradingView Pine Script that visualizes market phases using the ZigZag pattern, Moving Averages (MA), and the Relative Strength Index (RSI). It allows traders to identify key market conditions, such as accumulating, distributing, bullish, and bearish phases based on price movements and momentum indicators.
#### Components
1. ZigZag Settings:
- Depth: Controls the sensitivity of the ZigZag indicator. A higher value results in fewer price points being considered as reversals.
- Deviation: Defines the minimum percentage change needed to identify a ZigZag point, preventing small fluctuations from being registered.
- Backstep: Specifies the number of bars to look back for identifying highs and lows.
2. Moving Average Settings:
- MA Length: The number of periods used to calculate the moving average.
- MA Type: The type of moving average to use, either Simple Moving Average (SMA) or Exponential Moving Average (EMA).
3. RSI Settings:
- RSI Length: The period for calculating the RSI.
- Overbought Level: The threshold above which the asset is considered overbought.
- Oversold Level: The threshold below which the asset is considered oversold.
4. Calculations:
- Moving Average and RSI Calculation: The script calculates either an SMA or EMA and the RSI based on user-defined settings.
5. ZigZag Enhanced Calculation:
- It identifies swing highs and lows to determine the ZigZag points for improved trend analysis.
6. Trend Direction:
- The script checks the direction of the trend based on the latest ZigZag points.
7. Market Phase Determination:
- The script defines the market phase (Accumulation, Distribution, Bullish, Bearish) based on the trend direction and levels from the RSI and relationship with the moving average.
8. Background Colors:
- The background is tinted according to the identified market phase for visual clarity.
9. Labels and Plotting:
- Labels are generated at the last bar with the current phase and RSI value.
- The moving average and last ZigZag points are plotted on the chart for further reference.
### Conclusion
This script provides a comprehensive view of market conditions by integrating multiple indicators, helping traders make informed trading decisions based on market dynamics. The ability to visualize phases and key indicators aids in recognizing potential entry and exit points in trading strategies.
If you have any questions or need further modifications, feel free to ask!
Volumatic Trend [ChartPrime]
A unique trend-following indicator that blends trend logic with volume visualization, offering a dynamic view of market momentum and activity. It automatically detects trend shifts and paints volume histograms at key levels, allowing traders to easily spot strength or weakness within trends.
⯁ KEY FEATURES
Trend Detection System:
Uses a custom combination of weighted EMA (swma) and regular EMA to detect trend direction.
A diamond appears on trend shift, indicating the starting point of a new bullish or bearish phase.
Volume Histogram Zones:
At each new trend, the indicator draws two horizontal zones (top and bottom) and visualizes volume activity within that trend using dynamic histogram candles.
Gradient-Based Candle Coloring:
Candle color is blended with a gradient based on volume intensity. This helps highlight where volume spikes occurred, making it easy to identify pressure points.
Volume Summary Labels:
A label at the end of each trend zone displays two critical values:
- Delta: net volume difference between bullish and bearish bars.
- Total: overall volume accumulated during the trend.
⯁ HOW TO USE
Monitor diamond markers to identify when a new trend begins.
Use volume histogram spikes to assess if the trend is supported by strong volume or lacking participation.
A high delta with strong total volume in a trend indicates institutional support.
Compare gradient strength of candles—brighter areas represent higher-volume trading activity.
Can be used alone or combined with other confirmation tools like structure breaks, liquidity sweeps, or order blocks.
⯁ CONCLUSION
Volumatic Trend gives you more than just trend direction—it provides insight into the force behind it. With volume-graded candles and real-time histogram overlays, traders can instantly assess whether a trend is backed by conviction or fading strength. A perfect tool for swing traders and intraday strategists looking to add volume context to their directional setups.
Market Dominance Analyzer [Crypto]Market Dominance Analyzer
Overview:
The Market Dominance Analyzer is a indicator designed to analyze and visualize the state of the cryptocurrency market by examining key dominance metrics. It retrieves data for BTC, TOTAL2, and USDT dominance, smooths them using an exponential moving average (EMA), and then determines the current market phase.
Key Features:
Market Phase Detection:
The indicator categorizes the market state into distinct phases such as Bitcoin Rally, BTC Safe Haven, Full Bull Market, Cautious Bull, Altseason, Alt Relief, Bear Market, Total Capitulation, Alt Overdrive, and Bitcoin Solo Run based on the trends in dominance data.
Visual Cues:
Each market phase is assigned a unique background color for quick visual identification. The indicator also plots dominance lines for BTC, TOTAL2, and USDT, each with customizable transparency settings.
Trend Analysis:
Using EMA smoothing and trend detection over a configurable period, the script filters out noise and focuses on significant market moves.
Trading Signals:
Optional buy and sell signals are generated based on the directional movement of BTC dominance relative to the other indicators, helping traders spot potential entry or exit points.
Customization Options:
Block Length: Adjust the block phase duration for market phase analysis.
Line Opacity: Customize the transparency of the dominance lines.
Text Position: Choose the display position (left, center, right) for the background text.
Trend Parameters: Modify the trend detection length and EMA smoothing length to better suit different timeframes or market conditions.
Signal Display: Toggle the display of Buy/Sell signals on the chart.
How to Use:
Apply the Indicator:
Add the Market Dominance Analyzer to your TradingView chart.
Interpret the Colors:
The background color reflects the current market phase. Refer to the legend for each phase’s color code.
Monitor Dominance Lines:
Observe the plotted lines for BTC, TOTAL2, and USDT dominance to assess market trends.
Trading Decisions:
Use the displayed Buy/Sell signals, in combination with your analysis, as an additional tool to determine potential trade entries and exits.
This script is ideal for crypto traders looking to gain a quick visual insight into the market’s dominant trends and phases. Customize the settings to match your trading style and market timeframe.
Multi-Symbol EMA Status Table🔍 Multi-Symbol EMA Trend Scanner Table
This script displays a clean, customizable table showing whether the price of up to 16 different assets is above or below a user-defined EMA, on a per-symbol and per-timeframe basis.
✅ Supports up to 16 symbols, each with:
Custom exchange + ticker (e.g., BINANCE:BTCUSDT.P, PEPPERSTONE:EURUSD)
Custom timeframe (e.g., 15, 60, 240, D, W)
Custom EMA length (e.g., 50, 100, 200)
🧩 Fully customizable visuals:
Table position (top, middle, bottom + left, center, right)
Text size and text color
Background color for "above" and "below" EMA
Optional ✅❌ emojis
📊 The table updates live on your main chart — no switching required!
💡 Great for:
Monitoring trend direction across multiple markets
Spotting trend alignment (e.g., price above 200 EMA on 4H + 1D)
Multi-asset swing trading or scalping strategies
📘 How to Use:
Open a chart and add the indicator from your scripts.
In the settings panel:
Enter any symbol (with exchange prefix, like BINANCE:BTCUSDT.P or OANDA:EURUSD)
Set a timeframe (e.g., "15" for 15min, "60" for 1h, "D" for daily)
Choose your EMA length (e.g., 200)
Repeat for as many symbols as you need (up to 16).
Customize table visuals:
Position on the screen
Font size and color
Enable/disable emojis ✅❌
Watch the table update live!
🧠 Optional Tips:
Use different colors or groupings to track asset classes (crypto, forex, stocks).
Combine it with your favorite entry/exit signals for confirmation.
Try setting all symbols to the same EMA (e.g., 200) but with different timeframes to monitor multi-timeframe alignment.
ACD Weekly🔷 ACD Weekly — Discover Weekly Ranges with Market Precision 🔷
Understanding where key levels lie at the beginning of the week can unlock powerful insights into market structure, breakout potential, and directional conviction.
The ACD Weekly indicator is designed to help you identify these levels with clarity and consistency.
🚀 What It Does
The ACD Weekly plots dynamic levels based on Monday’s price action and weekly volatility. These levels are useful for:
Identifying potential breakout and breakdown zones
Understanding market range expansions
Creating clean, repeatable weekly trade setups
Without diving into the formula, this tool uses the weekly opening range and historical volatility to highlight zones where institutional accumulation, distribution, or trending moves are more likely to initiate.
📌 How to Use It
Apply the script to any chart and timeframe – best viewed on intraday timeframes.
Observe the green and red lines that appear every Monday — they mark the reference high/low for the week.
The yellow zones extending above and below act as targets and thresholds — price movement into or beyond these areas can signal trend continuation or potential reversal zones.
Use it in combination with your own system — price action, volume, or momentum tools — to confirm entries/exits.
🧠 Who Is It For?
Intraday and swing traders who want clarity at the start of the week
Traders who use breakout or range strategies
Those who want structure without clutter
⚙️ Features
Customizable opening range multiplier
Choose your higher timeframe (daily/weekly)
Optional real-time or historical plotting with Lookahead mode
Add this to your chart and let the structure guide your setups throughout the week.
Happy trading! 📈
Disclaimer:
This is an educational idea, past performance does not guarantee future success.
All outputs will be your own responsibility.
Regards!
50%er(PreMarket & ORB)50%er(PreMarket & ORB)
Overview:
50%er(PreMarket & ORB) is a streamlined version of my full 50%er script. It calculates the critical 50% level of the previous candle and extends this to daily, weekly, monthly, quarterly, and yearly timeframes. The script also detects and plots previous highs and lows for these timeframes, providing key price levels for traders. Additionally, it calculates and displays opening levels for the day, week, month, quarter, and year. A custom timeframe feature adds flexibility for setting 50% and high/low levels, catering to different trading preferences.
How It Works:
The script calculates the 50% midpoint of the previous candle’s high and low, a key support/resistance level for traders. It extends this logic across multiple timeframes, including daily, weekly, monthly, quarterly, and yearly, and tracks previous highs and lows for these periods. It also prints opening levels for various timeframes. The premarket high/low and ORB (Opening Range Breakout) levels are included when extended hours are enabled.
How to Use:
Adding to Chart: Apply the 50%er Script Lite to your TradingView chart.
Configuring Inputs: Adjust timeframes and levels to match your trading strategy. The custom timeframe feature allows for personalization.
Analyzing Levels: Use the plotted 50% lines and opening levels to identify potential support and resistance areas, as well as breakout or breakdown points.
Strategizing Trades: Incorporate these levels into your trading plan for potential entry and exit points.
What Makes It Original:
50%er Lite stands out for its simplicity and precision. It focuses on the essential 50% line and key price levels, offering a clear view of the market without unnecessary complexity. The inclusion of premarket levels and ORB breakout levels, along with the custom timeframe feature, makes it a versatile tool for traders of all levels.