Indicator

Indicator

Confluence Trend and Fibo Reversal SystemAn In-Depth Overview of the "Confluence Trend and Fibo Reversal System"
Introduction: The Purpose and Core Architecture
The "Confluence Trend and Fibo Reversal System" is a sophisticated, highly adaptable Pine Script trading indicator designed to dynamically navigate fluctuating market conditions. The primary objective of this script is to solve a fundamental problem in technical analysis: the tendency of trend-following indicators to produce false signals during sideways markets, and the failure of mean-reversion oscillators during strong trends. To achieve this, the indicator operates as a dual-regime trading algorithm. It constantly analyzes price action to determine whether the current market environment is trending or ranging (sideways). Based on this real-time assessment, the script autonomously switches its internal logic, deploying either a momentum-based confluence engine for trends or a reversal-based engine strictly filtered by Fibonacci retracement levels for sideways markets.
Operating Mechanisms: How the Indicator Generates Signals
The technical architecture of this indicator is divided into four distinct analytical engines that work together to validate trading signals.
1. The Market Regime Filter (Range Detection)
Before any signal is generated, the system calculates a "Range Score" to determine the market state. It evaluates six specific technical conditions:
ADX (Average Directional Index): Checks if the ADX value is below 25, indicating weak trend strength.
Bollinger Bands Position: Verifies if the closing price is contained securely within the upper and lower bands.
Bollinger Bandwidth (BBW): Measures volatility by checking if the current bandwidth is narrower than its 20-period moving average.
RSI (Relative Strength Index): Checks if the RSI is hovering in a neutral zone between 40 and 60.
Stochastic Oscillator: Confirms that the Stochastic K-line is resting in a non-extreme zone between 20 and 80.
EMA Convergence:Measures the gap between the 20-period and 50-period Exponential Moving Averages, checking if they are tightly converged within half of the Average True Range (ATR).
If the total score meets a user-defined threshold (defaulting to 4 out of 6), the system classifies the market as "Ranging" and activates the Reversal engine; otherwise, it defaults to the Trend engine.
2. The Trend Engine (Confluence Scoring)
When the market is clearly trending, the script relies on a strict multi-indicator confluence system to prevent premature entries. It generates a bullish or bearish score out of five possible points:
Price positioning relative to the 50-period EMA.
Directional dominance using the ADX (+DI vs -DI).
Momentum confirmation via MACD baseline crossovers.
Trend alignment with the Supertrend indicator.
Price placement above or below the Ichimoku Kumo Cloud.
A final buy or sell signal in trend mode is only triggered if the accumulated score meets the "Minimum Confluence Score" threshold (defaulting to 4 out of 5).
3. The Reversal & Fibonacci Engine
If the market is ranging, the script hunts for mean-reversion opportunities by scanning for specific price action anomalies and oscillator extremes. It looks for Bullish/Bearish Engulfing candles, Pinbars (Hammers and Shooting Stars), RSI overbought/oversold crossovers, Stochastic extreme crossovers, and Bollinger Band boundary breakouts.
Crucially, these reversal patterns are deemed invalid unless they occur in close proximity to an automatically generated Fibonacci level. The script identifies the highest high and lowest low over a 100-bar lookback period to draw dynamic Fibonacci retracement lines (0.000 to 1.000). A reversal signal is only approved if the price action happens within a tight percentage tolerance zone around these key Fibonacci levels.
4. The Retest Engine
To drastically reduce false breakouts, the script features a built-in "Retest Mode". Instead of firing a buy or sell signal immediately when conditions are met, the script calculates a target "retest price" offset by an ATR multiplier. It will then hold the pending signal in memory for a maximum number of candles (defaulting to 4). The final execution signal is only printed on the chart if the price pulls back to successfully retest this calculated ATR level, proving the validity of the breakout.
Implementation and Usage Guidelines
Recommended Settings
Trade Direction: It is highly recommended to leave the trade direction set to "Both" to allow the dynamic regime filter to operate at its full potential. However, if trading against a higher timeframe macroeconomic trend, users can restrict the system to "Buy Only" or "Sell Only".
Retest Mode: Keep "Enable Retest Mode" activated. While it may cause you to miss trades that instantly aggressively rally, it will save you from substantial losses caused by "fake-out" signals.
Confluence Threshold: For aggressive traders, lowering the Trend Minimum Confluence Score to 3 will yield more signals. For conservative traders, leaving it at 4 or 5 ensures that only the highest probability momentum shifts are traded.
Visual Enhancements: Keep the "Highlight Range Market Background" enabled. This feature turns the chart background orange during sideways markets, providing excellent visual context as to why the indicator is currently ignoring standard trend breakouts.
Suitable Markets and Timeframes**
Because the "Confluence Trend and Fibo Reversal System" actively adapts to volatility and structural shifts rather than relying on static logic, it is exceptionally versatile. It is well-suited for high-liquidity markets such as major Forex pairs (EUR/USD, GBP/USD), large-cap Cryptocurrencies (Bitcoin, Ethereum), and major Equity indices. Due to its reliance on 100-period lookbacks for Fibonacci mapping and 50-period EMAs for trend detection, the indicator performs optimally on medium to higher timeframes—specifically the 1-Hour (H1), 4-Hour (H4), and Daily (D1) charts—where market noise is minimal, and true institutional support and resistance zones are respected. Indicator

S/R ZonesS/R Zones — Volume-Based Support & Resistance
OVERVIEW
S/R Zones automatically detects relevant support and resistance zones based on abnormal volume activity. It is a support/resistance indicator based on volume: instead of relying on manually drawn horizontal lines, it identifies the price zones created by unusually high-volume bars and tracks how price interacts with them over time.
HOW IT WORKS
1. Volume signal — The script looks for a bar whose volume is both the highest of the last N bars and at least X times the average volume of those bars (both configurable). This filters out ordinary volume fluctuations and keeps only genuinely abnormal activity.
2. Confirmation — After a high-volume bar, the indicator waits for the first bar that closes in the opposite direction (there can be several same-direction bars in between).
3. Zone boundaries — The zone is built from two price levels: P, the furthest high/low reached between the bar right after the signal and the confirmation bar (the signal bar itself is excluded); and R, the nearest prior confirmed pivot high/low that goes beyond P.
4. Pivot-based R — R is only taken from genuine swing points: a bar whose high/low is the most extreme of a configurable number of bars on each side (left/right). This avoids anchoring the zone to a random nearby wick that isn't part of the actual price structure.
5. ATR-based filtering — Zones narrower than a configurable multiple of the ATR are discarded. Because ATR reflects the typical volatility of the current symbol and timeframe, this threshold automatically adapts across assets and timeframes without manual tuning.
6. Continuous tracking — Once formed, a zone is not discarded after being touched once. It stays on the chart and keeps being tracked indefinitely, since a broken support can later act as resistance (and vice versa) — a common real-world behavior this script is designed to visualize.
7. Visual break marker — When price closes beyond a zone's outer edge by a configurable ATR-based margin, the zone's color switches to a dashed gray to flag a possible break. The zone keeps extending afterward, since it may still be retested from the other side.
WHAT IT'S MADE OF
- Volume + candle-color logic to detect signal and confirmation bars
- A backward-only search (no lookahead) to compute each zone's two boundaries
- Confirmed-pivot detection so a zone's outer boundary reflects genuine price structure, not a random wick
- ATR-based, auto-adjusting filters for minimum zone width and break margin
- A rolling set of tracked zones (oldest removed first once the maximum is reached)
- Optional alerts for new zone formation and possible zone breaks
- An optional diagnostic mode with visual markers for tuning settings on a new symbol/timeframe
HOW TO USE IT
Add it to any chart with real volume data (stocks, futures, crypto on major exchanges). Blue boxes mark resistance zones, orange boxes mark support zones; a dashed gray box signals a possible break. Use the settings to adjust sensitivity (volume lookback/ratio, pivot left/right bars, ATR-based width and margin, max zones shown) to match the instrument and timeframe you're trading. If no zones appear, enable "Show diagnostics" to see exactly which filter is holding signals back.
NOTES
- Requires real volume data. Symbols/feeds without real volume (some forex/CFD feeds on certain timeframes) may not produce reliable signals.
- The "possible break" color change is a visual aid based on a fixed rule, not a guaranteed prediction — always confirm with your own price action analysis. Indicator

