Multi-Timeframe MACD Strategy ver 1.0Multi-Timeframe MACD Strategy: Enhanced Trend Trading with Customizable Entry and Trailing Stop
This strategy utilizes the Moving Average Convergence Divergence (MACD) indicator across multiple timeframes to identify strong trends, generate precise entry and exit signals, and manage risk with an optional trailing stop loss. By combining the insights of both the current chart's timeframe and a user-defined higher timeframe, this strategy aims to improve trade accuracy, reduce exposure to false signals, and capture larger market moves.
Key Features:
Dual Timeframe Analysis: Calculates and analyzes the MACD on both the current chart's timeframe and a user-selected higher timeframe (e.g., Daily MACD on a 1-hour chart). This provides a broader market context, helping to confirm trends and filter out short-term noise.
Configurable MACD: Fine-tune the MACD calculation with adjustable Fast Length, Slow Length, and Signal Length parameters. Optimize the indicator's sensitivity to match your trading style and the volatility of the asset.
Flexible Entry Options: Choose between three distinct entry types:
Crossover: Enters trades when the MACD line crosses above (long) or below (short) the Signal line.
Zero Cross: Enters trades when the MACD line crosses above (long) or below (short) the zero line.
Both: Combines both Crossover and Zero Cross signals, providing more potential entry opportunities.
Independent Timeframe Control: Display and trade based on the current timeframe MACD, the higher timeframe MACD, or both. This allows you to focus on the information most relevant to your analysis.
Optional Trailing Stop Loss: Implements a configurable trailing stop loss to protect profits and limit potential losses. The trailing stop is adjusted dynamically as the price moves in your favor, based on a user-defined percentage.
No Repainting: Employs lookahead=barmerge.lookahead_off in the request.security() function to prevent data leakage and ensure accurate backtesting and real-time signals.
Clear Visual Signals (Optional): Includes optional plotting of the MACD and Signal lines for both timeframes, with distinct colors for easy visual identification. These plots are for visual confirmation and are not required for the strategy's logic.
Suitable for Various Trading Styles: Adaptable to swing trading, day trading, and trend-following strategies across diverse markets (stocks, forex, cryptocurrencies, etc.).
Fully Customizable: All parameters are adjustable, including timeframes, MACD Settings, Entry signal type and trailing stop settings.
How it Works:
MACD Calculation: The strategy calculates the MACD (using the standard formula) for both the current chart's timeframe and the specified higher timeframe.
Trend Identification: The relationship between the MACD line, Signal line, and zero line is used to determine the current trend for each timeframe.
Entry Signals: Buy/sell signals are generated based on the selected "Entry Type":
Crossover: A long signal is generated when the MACD line crosses above the Signal line, and both timeframes are in agreement (if both are enabled). A short signal is generated when the MACD line crosses below the Signal line, and both timeframes are in agreement.
Zero Cross: A long signal is generated when the MACD line crosses above the zero line, and both timeframes agree. A short signal is generated when the MACD line crosses below the zero line and both timeframes agree.
Both: Combines Crossover and Zero Cross signals.
Trailing Stop Loss (Optional): If enabled, a trailing stop loss is set at a specified percentage below (for long positions) or above (for short positions) the entry price. The stop-loss is automatically adjusted as the price moves favorably.
Exit Signals:
Without Trailing Stop: Positions are closed when the MACD signals reverse according to the selected "Entry Type" (e.g., a long position is closed when the MACD line crosses below the Signal line if using "Crossover" entries).
With Trailing Stop: Positions are closed if the price hits the trailing stop loss.
Backtesting and Optimization: The strategy automatically backtests on the chart's historical data, allowing you to assess its performance and optimize parameters for different assets and timeframes.
Example Use Cases:
Confirming Trend Strength: A trader on a 1-hour chart sees a bullish MACD crossover on the current timeframe. They check the MTF MACD strategy and see that the Daily MACD is also bullish, confirming the strength of the uptrend.
Filtering Noise: A trader using a 15-minute chart wants to avoid false signals from short-term volatility. They use the strategy with a 4-hour higher timeframe to filter out noise and only trade in the direction of the dominant trend.
Dynamic Risk Management: A trader enters a long position and enables the trailing stop loss. As the price rises, the trailing stop is automatically adjusted upwards, protecting profits. The trade is exited either when the MACD reverses or when the price hits the trailing stop.
Disclaimer:
The MACD is a lagging indicator and can produce false signals, especially in ranging markets. This strategy is for educational and informational purposes only and should not be considered financial advice. Backtest and optimize the strategy thoroughly, combine it with other technical analysis tools, and always implement sound risk management practices before using it with real capital. Past performance is not indicative of future results. Conduct your own due diligence and consider your risk tolerance before making any trading decisions.
Analisis Trend
Multi-Timeframe Parabolic SAR Strategy ver 1.0Multi-Timeframe Parabolic SAR Strategy (MTF PSAR) - Enhanced Trend Trading
This strategy leverages the power of the Parabolic SAR (Stop and Reverse) indicator across multiple timeframes to provide robust trend identification, precise entry/exit signals, and dynamic trailing stop management. By combining the insights of both the current chart's timeframe and a user-defined higher timeframe, this strategy aims to improve trading accuracy, reduce risk, and capture more significant market moves.
Key Features:
Dual Timeframe Analysis: Simultaneously analyzes the Parabolic SAR on the current chart and a higher timeframe (e.g., Daily PSAR on a 1-hour chart). This allows you to align your trades with the dominant trend and filter out noise from lower timeframes.
Configurable PSAR: Fine-tune the PSAR calculation with adjustable Start, Increment, and Maximum values to optimize sensitivity for your trading style and the asset's volatility.
Independent Timeframe Control: Choose to display and trade based on either or both the current timeframe PSAR and the higher timeframe PSAR. Focus on the most relevant information for your analysis.
Clear Visual Signals: Distinct colors for the current and higher timeframe PSAR dots provide a clear visual representation of potential entry and exit points.
Multiple Entry Strategies: The strategy offers flexible entry conditions, allowing you to trade based on:
Confirmation: Both current and higher timeframe PSAR signals agree and the current timeframe PSAR has just flipped direction. (Most conservative)
Current Timeframe Only: Trades based solely on the current timeframe PSAR, ideal for when the higher timeframe is less relevant or disabled.
Higher Timeframe Only: Trades based solely on the higher timeframe PSAR.
Dynamic Trailing Stop (PSAR-Based): Implements a trailing stop-loss based on the current timeframe's Parabolic SAR. This helps protect profits by automatically adjusting the stop-loss as the price moves in your favor. Exits are triggered when either the current or HTF PSAR flips.
No Repainting: Uses lookahead=barmerge.lookahead_off in the security() function to ensure that the higher timeframe data is accessed without any data leakage, preventing repainting issues.
Fully Configurable: All parameters (PSAR settings, higher timeframe, visibility, colors) are adjustable through the strategy's settings panel, allowing for extensive customization and optimization.
Suitable for Various Trading Styles: Applicable to swing trading, day trading, and trend-following strategies across various markets (stocks, forex, cryptocurrencies, etc.).
How it Works:
PSAR Calculation: The strategy calculates the standard Parabolic SAR for both the current chart's timeframe and the selected higher timeframe.
Trend Identification: The direction of the PSAR (dots below price = uptrend, dots above price = downtrend) determines the current trend for each timeframe.
Entry Signals: The strategy generates buy/sell signals based on the chosen entry strategy (Confirmation, Current Timeframe Only, or Higher Timeframe Only). The Confirmation strategy offers the highest probability signals by requiring agreement between both timeframes.
Trailing Stop Exit: Once a position is entered, the strategy uses the current timeframe PSAR as a dynamic trailing stop. The stop-loss is automatically adjusted as the PSAR dots move, helping to lock in profits and limit losses. The strategy exits when either the Current or HTF PSAR changes direction.
Backtesting and Optimization: The strategy automatically backtests on the chart's historical data, allowing you to evaluate its performance and optimize the settings for different assets and timeframes.
Example Use Cases:
Trend Confirmation: A trader on a 1-hour chart observes a bullish PSAR flip on the current timeframe. They check the MTF PSAR strategy and see that the Daily PSAR is also bullish, confirming the strength of the uptrend and providing a high-probability long entry signal.
Filtering Noise: A trader on a 5-minute chart wants to avoid whipsaws caused by short-term price fluctuations. They use the strategy with a 1-hour higher timeframe to filter out noise and only trade in the direction of the dominant trend.
Dynamic Risk Management: A trader enters a long position and uses the current timeframe PSAR as a trailing stop. As the price rises, the PSAR dots move upwards, automatically raising the stop-loss and protecting profits. The trade is exited when the current (or HTF) PSAR flips to bearish.
Disclaimer:
The Parabolic SAR is a lagging indicator and can produce false signals, particularly in ranging or choppy markets. This strategy is intended for educational and informational purposes only and should not be considered financial advice. It is essential to backtest and optimize the strategy thoroughly, use it in conjunction with other technical analysis tools, and implement sound risk management practices before using it with real capital. Past performance is not indicative of future results. Always conduct your own due diligence and consider your risk tolerance before making any trading decisions.
Multi-Timeframe PSAR Indicator ver 1.0Enhance your trend analysis with the Multi-Timeframe Parabolic SAR (MTF PSAR) indicator! This powerful tool displays the Parabolic SAR (Stop and Reverse) from both the current chart's timeframe and a higher timeframe, all in one convenient view. Identify potential trend reversals and set dynamic trailing stops with greater confidence by understanding the broader market context.
Key Features:
Dual Timeframe Analysis: Simultaneously visualize the PSAR on your current chart and a user-defined higher timeframe (e.g., see the Daily PSAR while trading on the 1-hour chart). This helps you align your trades with the dominant trend.
Customizable PSAR Settings: Fine-tune the PSAR calculation with adjustable Start, Increment, and Maximum values. Optimize the indicator's sensitivity to match your trading style and the volatility of the asset.
Independent Timeframe Control: Choose to display either or both the current timeframe PSAR and the higher timeframe PSAR. Focus on the information most relevant to your analysis.
Clear Visual Representation: Distinct colors for the current and higher timeframe PSAR dots make it easy to differentiate between the two. Quickly identify potential entry and exit points.
Configurable Colors You can easily change colors of Current and HTF PSAR.
Standard PSAR Logic: Uses the classic Parabolic SAR algorithm, providing a reliable and widely-understood trend-following indicator.
lookahead=barmerge.lookahead_off used in the security function, there is no data leak or repainting.
Benefits:
Improved Trend Identification: Spot potential trend changes earlier by observing divergences between the current and higher timeframe PSAR.
Enhanced Risk Management: Use the PSAR as a dynamic trailing stop-loss to protect profits and limit potential losses.
Greater Trading Confidence: Make more informed decisions by considering the broader market trend.
Reduced Chart Clutter: Avoid the need to switch between multiple charts to analyze different timeframes.
Versatile Application: Suitable for various trading styles (swing trading, day trading, trend following) and markets (stocks, forex, crypto, etc.).
How to Use:
Add to Chart: Add the "Multi-Timeframe PSAR" indicator to your TradingView chart.
Configure Settings:
PSAR Settings: Adjust the Start, Increment, and Maximum values to control the PSAR's sensitivity.
Multi-Timeframe Settings: Select the desired "Higher Timeframe PSAR" resolution (e.g., "D" for Daily). Enable or disable the display of the current and/or higher timeframe PSAR using the checkboxes.
Interpret Signals:
Current Timeframe PSAR: Dots below the price suggest an uptrend; dots above the price suggest a downtrend.
Higher Timeframe PSAR: Provides context for the overall trend. Agreement between the current and higher timeframe PSAR strengthens the trend signal. Divergences may indicate potential reversals.
Trade Management:
Use PSAR dots as dynamic trailing stop.
Example Use Cases:
Confirming Trend Strength: A trader on a 1-hour chart sees the 1-hour PSAR flip bullish (dots below the price). They check the MTF PSAR and see that the Daily PSAR is also bullish, confirming the strength of the uptrend.
Identifying Potential Reversals: A trader sees the current timeframe PSAR flip bearish, but the higher timeframe PSAR remains bullish. This divergence could signal a potential pullback within a larger uptrend, or a warning of a more significant reversal.
Trailing Stops: A trader enters a long position and uses the current timeframe PSAR as a trailing stop, moving their stop-loss up as the PSAR dots rise.
Disclaimer: The Parabolic SAR is a lagging indicator and may produce false signals, especially in ranging markets. It is recommended to use this indicator in conjunction with other technical analysis tools and risk management strategies. Past performance is not indicative of future results.
Triple Differential Moving Average BraidThe Triple Differential Moving Average Braid weaves together three distinct layers of moving averages—short-term, medium-term, and long-term—providing a structured view of market trends across multiple time horizons. It is an integrated construct optimized exclusively for the 1D timeframe. For multi-timeframe analysis and/or trading the lower 1h and 15m charts, it pairs well the Granular Daily Moving Average Ribbon ... adjust the visibility settings accordingly.
Unlike traditional moving average indicators that use a single moving average crossover, this braid-style system incorporates both SMAs and EMAs. The dual-layer approach offers stability and responsiveness, allowing traders to detect trend shifts with greater confidence.
Users can, of course, specify their own color scheme. The indicator consists of three layered moving average pairs. These are named per their default colors:
1. Silver Thread – Tracks immediate price momentum.
2. Royal Guard – Captures market structure and developing trends.
3. Golden Section – Defines major market cycles and overall trend direction.
Each layer is color-coded and dynamically shaded based on whether the faster-moving average is above or below its slower counterpart, providing a visual representation of market strength and trend alignment.
🧵 Silver Thread
The Silver Thread is the fastest-moving layer, comprising the 21D SMA and a 21D EMA. The choice of 21 is intentional, as it corresponds to approximately one full month of trading days in a 5-day-per-week market and is also a Fibonacci number, reinforcing its use in technical analysis.
· The 21D SMA smooths out recent price action, offering a baseline for short-term structure.
· The 21D EMA reacts more quickly to price changes, highlighting shifts in momentum.
· When the SMA is above the EMA, price action remains stable.
· When the SMA falls below the EMA, short-term momentum weakens.
The Silver Thread is a leading indicator within the system, often flipping direction before the medium- and long-term layers follow suit. If the Silver Thread shifts bearish while the Royal Guard remains bullish, this can signal a temporary pullback rather than a full trend reversal.
👑 Royal Guard
The Royal Guard provides a broader perspective on market momentum by using a 50D EMA and a 200D EMA. EMAs prioritize recent price data, making this layer faster-reacting than the Golden Section while still offering a level of stability.
· When the 50D EMA is above the 200D EMA, the market is in a confirmed uptrend.
· When the 50D EMA crosses below the 200D EMA, momentum has shifted bearish.
This layer confirms medium-term trend structure and reacts more quickly to price changes than traditional SMAs, making it especially useful for trend-following traders who need faster confirmation than the Golden Section provides.
If the Silver Thread flips bearish while the Royal Guard remains bullish, traders may be seeing a momentary dip in an otherwise intact uptrend. Conversely, if both the Silver Thread and Royal Guard shift bearish, this suggests a deeper pullback or possible trend reversal.
📜 Golden Section
The Golden Section is the slowest and most stable layer of the system, utilizing a 50D SMA and a 200D SMA—a classic combination used by long-term traders and institutions.
· When the 50D SMA is above the 200D SMA the market is in a strong, sustained uptrend.
· When the 50D SMA falls below the 200D SMA the market is structurally bearish.
Because SMAs give equal weight to past price data, this layer moves slowly and deliberately, ensuring that false breakouts or temporary swings do not distort the bigger picture.
Traders can use the Golden Section to confirm major market trends—when all three layers are bullish, the market is strongly trending upward. If the Golden Section remains bullish while the Royal Guard turns bearish, this may indicate a medium-term correction within a larger uptrend rather than a full reversal.
🎯 Swing Trade Setups
Swing traders can benefit from the multi-layered approach of this indicator by aligning their trades with the overall market structure while capturing short-term momentum shifts.
· Bullish: Look for Silver Thread and Royal Guard alignment before entering. If the Silver Thread flips bullish first, anticipate a momentum shift. If the Royal Guard follows, this confirms a strong medium-term move.
· Bearish: If the Silver Thread turns bearish first, it may signal an upcoming reversal. Waiting for the Royal Guard to follow adds confirmation.
· Confirmation: If the Golden Section remains bullish, a pullback may be an opportunity to enter a trend continuation trade rather than exit prematurely.
🚨 Momentum Shifts
· If the Silver Thread flips bearish but the Royal Guard remains bullish, traders may opt to buy the dip rather than exit their positions.
· If both the Silver Thread and Royal Guard turn bearish, traders should exercise caution, as this suggests a more significant correction.
· When all three layers align in the same direction the market is in a strong trending phase, making swing trades higher probability.
⚠️ Risk Management
· A narrowing of the shaded areas suggests trend exhaustion—consider tightening stop losses.
· When the Golden Section remains bullish, but the other two layers weaken, potential support zones to enter or re-enter positions.
· If all three layers flip bearish, this may indicate a larger trend reversal, prompting an exit from long positions and/or consideration of short setups.
The Triple Differential Moving Average Braid is layered, structured tool for trend analysis, offering insights across multiple timeframes without requiring traders to manually compare different moving averages. It provides a powerful and intuitive way to read the market. Swing traders, trend-followers, and position traders alike can use it to align their trades with dominant market trends, time pullbacks, and anticipate momentum shifts.
By understanding how these three moving average layers interact, traders gain a deeper, more holistic perspective of market structure—one that adapts to both momentum-driven opportunities and longer-term trend positioning.
Keltner Channels with Custom Signals
Keltner Channels with Custom Signals
This advanced indicator enhances the classic Keltner Channels by combining them with a suite of customizable trading signals and visual tools, designed to assist traders in identifying potential entry and exit points. Built for TradingView’s Pine Script v6, it overlays three key lines—upper band, basis line (moving average), and lower band—calculated using a user-defined source (default: close), length (default: 20), and multiplier (default: 2.0). Traders can choose between Exponential Moving Average (EMA) or Simple Moving Average (SMA) for the basis line and select from three volatility band styles: Average True Range (ATR), True Range, or Range, with an adjustable ATR length (default: 10).
The script generates distinct signals based on price action:
BUY Signals: Triggered when the close exceeds the upper band on a bullish candle (close > open), marked with a green "BUY" label.
SELL Signals: Triggered when the close falls below the lower band on a bearish candle (close < open), marked with a red "SELL" label.
Annessione (ANN) Signals: Specialized conditions for both BUY and SELL, activated when the current candle’s size exceeds the previous candle’s, with additional midpoint and directional checks. These are plotted with cyan labels and include dynamic stop-loss (SL) lines.
Equal Candle Signals: Highlighted with yellow crosses when the current and previous candles are of equal size, meeting specific conditions post-BUY/SELL signals.
Midline Markers: Green (BUY) and red (SELL) crosses appear on the basis line when initial signals occur.
Customization is a core feature: users can adjust label text, colors, and distances (in pips) for all signals, tailoring the display to their preferences. The stop-loss lines for ANN signals are particularly robust—drawn above highs (BUY) or below lows (SELL) with a configurable pip offset (default: 50), styled as solid, dotted, or dashed in red, and interrupted when price hits the SL or crosses the basis line. Alerts are included for all signal types, ensuring traders never miss a key moment.
Ideal for technical traders, this indicator blends Keltner Channel analysis with actionable, visually intuitive signals, offering flexibility and precision in one powerful package.
Doji DetectorThis script is designed to detect Doji candlesticks, which are characterized by a small body compared to the overall candle range. The script identifies a Doji when:
✔ The body size is smaller than 10% of the total candle range, OR
✔ The body size is less than 3 pips.
How It Works:
The script calculates the body size of each candle (absolute difference between the open and close price).
It then compares the body size with the total candle range (high - low).
If the body size is smaller than 10% of the candle range or less than 3 pips, the script marks it as a Doji.
How to Use It:
Apply the script to your TradingView chart.
It will highlight Doji candles automatically.
Suitable for traders using price action analysis to identify potential market reversals or indecision zones.
🚀 Best suited for: Forex, Stocks, and Crypto markets.
🔔 Optional: You can modify the conditions to fit your trading strategy.
Market Structure MTF Trend [Pt]█ Author's Notes
There are numerous market structure indicators in the TradingView library, each offering a unique approach to identifying price action shifts. Market Structure MTF Trend was created with simplicity and flexibility in mind—providing a highly customizable multi-timeframe setup, visually clear trendlines, and straightforward labeling. This combination helps both new and experienced traders easily spot and interpret market structure changes.
█ Overview
Market Structure MTF Trend is a powerful yet user-friendly indicator designed to identify and visualize key turning points in price action. It focuses on two core concepts:
Change of Character (CHoCH): A momentary shift in the market’s behavior, signaling that the current price movement may be losing momentum and could soon reverse.
Break of Structure (BoS): A more definitive event confirming a new price pattern, where the market establishes a fresh trend direction by surpassing previous swing highs or lows.
By combining these signals across up to four different timeframes, even traders unfamiliar with market structure can quickly learn to spot and validate potential trend reversals or continuations.
█ Key Features
Multi-Timeframe Analysis: Monitors CHoCH and BoS events simultaneously on multiple intervals (e.g., 15m, 30m, 60m, 240m), providing a clear, layered understanding of market dynamics.
Straightforward Visual Cues: Labels are placed directly on the chart at swing highs and lows, while colored bars at the bottom give an instant snapshot of whether each timeframe is bullish or bearish.
Configurable Timeframes & Pivot Strength: Easily set up the desired intervals and adjust pivot strength to tune how sensitive the indicator is to minor price fluctuations.
Color-Coded Signals: Different colors help you distinguish between potential early reversals (CHoCH) and confirmed shifts (BoS), ensuring each signal’s importance is immediately clear.
█ Usage & Benefits
Learn Market Structure Basics: For those new to swing highs/lows, CHoCH, and BoS, the script’s on-chart labels and dynamic bar coloring provide a practical, visual way to grasp these concepts.
Spot Reversals Early: CHoCH alerts you to possible shifts in momentum, allowing you to anticipate trend changes before they fully develop.
Confirm Trend Breaks: BoS events confirm that the market has established a new directional bias, reinforcing higher‐probability entry or exit points.
Reduce Noise & Stay Focused: The multi-timeframe setup ensures you won’t overlook larger trends or get lost in smaller fluctuations.
Streamline Decision-Making: Color-coded bars let you gauge overall market sentiment at a glance—ideal for quickly validating trades without juggling multiple charts.
Market Structure MTF Trend is perfect for traders who want to learn or refine their understanding of price action. By integrating multiple timeframes into a single, cohesive interface, this tool highlights both subtle shifts and confirmed breaks in market structure, empowering you to trade with greater insight and confidence.
SuperTrend Bar Counter - DolphinTradeBot
OVERVIEW
This indicator calculates the lengths of upward and downward trends based on the specified SuperTrend settings and timeframe. It then takes the average length of the entered number of swings and compares the current trend durations with these averages. The main goal is to anticipate potential reversals in advance.
HOW IS IT WORK ?
The indicator actually contains two different but conceptually similar metrics.
The first part; shows how long the Supertrend stays in an upward or downward trend in real time. Additionally, it analyzes how close the current value is to the average of the Supertrend bar count for the given input.
The second part; aims to provide a different perspective on general trend analysis. It calculates the average duration of upward and downward trends in bars based on the SuperTrend indicator settings within a specified period and timeframe. If, contrary to expectations, downward trends last longer than upward trends, the background is colored green, indicating a prediction that the trend will continue upward.
Explanation of the second part logic: As you know, moving averages or similar approaches that follow the price are often correct when looking back retrospectively, but they cannot serve as leading indicators in real-time trading.That's why, when performing trend analysis, I wanted to introduce a completely different perspective based on price movement, yet still grounded in price action itself.
This phenomenon is partly due to the nature of the SuperTrend itself. After strong price movements, SuperTrend tends to reverse direction much more quickly during pullbacks. Following a strong upward move, a downward trend is detected much earlier and tends to last longer. The indicator provides an alternative perspective by analyzing which directional movement occurs more rapidly and uses this insight for trend prediction.
HOW TO USE ?
It can be used to identify potential price reversals or to assess whether the price is generally cheap or expensive.
In the settings section, you can adjust the SuperTrend parameters and timeframes for the values displayed in the table.
In the second part, you can configure the values used for general trend analysis.
NOTE
Things to be aware of: As the chart's timeframe decreases, pulling data from higher timeframes becomes more difficult. For example, when the chart is set to a 5-minute timeframe, it may fail to retrieve swing periods from the daily timeframe. Similarly, on a 4-hour chart, when calculating the average swing, there might be enough data for only 5 periods instead of 20.
Please keep in mind that this indicator was created solely to provide an idea. It should only be considered as a perspective or a supporting tool that influences your decision by no more than 5% at most.
[TehThomas] - ICT SMT DivergencesIntroduction
SMT Divergences is a cutting-edge trading tool designed for traders who utilize Smart Money Techniques (SMT), a core concept in the Inner Circle Trader (ICT) methodology. This indicator is specifically built to detect SMT divergences by comparing price action across multiple correlated assets. It helps traders identify institutional activity, liquidity grabs, and inefficiencies in the market, offering valuable insights for high-probability trade setups.
Smart Money Techniques revolve around the idea that institutional traders and large market participants leave behind footprints in the form of price divergences. By analyzing multiple asset pairs simultaneously, this indicator helps traders pinpoint areas where one market structure contradicts another, revealing potential trade opportunities before the majority of retail traders notice them.
What is SMT Divergence?
Smart Money Divergence (SMT) occurs when correlated assets or markets behave differently in key areas of interest. These divergences often indicate market inefficiencies caused by liquidity grabs or institutional order flow. There are two main types of SMT divergences:
1. Bearish SMT Divergence (Smart Money Distribution) 🔴
Occurs when:
One asset makes a higher high, while another correlated asset makes a lower high.
This signals underlying weakness in the price action of the first asset.
Institutions may be offloading positions, preparing for a downward move.
📉 Example: If GBP/USD makes a higher high, but EUR/USD makes a lower high, it indicates potential weakness in GBP/USD and a possible short opportunity.
2. Bullish SMT Divergence (Smart Money Accumulation) 🔵
Occurs when:
One asset makes a lower low, while another correlated asset makes a higher low.
This suggests strength and potential accumulation by institutional traders.
Smart Money may be positioning for a bullish reversal.
📈 Example: If NASDAQ (US100) makes a lower low, but S&P 500 (US500) makes a higher low, it could indicate bullish strength in the stock market, suggesting a possible long trade.
How This Indicator Works
The SMT Divergences automatically identifies and plots SMT divergences on your chart, allowing you to spot hidden market imbalances at a glance.
🔍 Key Features
✅ Compare Up to 4 Assets Simultaneously – Select up to four correlated pairs to compare against the main charted asset.
✅ Automatic Detection of SMT Divergences – The script finds divergences in swing highs and swing lows and visually marks them on the chart.
✅ Customizable Line Styles & Colors – Adjust the appearance of the divergence lines and labels to suit your trading style.
✅ Smart Labeling System – Displays which asset pairs are diverging, making it easy to analyze market conditions.
✅ Works Across Multiple Markets – Use for Forex, Indices, Crypto, and Commodities, giving traders flexibility in different asset classes.
✅ Designed for ICT Traders – Aligns perfectly with other ICT concepts such as Liquidity Zones, Order Blocks, and Fair Value Gaps (FVGs).
🛠 Indicator Settings & Customization
The indicator provides various settings to tailor it to your trading preferences:
Pivot Lookback Length: Adjusts how many bars the indicator looks back to determine swing highs/lows.
Symbol Selection: Choose up to four additional assets to compare against your main trading pair.
Divergence Line Colors: Customize the color of bearish (red) and bullish (blue) divergences for better visibility.
Line Styles: Choose between solid, dotted, or dashed lines to highlight divergences in your preferred way.
Label Customization: Modify text color and display preferences for a clean and informative chart layout.
How to Use This Indicator in Your Trading Strategy
This indicator is best used in combination with other ICT concepts to improve confluence and increase trade accuracy. Here’s how you can integrate it into your trading strategy:
🔹 Step 1: Identify SMT Divergences
Wait for bullish or bearish SMT divergences to appear on your chart.
Check if the divergence aligns with key liquidity zones, fair value gaps (FVGs), or order blocks.
🔹 Step 2: Confirm Institutional Activity
Look for liquidity sweeps (stop hunts) before a potential reversal.
If a bearish SMT divergence forms near a major resistance level, it may signal Smart Money selling.
If a bullish SMT divergence forms near a support zone, it could indicate accumulation.
🔹 Step 3: Enter a Trade with Confluence
Combine SMT divergences with market structure shifts to time entries.
Use additional ICT tools like Premium & Discount Arrays, Volume Profile, and Market Maker Models for confirmation.
Set stop-losses above liquidity zones and aim for high-risk reward ratios.
🔹 Step 4: Manage Risk & Take Profits
Always use proper risk management, keeping an eye on liquidity grabs and market sentiment.
Consider taking partial profits at key structural points and letting the rest of the trade run.
Why This Indicator is a Game-Changer for ICT Traders
Traditional retail traders often fail to spot Smart Money footprints, which is why many struggle with false breakouts and liquidity traps. The - ICT SMT Divergences indicator eliminates this problem by providing a clear, visual representation of SMT divergences, allowing traders to track institutional movements in real-time.
🔹 Save Time – No need to manually compare charts; the script does the work for you.
🔹 Improve Accuracy – Get high-probability trade setups by following institutional footprints.
🔹 Enhance Your Trading Edge – Use SMT divergences in combination with liquidity grabs, order blocks, and fair value gaps to refine your strategy.
🔹 Universal Market Compatibility – Works for Forex, Indices, Crypto, Commodities, and even Stocks, giving you flexibility in different markets.
Final Thoughts
The SMT Divergences is a must-have tool for traders who rely on Smart Money Techniques (SMT) and ICT methodologies. By identifying SMT divergences across multiple correlated markets, this indicator provides unparalleled insights into institutional trading behavior and enhances your ability to trade with Smart Money.
Whether you are a day trader, swing trader, or position trader, this indicator will help you make more informed decisions, avoid liquidity traps, and improve your overall profitability.
__________________________________________
Thanks for your support!
If you found this idea helpful or learned something new, drop a like 👍 and leave a comment, I’d love to hear your thoughts! 🚀
Make sure to follow me for more price action insights, free indicators, and trading strategies. Let’s grow and trade smarter together! 📈
Percentage Retracement from HighPercentage Retracement Indicator
Description
The Percentage Retracement Indicator is a powerful analytical tool that visualizes price pullbacks from historical highs in percentage terms. Unlike traditional retracement tools that overlay on the price chart, this indicator displays the exact percentage drawdown in a dedicated pane below the chart, allowing for precise measurement of market corrections.
Key Features
Clear Visualization: Displays the current percentage retracement from a reference high in a separate pane, making it easy to gauge correction depth
Multiple Reference Points: Choose from ATH (All-Time High), Period High, Weekly High, Monthly High, Quarterly High, or Yearly High as your reference point
Color-Coded Levels: Intuitive color gradient from green (shallow pullbacks) to red and purple (deep corrections)
Customizable Thresholds: Set your own percentage levels for monitoring corrections (-5%, -10%, -20%, etc.)
Time-Based Labels: Clearly labeled percentage levels positioned along the timeline
Trading Applications
Identify Entry Points: Recognize historical pullback patterns to find optimal entry zones
Risk Management: Set stop-losses based on historical retracement behavior
Market Phases Analysis: Distinguish between healthy pullbacks and potential trend reversals
Comparative Analysis: Compare current drawdowns to historical corrections to gauge market sentiment
Volatility Assessment: Track the depth of pullbacks across different market regimes
Benefits
This indicator provides a clear, quantitative view of market corrections that isn't immediately obvious from price action alone. By transforming price movements into percentage terms, it creates an objective framework for analyzing pullbacks across different assets and timeframes.
Perfect for swing traders, position traders, and investors looking to add objective measures for market entry and exit during retracements.
XGBoost Approximation Indicator with HTF Filter Ver. 3.2XGBoost Approx Indicator with Higher Timeframe Filter Ver. 3.2
What It Is
The XGBoost Approx Indicator is a technical analysis tool designed to generate trading signals based on a composite of multiple indicators. It combines Simple Moving Average (SMA), Relative Strength Index (RSI), MACD, Rate of Change (ROC), and Volume to create a composite indicator score. Additionally, it incorporates a higher timeframe filter (HTF) to enhance trend confirmation and reduce false signals.
This indicator helps traders identify long (buy) and short (sell) opportunities based on a weighted combination of trend-following and momentum indicators.
How to Use It Properly
Setup and Configuration:
Add the indicator to your TradingView chart.
Customize input settings based on your trading strategy. Key configurable inputs include:
HTF filter (default: 1-hour)
SMA, RSI, MACD, and ROC lengths
Custom weightings for each component
Thresholds for buy and sell signals
Understanding the Signals:
Green "Long" Label: Appears when the composite indicator crosses above the buy threshold, signaling a potential buy opportunity.
Red "Short" Label: Appears when the composite indicator crosses below the sell threshold, signaling a potential sell opportunity.
These signals are filtered by a higher timeframe SMA trend to improve accuracy.
Alerts:
The indicator provides alert conditions for long and short entries.
Traders can enable alerts in TradingView to receive real-time notifications when a new signal is triggered.
Safety and Best Practices
Use in Conjunction with Other Analysis: Do not rely solely on this indicator. Combine it with price action, support/resistance levels, and fundamental analysis for better decision-making.
Adjust Settings for Your Strategy: The default settings may not suit all markets or timeframes. Test different configurations before trading live.
Backtest Before Using in Live Trading: Evaluate the indicator’s past performance on historical data to assess its effectiveness in different market conditions.
Avoid Overtrading: False signals can occur, especially in low volatility or choppy markets. Use additional confirmation (e.g., trendlines or moving averages).
Risk Management: Always set stop-loss levels and position sizes to limit potential losses.
FVG Detector by SZEMEK>>> DESCRIPTION IN ENGLISH
An advanced indicator for the TradingView platform designed to detect and visualize Fair Value Gaps (FVG) and Inversion Fair Value Gaps (iFVG) on charts.
Main Features:
1. FVG Detection:
- The script identifies both bullish and bearish Fair Value Gaps.
- Users can choose which types of FVG to display (Bullish, Bearish, both, or none).
2. FVG Visualization:
- Gaps are represented as rectangular boxes on the chart.
- The color and transparency of the boxes are configurable separately for bullish and bearish FVG.
- The option to add a frame to FVG boxes with separate color settings.
- FVG labels are available with configurable colors and sizes.
3. Dynamic Tracking of FVG Fill:
- The script monitors the extent to which each gap has been filled by subsequent price movements.
- The fill level is visualized using gray overlay on the original FVG box.
- The percentage fill is updated on the label.
4. Automatic Removal of FVG:
- The ability to set a percentage threshold (100%, 75%, 50%, or no removal) after which FVG is removed from the chart.
5. iFVG Detection:
- The script also identifies Inversion Fair Value Gaps (iFVG), which can be displayed as separate boxes.
- iFVG are available in bullish and bearish versions.
- Users can choose which types of iFVG to display (Bullish, Bearish, both, or none).
- iFVG can also have labels and frames.
6. Limitation of Checked Candles:
- Users can specify the maximum number of candles back that the script will analyze for FVG and iFVG.
- Alerts: The indicator allows setting alerts for detected iFVG, both bullish and bearish.
Advanced Features:
- Accurate calculation of FVG fill percentage, considering both wicks and candle bodies.
- Dynamic updating of FVG boxes and their labels in real-time.
- Flexible memory management through the removal of outdated or filled FVG.
- The ability to customize the appearance of iFVG, including colors, labels, and frames.
This script serves as an advanced tool for technical analysis, enabling traders to identify potential support and resistance areas based on the concept of Fair Value Gaps and their inverted versions.
>>> DESCRIPTION IN ENGLISH
Zaawansowany wskaźnik dla platformy TradingView, który służy do wykrywania i wizualizacji luk wartości godziwej (Fair Value Gaps, FVG) oraz odwróconych luk wartości godziwej (Inversion Fair Value Gaps, iFVG) na wykresie.
Główne cechy
1. Wykrywanie FVG:
- Skrypt identyfikuje zarówno bycze (Bullish), jak i niedźwiedzie (Bearish) luki wartości godziwej.
- Użytkownik może wybrać, które typy FVG mają być wyświetlane (Bullish, Bearish, oba lub żadne).
2. Wizualizacja FVG:
- Luki są przedstawiane jako prostokątne boxy na wykresie.
- Kolor i przezroczystość boxów są konfigurowalne osobno dla FVG byczych i niedźwiedzich.
- Możliwość dodania ramki do boxów FVG z osobnymi ustawieniami kolorów.
- Etykiety FVG są dostępne z konfigurowalnymi kolorami i rozmiarami.
3. Dynamiczne śledzenie wypełnienia FVG:
- Skrypt monitoruje, w jakim stopniu każda luka została wypełniona przez późniejsze ruchy ceny.
- Stopień wypełnienia jest wizualizowany za pomocą szarego koloru nakładanego na oryginalny box FVG.
- Procent wypełnienia jest aktualizowany na etykiecie.
4. Automatyczne usuwanie FVG:
- Możliwość ustawienia progu procentowego (100%, 75%, 50% lub brak usuwania), po którego przekroczeniu FVG jest usuwany z wykresu.
5. Wykrywanie iFVG:
- Skrypt dodatkowo identyfikuje odwrócone luki wartości godziwej (iFVG), które mogą być wyświetlane jako osobne boxy.
- iFVG są dostępne w wersji byczej i niedźwiedziej.
- Użytkownik może wybrać, które typy iFVG mają być wyświetlane (Bullish, Bearish, oba lub żadne).
- iFVG również mogą mieć etykiety i ramki.
6. Ograniczenie sprawdzanych świec:
- Użytkownik może określić maksymalną liczbę świec wstecz, które skrypt będzie analizował w poszukiwaniu FVG i iFVG.
- Alerty: Wskaźnik umożliwia ustawienie alertów dla wykrytych luk iFVG, zarówno bullish, jak i bearish.
Zaawansowane funkcje
- Dokładne obliczanie procentu wypełnienia FVG, uwzględniające zarówno knoty, jak i ciała świec.
- Dynamiczne aktualizowanie boxów FVG i ich etykiet w czasie rzeczywistym.
- Elastyczne zarządzanie pamięcią poprzez usuwanie nieaktualnych lub wypełnionych FVG.
- Możliwość dostosowania wyglądu iFVG, w tym kolorów, etykiet i ramki.
Skrypt ten stanowi zaawansowane narzędzie do analizy technicznej, umożliwiające traderom identyfikację potencjalnych obszarów wsparcia i oporu bazujących na koncepcji luk wartości godziwej i ich odwróconych wersjach.
Liquidity Sweep Filter Strategy [AlgoAlpha X PineIndicators]This strategy is based on the Liquidity Sweep Filter developed by AlgoAlpha. Full credit for the concept and original indicator goes to AlgoAlpha.
The Liquidity Sweep Filter Strategy is a non-repainting trading system designed to identify liquidity sweeps, trend shifts, and high-impact price levels. It incorporates volume-based liquidation analysis, trend confirmation, and dynamic support/resistance detection to optimize trade entries and exits.
This strategy helps traders:
Detect liquidity sweeps where major market participants trigger stop losses and liquidations.
Identify trend shifts using a volatility-based moving average system.
Analyze volume distribution with a built-in volume profile visualization.
Filter noise by differentiating between major and minor liquidity sweeps.
How the Liquidity Sweep Filter Strategy Works
1. Trend Detection Using Volatility-Based Filtering
The strategy applies a volatility-adjusted moving average system to determine trend direction:
A central trend line is calculated using an EMA smoothed over a user-defined length.
Upper and lower deviation bands are created based on the average price deviation over multiple periods.
If price closes above the upper band, the strategy signals an uptrend.
If price closes below the lower band, the strategy signals a downtrend.
This approach ensures that trend shifts are confirmed only when price significantly moves beyond normal market fluctuations.
2. Liquidity Sweep Detection
Liquidity sweeps occur when price temporarily breaks key levels, triggering stop-loss liquidations or margin call events. The strategy tracks swing highs and lows, marking potential liquidity grabs:
Bearish Liquidity Sweeps – Price breaks a recent high, then reverses downward.
Bullish Liquidity Sweeps – Price breaks a recent low, then reverses upward.
Volume Integration – The strategy analyzes trading volume at each sweep to differentiate between major and minor sweeps.
Key levels where liquidity sweeps occur are plotted as color-coded horizontal lines:
Red lines indicate bearish liquidity sweeps.
Green lines indicate bullish liquidity sweeps.
Labels are displayed at each sweep, showing the volume of liquidated positions at that level.
3. Volume Profile Analysis
The strategy includes an optional volume profile visualization, displaying how trading volume is distributed across different price levels.
Features of the volume profile:
Point of Control (POC) – The price level with the highest traded volume is marked as a key area of interest.
Bounding Box – The profile is enclosed within a transparent box, helping traders visualize the price range of high trading activity.
Customizable Resolution & Scale – Traders can adjust the granularity of the profile to match their preferred time frame.
The volume profile helps identify zones of strong support and resistance, making it easier to anticipate price reactions at key levels.
Trade Entry & Exit Conditions
The strategy allows traders to configure trade direction:
Long Only – Only takes long trades.
Short Only – Only takes short trades.
Long & Short – Trades in both directions.
Entry Conditions
Long Entry:
A bullish trend shift is confirmed.
A bullish liquidity sweep occurs (price sweeps below a key level and reverses).
The trade direction setting allows long trades.
Short Entry:
A bearish trend shift is confirmed.
A bearish liquidity sweep occurs (price sweeps above a key level and reverses).
The trade direction setting allows short trades.
Exit Conditions
Closing a Long Position:
A bearish trend shift occurs.
The position is liquidated at a predefined liquidity sweep level.
Closing a Short Position:
A bullish trend shift occurs.
The position is liquidated at a predefined liquidity sweep level.
Customization Options
The strategy offers multiple adjustable settings:
Trade Mode: Choose between Long Only, Short Only, or Long & Short.
Trend Calculation Length & Multiplier: Adjust how trend signals are calculated.
Liquidity Sweep Sensitivity: Customize how aggressively the strategy identifies sweeps.
Volume Profile Display: Enable or disable the volume profile visualization.
Bounding Box & Scaling: Control the size and position of the volume profile.
Color Customization: Adjust colors for bullish and bearish signals.
Considerations & Limitations
Liquidity sweeps do not always result in reversals. Some price sweeps may continue in the same direction.
Works best in volatile markets. In low-volatility environments, liquidity sweeps may be less reliable.
Trend confirmation adds a slight delay. The strategy ensures valid signals, but this may result in slightly later entries.
Large volume imbalances may distort the volume profile. Adjusting the scale settings can help improve visualization.
Conclusion
The Liquidity Sweep Filter Strategy is a volume-integrated trading system that combines liquidity sweeps, trend analysis, and volume profile data to optimize trade execution.
By identifying key price levels where liquidations occur, this strategy provides valuable insight into market behavior, helping traders make better-informed trading decisions.
Key use cases for this strategy:
Liquidity-Based Trading – Capturing moves triggered by stop hunts and liquidations.
Volume Analysis – Using volume profile data to confirm high-activity price zones.
Trend Following – Entering trades based on confirmed trend shifts.
Support & Resistance Trading – Using liquidity sweep levels as dynamic price zones.
This strategy is fully customizable, allowing traders to adapt it to different market conditions, timeframes, and risk preferences.
Full credit for the original concept and indicator goes to AlgoAlpha.
Market Trend Levels Non-Repainting [BigBeluga X PineIndicators]This strategy is based on the Market Trend Levels Detector developed by BigBeluga. Full credit for the concept and original indicator goes to BigBeluga.
The Market Trend Levels Detector Strategy is a non-repainting trend-following strategy that identifies market trend shifts using two Exponential Moving Averages (EMA). It also detects key price levels and allows traders to apply multiple filters to refine trade entries and exits.
This strategy is designed for trend trading and enables traders to:
Identify trend direction based on EMA crossovers.
Detect significant market levels using labeled trend lines.
Use multiple filter conditions to improve trade accuracy.
Avoid false signals through non-repainting calculations.
How the Market Trend Levels Detector Strategy Works
1. Core Trend Detection Using EMA Crossovers
The strategy detects trend shifts using two EMAs:
Fast EMA (default: 12 periods) – Reacts quickly to price movements.
Slow EMA (default: 25 periods) – Provides a smoother trend confirmation.
A bullish crossover (Fast EMA crosses above Slow EMA) signals an uptrend , while a bearish crossover (Fast EMA crosses below Slow EMA) signals a downtrend .
2. Market Level Detection & Visualization
Each time an EMA crossover occurs, a trend level line is drawn:
Bullish crossover → A green line is drawn at the low of the crossover candle.
Bearish crossover → A purple line is drawn at the high of the crossover candle.
Lines can be extended to act as support and resistance zones for future price action.
Additionally, a small label (●) appears at each crossover to mark the event on the chart.
3. Trade Entry & Exit Conditions
The strategy allows users to choose between three trading modes:
Long Only – Only enters long trades.
Short Only – Only enters short trades.
Long & Short – Trades in both directions.
Entry Conditions
Long Entry:
A bullish EMA crossover occurs.
The trade direction setting allows long trades.
Filter conditions (if enabled) confirm a valid long signal.
Short Entry:
A bearish EMA crossover occurs.
The trade direction setting allows short trades.
Filter conditions (if enabled) confirm a valid short signal.
Exit Conditions
Long Exit:
A bearish EMA crossover occurs.
Exit filters (if enabled) indicate an invalid long position.
Short Exit:
A bullish EMA crossover occurs.
Exit filters (if enabled) indicate an invalid short position.
Additional Trade Filters
To improve trade accuracy, the strategy allows traders to apply up to 7 additional filters:
RSI Filter: Only trades when RSI confirms a valid trend.
MACD Filter: Ensures MACD histogram supports the trade direction.
Stochastic Filter: Requires %K line to be above/below threshold values.
Bollinger Bands Filter: Confirms price position relative to the middle BB line.
ADX Filter: Ensures the trend strength is above a set threshold.
CCI Filter: Requires CCI to indicate momentum in the right direction.
Williams %R Filter: Ensures price momentum supports the trade.
Filters can be enabled or disabled individually based on trader preference.
Dynamic Level Extension Feature
The strategy provides an optional feature to extend trend lines until price interacts with them again:
Bullish support lines extend until price revisits them.
Bearish resistance lines extend until price revisits them.
If price breaks a line, the line turns into a dotted style , indicating it has been breached.
This helps traders identify key levels where trend shifts previously occurred, providing useful support and resistance insights.
Customization Options
The strategy includes several adjustable settings :
Trade Direction: Choose between Long Only, Short Only, or Long & Short.
Trend Lengths: Adjust the Fast & Slow EMA lengths.
Market Level Extension: Decide whether to extend support/resistance lines.
Filters for Trade Confirmation: Enable/disable individual filters.
Color Settings: Customize line colors for bullish and bearish trend shifts.
Maximum Displayed Lines: Limit the number of drawn support/resistance lines.
Considerations & Limitations
Trend Lag: As with any EMA-based strategy, signals may be slightly delayed compared to price action.
Sideways Markets: This strategy works best in trending conditions; frequent crossovers in sideways markets can produce false signals.
Filter Usage: Enabling multiple filters may reduce trade frequency, but can also improve trade quality.
Line Overlap: If many crossovers occur in a short period, the chart may become cluttered with multiple trend levels. Adjusting the "Display Last" setting can help.
Conclusion
The Market Trend Levels Detector Strategy is a non-repainting trend-following system that combines EMA crossovers, market level detection, and customizable filters to improve trade accuracy.
By identifying trend shifts and key price levels, this strategy can be used for:
Trend Confirmation – Using EMA crossovers and filters to confirm trend direction.
Support & Resistance Trading – Identifying dynamic levels where price reacts.
Momentum-Based Trading – Combining EMA crossovers with additional momentum filters.
This strategy is fully customizable and can be adapted to different trading styles, timeframes, and market conditions.
Full credit for the original concept and indicator goes to BigBeluga.
4 EMA with Two Timeframes and Supertrend by Natee L.Key Features:
Customizable Timeframes:
The script has two inputs (timeframe_1 and timeframe_2) where you can select the timeframes for the two sets of EMAs. For example, you could choose:
timeframe_1 = "60" for 1-hour (60-minute) EMAs.
timeframe_2 = "240" for 4-hour (240-minute) EMAs.
Four EMAs for Each Timeframe:
It calculates 4 EMAs for both the first timeframe (timeframe_1) and the second timeframe (timeframe_2).
Plotting:
The EMAs for timeframe 1 are plotted in solid colors (blue, red, green, and purple).
The EMAs for timeframe 2 are plotted with a transparent effect (using color.new), so they are visually distinct but less dominant than the first timeframe's EMAs.
How to Use:
The timeframe_1 and timeframe_2 inputs allow you to select any timeframes you prefer (e.g., "15", "30", "60", "D", "W", etc.).
The EMAs for both selected timeframes will be plotted, allowing for easy comparison between the two timeframes on the same chart.
Explanation of the Updates:
Supertrend Calculation:
The Supertrend is calculated using the ta.supertrend function, which requires two parameters:
multiplier: The multiplier used for the Average True Range (ATR) calculation.
atr_period: The period for the ATR (usually set to 14).
The supertrend variable represents the value of the Supertrend, and direction is a boolean value indicating whether the trend is up (green) or down (red).
Supertrend Plot:
The Supertrend is plotted on the chart using the plot() function. The color is determined by the direction variable:
Green if the trend is up.
Red if the trend is down.
The Supertrend line is drawn with a linewidth of 2 for visibility.
Inputs:
atr_period: The period used for the ATR calculation, typically 14.
multiplier: The multiplier for the ATR to determine the offset for the Supertrend line.
How It Works:
The 4 EMAs are calculated for both timeframes (timeframe_1 and timeframe_2), just like before.
The Supertrend is calculated based on the ATR and the multiplier parameters, and it's plotted on the main chart.
The Supertrend changes color based on the trend direction (green for an uptrend, red for a downtrend).
Customization:
You can adjust the ATR period and multiplier as needed via the input fields.
You can also adjust the timeframes (timeframe_1 and timeframe_2) for the EMAs.
This script now combines the 4 EMAs and Supertrend indicators for two different timeframes, giving you a powerful tool for trend analysis and crossover strategies.
Supertrend with RSI FilterThis indicator is an enhanced version of the classic Supertrend, incorporating an RSI (Relative Strength Index) filter to refine trend signals. Here is a detailed explanation of its functionality and key advantages over the traditional Supertrend.
1. Indicator Functionality
The indicator uses ATR (Average True Range) to calculate the Supertrend line, just like the classic version. However, it introduces an additional condition based on RSI to strengthen or weaken the Supertrend color based on market momentum.
2. Interpretation of Colors
The indicator displays the Supertrend line with dynamic colors based on trend direction and RSI strength:
- Uptrend (Supertrend in buy mode):
- Dark green (Teal): RSI above the defined threshold (default 50) → Strong bullish confirmation.
- Light gray: RSI below the threshold → Indicates a weaker uptrend or lack of confirmation.
- Downtrend (Supertrend in sell mode):
- Dark red: RSI below the threshold → Strong bearish confirmation.
- Light gray: RSI above the threshold → Indicates a weaker downtrend or lack of confirmation.
The opacity of the color dynamically adjusts based on how far RSI is from its threshold. The greater the difference, the more vivid the color, signaling a stronger trend.
3. Key Advantages Over the Classic Supertrend
- Filters out false signals: The RSI integration helps reduce false signals by only validating trends when RSI aligns with the Supertrend direction.
- Weakens uncertain signals: When RSI is close to its threshold, the color becomes more transparent, alerting traders to a less reliable trend.
- Classic mode available: The 'Use Classic Supertrend' option allows switching to a standard Supertrend display (fixed red/green) without the RSI effect.
4. Customizable Parameters
- ATR Length & ATR Factor: Define the sensitivity of the Supertrend.
- RSI Period & RSI Threshold: Allow refining the RSI filter based on market volatility.
- Classic mode: Enables/disables the RSI filtering to revert to the original Supertrend.
This indicator is especially valuable for traders looking to refine their trend signals based on market momentum measured by RSI.
This indicator is for informational purposes only and should not be considered financial advice. Trading involves risks, and past performance does not guarantee future results. Always conduct your own analysis before making any trading decisions.
Trend Structure Shift By BCB ElevateTrend Structure Shift by BCB Elevate
This indicator helps traders identify trend structure shifts by detecting Higher Highs (HH) and Lower Lows (LL) to determine bullish, bearish, or neutral market conditions. It provides real-time trend classification to help traders align with market direction.
How It Works:
📌 Bullish Trend: A new Higher High (HH) is detected, signaling potential uptrend continuation.
📌 Bearish Trend: A new Lower Low (LL) is detected, indicating potential downtrend continuation.
📌 Neutral: No significant trend shift is detected.
Key Features:
✅ Dynamic Trend Detection – Identifies key trend structure shifts using swing highs and lows.
✅ Customizable Settings – Adjust the swing length to fine-tune trend detection.
✅ Trend Table Display – Shows current trend as Bullish, Bearish, or Neutral in a convenient on-chart table.
✅ Table Position Selection – Choose where the trend table appears on the chart (Top/Bottom Left or Right).
✅ Works on All Markets & Timeframes – Use it for Crypto, Forex, Stocks, Commodities, and Indices.
How to Use:
1️⃣ Apply the indicator to your chart.
2️⃣ Observe the Trend Table to determine the market condition.
3️⃣ Use it with support/resistance, moving averages, or other indicators for better trade decisions.
Market Condition Detector By BCB ElevateMarket Condition Detector - Bullish, Bearish & Sideways Market Indicator
This indicator helps traders identify bullish, bearish, and sideways market conditions using the Average Directional Index (ADX). It calculates trend strength and direction to categorize the market into three phases:
✅ Bullish Market: ADX is above the threshold, and the positive directional index (+DI) is greater than the negative directional index (-DI).
❌ Bearish Market: ADX is above the threshold, and +DI is lower than -DI.
🔄 Sideways Market: ADX is below the threshold, indicating weak trend strength and potential consolidation.
Features:
🔹 Dynamic Market Classification - Automatically detects and updates market conditions.
🔹 Table Display - Clearly shows whether the market is bullish, bearish, or sideways in a user-friendly format.
🔹 Customizable Settings - Adjust ADX period and threshold to suit different trading strategies.
🔹 Works on All Markets - Use for Crypto, Forex, Stocks, Commodities, and Indices.
This tool is ideal for trend traders, swing traders, and breakout traders looking to optimize entries and exits.
📌 How to Use:
1️⃣ Apply it to any chart and timeframe.
2️⃣ Use the table to confirm market conditions before taking trades.
3️⃣ Combine with other indicators like moving averages, RSI, or volume analysis for better trade decisions.
RVI SD Band Oscillator | BinMastaThe RVI SD Band Oscillator is a momentum-based indicator that enhances trend analysis using the Relative Vigor Index (RVI) with Standard Deviation (SD) Bands. It refines signals by incorporating a signal line and dynamically adjusting bands based on market volatility.
Core Components:
RVI Calculation: Measures price momentum relative to past movements.
Signal Line: A smoothed version of RVI to identify crossovers.
SD Bands: Standard deviation-based boundaries to gauge overbought/oversold conditions.
Trading Logic:
Trend Direction: Determined by RVI crossover with the signal line.
Momentum Confirmation: Identifies shifts in buying and selling strength.
Trade Signals:
Bullish when the trend is up & the signal is near the lower band.
Bearish when the trend is down & the signal is near the upper band.
Visual Features:
Colored candles highlight potential trend shifts.
Signal line plot provides additional confirmation.
Disclaimer:
This indicator is for educational purposes only and should not be considered financial advice. Past performance is not indicative of future results. Always conduct your own analysis and risk management before making trading decisions. 🚀
JP225 Influence AnalyzerThis tool provides a way to assess how USDJPY and DJIA influence JP225, using standardization and linear regression for quantitative evaluation. It also detects deviations from the linear model and displays the results in a colored table.
Table Structure
Row 1: Current value of USDJPY and its change from the previous bar
Row 2: Current value of DJIA and its change from the previous bar
Row 3: Theoretical value of Nikkei 225 calculated using the least squares method from USDJPY
and DJIA, and its change from the previous bar
Row 4: Current value of the chart symbol (Nikkei 225) and its change from the previous bar
Background Color Meanings
A. Current Value Column (Column 2)
If USDJPY or DJIA significantly contributes to the change in the theoretical value of Nikkei 225, the cell turns blue (increase) or red (decrease). The threshold is 1.5.
If the current value of Nikkei 225 increases, it turns blue; if it decreases, it turns red.
B. Change Value Column (Column 3)
If there is a discrepancy between the change in the theoretical value and the actual change of Nikkei 225, the cell turns yellow (moderate discrepancy: threshold 20) or red (significant discrepancy: threshold 50).
Judgment Based on Current Value Column (Column 2)
If the color of USDJPY or DJIA matches the color of Nikkei 225, that symbol is the main cause.
If there is no match, the main cause is "other factors."
Judgment Based on Change Column (Column 3)
Yellow: Suggests that other factors may be influencing the price.
Red: Strongly indicates that other factors are the main cause.
Parameter Descriptions Parameter Descriptions
symbol_x: Symbol for USDJPY (default: "SAXO:USDJPY")
symbol_y: Symbol for DJIA (default: "OSE:DJIA1!")
threshold_value1: Threshold for determining the influence of USDJPY and DJIA (blue/red color) (default: 1.5)
threshold_value2: Threshold for detecting specific price movements in Nikkei 225 (yellow color) (default: 20)
threshold_value3: Threshold for detecting significant price movements in Nikkei 225 (red color) (default: 50)
data_count: Number of past data points used for calculations (default: 10)
インジケーターの概要
このインジケーターは、日経225先物やCFDの値動きの主な原因が
以下のどれに起因するのかをリアルタイムで表示します
1. ドル円 (USDJPY)
2. ダウ (DJIA)
3. その他の要因(突発的なニュース、225の節目価格への攻防など)
テーブルの構成
1行目 ドル円の現在値と前足からの増減
2行目 ダウの現在値と前足からの増減
3行目 ドル円とダウから最小二乗法で算出した225の理論値とその増減
4行目 チャート銘柄(225)の現在値と前足からの増減
背景色の意味
1. 現在値列 (2列目):ドル円またはダウが225の理論値増減に大きく寄与した場合、
それぞれ青(増加)または赤(減少)に変化。閾値は1.5
225の現在値が増加すれば青、減少すれば赤。
2. 増減値列 (3列目):225の理論値増減と実際の増減が乖離した場合、
黄(中程度:閾値は20)または赤(大幅:閾値は50)に変化。
現在値列(2列目)での判断:
1. 銘柄(ドル円またはダウ)の色が225の色と一致する場合、その銘柄が主な原因。
2. 一致しない場合、主な原因は「その他」。
増減列(3列目)での判断:
黄色 その他の要因が影響している可能性。
赤色 その他の要因が主な原因と強く示唆。
パラメータの説明
symbol_x ドル円のシンボル(デフォルト: "SAXO:USDJPY")
symbol_y ダウのシンボル(デフォルト: "OSE:DJIA1!")
threshold_value1 ドル円とダウの影響を判定する(青/赤色)閾値(デフォルト: 1.5)
threshold_value2 225固有の値動きを判定する(黄色)閾値(デフォルト: 20)
threshold_value3 225固有の大きな値動きを判定する(赤色)閾値(デフォルト: 50)
data_count 計算に使用する過去データの本数(デフォルト: 10)
VWAP anchored with Previous VWAPVWAP with Persistent Previous VWAP Levels
🔹 Overview
This indicator calculates and displays Daily, Weekly, and Monthly VWAP (Volume Weighted Average Price) along with their previous period VWAP levels, helping traders analyze key price points used by institutional players. Unlike traditional VWAP indicators that reset at the start of each period, this script extends the previous VWAP levels across the current period, providing strong reference points for support and resistance.
🔹 Key Features
✅ Multiple Timeframe VWAPs – Displays Daily, Weekly, and Monthly VWAPs for better trend analysis.
✅ Persistent Previous VWAPs – Keeps and extends previous period VWAP levels as horizontal lines.
✅ Customizable Appearance – Modify colors, line widths, and visibility of each VWAP level.
✅ VWAP Labels – Optional labels for quick reference to VWAP and previous VWAP values.
✅ Efficient Calculation – Optimized for smooth performance on all chart timeframes.
🔹 How It Works
VWAP Calculation
Uses hlc3 (high + low + close) / 3 as the default VWAP price source.
Accumulates price-volume data within each time period (day, week, or month).
Previous VWAP Line Extension
When a new period begins, the final VWAP value of the previous period is stored.
A horizontal line is drawn at this level and extends across the current period.
Customizable Display
Enable/disable Daily, Weekly, and Monthly VWAPs independently.
Choose colors for VWAP and Previous VWAP lines.
Toggle labels for better visibility.
🔹 Why Use This Indicator?
📌 Identify Institutional Trading Zones – VWAP is widely used by hedge funds, banks, and algorithmic traders.
📌 Detect Key Support & Resistance Levels – Previous VWAP levels act as dynamic support and resistance.
📌 Improve Trade Entries & Exits – Use VWAP bounces and breaks for confirmation.
📌 Works on All Timeframes – Useful for scalpers, swing traders, and long-term investors.
🔹 Best Use Cases
📍 Trend Confirmation – Price above VWAP suggests an uptrend; below VWAP indicates a downtrend.
📍 Support & Resistance Trading – Use previous VWAP levels as key reaction zones.
📍 Breakout & Mean Reversion Strategies – Combine with price action for high-probability trades.
📢 Try it out and elevate your trading strategy with institutional-grade VWAP levels! 🚀
Trend Zone Moving Averages📈 Trend Zone Moving Averages
The Trend Zone Moving Averages indicator helps traders quickly identify market trends using the 50SMA, 100SMA, and 200SMA. With dynamic background colors, customizable settings, and real-time alerts, this tool provides a clear view of bullish, bearish, and extreme trend conditions.
🔹 Features:
Trend Zones with Dynamic Background Colors
Green → Bullish Trend (50SMA > 100SMA > 200SMA, price above 50SMA)
Red → Bearish Trend (50SMA < 100SMA < 200SMA, price below 50SMA)
Yellow → Neutral Trend (Mixed signals)
Dark Green → Extreme Bullish (Price above all three SMAs)
Dark Red → Extreme Bearish (Price below all three SMAs)
Customizable Moving Averages
Toggle 50SMA, 100SMA, and 200SMA on/off from the settings.
Perfect for traders who prefer a cleaner chart.
Real-Time Trend Alerts
Get instant notifications when the trend changes:
🟢 Bullish Zone Alert – When price enters a bullish trend.
🔴 Bearish Zone Alert – When price enters a bearish trend.
🟡 Neutral Zone Alert – When trend shifts to neutral.
🌟 Extreme Bullish Alert – When price moves above all SMAs.
⚠️ Extreme Bearish Alert – When price drops below all SMAs.
✅ Perfect for Any Market
Works on stocks, forex, crypto, and commodities.
Adaptable for day traders, swing traders, and investors.
⚙️ How to Use: Trend Zone Moving Averages Strategy
This strategy helps traders identify and trade with the trend using the Trend Zone Moving Averages indicator. It works across stocks, forex, crypto, and commodities.
🟢 Bullish Trend Strategy (Green Background)
Objective: Look for buying opportunities when the market is in an uptrend.
Entry Conditions:
✅ Background is Green (Bullish Zone).
✅ Price is above the 50SMA (confirming strength).
✅ Price pulls back to the 50SMA and bounces OR breaks above a key resistance level.
Stop Loss:
🔹 Place below the most recent swing low or just under the 50SMA.
Take Profit:
🔹 First target at the next resistance level or recent swing high.
🔹 Second target if price continues higher—trail stops to lock in profits.
🔴 Bearish Trend Strategy (Red Background)
Objective: Look for shorting opportunities when the market is in a downtrend.
Entry Conditions:
✅ Background is Red (Bearish Zone).
✅ Price is below the 50SMA (confirming weakness).
✅ Price pulls back to the 50SMA and rejects OR breaks below a key support level.
Stop Loss:
🔹 Place above the most recent swing high or just above the 50SMA.
Take Profit:
🔹 First target at the next support level or recent swing low.
🔹 Second target if price keeps falling—trail stops to secure profits.
🌟 Extreme Trend Strategy (Dark Green / Dark Red Background)
Objective: Trade with momentum when the market is in a strong trend.
Entry Conditions:
✅ Dark Green Background → Extreme Bullish: Price is above all three SMAs (strong uptrend).
✅ Dark Red Background → Extreme Bearish: Price is below all three SMAs (strong downtrend).
Trade Execution:
🔹 For longs (Dark Green): Look for breakout entries above resistance or pullbacks to the 50SMA.
🔹 For shorts (Dark Red): Look for breakdown entries below support or rejections at the 50SMA.
Risk Management:
🔹 Use tighter stop losses and trail profits aggressively to maximize gains.
🟡 Neutral Trend Strategy (Yellow Background)
Objective: Avoid trading or wait for a breakout.
What to Do:
🔹 Avoid trading in this zone—price is indecisive.
🔹 Wait for confirmation (background turns green/red) before taking a trade.
🔹 Use alerts to notify you when the trend resumes.
📌 Final Tips
Use this strategy with price action for extra confirmation.
Combine with support/resistance levels to improve accuracy.
Set alerts for trend changes so you never miss an opportunity.
Enjoy!
Rally Base Drop SND Pivots [LuxAlgo]The Rally Base Drop SND Pivots indicator uses "Rally", "Base", and "Drop" Candles to determine pivot points at which supply and demand (SND) levels are drawn.
🔶 USAGE
Rally, Base, and Drop (RBD) candles create a formula for seeing market structure through a fixed methodology. We are able to use this concept to point out pivot areas where Rallies and Drops directly meet.
The RBD SND Pivots are similar to traditionally identified "fractal" pivot points, with one key difference.
RBD SND Pivots detect a specific number of Rally and Drop candles directly back-to-back, requiring one side of the pivot to contain entirely green candles and the other to be entirely red candles or vice versa.
Since these pivot levels are based on Rally, Base, and Drop candles, the method directly implements rigid logic to further structure a trading system when utilizing these pivot levels with traditional SND concepts.
Furthermore, by implementing this logic when looking for pivots, a significant portion of potential noise is naturally filtered out.
🔶 DETAILS
In typical SND systems, the term "Base" is used for multiple meanings.
In this indicator, the base is a product of a pivot being formed. Once a Pivot is identified, the "Base" is marked as the first Rally or Drop of the second half of the pivot formation.
Once the pivot is identified, the high or low of the base candle is used to measure the pivot level.
🔶 SETTINGS
Length: Sets the number of Rally and Drop Candles that the script will require to identify pivots.
Ex. "3" = 3 Rally followed by 3 Drop
Historical Lookback: Hides historic levels based on a bar # Lookback from the current bar.
When set to 0, all Levels will display. (0 by default)
Orion Daily Bias v1What It Does
The Daily Bias Indicator identifies the daily market bias (bullish or bearish) using principles inspired by institutional trading activity. It analyses daily price action to detect imbalances caused by large market participants, providing a clear directional bias for the upcoming trading day.
Key Features
Daily Bias Signals:
Displays "Daily Bias: Bullish" (green) or "Daily Bias: Bearish" (red) in the top-right corner of your chart.
Colors daily candles to reflect the current bias (toggle on/off).
Non-Repainting:
Signals finalize only at market close and never change retroactively.
Intraday Flexibility:
Use the daily bias to align intraday strategies (e.g., 15-minute entries) with the broader trend.
Custom Alerts:
Receive alerts only when the bias changes (e.g., bullish to bearish). Alerts trigger at market close, preparing you for the next trading day.
How It Works
Market Close Analysis:
At the end of each trading day, the indicator evaluates price action and institutional-level inefficiencies to determine the next day’s bias.
Visual Guidance:
Daily candles are coloured green (bullish) or red (bearish) to reflect the confirmed bias.
A label in the top-right corner updates automatically across all timeframes.
Actionable Alerts:
Set alerts to notify you only when the bias shifts, helping you stay focused on high-probability setups.
Why Traders Use It
Simplify Decision-Making: Start each day with a clear bias, avoiding trades against institutional momentum.
Adaptable to Strategies: Works with scalping, swing trading, or position building.
Rule-Based Signals: Objective criteria finalize at market close.
Settings & Parameters
Candle Colouring: Enable/disable daily candle highlights.
Daily bias label: Turn the daily bias label on and off
Alerts: Setting an alert with this indicator will only alert you if a bias changes from bullish to bearish or vice versa.
How to Use It
Add the indicator to your chart (works on any timeframe).
Check the top-right label for the daily bias.
Set alerts to track bias changes effortlessly.
Combine with your preferred intraday strategy for entries/exits.
Important Notes
No Repainting: Signals lock in at daily close and never change.
Confirmation Tool: Pair with additional analysis (e.g., support/resistance, volume).
Time Agnostic: The daily bias applies to all intraday timeframes (1H, 15M, etc.).
Disclaimer
This tool is for educational purposes only. It is not financial advice, and past performance does not guarantee future results. Always test strategies in a risk-controlled environment.