Multi-Timeframe Support/Resistancesupport and resistance indicator for different time frames
with different colours
Análise de Tendência
Intrinsic Event (Multi DC OS)Overview
This indicator implements an event-based approach to analyze price movements in the foreign exchange market, inspired by the intrinsic time framework introduced in Fractals and Intrinsic Time - A Challenge to Econometricians by U. A. Müller et al. (1995). It identifies significant price events using an intrinsic time perspective and supports multi-agent analysis to reflect the heterogeneous nature of financial markets. The script plots these events as lines and labels on the chart, offering a visual tool for traders to understand market dynamics at different scales.
Key Features
Intrinsic Events : The indicator detects directional change (DC) and overshoot (OS) events based on user-defined thresholds (delta), aligning with the paper’s concept of intrinsic time (Section 6). Intrinsic time redefines time based on market activity, expanding during volatile periods and contracting during inactive ones, rather than relying on a physical clock.
Multi-Agent Analysis : Supports up to five agents, each with its own threshold and color settings, reflecting the heterogeneous market hypothesis (Section 5). This allows the indicator to capture the perspectives of market participants with different time horizons, such as short-term FX dealers and long-term central banks.
How It Works
Intrinsic Events Detection : The script identifies two types of events using intrinsic time principles:
Directional Change (DC) : Triggered when the price reverses by the threshold (delta) against the current trend (e.g., a drop by delta in an uptrend signals a "Down DC").
Overshoot (OS) : Occurs when the price continues in the trend direction by the threshold (e.g., a rise by delta in an uptrend signals an "Up OS").
DC events are plotted as solid lines, and OS events as dashed lines, with labels like "Up DC" or "OS Down" for clarity. The label style adjusts based on the trend to ensure visibility.
Multi-Agent Setup : Each agent operates independently with its own threshold, mimicking market participants with varying time horizons (Section 5). Smaller thresholds detect frequent, short-term events, while larger thresholds capture broader, long-term movements.
Settings
Each agent can be configured with:
Enable Agent : Toggle the agent on or off.
Threshold (%) : The percentage threshold (delta) for detecting DC and OS events (default values: 0.1%, 0.2%, 0.5%, 1%, 2% for agents 1–5).
Up Mode Color : Color for lines and labels in up mode (DC events).
Down Mode Color : Color for lines and labels in down mode (OS events).
Usage Notes
This indicator is designed for the foreign exchange market, leveraging its high liquidity, as noted in the paper (Section 1). Adjust the threshold values based on the instrument’s volatility—higher volatility leads to more intrinsic events (Section 4). It can be adapted to other markets where event-based analysis applies.
Reference
The methodology is based on:
Fractals and Intrinsic Time - A Challenge to Econometricians by U. A. Müller, M. M. Dacorogna, R. D. Davé, O. V. Pictet, R. B. Olsen, and J. R. Ward (June 28, 1995). Olsen & Associates Preprint.
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
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.
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.
Advanced Auto Zones + Smart Buy/Sell SignalsAdvanced Auto Zones + Smart RSI/EMA Signals
This indicator automatically draws dynamic support/resistance zones based on recent price action and confirms Buy/Sell signals using RSI crossovers with EMA trend filtering and candle confirmation.
🟥 Red Zone – Resistance
🟦 Blue Zone – Equilibrium
🟩 Green Zones – Support
✅ Buy Signal: RSI crosses above oversold + price above EMA + bullish candle
❌ Sell Signal: RSI crosses below overbought + price below EMA + bearish candle
Includes customizable zone width/height, real-time alerts, and clean visual design. Ideal for trend traders, scalpers, and zone-based strategies.
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.
Double SuperTrend Crossover AlertsDouble SuperTrend Crossover Alerts
This indicator uses two SuperTrend calculations to generate trading alerts based on their crossover. The idea is simple:
A Buy Signal is produced when the fast SuperTrend (using a factor of 2 by default) crosses above the slow SuperTrend (using a factor of 4 by default).
A Sell Signal is produced when the fast SuperTrend crosses below the slow SuperTrend.
How It Works
Inputs and Calculations
ATR Length: Set to 13 by default and used in the Average True Range (ATR) calculation to adjust the indicator's sensitivity.
Fast SuperTrend Factor: The fast SuperTrend uses a multiplier of 2, making it more sensitive to recent price changes.
Slow SuperTrend Factor: The slow SuperTrend uses a multiplier of 4, making it smoother and less reactive.
Customizable Settings:
Users can edit the ATR length, the fast factor, and the slow factor as desired, allowing you to adjust the indicator to suit your personal trading style and preferred time frames.
Signal Generation
Buy Signal: Generated when the fast SuperTrend moves above the slow SuperTrend, suggesting a bullish move.
Sell Signal: Generated when the fast SuperTrend falls below the slow SuperTrend, indicating a potential bearish move.
Alert Functionality
The indicator comes with built-in alert conditions. You can set up alerts in TradingView so that you receive notifications:
Buy Alert: When the fast SuperTrend crosses above the slow SuperTrend.
Sell Alert: When the fast SuperTrend crosses below the slow SuperTrend.
This way, you will never miss a potential trading signal.
Disclaimer
Trading involves risk, and past performance does not guarantee future results. This indicator is for educational purposes only and should not be used as the sole basis for any trading decision. Always use proper risk management and confirm signals with additional analysis before entering any trade.
Happy Trading!
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.
TFT-Price-PluseTFT Price Pluse is a multi-purpose trend analysis and momentum confirmation indicator designed for intraday and swing traders. It combines well-known trading tools—EMAs, RSI, and a multi-timeframe dashboard—with a custom-built logarithmic regression channel that adapts to price behavior dynamically.
This tool helps traders quickly assess market conditions, spot trend reversals or continuation zones, and identify dynamic support/resistance using layered confluence — all in one visual system.
🔧 Main Components & Logic
📉 Trend Structure (EMAs & SMA)
8 EMA (short-term)
21 EMA (intermediate-term)
50 SMA (medium-term)
200 EMA (long-term baseline)
Triangle markers are plotted when the 8 EMA crosses the 21 EMA — commonly used as trend-change signals.
🔁 Multi-Timeframe RSI Table
Displays RSI(14) values across six timeframes:
1m, 3m, 5m, 10m, 15m, and 30m.
Color-coded cells:
Green = RSI > 50 (bullish momentum)
Red = RSI < 50 (bearish momentum)
This feature helps traders gauge market momentum across multiple granular timeframes at a glance.
📊 Custom Log Regression Channel (Original Component)
Uses a logarithmic transformation of price and time to fit a regression line.
Calculates standard deviation from the regression line to build dynamic upper and lower deviation bands.
Displays R-squared value, a statistical measure of trend strength.
This feature acts like an adaptive trend channel with built-in volatility measurement.
🔍 Unlike simple linear regression, this model tracks exponential behavior in trending markets, making it more suitable for crypto, futures, and other fast-moving instruments.
🎯 How to Use It
1. Spot Trends with EMA Crossovers
Bullish setup: 8 EMA crosses above 21 EMA while price is above 50 SMA and 200 EMA.
Bearish setup: opposite conditions.
2. Confirm with RSI Table
All RSI cells green = higher-probability long setup.
All red = potential short trend confirmation.
Mixed RSI = trend indecision or consolidation.
3. Use Log Regression Bands
Price bouncing from lower band with bullish EMA cross = potential long entry.
Price rejecting upper band with bearish cross = potential short entry.
R² above 0.8 = strong directional conviction.
4. Alerts (optional)
Alerts can be enabled for:
EMA crossovers
RSI overbought/oversold thresholds
🧩 Attribution & Open-Source Acknowledgement
This indicator includes adapted and integrated logic from several open-source scripts published on TradingView by the community.
Features such as the RSI table, moving average crossovers, and regression math were inspired by public scripts and documentation. These components were modified and enhanced to work together as a cohesive system.
The log regression channel is uniquely implemented, combining log(price) and log(time) transformations for a statistically calculated dynamic channel.
This version is published open-source to support learning, transparency, and community improvement. You are free to study, customize, and build upon it — just credit if reused.
🚀 Who This Is For
Intraday traders needing fast visual confirmation
Futures/crypto traders wanting trend/momentum filtering
Strategy builders looking for a reliable confluence tool
Coders studying advanced regression modeling in Pine Script
💬 Tips
Works best on 1m–15m charts for active setups.
Set alerts on RSI/EMA events for automation.
Use in combination with price action or volume tools if desired.
❤️ Final Note
If you find this script helpful, follow my profile for future updates and tools.
Feedback, forks, and enhancements are welcome — let's build better together.
Price Up and Down Percentage NACHOMIXCRYPTOThis Pine Script indicator, titled "Price Up and Down Percentage NACHOMIXCRYPTO", is designed to calculate and display the percentage increase and decrease of the price for a given day. Here’s how it works:
1. Indicator Purpose
The indicator tracks the highest and lowest price points of the day.
It calculates the percentage price increase from the lowest price to the current closing price.
It also calculates the percentage price decrease from the highest price to the current closing price.
Additionally, it shows the average change and the combined percentage of both movements.
2. Key Features
Customizable Visuals:
You can adjust the line colors, widths, label colors, and text alignment.
Labels for percentage changes are displayed near the current price.
Daily Highs and Lows:
The indicator resets the lowest and highest price at the start of a new day.
Percentage Calculations:
PriceRise: The percentage change from the day’s lowest price to the current close.
PriceDrop: The percentage change from the day’s highest price to the current close.
AvgChange: The average of the rise and drop percentages.
Total+-: The sum of the price rise and drop, providing a combined market movement view.
3. Visual Representation
Lines:
A green line represents the upward movement (from the lowest price to the current price).
A red line represents the downward movement (from the highest price to the current price).
Labels:
The percentage increase is labeled in green, and the percentage decrease is labeled in red.
The labels are positioned with an adjustable offset for clarity.
Table Display:
A table in the bottom-right corner displays all the calculated values for quick reference.
4. Practical Use
Trend Analysis: Helps identify if the market has shown significant upward or downward movement during the day.
Volatility Assessment: Traders can evaluate the volatility based on the total percentage movement.
Decision Support: Provides a clear indication of how much the price has moved relative to its daily high and low.
Overall, this indicator is useful for intraday traders to monitor price movements and make informed trading decisions.
Multi TF Fibonacci Divergence Strategy✅ Buy Trade Conditions
Trend Confirmation:
The 1-hour and 4-hour charts must be above the 200 EMA.
Daily Candle Confirmation:
The previous daily candle must have closed above the body and wick of the candle before it (e.g., Friday's candle must close above Thursday’s for a buy).
Fibonacci Retracement:
On the 15-minute chart, price must:
Retrace past the 50% level of a Fibonacci drawn from recent swing high/low.
Not close beyond the 78.6% level.
Fibonacci Extension Target:
Price must touch either the -27% or -61.8% extension level (based on the same swing).
It must not close beyond the 78.6% retracement level on higher timeframes.
Bullish Divergence:
Bullish RSI divergence on the 15-minute chart, confirmed by structure on the 1-hour chart.
Session Filter:
Trade signals only trigger during the asset's active trading session (user-defined).
❌ Sell Trade Conditions
All the above are mirrored in the opposite direction:
Below 200 EMA on 1H & 4H
Daily candle closes below prior candle’s body and wick
Fibonacci retrace above 50%, no close beyond 78.6%
Target hit at -27% or -61.8%
Bearish RSI divergence
In-session signal
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.
Trade Sniperz 200 EMA with Triangle SignalsThis versatile moving average tool combines:
A 200-period EMA that toggles between line/cross display
Color-changing visual trend identification
Triangle signals at crossovers
Customizable display options
Key Features
Feature Description Visual Example
200 EMA Display Shows as crosses by default (toggle to line) Colored + or × marks
Trend Colors Green when price > EMA (bullish), Red when price < EMA (bearish) Dynamic color change
Triangle Signals Green ▲ below bar (bullish cross), Red ▼ above bar (bearish cross) Clear entry/exit markers
Customization Toggle between line/cross display in settings Flexible viewing options
Recommended Usage
1. Trend Identification
Bullish Market: When price is above green EMA crosses/line
Bearish Market: When price is below red EMA crosses/line
Strong Trend Confirmation: Consistent crosses maintaining color
2. Trading Signals
Signal Type Condition Action
Buy Signal Green ▲ triangle appears + price crosses above EMA Consider long positions
Sell Signal Red ▼ triangle appears + price crosses below EMA Consider short positions
Trend Filter Only trade in direction of EMA color (green=longs, red=shorts) Increases win rate
3. Display Options
pinescript
Copy
showAsLine = input(false, "Display as Line (uncheck for crosses)")
✔ Checked: Shows traditional EMA line
✖ Unchecked: Shows EMA as crosses (default)
Pro Tips
Combine with Support/Resistance: Use crosses near key levels for higher probability trades
Timeframe Flexibility: Works on all timeframes (1min - monthly charts)
Volume Confirmation: Increase position size when crosses align with high volume
Cross Density: More frequent crosses indicate choppy markets (caution needed)
Input Parameters
Parameter Default Description
Length 200 EMA period (recommend keeping at 200)
Display as Line Off Toggle between crosses/line display
Visual Example
Copy
PRICE CHART:
▲ (Red triangle) - Bearish signal
× × × (Red crosses) - Price below EMA
- - - - - - - - -
● ● ● (Price bars)
- - - - - - - - -
+ + + (Green crosses) - Price above EMA
▲ (Green triangle) - Bullish signal
This indicator provides a clean, customizable way to track the important 200 EMA while getting clear visual signals for potential trend changes. The crosses make the EMA more visible on crowded charts, while the color-coding helps instantly identify trend direction.
SanAlgo V3This is an indicator which uses VWAP and ATR indicators.
Buy / Sell signals are plotted with the breakout of ATR deviations and filtered using VWAP.
You can change deviation as per your need.
Alerts have been added to suit your preference.
Explore additional settings, toggle between options
This indicator works on all types of assets, and all timeframes.
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.
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.