5 Trend Indicators Combo IndicatorThe 5 Trend Indicators Combo with Retest Logic: A Comprehensive Guide
The "5 Trend Indicators Combo Indicator" is an advanced, multi-faceted technical analysis tool built using Pine Script for TradingView. Its primary purpose is to identify high-probability trend reversals and continuations by aggressively filtering out market noise and minimizing false breakout signals. Instead of relying on a single, isolated metric—which can often be misleading—this script utilizes a robust "confluence" methodology. It systematically evaluates five distinct, highly respected trend-following indicators, aggregating their individual statuses into a unified scoring system. Furthermore, it elevates standard signal generation by incorporating an intelligent pullback (retest) mechanism, explicitly designed to optimize entry prices so that traders do not buy at the absolute top or sell at the bottom of a sudden, volatile price spike. Additionally, it features a built-in graphical dashboard that allows traders to instantly monitor the bullish or bearish status of all five indicators in real-time.
Working Mechanism: How does it detect trading signals?
The core engine of this script evaluates five technical pillars, each contributing a maximum of one point to a total "Bull Score" or "Bear Score":
1. Exponential Moving Average (EMA): Defaulted to a 50-period length, the EMA establishes the chart's baseline directional bias. A bullish point is awarded if the current closing price is strictly above the EMA, and a bearish point is given if it is below.
2. Average Directional Index (ADX) & DMI: This component measures the absolute strength and direction of a trend. To score a point, the ADX value must exceed a specific threshold (defaulted to 20), acting as a strict filter to ensure the market is actually trending rather than chopping in a sideways range. Once this threshold is met, the Directional Indicators dictate the bias: +DI must be greater than -DI for a bullish point, and vice versa for a bearish point.
3. Moving Average Convergence Divergence (MACD): Operating with standard 12, 26, and 9 periods, the MACD assesses momentum shifts. The script requires strict criteria here: for a bullish score, the MACD line must be above the Signal line *and* above the zero baseline. Bearish points require the MACD line to be completely below both.
4. Supertrend:Utilizing a multiplier of 3.0 and an ATR period of 10, the Supertrend acts as a volatility-adjusted trailing stop. It awards a point depending on whether the current trend is mathematically calculated as bullish (direction < 0) or bearish (direction > 0).
5. Ichimoku Cloud (Kumo): The script analyzes the relationship between the closing price and the Kumo (Cloud), which is defined by Senkou Span A and Span B projected 26 periods into the future. A bullish point is granted only if the price has successfully broken out above the top boundary of the cloud, signifying dominant long-term momentum. A bearish point requires a breakdown below the bottom boundary.
Once the overall score is tallied (ranging from 0 to 5), the script compares it against a user-defined "Minimum Confluence Score". When the score crosses this threshold, an initial trend signal is generated. However, the script's standout technical feature is its "Retest / Pullback" logic. Instead of firing the final execution alert immediately upon the breakout, the script enters a "pending" state. It calculates a dynamic retracement target using an Average True Range (ATR) multiplier. For a buy signal, the price must briefly retrace down to `Close - (ATR * Multiplier)`. The script waits for a maximum number of candles (default is 3) for this pullback to occur. If the price successfully touches this retest level, a highly optimized, safe entry is signaled. If the time expires without a retest, the script automatically fires a delayed entry to ensure the trader does not miss a runaway trend.
How to Use: Optimal Settings and Suitable Markets
To deploy this indicator effectively, traders should focus on optimizing the 'Minimum Confluence Score'. A score of 3 is the recommended baseline, offering a healthy balance between trade frequency and signal accuracy. Increasing this to 4 or 5 will result in much stricter, albeit fewer, high-conviction signals. The Retest ATR Multiplier and Max Wait Bars must be adjusted according to the timeframe; faster timeframes might require smaller ATR multipliers to successfully catch brief micro-pullbacks before the timer expires.
Regarding suitable markets, this indicator is exclusively designed for trending environments. It performs exceptionally well in high-liquidity, directional markets such as major Forex pairs (e.g., EUR/USD, GBP/JPY), large-cap cryptocurrencies (Bitcoin, Ethereum), and major stock indices (S&P 500, NASDAQ). Because it relies heavily on trend-following logic and moving averages, it is most appropriate for medium to higher timeframes, particularly the 1-hour, 4-hour, and Daily charts. Using it on extremely low timeframes (like 1-minute or 3-minute charts) may expose it to excessive intraday noise and erratic wicks, though the ADX filter and Retest mechanism will actively attempt to mitigate those risks. Ultimately, this script transforms a standard chart into a highly systematic, rule-based trading system. Indicator

Advanced Bar Counter with HTF HighlightsAdvanced Bar Counter with HTF Highlights is a session-aware bar-counting indicator purpose-built for futures traders, particularly ES and NQ scalpers working on the 1-minute and 5-minute charts. It helps traders monitor higher-timeframe candle closures, developing market structure, and their position within the current session without repeatedly switching away from the lower timeframe.
The indicator places numbered labels beneath selected bars, with counting anchored to a user-defined regular trading hours (RTH) open. Electronic trading hours (ETH) can also be counted as a separate session when enabled.
Default behavior
In Auto counting mode:
• On a 5-minute chart, the first bar and every third bar are labeled. Each third bar represents the closing bar of a 15-minute interval.
• On a 1-minute chart, the first bar and every fifth bar are labeled. Each fifth bar represents the closing bar of a 5-minute interval.
This alignment makes it easier to identify when an important higher-timeframe interval is completing while continuing to analyze price action on the lower timeframe.
By default, the indicator displays only on the 1-minute and 5-minute timeframes. An optional setting allows it to appear on other timeframes.
Higher-timeframe highlights
A defining feature of this indicator is its ability to display session-aligned 15-minute, 30-minute, and 1-hour closing bars in separate, customizable colors.
These highlights are calculated from the number of minutes elapsed since the configured session open. This keeps the corresponding closing bars synchronized when switching between the 1-minute and 5-minute charts. When multiple intervals end on the same bar, the enabled higher-timeframe highlight takes priority.
For example:
• On a 1-minute chart, a trader can recognize when the current bar will also complete a 5-minute, 15-minute, 30-minute, or 1-hour interval.
• On a 5-minute chart, a trader can recognize when the current bar will also complete a 15-minute, 30-minute, or 1-hour interval.
The 15-minute highlight is automatically suppressed when every displayed label already represents a 15-minute boundary, as occurs with the default counting mode on a 5-minute chart. This prevents every label from receiving the same highlight and preserves the usefulness of the color hierarchy.
How it can be used
The bar counts and higher-timeframe highlights provide timing and structural context; they do not generate trade signals.
A lower-timeframe trader can use this information to observe how a higher-timeframe candle is completing. For example, a 1-minute trader may notice that the final bar of a 5-minute interval is closing near its high, while a 5-minute trader may observe the same behavior as a 15-minute interval completes. The same principle can be applied to the highlighted 30-minute and 1-hour boundaries.
This workflow is inspired by price-action concepts popularized by Al Brooks, including attention to candle closes, momentum, and alignment across timeframes. The information is intended to support discretionary entry refinement by helping traders evaluate whether lower-timeframe price action agrees with the developing higher-timeframe structure and momentum regime.
Settings
Users can customize:
• Automatic, odd-bar, every-third-bar, or every-fifth-bar counting
• RTH and ETH opening times
• Chart timezone
• Whether ETH bars are counted
• Visibility on timeframes other than 1 minute and 5 minutes
• 15-minute, 30-minute, and 1-hour highlights
• Highlight and default label colors
• Label size
• ATR-based or tick-based label spacing
The chart timezone setting should match the timezone selected on the TradingView chart. The configured RTH and ETH opening times must also correspond to the intended futures session. Incorrect session or timezone settings will cause the counts and interval highlights to be misaligned.
Important notes
This indicator is a visual timing and session-orientation tool. It does not predict price direction, assess trade quality, place orders, or provide buy and sell signals. Higher-timeframe highlighting identifies interval boundaries only; traders must interpret the associated price action in the context of their own methodology and risk-management rules. Indicator

Indicator

Indicator

Indicator

Indicator

MHIDa Volume-Dry PullbackA trend-context tool. It highlights a pullback (dip) inside an uptrend where trading volume has dried up, i.e. current volume has dropped below its own moving average. The idea, to be read together with the chart: a dip on low volume often carries less conviction behind the down-move than a dip on heavy volume.
How it is calculated:
- Trend gate: price above an EMA (default length 50) marks the uptrend context.
- Dip read: price below a shorter EMA mean (default length 20) together with RSI (default length 14) below a threshold (default 45) marks a pullback.
- Volume dry: current volume below a fraction (default 0.7) of its own moving average (default length 20) marks the volume drying up.
- Optional confirmation: current close above the previous close (price turning back up).
When all conditions line up, the bar is marked with a small triangle below the candle, the dip bars are tinted, and the uptrend background is highlighted. Every threshold is a free, adjustable input: the defaults are a starting point to explore, not a tuned trading setup. It works on any market and timeframe.
How to use: add it to the chart and adjust the EMA lengths, the volume-dry threshold, and the RSI dip level to fit the symbol and timeframe you are studying.
Disclaimer: this is a context tool meant to support your own reading of the chart. It is not a signal, not financial advice, and not a standalone winning strategy. Always do your own analysis and make your own decisions. Indicator

McGinley Dynamic Fusion [MarkitTick]💡 The McGinley Dynamic is a lesser-known adaptive moving average developed in the 1990s by market technician John R. McGinley, specifically engineered to solve a problem that plagues conventional moving averages: their tendency to lag badly during fast market moves while whipsawing excessively during slow, choppy conditions. Unlike a standard EMA or SMA, the McGinley Dynamic adjusts its own speed automatically based on the relationship between price and its prior value, effectively "hugging" price more tightly when the market accelerates and smoothing out more when it decelerates. This script builds a complete trading framework around a Fast/Slow McGinley Dynamic crossover, layering in higher-timeframe confirmation, signal cooldown filtering, ATR-adaptive trade levels, a live dashboard, and a manual signal-lock mechanism.
✨ Originality and Utility
While McGinley Dynamic implementations exist on TradingView, this script does not simply plot the raw indicator. It combines four distinct engineering layers into a single decision framework:
A recursively self-adjusting dual McGinley Dynamic engine (Fast and Slow) used as a crossover trigger rather than a static trend line.
An optional higher-timeframe directional filter that requires the HTF trend to agree with the signal direction before a crossover is allowed to fire.
A cooldown/gap filter measured in bars, which suppresses new signals for a configurable number of bars after the last one, reducing signal clustering during choppy crossover conditions.
An ATR-based trade management layer that auto-plots Entry, Stop Loss, and three Take Profit levels the moment a signal fires, extended live on the chart with a color-coded risk/reward fill.
The value to traders lies in how these layers interact: the McGinley crossover alone would generate frequent false signals in ranging markets, but the HTF filter and cooldown mechanism specifically target the crossover's greatest weakness (over-triggering during consolidation), while the ATR trade-level engine converts a raw directional signal into a fully defined, risk-quantified trade plan without any additional charting work from the user.
🔬 Methodology and Concepts
• The McGinley Dynamic Engine
The core building block is a recursive moving average that adjusts its step size relative to how far price has moved away from its previous value. Rather than applying a fixed weighting like an EMA, the McGinley Dynamic divides the price-to-prior-value distance by a dynamic denominator that grows sharply when price moves far from the average and shrinks when price sits close to it. This produces a curve that speeds up during trending, high-momentum moves and slows down during sideways congestion, giving it a self-correcting quality that fixed-period moving averages lack. The script instantiates two independent copies of this engine: a Fast McGinley Dynamic (default length 14) and a Slow McGinley Dynamic (default length 50), each with its own configurable "K Constant" that governs how aggressively the adaptive denominator reacts to price displacement.
• Crossover Signal Logic
A long signal is generated when the Fast McGinley Dynamic closes above the Slow McGinley Dynamic after having been at or below it on the prior two bars — a confirmed upward crossover, not an intrabar or provisional one. A short signal mirrors this logic on the downside. This two-bar confirmation approach (checking both the and offsets) ensures the crossover has actually completed on a closed bar before a signal is registered, rather than reacting to a crossover that could still repaint on the current forming bar.
• Higher-Timeframe Directional Filter
When enabled, the script pulls the source price and Fast McGinley Dynamic value from a user-selected higher timeframe (default 4-hour) and requires that the HTF price sit on the correct side of the HTF Fast McGinley Dynamic before allowing a same-direction signal on the working timeframe. This acts as a macro-trend veto: a bullish crossover on the chart timeframe will be ignored if the higher-timeframe trend context is bearish, and vice versa. The higher-timeframe request is built using a confirmed, prior-bar value combined with TradingView's lookahead-on merge policy — the standard non-repainting pattern for pulling higher-timeframe data — so the filter reacts only to fully closed higher-timeframe bars.
• Cooldown / Signal Spacing Filter
To prevent rapid-fire signals during periods where the Fast and Slow McGinley Dynamic lines oscillate around each other, the script tracks the bar index of the last long and last short signal separately. A new signal in the same direction is only permitted once a user-defined minimum number of bars ("Cooldown Bars") has elapsed since the prior one, reducing signal noise without altering the underlying crossover logic itself.
• ATR-Based Trade Level Construction
The moment a qualifying signal fires, the script calculates an Average True Range value over a configurable lookback and uses it to derive five reference prices: an entry (the prior bar's close), a stop loss, and three take-profit targets. Each level is expressed as an ATR multiple away from entry, with independently configurable multipliers for the stop and each take-profit tier. This means the distance between entry and each level automatically expands or contracts with recent volatility rather than using a fixed point or percentage distance, keeping the risk/reward structure proportionate to current market conditions.
• Signal Lock
The optional Lock Signal feature freezes the currently displayed trade levels once toggled on, preventing them from being overwritten by a subsequent crossover. This is useful for traders who want to manually track a single active setup on the chart without the lines and labels shifting each time a new signal condition is technically met.
🎨 Visual Guide
Fast MD line (default blue) — the fast-length McGinley Dynamic.
Slow MD line (default orange) — the slow-length McGinley Dynamic.
Heatmap Candles — when enabled, candle bodies and wicks are recolored based on trend bias: teal/green when the Fast MD sits above the Slow MD (bullish bias), red when below (bearish bias), independent of the raw candle color.
Entry line (dashed, blue by default) — plotted at the close of the bar prior to signal confirmation, marking the reference entry price.
Stop Loss line (solid, red by default) — the ATR-derived stop level, labeled with an "✕ SL" tag showing the exact price.
Take Profit lines (dashed, teal by default, three tiers with increasing opacity) — TP1, TP2, and TP3, each labeled with its price.
Risk fill — a shaded region between the entry line and stop-loss line, tinted in the stop-loss color, visually representing the risk portion of the trade.
Reward fill — a shaded region between the entry line and the TP3 line, tinted in the take-profit color, visually representing the potential reward span.
All trade-level lines and labels extend live to the right edge of the chart until superseded by a new signal or, if Signal Lock is active, held in place.
📌 Note : the best way to resolve visual overlap is to navigate to the Object Tree and drag the indicator above the main chart layer, or simply hide the native candles in your chart settings.
📖 How to Use
A bullish signal occurs when the Fast MD confirms a crossover above the Slow MD, subject to the HTF filter and cooldown filter both being satisfied. The dashboard's Bias row will read "▲ Bull".
A bearish signal occurs on the mirrored downward crossover, with the Bias row reading "▼ Bear".
When a signal fires, use the auto-plotted Entry, SL, and TP1/TP2/TP3 lines as a starting framework for trade structure — the R:R progress bar on the dashboard shows the reward-to-risk ratio for TP1 relative to the stop distance.
The MD Gap row on the dashboard visualizes, as a percentage bar, how far apart the Fast and Slow MD lines currently are, which can help gauge trend strength or an approaching crossover.
Enabling the HTF Filter is recommended for traders who want signals to align with a broader trend context rather than trading every local crossover.
Enabling Signal Lock freezes the current trade plan on screen, useful when manually managing an active position and wanting to prevent the levels from updating on the next crossover.
⚙️ Inputs and Settings
Src / Fast N / Slow N — source price and the lookback lengths for the Fast and Slow McGinley Dynamic calculations. Shorter lengths react faster but generate more signals; longer lengths are smoother but slower to confirm.
K Const — governs how aggressively the McGinley Dynamic's adaptive denominator responds to price displacement from the prior value. Higher values slow the line's responsiveness.
HTF Filter / HTF TF — enables the higher-timeframe directional veto and sets which higher timeframe is used for that check.
Cooldown Bars — minimum number of bars required between two signals of the same direction.
Lock Signal — freezes the current trade levels in place, blocking updates from subsequent signals.
ATR Len — lookback length for the Average True Range used to size the SL and TP levels.
SL Mult / TP1 Mult / TP2 Mult / TP3 Mult — ATR multipliers that set the distance of the stop loss and each take-profit tier from the entry price.
Heatmap Candles / Trade Levels — visual toggles for the bias-colored candles and the auto-plotted trade-level lines/labels/fills.
Show Dash / Dash Pos — toggles the on-chart dashboard and sets its screen position.
Alert action fields (Long/Short/Close Long/Close Short) — customizable string values embedded into the script's JSON alert payloads, allowing the fired alerts to be mapped to specific automation or webhook actions.
🔍 Deconstruction of the Underlying Scientific and Academic Framework
The McGinley Dynamic belongs to a broader family of adaptive-smoothing techniques in technical analysis that attempt to address a structural weakness of fixed-weight moving averages: a constant smoothing factor cannot simultaneously be fast enough to track trending markets and slow enough to filter noise in ranging markets. McGinley's original design achieves adaptivity by making the effective smoothing constant a function of the ratio between current price and the prior average value raised to the fourth power — a formulation that causes the adjustment factor to grow disproportionately large when price diverges sharply from the average, automatically accelerating the line's response, and to shrink toward a baseline when price and average are close, automatically slowing the response. This self-referential feedback mechanism places the McGinley Dynamic conceptually closer to adaptive filters used in signal processing (where a filter's gain is modulated by the magnitude of recent error) than to the fixed-coefficient exponential smoothing used in a standard EMA.
The dual-length crossover structure applied here draws on the well-established moving-average-crossover framework from technical trend-following literature, where the relationship between a fast and slow-adaptive series is used as a proxy for shifting momentum regimes, conceptually related to dual-moving-average systems and change-point detection approaches that flag a regime shift once a fast-reacting series diverges from a slow-reacting baseline. The higher-timeframe confirmation layer reflects the top-down, multi-timeframe analysis principle common in technical trading methodology, where signals on a lower timeframe are treated as more reliable when they align with the prevailing direction on a higher timeframe, reducing the frequency of signals that run counter to the dominant trend. Finally, the ATR-scaled trade-level construction is grounded in volatility-normalized position and risk sizing, a standard practice in quantitative trade management where stop and target distances are expressed as a multiple of recent realized volatility (via Average True Range) rather than fixed price or percentage distances, ensuring risk parameters adapt to the current volatility regime rather than remaining static across changing market conditions.
⚠️ Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. We expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion. Indicator

CISD with Projections (Just)# CISD with Dynamic Projection Levels
This indicator automatically detects **Change in State of Delivery (CISD)** and projects measured price targets based on the completed impulse.
### Features
* **Automatic CISD Detection**
* Identifies both bullish and bearish CISD setups.
* Option to display **Bullish Only**, **Bearish Only**, or **Both**.
* **Dynamic Projection Levels**
* Automatically calculates the impulse range from the CISD level to the swing extreme.
* Projects customizable target levels using user-defined multipliers.
* Example: `1,2,3,4` creates 1R, 2R, 3R, and 4R projection levels.
* **Custom Projection Input**
* Enter any projection values as a comma-separated list.
* Examples:
* `0.5,1,1.5,2`
* `1,2,3`
* `2,4,6`
* **Base Swing Reference**
* Displays the swing extreme used to calculate all projection levels, making it easy to visualize the measured move.
* **Automatic Cleanup**
* Projection levels remain active until price revisits the originating swing.
* Once the swing is mitigated, the entire CISD setup—including the CISD line, base level, projection lines, and labels—is automatically removed to keep the chart clean.
* **Maximum Active Setups**
* Control how many recent CISD structures remain visible using the **Max CISD Lines** setting.
* **Customizable Appearance**
* Separate bullish and bearish colors.
* Adjustable CISD line width.
* Optional projection display.
### How It Works
1. The indicator detects a valid CISD.
2. It measures the distance between the CISD level and the swing extreme.
3. Using that range, it projects user-defined target levels above bullish setups or below bearish setups.
4. All projections remain visible until the originating swing is revisited, after which the setup is automatically deleted.
This indicator is designed for traders who use CISD as part of their market structure analysis and want objective projection levels for planning potential targets while maintaining a clean chart.
Indicator

Bitcoin Rainbow Wave (2026 Recalibration)Bitcoin Rainbow Wave — 2026 Recalibration
This is a halving-anchored envelope model for BTC/USD, recalibrated after the 2024–25 cycle topped at ~$126K roughly half of what the classic Rainbow Wave projected.
What it does
Maps time onto a "halving clock" (h = block height / 210,000) built from actual block timestamps, fits a power-law trend with a curvature term through it, and wraps it in a decaying sine-wave envelope. The outer bands are calibrated so the red upper band tracks every cycle ATH and the aqua lower band tracks every bear-market low, from 2013 to today, one continuous formula, no cutoffs, no per-cycle tricks.
What changed vs the original
The old calibration expected ~$250K+ this cycle; price stopped at $126K. All five model parameters were re-fitted by least squares against the full 2013–2026 set of cycle tops and bottoms. A single curvature term (c) was added to the trend — set c = 0 and you get the original pure power law back.
What it shows
Rainbow power-law bands + fair-value zone
The Wave with upper (ATH) and lower (ATL) bands, miner-profitability floor
Halving lines with date + day-count labels (h=1…7)
Fibonacci time marks: tops have printed near h = n.382, bottoms near h = n.618
Optional No-Miss-Zone highlighting and rainbow-colored price line
Future projection (default 690 weekly bars)
Current read (Jul 2026): lower band ~$52K, fair value ~$71K, upper band peaks ~$300K around h = 5.382 (mid-2029).
Works best on BTCUSD (Bitstamp), 1W timeframe, log scale. Based on the original Bitcoin Rainbow Wave by @leoum this release recalibrates the parameters and rebuilds the chart markings. Indicator

Machine Learning Support & Resistance [FEELS]Support and resistance levels found by an unsupervised machine learning model (k-means clustering) instead of hand-written rules. The model decides how many levels a chart actually has, which swings are structure and which are noise, and reports how cleanly this market separates into levels at all.
FEATURES
- Levels built by k-means clustering of confirmed swing highs and lows, in log price space
- The number of levels is chosen by the model, not by you
- Swings too scattered to form a level are labelled noise and drawn grey
- Zone width is the real extent of its group, so tightly agreed levels are thin and loose ones are wide
- Fit score: how cleanly the swings separate into levels on this symbol and timeframe
- Hold rate per level: how often price entered the zone and left from the side it came from
- Optional density profile of the swing distribution the model works on
- Two alerts, adjustable colours, sizes and every model parameter
HOW IT WORKS
Every confirmed swing high and low becomes a data point. The model works on the logarithm of price, so it behaves the same at 60 dollars and at 60 thousand, and only on swings inside the price band that still matters, so a long history does not drag levels into an irrelevant price range.
It then runs k-means clustering for every level count in the chosen range. Each result is scored with a simplified silhouette score, which measures how much closer each swing sits to its own group centre than to the next nearest one. The count with the cleanest separation wins, and that score is shown as the fit percentage in the header.
Each surviving group becomes a level: the mean of its members is the centre, the spread of its members is the zone, and the number of members is its weight. Groups whose swings are too scattered compared with the average group are rejected, and their swings are drawn grey as noise. The levels nearest to price are kept on the chart.
HOW TO READ IT
1. Thin zones are levels the market agreed on precisely, wide zones are areas where it turned around loosely. The swing count next to each level says how many times it was involved.
2. The fit percentage is a read on the market itself, not on the levels. A high value means price is respecting distinct levels; a low value means the structure is smeared and levels deserve less weight.
3. The hold rate column counts how often price entered a zone and left from the same side rather than closing through it, over the lookback window. It describes the past behaviour of that zone.
ORIGINALITY
Most level tools merge nearby swings with a fixed tolerance and a fixed level count. This one treats level detection as a clustering problem: the level count is selected by a simplified silhouette score rather than set by hand, zone width comes from the measured spread of each group rather than a preset band, sparse groups are rejected as noise instead of being forced into a level, and the quality of the whole separation is reported openly. The clustering, the model selection, the noise rejection and the hold-rate accounting are written from scratch for this script.
HONESTY
- The level set is recomputed as new swings confirm, so zones shift over time. This is a snapshot of current structure, not a fixed historical record, and it is inherent to any clustering or level tool.
- A swing pivot confirms only after the Swing size number of bars, so the newest swing is always that many bars old.
- The fit percentage and the hold rate describe past behaviour on the current symbol and timeframe. They do not predict anything, they are not performance claims, and small samples move them a lot.
- The model is deterministic: seeding is quantile based, so the same chart and the same settings always give the same levels.
- Clustering works best where there are enough clean swings. On very short histories or extremely thin symbols the model has too little to separate, and the fit percentage will show it.
ALERTS
Price entered a level · Price closed through a level.
SETTINGS
Every input has a tooltip. The main ones: "Swing size" sets how many bars on each side define a swing, "Model picks the level count" toggles automatic selection and the range it searches, "Min swings per level" and "Selectivity" control how strict the model is before calling a group a level, "Max distance from price" and "Max levels shown" keep the chart readable, and both zone width caps let you match the look to your timeframe.
This is a descriptive tool for reading price structure. It is not financial advice and does not predict price.
Indicator

MSnR Key Level [6 Types]MSnR Key Level
This script maps support and resistance the way market structure actually builds it: from the
close of one candle handing over to the next.
Every pair of consecutive candles leaves a level behind. Depending on the two candle colours
that level is an A Level, a V Level, a Bullish Gap or a Bearish Gap. From there the script
keeps watching. The moment price closes through a level, that level does not disappear, it
FLIPS: support that breaks downward becomes resistance (SBR), resistance that breaks upward
becomes support (RBS).
The result is a complete structural map of the scan window rather than a hand-picked list of
levels, with each of the six types drawn so it can be told apart at a glance.
WHAT MAKES THIS DIFFERENT
1. Complete coverage, not a filtered selection.
Most support and resistance tools try to guess which swing points matter and throw the rest
away. This one does the opposite: every candle pair inside the scan window produces a level,
and all of them are drawn. What separates the important levels from the ordinary ones is not
whether they are shown, but how they are drawn. A level that has already been broken and
flipped looks different from one that has never been touched.
2. Levels keep flipping, and the chart shows the CURRENT state.
A level is not classified once and left alone. It is re-checked against every candle that came
after it, and every close through it flips it again. A level that broke upward, then back down,
then upward again is reported as RBS, because that is what it is today. A tool that stops at
the first break would still be calling it by its original name.
3. Six types, six line signatures.
Line weight carries strength and line colour carries side, so a line still tells you what it is
even where labels crowd together.
4. The level price is the CLOSE, not the wick.
Every level sits at the close of the first candle in the pair. Closes are where the market
actually agreed on a price, which is why a close through a level counts as a break here while a
wick through it does not.
THE SIX LEVELS
A candle is Green when close is greater than open and Red when close is less than open. A Doji,
where close equals open, is neither and forms no level. Only fully closed candles are read; the
running candle is never used.
Created from a two candle pair, the level price being the close of the FIRST candle:
A Level
Green candle followed by a Red candle. Sits above as resistance.
V Level
Red candle followed by a Green candle. Sits below as support.
Bullish Gap
Green candle followed by another Green candle. Sits below as support.
Bearish Gap
Red candle followed by another Red candle. Sits above as resistance.
Created when an existing level is broken:
RBS - Resistance Become Support
An A Level or a Bearish Gap that a Green candle later CLOSED above. The old ceiling is now a
floor.
SBR - Support Become Resistance
A V Level or a Bullish Gap that a Red candle later CLOSED below. The old floor is now a ceiling.
HOW A LEVEL FLIPS
Think of every level as living on one of two sides.
Resistance side: A Level, Bearish Gap, SBR. Price has to CLOSE above it to break it, and doing
so turns it into RBS, which moves it to the support side.
Support side: V Level, Bullish Gap, RBS. Price has to CLOSE below it to break it, and doing so
turns it into SBR, which moves it to the resistance side.
Because SBR and RBS are themselves on one of those sides, the flipping never stops. The script
walks forward from the bar a level was born on, all the way to the present, applying every
break in order. Whatever side the level ends on is what you see.
READING THE CHART
Color tells you the side:
- Red: resistance side, price has to close above to break it. A Level, Bearish Gap, SBR.
- Green: support side, price has to close below to break it. V Level, Bullish Gap, RBS.
Line weight tells you the strength:
- Thick solid: SBR and RBS. These have already been broken once and changed hands, which makes
them the levels most worth watching.
- Thin solid: A Level and V Level. A clean turning point between two opposite candles.
- Dotted: Bullish Gap and Bearish Gap. The most common and the weakest, formed by two candles
of the same colour.
That gives all six types a unique signature. A thick red line is an SBR, a dotted green line is
a Bullish Gap, and so on, without reading a single label.
Each line starts at the candle that set its price and extends to the right, so you can see how
price has behaved around it since. Its label sits at that same candle, above the line for a
resistance level and below it for a support level, so the label never covers the line itself.
A summary table in the corner counts each of the six types inside the current scan window, with
the three resistance-side types grouped above the three support-side types.
SETTINGS
Scan
- Scan Length: how many closed candles are scanned backwards. Every level inside that window is
drawn.
Level Types
- An individual switch for each of the six types. Hiding Bullish and Bearish Gap is the quickest
way to thin out a busy chart, since those are always the most numerous.
Style
- Resistance Side Color and Support Side Color.
Labels
- Show Labels, Label Offset in ticks, and Label Size. The offset is measured in ticks, so a
value that looks right on one symbol may need adjusting on another.
Summary Table
- Show, position and size of the corner table.
ALERTS
Six alert conditions are available: A Level, V Level, Bullish Gap, Bearish Gap, SBR and RBS.
Each message carries the level type, the symbol, the timeframe and the closing price. The same
messages are also sent through the alert function, so the "Any alert() function call" alert type
can deliver everything through a single alert.
All alerts are evaluated only after a candle has fully closed.
One thing worth knowing before you set these up: A Level, V Level, Bullish Gap and Bearish Gap
are created by EVERY candle pair, so those four alerts will fire on almost every bar. They are
there for completeness and for anyone feeding the data somewhere else. SBR and RBS only fire
when a level is actually broken, which makes them the two selective alerts of the six.
REPAINTING
This script does not repaint.
- Detection reads confirmed candles only. The scan starts one bar behind the latest bar, so the
candle that is still forming is never part of any calculation.
- Alert signals can only become true once a candle has finished. Price moving inside an open
candle cannot make a signal appear and then disappear.
- Levels are rebuilt on the last bar from confirmed history. A level's price never moves. Its
type can change, but only forward and only when a candle CLOSES through it, which is the whole
point of SBR and RBS. Once drawn, nothing shifts backwards.
When you create an alert, TradingView may show a caution banner saying the indicator can
repaint. That banner appears automatically for any script that uses the built in bar state
variables, no matter how they are used, because the platform cannot check the intent behind
them. This script uses them for the opposite purpose: one of them is what restricts every signal
to bar close, and the other is what redraws the levels efficiently on the final bar. Choosing
"Once Per Bar Close" when creating the alert is still recommended.
NOTES AND LIMITATIONS
- This chart is dense by design. Since every candle pair forms a level, a window of 25 candles
produces roughly 25 levels, and doubling the window doubles the lines. That is intentional,
because the point is a complete map rather than a shortlist. If you want fewer lines, lower
the Scan Length first, then switch off the Gap types.
- TradingView caps drawings at 500 lines and 500 labels. A very long Scan Length will hit that
ceiling and the oldest drawings will be dropped. The default is chosen to stay well inside it.
- The label offset is measured in ticks, and a tick is worth a very different amount on a crypto
pair than on a forex pair. Expect to adjust it when you move between symbols.
- Level prices come from closes, so a level can sit in the middle of a long wick. That is
deliberate, not a bug.
- Detection is purely structural. It reports where levels are and which way they have flipped.
It does not rank them by how many times price reacted, measure what happened afterwards, or
produce entries, targets or stops.
HOW TO USE IT
Read the chart in layers. The thick lines are the levels that have already proven they matter,
because price closed through them and the market treated them differently afterwards. The thin
lines are clean turning points. The dotted lines are background structure.
Levels that sit close together often matter more than any single one of them, since several
candle pairs agreeing on roughly one price is what a real zone looks like.
These are reference areas, not entry signals. Use them alongside higher timeframe structure, and
apply your own confirmation and risk management.
DISCLAIMER
This indicator is a level detection tool. It is not financial advice and it makes no claim about
profitability. Trading involves risk. Always apply your own analysis and risk management. Indicator

EVA Ai Chart Patterns v2.9.3 🧬 EVA Ai+ Chart Patterns and Trading Signals Indicator
EVA Ai+ Chart Patterns automatically detects technical analysis patterns directly on the TradingView chart.
The indicator scans both local and large-scale price structures, draws their boundaries, evaluates pattern quality, and displays clear LONG or SHORT signals after confirmation.
It can be used for crypto, Bitcoin, forex, stocks, futures, and index trading. The detector works on the current chart timeframe and supports scalping, day trading, and swing-trading analysis.
🔍 Patterns detected
📈 Continuation patterns
🟢 Bull Flag — LONG
🔴 Bear Flag — SHORT
🔵 Bull Pennant — LONG
🟠 Bear Pennant — SHORT
The detector evaluates the impulse pole, consolidation range, boundary slopes, price compression, and breakout quality.
🔄 Reversal patterns
🟢 Double Bottom — LONG
🔴 Double Top — SHORT
🟣 Head and Shoulders — SHORT
🔵 Inverse Head and Shoulders — LONG
Double Top and Double Bottom structures are drawn with thick dashed lines. Head and Shoulders patterns use thick dotted lines, making each pattern family easy to recognize on the chart.
🧠 Local and macro pattern detection
Short price structures and large reversal formations are processed separately.
The indicator can detect:
local chart patterns;
large reversal structures;
extended flags and pennants;
patterns containing intermediate price swings;
the strongest valid combination of pivot points.
A minor internal swing does not automatically invalidate a larger pattern. EVA compares several possible pivot combinations and selects the structure with the stronger geometry and quality score.
📊 Pattern quality score
Each detected formation receives a quality rating:
QUALITY 76%
The score considers pattern geometry, scale, time symmetry, prior market direction, pivot structure, and breakout confirmation.
Example chart labels:
FLAG
LONG · QUALITY 78%
HEAD AND SHOULDERS
SHORT · QUALITY 84%
MACRO · 68 bars
Low-quality matches are filtered. Separate thresholds are available for developing and confirmed patterns.
⏳ Developing and confirmed patterns
While a pattern is still developing, its boundaries may update as new candles appear. The chart label shows:
FORMING
A confirmed signal is created only after a candle closes beyond the pattern boundary or neckline.
Closed candle
+ confirmed breakout
+ sufficient quality
= LONG or SHORT
Confirmed signals are placed on the bar where the conditions are actually completed. They are not moved backward to earlier historical candles.
🎨 Individual pattern colors
Each pattern family uses a separate color:
Bull Flag — emerald;
Bear Flag — coral red;
Bull Pennant — cyan;
Bear Pennant — orange;
Double Bottom — lime;
Double Top — magenta;
Head and Shoulders — purple;
Inverse Head and Shoulders — blue.
Pattern colors and developing-pattern transparency can be adjusted in the indicator settings.
🔔 TradingView alerts
Separate alert conditions are included for:
LONG Flag
SHORT Flag
LONG Pennant
SHORT Pennant
LONG Double Bottom
SHORT Double Top
SHORT Head and Shoulders
LONG Inverse Head and Shoulders
Alerts can be configured through the standard TradingView alert menu.
📌 How to use the indicator
Identify the broader market context: trend, range, or reversal area.
Check which chart pattern is developing.
Review the expected direction: LONG or SHORT.
Look at the pattern quality score.
Wait for a confirmed candle close beyond the boundary.
Combine the signal with support and resistance, volume, and your risk-management rules.
A developing pattern represents an active scenario. A confirmed label means that the breakout conditions have already been completed.
🎯 Common use cases
EVA Ai+ Chart Patterns can be used for:
technical analysis;
chart pattern detection;
Price Action trading;
trend and reversal analysis;
breakout trading;
crypto trading;
Bitcoin trading;
forex trading;
stock and futures analysis;
scalping;
day trading;
swing trading;
LONG and SHORT trading signals.
⚠️ Risk notice
A chart pattern does not guarantee a reversal, continuation, or profitable trade. Signals should be evaluated together with market context, volume, key price levels, and predefined risk management.
This indicator is an analytical tool and does not provide individual financial or investment advice. Indicator

FXTT MA SuiteA multi-moving average toolkit with four fully independent MAs, each supporting six calculation types.
=== Moving Average Types ===
• EMA (Exponential MA) — Weights recent price more heavily. Faster to react than SMA. Best for active traders.
• SMA (Simple MA) — Equal weight to every bar. Smooth but slower. Best for structural trend identification.
• WMA (Weighted MA) — Linear weighting. Falls between EMA and SMA in responsiveness.
• RMA (RMA / SMMA) — Smoothed MA using Wilder's smoothing method. Less lag than SMA, less noise than EMA.
• VWMA (Volume-Weighted MA) — Weights each bar by its volume. Institutions move markets with volume — this MA follows the money.
• HMA (Hull MA) — Designed to eliminate lag while maintaining smoothness. The fastest, smoothest MA of the six.
=== The Four MAs ===
MA 1 (20 EMA, aqua/purple): Short-term trend and pullback entries. Green when rising, purple when falling.
MA 2 (50 EMA, gold/maroon): Medium-term trend direction. Gold up, maroon down.
MA 3 (100 EMA, gray): Structural trend filter. Above = bullish regime. Below = bearish.
MA 4 (200 EMA, white/red): Long-term trend. Off by default. Enable for the bigger picture.
=== Slope Coloring ===
Every MA changes color based on its direction. Rising = lighter/positive color. Falling = darker/negative color. Flat = static color. You see trend shifts without reading a single value.
=== Cloud Fill ===
Shade the area between any two MAs. When MA 1 is above MA 2 and the cloud is enabled, the area between them fills. Crossovers become instantly visible. Set Between A = "MA 1" and B = "MA 2" for the classic 20/50 crossover cloud.
=== Source Selection ===
Each MA can use any price source: close, open, high, low, hl2, hlc3, ohlc4. Build MAs on the midpoint (hl2) for range-based analysis. Use ohlc4 for a balanced price. Use close for standard trend following.
=== How To Use It ===
1. Enable MA 1 (20 EMA) and MA 2 (50 EMA). Watch the crossovers.
2. Enable the cloud between them for visual crossover alerts.
3. Add MA 3 (100 EMA) for structural context. Above 100 = trend is up. Below = down.
4. When all three MAs align — 20 above 50 above 100 — the trend is confirmed at every timeframe.
5. Enable MA 4 (200 EMA) on higher timeframes for the macro picture.
This free version is for the community. Use it, modify it, build on it.
Open-source. Mozilla Public License 2.0. Indicator

EVA Ai+ Chart Patterns Indicator - Price Action & Trading Signal🧬 EVA Ai+ — индикатор графических фигур и торговых паттернов
EVA Ai+ Chart Patterns автоматически находит графические фигуры технического анализа прямо на графике TradingView.
Индикатор отслеживает локальные и крупные ценовые модели, строит их границы, определяет направление возможного пробоя и показывает понятные метки ЛОНГ или ШОРТ после подтверждения сигнала.
Подходит для анализа криптовалют, Bitcoin, Forex, акций, фьючерсов и фондовых индексов. Работает на текущем таймфрейме графика: от скальпинга и внутридневной торговли до более крупных свинговых моделей.
🔍 Какие фигуры распознаёт индикатор
📈 Фигуры продолжения движения
🟢 Бычий флаг — ЛОНГ
🔴 Медвежий флаг — ШОРТ
🔵 Бычий вымпел — ЛОНГ
🟠 Медвежий вымпел — ШОРТ
Алгоритм анализирует импульсное древко, ширину консолидации, наклон границ, сжатие диапазона и качество пробоя.
🔄 Разворотные фигуры
🟢 Двойное дно — ЛОНГ
🔴 Двойная вершина — ШОРТ
🟣 Голова и плечи — ШОРТ
🔵 Перевёрнутые голова и плечи — ЛОНГ
Двойные вершины и основания отображаются толстой пунктирной линией. Голова и плечи — толстой точечной линией. Благодаря этому разные модели легко различить даже на насыщенном графике.
🧠 Поиск локальных и крупных фигур
Обычный короткий паттерн и большая рыночная конструкция рассчитываются отдельно.
Индикатор умеет находить:
локальные фигуры внутри текущего движения;
крупные разворотные модели;
длинные флаги и вымпелы;
фигуры с промежуточными ценовыми колебаниями;
наиболее качественную комбинацию опорных экстремумов.
Мелкий рыночный шум не должен автоматически разрушать крупную модель. Для этого EVA сравнивает несколько допустимых комбинаций и выбирает структуру с более высоким качеством.
📊 Оценка качества фигуры
Каждая найденная модель получает оценку:
КАЧ. 76%
При расчёте учитываются геометрия, масштаб, симметрия, направление движения перед фигурой, качество экстремумов и пробой сигнальной границы.
На графике можно увидеть:
ФЛАГ
ЛОНГ · КАЧ. 78%
ГОЛОВА И ПЛЕЧИ
ШОРТ · КАЧ. 84%
КРУПНАЯ · 68 баров
Низкокачественные совпадения фильтруются. Порог для формирующихся и подтверждённых моделей настраивается отдельно.
⏳ Формирующаяся и подтверждённая фигура
Пока модель развивается, её линии могут обновляться вместе с новыми свечами. Такая фигура отмечается как:
ФОРМИРУЕТСЯ
Подтверждённый сигнал появляется после закрытия свечи за границей фигуры или линией neckline.
Закрытая свеча
+ подтверждённый пробой
+ достаточное качество
= ЛОНГ или ШОРТ
Подтверждённая метка не переносится на прошлые свечи. Сигнал фиксируется на том баре, где условия действительно были выполнены.
🎨 Отдельный цвет для каждого паттерна
У каждой группы свой цвет:
флаг ЛОНГ — изумрудный;
флаг ШОРТ — красно-коралловый;
вымпел ЛОНГ — голубой;
вымпел ШОРТ — оранжевый;
двойное дно — лаймовый;
двойная вершина — малиновый;
голова и плечи — фиолетовый;
перевёрнутые голова и плечи — синий.
Цвета и прозрачность формирующихся фигур доступны в настройках.
🔔 Торговые оповещения TradingView
Для каждого подтверждённого паттерна предусмотрен отдельный алерт:
ЛОНГ Флаг
ШОРТ Флаг
ЛОНГ Вымпел
ШОРТ Вымпел
ЛОНГ Двойное дно
ШОРТ Двойная вершина
ШОРТ Голова и плечи
ЛОНГ Перевёрнутые голова и плечи
Оповещения можно подключить через стандартное меню TradingView и получать уведомления при появлении подтверждённой фигуры.
📌 Как применять индикатор
Определите общий контекст рынка: тренд, диапазон или разворотная зона.
Посмотрите, какая фигура формируется на графике.
Проверьте направление: ЛОНГ или ШОРТ.
Обратите внимание на показатель КАЧ.
Дождитесь подтверждённого закрытия свечи за границей модели.
Сопоставьте сигнал с уровнями поддержки и сопротивления, объёмом и собственной системой управления риском.
Формирующаяся фигура показывает возможный сценарий. Подтверждённая метка сообщает, что условия пробоя уже выполнены.
🎯 Для каких задач подходит
Индикатор можно использовать для:
технического анализа;
поиска графических фигур;
Price Action;
анализа тренда и разворота;
поиска пробоя консолидации;
криптовалютной торговли;
торговли Bitcoin;
Forex;
акций и фьючерсов;
скальпинга;
дневной и свинг-торговли;
поиска сигналов ЛОНГ и ШОРТ.
⚠️ Уведомление о рисках
Графическая фигура не гарантирует продолжение или разворот цены. Используйте сигналы вместе с рыночным контекстом, уровнями, объёмом и заранее определённым риском.
Индикатор является аналитическим инструментом и не представляет собой индивидуальную инвестиционную рекомендацию.
🇬🇧 English Title
🧬 EVA Ai+ Chart Patterns Indicator — Price Action & Trading Signals
Search-focused publication title:
EVA Ai+ Flags, Pennants, Double Top & Head and Shoulders Indicator
🇬🇧 English Description
🧬 EVA Ai+ Chart Patterns and Trading Signals Indicator
EVA Ai+ Chart Patterns automatically detects technical analysis patterns directly on the TradingView chart.
The indicator scans both local and large-scale price structures, draws their boundaries, evaluates pattern quality, and displays clear LONG or SHORT signals after confirmation.
It can be used for crypto, Bitcoin, forex, stocks, futures, and index trading. The detector works on the current chart timeframe and supports scalping, day trading, and swing-trading analysis.
🔍 Patterns detected
📈 Continuation patterns
🟢 Bull Flag — LONG
🔴 Bear Flag — SHORT
🔵 Bull Pennant — LONG
🟠 Bear Pennant — SHORT
The detector evaluates the impulse pole, consolidation range, boundary slopes, price compression, and breakout quality.
🔄 Reversal patterns
🟢 Double Bottom — LONG
🔴 Double Top — SHORT
🟣 Head and Shoulders — SHORT
🔵 Inverse Head and Shoulders — LONG
Double Top and Double Bottom structures are drawn with thick dashed lines. Head and Shoulders patterns use thick dotted lines, making each pattern family easy to recognize on the chart.
🧠 Local and macro pattern detection
Short price structures and large reversal formations are processed separately.
The indicator can detect:
local chart patterns;
large reversal structures;
extended flags and pennants;
patterns containing intermediate price swings;
the strongest valid combination of pivot points.
A minor internal swing does not automatically invalidate a larger pattern. EVA compares several possible pivot combinations and selects the structure with the stronger geometry and quality score.
📊 Pattern quality score
Each detected formation receives a quality rating:
QUALITY 76%
The score considers pattern geometry, scale, time symmetry, prior market direction, pivot structure, and breakout confirmation.
Example chart labels:
FLAG
LONG · QUALITY 78%
HEAD AND SHOULDERS
SHORT · QUALITY 84%
MACRO · 68 bars
Low-quality matches are filtered. Separate thresholds are available for developing and confirmed patterns.
⏳ Developing and confirmed patterns
While a pattern is still developing, its boundaries may update as new candles appear. The chart label shows:
FORMING
A confirmed signal is created only after a candle closes beyond the pattern boundary or neckline.
Closed candle
+ confirmed breakout
+ sufficient quality
= LONG or SHORT
Confirmed signals are placed on the bar where the conditions are actually completed. They are not moved backward to earlier historical candles.
🎨 Individual pattern colors
Each pattern family uses a separate color:
Bull Flag — emerald;
Bear Flag — coral red;
Bull Pennant — cyan;
Bear Pennant — orange;
Double Bottom — lime;
Double Top — magenta;
Head and Shoulders — purple;
Inverse Head and Shoulders — blue.
Pattern colors and developing-pattern transparency can be adjusted in the indicator settings.
🔔 TradingView alerts
Separate alert conditions are included for:
LONG Flag
SHORT Flag
LONG Pennant
SHORT Pennant
LONG Double Bottom
SHORT Double Top
SHORT Head and Shoulders
LONG Inverse Head and Shoulders
Alerts can be configured through the standard TradingView alert menu.
📌 How to use the indicator
Identify the broader market context: trend, range, or reversal area.
Check which chart pattern is developing.
Review the expected direction: LONG or SHORT.
Look at the pattern quality score.
Wait for a confirmed candle close beyond the boundary.
Combine the signal with support and resistance, volume, and your risk-management rules.
A developing pattern represents an active scenario. A confirmed label means that the breakout conditions have already been completed.
🎯 Common use cases
EVA Ai+ Chart Patterns can be used for:
technical analysis;
chart pattern detection;
Price Action trading;
trend and reversal analysis;
breakout trading;
crypto trading;
Bitcoin trading;
forex trading;
stock and futures analysis;
scalping;
day trading;
swing trading;
LONG and SHORT trading signals.
⚠️ Risk notice
A chart pattern does not guarantee a reversal, continuation, or profitable trade. Signals should be evaluated together with market context, volume, key price levels, and predefined risk management.
This indicator is an analytical tool and does not provide individual financial or investment advice. Indicator

Indicator

Indicator

Indicator

Indicator
