Strategia

Luxy UT God Mode - UT-Bot Forecast, Signals, Zones and RiskLuxy UT God Mode turns the classic UT Bot ATR trailing-stop into a complete, self-contained trading cockpit: momentum-adaptive buy/sell signals, a forward-looking Trend Duration Forecast, auto support/resistance zones, a 0-100 Confidence Score, a built-in multi-currency Risk Calculator, and automatic Stop Loss / Take Profit levels - all on one overlay, all non-repainting.
Note: Every forecast, probability, and statistic in this tool is a calculation based on the chart's own historical behavior. They describe past patterns, not guaranteed future results.
WHAT MAKES THIS DIFFERENT
A normal UT Bot only tells you the trend flipped. Luxy UT God Mode answers the three questions a trader actually asks at the moment of a signal:
1. Should I trust this flip? - a Confidence Score (0-100) blends seven engines into one number.
2. How long might this trend run? - a Trend Duration Forecast projects the expected remaining life of the current trend, drawn as a fading strip with survival-probability milestones.
3. What do I risk and how big do I trade? - automatic Stop Loss, R-based Take Profits, and a position-size calculator in your own account currency.
Everything is layered so you can run it bare-bones (just clean signals) or switch on the full "God Mode" stack.
METHODOLOGY AND CREDITS
This indicator implements proven concepts using entirely original code.
- UT Bot ATR trailing logic - original concept by @QuantNomad . This implementation is a significant rework: it adds volume weighting, momentum-adaptive sensitivity, a composite multi-method stop loss, a full multi-filter confirmation stack, multi-timeframe confluence, and the statistical trend-duration engine described below.
Important: this is an educational analysis tool. It does not guarantee any trading result. Always do your own analysis and manage risk.
THE SEVEN ENGINES (and the Confidence Score that fuses them)
Each bar, the script scores how well the current setup aligns and sums it into a single 0-100 Confidence Score with a visual progress bar:
UT Bot direction - is price above/below the momentum-adaptive trailing stop
SuperTrend - direction plus a distance-from-line strength bonus
Market Structure - position inside the recent swing range and structure breaks
ADX Regime - is the market trending (signals allowed) or choppy (blocked)
Multi-Timeframe - does a higher timeframe agree with the signal direction
Volume - is conviction backed by above-average volume
RSI Divergence - is a recent divergence supporting or opposing the signal
Read it at a glance: 80+ = strong, 60+ = good, 40+ = weak, under 40 = very weak. Hover the Confidence cell for the full per-engine breakdown.
1. TREND DURATION FORECAST - the headline feature
When the trend flips, the script projects how many more bars the new trend may last, based on the chart's own past trends.
How it works:
Every completed trend's duration is recorded, kept separately for bullish and bearish trends.
On each new flip the script estimates the expected duration using an exponentially-weighted average and standard deviation (recent trends weighted more heavily).
The estimate is drawn as a fading gradient strip that projects forward from the flip, with a "Trend Analysis" label and survival-probability milestones at 25% / 50% / 75% / 90% / 100% of the projection.
The percentages are empirical - they show the share of past same-direction trends on THIS chart that actually lasted at least that long. Not a fixed textbook curve.
Three forecast modes:
Simple - median duration only. Clean and fast.
Standard - exponentially-weighted average plus spread (recommended default).
Advanced - Standard plus five adaptive multipliers: Structure (proximity to S/R), Asset Type (volatility profile), Flip Strength (volume + filters passed), Error Learning (self-correction from its own past misses), and Regime (trending vs choppy).
When history is thin, the forecast honestly falls back to a combined estimate and flags it, rather than showing false precision.
2. MOMENTUM-ADAPTIVE UT BOT CORE
The trailing stop is not a fixed ATR multiple. The effective sensitivity adapts each bar to:
Momentum - faster momentum widens the trail to stay in strong moves
Relative volume - conviction adjusts the distance
Asset type - auto-detected (crypto, forex, futures, index, fund, CFD, bond, stock) with a per-class multiplier, or set it manually
Volatility mode - Fixed, Dynamic, or Aggressive auto-adjustment to the current volatility regime
The result is a trailing engine that behaves differently on a calm blue-chip than on a volatile small-cap or crypto pair - without you re-tuning it.
3. ANTI-WHIPSAW AND SIGNAL FILTER STACK
Signals only fire when they survive the filters you enable, so you control the trade-off between frequency and quality:
ADX Regime - block signals in choppy, non-trending conditions
Cooldown and Confirmation - minimum bars between signals and N-bar direction confirmation
Swing - only trade aligned with recent swing structure
Full Candle - require the whole candle beyond the trailing line (no straddles)
Volume, RSI, Hull MA, SuperTrend - optional confirmation layers
High-Volatility and % Change - only trade meaningful moves
2-Bar Confirm - extra confirmation for volatile markets
Every active filter appears as a row in the table with a live pass/fail state, so you always know why a flip did or did not become a signal.
4. SUPPORT / RESISTANCE ZONES
The script clusters significant swing pivots into persistent price zones and draws only the two that matter right now: the nearest resistance above price and the nearest support below price. Each zone shows its price and touch count (e.g. "S 4.19 (3x)" = a support tested three times). A level that price has broken through drops off automatically, and an optional Zone Filter can block buys into resistance and sells into support. Pivot strength is adjustable so you can show only major levels.
5. AUTOMATIC STOP LOSS, TAKE PROFIT AND RISK CALCULATOR
On every signal the script draws a complete trade plan:
Stop Loss - choose from seven methods: ATR, % based, tick based, swing, scaled ATR, Smart Adaptive (auto-scales to volatility), or Safer (widest of several).
Take Profit - TP1 / TP1.5 / TP2 / TP3 as R multiples of the stop distance, with optional price and % labels, and a freeze-on-touch check mark for journaling.
Entry line - marks the signal price; all lines can auto-limit to 10 bars for a clean chart.
Risk Calculator - enter account size and risk (% or fixed amount) and it returns the position size in shares/contracts, in your own currency, with live FX conversion (USD, EUR, GBP, JPY, CAD, AUD, CHF) or a manual rate.
6. MULTI-TIMEFRAME CONFLUENCE AND RSI DIVERGENCE
The table shows the trend of up to seven higher timeframes (5m, 15m, 30m, 1H, 4H, D, W) via an EMA 9/21 cross, so you can see whether the bigger picture agrees before you act. An optional MTF filter blocks counter-trend signals. Separately, RSI divergence (regular bullish and bearish) is detected, labeled on the chart, and fed into the Confidence Score.
7. LIVE STATUS TABLE
A configurable dashboard (position and size adjustable) summarizes everything: asset type, Confidence Score, adaptive mode, current signal, win-rate / average-bars statistics, multi-timeframe row, divergence, forecast, position size, and one row per active filter - each with a detailed tooltip.
HOW TO USE IT - QUICK START
Step 1 - Add it and pick your sensitivity. Defaults suit intraday (5-15m). For scalping lower the Sensitivity/ATR; for swing raise them (see the Sensitivity tooltip for presets).
Step 2 - Read a signal. A Buy (aqua, below bar) or Sell (orange, above bar) appears only after the bar closes and all enabled filters pass. Check the Confidence Score and the Multi-TF row for context.
Step 3 - Use the trade plan. The Entry, Stop Loss and Take Profit lines draw automatically. Read the Position row for size. Use the Trend Duration Forecast strip as a realistic hold-time expectation - scale out near the median, reassess if price runs past the projection.
Step 4 - Set alerts. Use "Any alert() function call" to receive BUY/SELL and trend-flip alerts on bar close, or pick the specific "Momentum Buy/Sell Signal" conditions. All alerts fire on confirmed bars only.
TUNING FOR MORE OR FEWER SIGNALS
Too few signals: turn off MTF, then Full Candle, then lower the ADX threshold or the Anti-Whipsaw filter. Too many / choppy: raise the ADX threshold, enable Volume and Full Candle, increase Cooldown, or add 2-Bar Confirm. Every filter is independent and shown live in the table.
TECHNICAL NOTES
Pine Script v6, overlay, max bars back 5000.
No repaint: signals, lines, forecast and alerts are committed on bar close (barstate.isconfirmed); all higher-timeframe data uses lookahead_off.
Works on stocks, crypto, forex, futures and indices, on any timeframe.
Higher timeframes and longer history produce more reliable forecasts; a new symbol needs a number of completed trends before the duration model is meaningful.
LIMITATIONS
Trend-following by nature: signals arrive after a trend establishes, not at exact tops/bottoms.
Best in trending conditions; use the ADX regime and filters to avoid chop.
The duration forecast needs history to become meaningful and is a statistical estimate, never a guarantee.
DISCLAIMER
This script is an educational analysis tool, not financial advice. Trading stocks, crypto, forex and futures involves substantial risk of loss - you can lose all invested capital. Forecasts, probabilities and win-rate statistics are calculated from historical chart data and do not guarantee future performance. Test on paper first, and you are solely responsible for your own trading decisions.
Feedback and suggestions are welcome in the comments. Happy trading.
Wskaźnik

RSI Market Structure Zones ProPlease read how to use it. red before use.
RSI Momentum Zones Pro
Professional RSI Confirmation Indicator for Trend, Reversal & Scalping
Author: Forex_Market_Insights
Overview
RSI Momentum Zones Pro is a professional momentum analysis indicator developed to simplify RSI interpretation by dividing market momentum into four institutional trading zones instead of relying solely on the traditional overbought and oversold approach.
Rather than treating RSI as a simple oscillator, this indicator classifies momentum into Over Bought, Resistance, Support, and Over Sold regions to help traders understand where price is statistically more likely to continue, slow down, reject, or reverse after receiving price action confirmation.
The indicator is designed for discretionary traders who combine momentum analysis with candlestick confirmation instead of using RSI crossovers alone.
It is suitable for scalping, intraday trading, swing trading and multi-timeframe analysis.
Core Concept
Traditional RSI indicators only highlight the 70 and 30 levels, which often generate premature or unreliable signals during strong market trends.
This indicator expands RSI interpretation by introducing four structured momentum zones:
Over Bought (80)
Resistance (68)
Support (35)
Over Sold (20)
These additional zones allow traders to evaluate market strength in greater detail before making trading decisions.
Instead of assuming every overbought or oversold condition will immediately reverse, the indicator encourages confirmation through actual price behavior.
Indicator Structure
The RSI panel contains four clearly defined institutional-style levels:
OVER BOUGHT (80)
Represents an extreme bullish momentum zone.
Price entering this area suggests that buying pressure has become unusually strong.
This does not automatically indicate a sell signal.
Instead, traders should wait for bearish confirmation before considering a short position.
RESISTANCE (68)
Represents an upper momentum resistance area.
Momentum is considered strong, but not yet at an extreme.
This zone is useful for identifying potential exhaustion during bullish trends while still allowing trend continuation if buying pressure remains strong.
SUPPORT (35)
Represents a lower momentum support area.
Momentum has weakened but has not yet reached extreme bearish conditions.
This area frequently serves as an early accumulation zone where buyers may begin regaining control.
OVER SOLD (20)
Represents an extreme bearish momentum condition.
Selling pressure has reached unusually high levels.
Rather than immediately buying, traders should wait for bullish confirmation from price before entering a long position.
Dynamic RSI Visualization
The RSI line changes color according to momentum direction.
Green RSI Line
Indicates that RSI is rising and bullish momentum is strengthening.
Red RSI Line
Indicates that RSI is falling and bearish momentum is increasing.
This dynamic visualization allows traders to recognize momentum shifts without relying solely on numerical RSI values.
Trading Algorithm
The indicator does not generate trading signals simply because RSI reaches a certain level.
Instead, it follows a confirmation-based workflow.
Bullish Setup
A potential Buy opportunity is considered when:
RSI reaches the Support zone (35) or the Over Sold zone (20).
A strong bullish candle closes after momentum stabilizes.
Price confirms that buyers are beginning to regain control.
This confirmation-based approach helps reduce entries during ongoing bearish momentum.
Bearish Setup
A potential Sell opportunity is considered when:
RSI reaches the Resistance zone (68) or the Over Bought zone (80).
A strong bearish candle closes after bullish momentum weakens.
Price confirms increasing selling pressure.
This helps filter out false reversals during strong uptrends.
Momentum Confirmation Philosophy
One of the primary design goals of this indicator is to avoid trading solely based on RSI values.
Instead of assuming:
RSI reached 20 → Buy
or
RSI reached 80 → Sell
the indicator expects traders to combine RSI zones with actual market structure and candlestick confirmation.
This confirmation-first methodology is intended to reduce low-probability entries.
Hidden Momentum Concept
Momentum reversals do not always occur simultaneously on price and RSI.
Occasionally:
Price may create a new swing low while RSI does not.
RSI may create a new swing low while price remains relatively stable.
Likewise, the same behavior can occur near market highs.
These situations often indicate weakening momentum and can provide early evidence that trend strength is fading.
This indicator is designed to help traders visually identify these momentum shifts while combining them with price action confirmation before executing trades.
Multi-Timeframe Usage
Although the indicator performs well on lower timeframes such as the 1-minute chart, its underlying momentum framework is applicable across all TradingView-supported timeframes.
Many traders use:
1 Minute for scalping
5 Minute for intraday trading
15 Minute for short-term trend trading
Higher timeframes for broader market context
Using higher timeframe trend direction together with lower timeframe RSI confirmations may improve trade selection.
Practical Trading Workflow
A typical workflow may include:
Observe which RSI zone the market is approaching.
Wait for price action confirmation.
Confirm momentum direction using the RSI line color.
Enter only after the confirmation candle closes.
Manage risk using appropriate stop-loss placement and position sizing.
The indicator is intended to assist discretionary decision-making rather than automate entries.
Best Market Conditions
The indicator is particularly useful during:
Intraday trading
Scalping
Trending markets
Pullback trading
Momentum continuation setups
Reversal confirmation
Multi-timeframe analysis
Risk Notice
No technical indicator can predict future price movement with certainty.
RSI Momentum Zones Pro is designed as a decision-support tool and should be used alongside sound risk management, price action analysis, and overall market context.
It is not intended to be used as a standalone trading system, and traders should always confirm setups before entering positions.
Original Development
RSI Momentum Zones Pro has been independently designed and implemented by Forex_Market_Insights. The indicator combines structured RSI zoning, dynamic momentum visualization, and confirmation-based trading principles into a single workflow intended to improve momentum interpretation while remaining intuitive for discretionary traders. Wskaźnik

Fractal Timeframe Collision Node [MarkitTick]💡 The financial markets operate across multiple interacting timeframes, creating complex structural geometries that cannot be accurately analyzed through a single, isolated lens. The tool presented here acts as a comprehensive multi-timeframe aggregation engine, designed to isolate highly significant structural support and resistance clusters. By evaluating pivot points across four distinct time spans and merging them based on volatility-adjusted proximity, this system identifies high-probability reaction zones where structural exhaustion is most likely to occur. It is built strictly for the modern Pine Script environment, utilizing an entirely non-repainting architecture that respects the highest standards of data integrity and execution logic.
● ✨ Originality and Utility
Standard pivot or support/resistance scripts typically plot historical swing highs and lows independently. This creates chart clutter and often leaves the analyst guessing which level holds the most technical weight. This tool introduces the concept of "Collision Nodes." Instead of simply drawing every pivot, the algorithm scans higher timeframe data, identifies structural extremes, and clusters them together using a dynamic, adaptive mechanism.
When multiple higher timeframes project a pivot at the exact same price zone, a structural "Collision Node" is formed.
The utility lies in its objective strength grading: a node formed by the confluence of the 1-hour, 4-hour, and Daily charts mathematically demands more respect than a single localized swing point on a lower timeframe.
By filtering out the noise and only projecting nodes that meet a user-defined minimum strength threshold, the analyst is presented with a remarkably clean chart displaying only the most critical, high-liquidity zones.
Furthermore, the script automatically generates full trade execution parameters (Entry, Stop Loss, and multiple Take Profits) directly on the chart when a valid structural rejection occurs.
● 🔬 Methodology and Concepts
• Multi-Timeframe Pivot Extraction
The core engine relies on detecting localized extrema (Pivot Highs and Pivot Lows) over a user-defined lookback window. The script fetches these pivot values simultaneously from three higher timeframes plus the current chart's timeframe. To ensure absolute data integrity and prevent any future data leakage (repainting), the algorithm strictly requests historical, confirmed data using offset historical referencing.
• Volatility-Normalized Spatial Clustering
Once the pivots are extracted, the algorithm must determine if they "collide" or overlap. Because absolute price distance is irrelevant across different assets, the script uses a dynamic clustering mechanism normalized by the Average True Range (ATR).
A tolerance band is calculated by multiplying the current ATR by a user-defined coefficient.
If a newly discovered higher timeframe pivot falls within this exact tolerance band of an existing pivot cluster, it is merged into that cluster, and the cluster's "strength" rating is incremented.
If it falls outside the tolerance band, a new independent node is registered.
• Memory Management and Age Pruning
Financial markets possess a memory, but structural relevance decays over time. The script incorporates a memory management protocol that continually monitors the age of all registered nodes. If a node has not been tested or updated within a specific bar count limit, it is automatically pruned from the active array, ensuring that only highly relevant, modern liquidity pools are analyzed.
• Automated Signal Validation
A visual node is not a signal; it is an area of interest. The script validates trade signals by combining spatial location with price action. A valid signal requires the price to close inside the tolerance zone of a high-strength node, accompanied by a rejection candle (where the wick constitutes a significant percentage of the total candle range), and a structural close confirming the directional bias.
● 🎨 Visual Guide
• Collision Nodes
Teal Horizontal Lines: Represent bullish support nodes. The opacity of the line dynamically shifts based on the strength of the node (darker/more solid lines indicate higher timeframe confluence).
Red Horizontal Lines: Represent bearish resistance nodes. Like the bullish nodes, their visibility scales with structural strength.
Diamond Labels (◆×2, ◆×3): Attached to the end of the node lines, these labels explicitly display the node's strength rating. A "◆×3" label means three separate timeframes have confirmed a pivot at this exact mathematical level.
• Trade Execution Box
Dashed Blue Line: Indicates the exact Entry price upon signal confirmation.
Solid Red Line: Represents the dynamic Stop Loss, which is placed behind the collision node with an added ATR-based buffer to avoid premature liquidation.
Dashed Teal Lines (TP1, TP2, TP3): Represent calculated Take Profit levels projected automatically based on the user's defined Risk-to-Reward (RR) multipliers.
Red Background Fill: Visually maps the total risk zone between the Entry and the Stop Loss.
Teal Background Fill: Visually maps the total reward zone extending from the Entry up to the final Take Profit target.
• Real-time Dashboard
Located by default in the top right corner, this data table provides an instant summary of the market structure.
Bias: Displays the current active signal direction (LONG, SHORT, or NONE).
Active Nodes & Strengths: Lists the exact price levels of the nearest active bull and bear nodes, accompanied by visual progress bars displaying their respective strengths (Green for high strength, Yellow for medium, Red for low).
Trade Tracking: Displays the currently active Stop Loss and primary Take Profit levels if a trade configuration is locked on the chart.
● 📖 How to Use
Apply the indicator to your chart and set your three preferred higher timeframes in the settings (e.g., if trading on the 15-minute chart, you might select 1-Hour, 4-Hour, and Daily).
Observe the chart for the formation of high-strength Collision Nodes (look for ◆×3 or ◆×4 labels). These are your primary zones of interest.
Wait for price action to approach these nodes. Do not place blind limit orders.
Allow the script's internal logic to identify a structural rejection. When a valid rejection candle forms and closes at a node, a trade execution box will automatically populate on the chart.
Use the provided Entry, Stop Loss, and Take Profit lines to format your position sizing and manage the trade according to the mapped risk-to-reward parameters.
Optionally, link the script's advanced JSON webhook alerts to an external execution platform for automated trade routing.
● ⚙️ Inputs and Settings
• Core Settings
Pivot Lookback: The structural length required to confirm a swing high or low.
TF 1, TF 2, TF 3: The three higher timeframes used to scan for structural confluence.
Include Chart TF: Determines if the current chart's timeframe should also contribute to node strength.
Node Tolerance (×ATR): The spatial bandwidth used to cluster pivots together, measured as a multiplier of current volatility.
Min Node Strength: The minimum number of overlapping timeframes required for a node to be rendered on the chart.
• Filters
Require Rejection Candle: Enforces strict price action criteria, demanding that signals only fire if the candle displays a prominent rejection wick.
Min Wick % of Range: The exact percentage of the candle that must be composed of the wick to validate a rejection.
Max Node Age (bars): The duration a node remains active without being re-tested before being permanently purged from memory.
• Trade Tools
SL Buffer (×ATR): Adds a dynamic volatility buffer beyond the structural node to determine the absolute invalidation point.
TP1, TP2, TP3 (×SL Risk): The respective risk-to-reward multipliers used to dynamically project profit targets.
Lock Current Trade Levels: Freezes the visual risk/reward box on the chart until the trade hits either the final target or the stop loss, ignoring subsequent signals.
• Dashboard & Alerts
Show Dashboard: Toggles the visibility of the real-time data table.
Alert Actions: Customizable text fields allowing users to define specific JSON payload strings for long, short, and exit triggers.
● 🔍 Deconstruction of the Underlying Scientific and Academic Framework
The architectural foundation of this algorithm is heavily rooted in the Fractal Market Hypothesis (FMH), which posits that financial markets exhibit self-similar statistical structures across varying scales of time. In practical terms, a distribution pattern on a 5-minute chart mathematically resembles a distribution pattern on a Weekly chart. By aggregating pivot extrema from multiple independent time scales, this script exploits these fractal geometries to identify areas of harmonic resonance—price zones where liquidity pools overlap across different cohorts of market participants.
To resolve the spatial clustering problem, the system utilizes a volatility-normalized one-dimensional grouping algorithm conceptually akin to Density-Based Spatial Clustering of Applications with Noise (DBSCAN). Instead of utilizing fixed scalar distances (which fail as asset prices scale), the algorithm calculates an epsilon distance bounded by the Average True Range (ATR). This ensures that the clustering logic expands and contracts organically with market entropy. The ultimate output is a mathematically objective reduction of structural noise, isolating only the highest-density liquidity nodes that possess the greatest statistical probability of halting directional momentum.
⚠️ 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. Wskaźnik

APEX Contra Flow | ProjectSyndicateAPEX Contra Flow rebuilds the order flow hidden inside every candle and reads it as an auction — then scores, bar by bar, whether that auction has finished and is ready to reverse. It drills into each bar with a lower-timeframe scan, distributes the intrabar volume across price by true overlap, splits it into graded buy/sell pressure, and renders it as a footprint anchored by POC, Delta POC, intrabar VWAP and the Value Area. On top of that it runs one idea from auction theory that conventional profile tools ignore: a market doesn't turn where volume is heavy — it turns where the auction runs out of business. The Contrarian Engine finds the bars where aggression achieved nothing, grades them 0–10, and fades them back toward value.
Most footprint tools describe. This one takes a side.
🌊 Intrabar Footprint Engine — the core. A lower-timeframe scan breaks each chart bar into its internal prints and rebuilds the auction that produced it. Granularity is adjustable (1 Tick / 1S / 5S / 15S / 1M / 5M) or Auto-scaled to your chart, with an automatic fallback resolution — if your plan or symbol won't serve the resolution you asked for, the engine silently drops to one that works instead of drawing a blank chart.
🧮 Overlap-Proportional Allocation — the accuracy differentiator. Conventional intrabar profiles smear each print's volume equally across every row it touches, which fattens the profile and drags the POC toward wide bars. APEX Contra Flow weights every row by the exact price overlap between the intrabar's range and that row. The shape you read is the shape that traded.
⚖️ Graded Buy/Sell Classification — not close >= open. On tick data the engine classifies against bid/ask (at-or-above ask = buy, at-or-below bid = sell, interpolated between). Off tick data it uses a tunable blend of close-location-in-range and body direction. Delta becomes a gradient, not a coin flip — so a bar that closed flat but was bought all the way up no longer reads as neutral.
🎯 POC · Delta POC · Intrabar VWAP — three separate reads on one candle. The Volume POC is where trade concentrated. The Delta POC is where the largest one-sided delta sits — the two diverging is a tell in itself. The intrabar VWAP marks the candle's true average traded price.
🧲 Value Area (VA) — computed by true value-area expansion outward from the POC at your chosen percentage, drawn as a clean outline with everything outside it dimmed back. Fair value framed; the rest fades.
🔺 Diagonal Imbalances & Stacked Runs — every row is tested diagonally: buy at a level against sell one level below, sell against buy one level above. Rows clearing your ratio are marked ◆ and coloured by side. Consecutive runs are counted — stacked imbalance sitting at the extreme is exhaustion evidence, not strength.
🕯️ Excess vs Unfinished Auction — the read almost nothing else surfaces. Thin single prints at a bar's extreme (·) are excess: the auction rejected that price and finished. Heavy volume parked at the extreme is unfinished business — an untested magnet price will likely come back for. One says reversal, the other says return.
🔠 Auction Shape Classification — P / b / D / B — real market-profile logic, applied per candle.
▪️ P — POC in the upper third, thin below: the rally was short covering, not fresh buying. Weak. Fade it.
▪️ b — POC in the lower third, thin above: long liquidation / capitulation. Fade it.
▪️ D — balanced auction, POC mid-range. Rotation back to the middle.
▪️ B — double distribution (two volume clusters split by a thin gap). This is a trending auction — and it vetoes the fade outright. The single most valuable filter in the tool is the one that tells you to stand down.
🏆 0–10 Contrarian Conviction Score — the power-ranking. Each fade candidate earns a live grade from seven weighted, principled factors, every one with a fixed directional sign:
▪️ Effort without result — heavy relative volume and delta that produced no body.
▪️ Trapped delta — delta pushing one way while the candle closes the other. Someone is offside.
▪️ Wick rejection — how violently the extreme was defended.
▪️ Excess — thin tail at the extreme being faded (finished auction).
▪️ Auction shape — P against a high, b against a low.
▪️ CVD divergence — a new price extreme that cumulative delta refused to confirm.
▪️ Stacked imbalance at the extreme — aggression stacking into a wall.
Resolved to a tier: WK → MOD → STRONG → V.STRONG → EXTREME.
🚪 Context Gates — why the signals stay rare. A score alone fires nothing. The bar must also print a new N-bar extreme, stretch a configurable ATR distance beyond its mean, clear a cooldown, and survive the B-shape veto. Fading strength in a trend is how contrarians die; these gates exist to stop it.
🎯 Fade Signals, Targets & Invalidation — one clean FADE ▲ / FADE ▼ label carrying the score. A dotted magnet line projects to the target: the nearest naked POC in the fade direction, or the candle's own POC if none is standing. A tick marks the invalidation extreme. Hover the label for the full read — score, tier, auction shape, value migration, delta, relative volume, POC, VWAP and the LTF actually used.
📍 Naked POC Magnets — high-conviction candles leave their POC extended to the right until price trades back through it, then it's removed. Untested POCs are unfinished business — and they double as the fade target.
📖 Legend Key — a static, self-adapting key (bottom-right by default). It lists only the glyphs you have switched on, and reads your live settings — your imbalance ratio, your VA %, your score threshold — so it can never drift out of sync with the chart.
🎨 Nine Dark-Native Themes — Obsidian (default), Institutional, Aurora, Neon, Phantom, Solar, Ice, Plasma and Mono — every one tuned to read on a black background, plus full custom buy/sell/POC overrides.
🧹 Clean-Chart Discipline — no dashboard, by design. No panel, no stat block, no clutter competing with price. The profile is the interface; the score lives inside the candle that earned it, the reasoning lives in the tooltip. Bar delta, CVD, contrarian score and bar volume stream to the Data Window for anyone who wants the raw series.
🔒 Honest & Non-Repainting Core — fade signals fire on confirmed bars only and never repaint away once printed. No signal is ever hidden, deleted or de-rated to flatter the chart. The footprint of the live, forming candle naturally refreshes as it builds — that is inherent to reconstructing order flow in real time, not a defect — and every closed bar is fixed. The 0–10 score is a descriptive auction framework for ranking attention, not a backtested edge.
🔔 Native Alerts — Fade Long, Fade Short, and Any Fade.
🔧 Fully Customizable — profile basis (Volume / Delta), granularity, rows, bar length, classification method and blend weight, VA %, POC / Delta-POC / VWAP / imbalance / excess toggles, imbalance ratio, min score, extreme lookback, mean length and ATR extension, CVD divergence lookback, cooldown, target length, naked-POC threshold and cap, theme, out-of-value transparency, legend position and size.
🎯 Why this is different — profile tools show you where volume is and leave the conclusion to you. Footprint tools show you delta and leave the conclusion to you. APEX Contra Flow classifies the auction, tells you whether it finished or is still trending, refuses to fade the ones that are trending, and puts a graded 0–10 case for the reversal inside the candle that made it. You read where the auction broke, why it's exhausted, and where it should rotate back to — at a glance.
🚀 Apply to Gold (XAUUSD), Silver, Forex, Crypto, Indices and Futures on any intraday timeframe (volume-bearing symbols).
💡 Cleanest setup: an indicator cannot hide the chart's own candles — right-click the chart → Settings → Symbol → uncheck Body / Borders / Wick to let the footprint stand alone.
🎯 How To Trade It — Two Approaches
Everything hinges on one question the tool answers: has this auction finished, or is it still trending? Finished auctions rotate. Trending auctions run you over.
◾ 1) Fade the finished auction → rotate to value (the core thesis)
Use on STRONG / V.STRONG / EXTREME scores (≥7) where the grade is built on excess, trapped delta and CVD divergence — and the shape is P at a high or b at a low.
▪️ Wait for the FADE ▼ / FADE ▲ to print on the confirmed bar — the gates have already checked the new extreme, the ATR extension and the shape veto.
▪️ Entry: on the signal close, or on a shallow re-test of the faded extreme that fails to make a new one.
▪️ Stop: beyond the invalidation tick at the wick extreme. If price closes decisively through and accepts there, the auction wasn't finished — stand aside or flip to Approach 2.
▪️ Targets: the dotted magnet line — the nearest naked POC, else the candle's POC. The opposite Value-Area edge if rotation extends.
⚖️ The cleanest version: price spikes to a new 10-bar high, stretches beyond its mean, prints a long upper wick on heavy volume with positive delta but closes in the lower half (trapped buyers), the top rows are thin (excess), the POC sits high (P — short covering), and CVD refuses to confirm the new high. Score prints 8.4 EXT. That confluence is the exact move this tool was built to frame.
◾ 2) Stand down — and trade the other side
The tool tells you when not to fade, which is worth as much as the signal.
▪️ Shape = B (double distribution) — the auction is trending and building a second distribution. The veto fires. Do not fade; look for continuation on the pullback into the lower distribution instead.
▪️ No excess, heavy volume at the extreme — unfinished business. Price is likely to return to that price rather than reverse from it.
▪️ Signals fire and immediately fail, repeatedly — one-sided flow is expanding. Trade with it into the next naked POC.
Rule of thumb: ⭐ High score + excess + P/b shape + CVD divergence → expect rotation, fade toward the POC. ⭐ B shape, no excess, or price accepting beyond the level → expect follow-through, trade the break toward the next naked POC.
⚠️ IMPORTANT NOTICE: APEX Contra Flow reconstructs estimated order flow from lower-timeframe data. Intrabar delta, absorption and buy/sell classification are an approximation of true tape, not exchange order-book data — off tick resolution the buy/sell split is inferred from price behaviour, not observed aggression. The 0–10 contrarian score is a descriptive auction framework — NOT a backtested signal and NOT a standalone trade trigger. Fading extremes is inherently a counter-trend activity and carries real risk of repeated stop-outs in a trending market; the shape veto reduces this but cannot eliminate it. The indicator requires a volume-bearing symbol. Always combine it with your own strategy, price-action analysis and risk management. Past behaviour does not guarantee future results. Wskaźnik

Fast RSI Divergence at VWAP Signals# Fast RSI Divergence at VWAP Signals
Fast RSI Divergence at VWAP Signals is designed to identify early bullish and bearish RSI divergences while combining them with VWAP Standard Deviation bands to help highlight potential areas of price exhaustion.
Unlike traditional pivot-based divergence indicators that require multiple bars of confirmation, this script uses a dynamic reference-point approach. This allows divergences to be detected earlier while providing optional candle-close confirmation for traders who prefer additional validation.
## Features
• Fast bullish and bearish RSI divergence detection
• Dynamic reference-point algorithm instead of delayed pivot confirmation
• Daily anchored VWAP with configurable Standard Deviation bands
• Optional VWAP deviation filter
• Choice of wick-based or close-based divergence detection
• Optional candle-close confirmation
• Optional RSI momentum turn confirmation
• Optional candle direction confirmation
• Adjustable cooldown between consecutive signals
• Optional display of divergence reference points
• Built-in BUY and SELL alerts
## How It Works
The indicator continuously monitors RSI for overbought and oversold conditions.
When RSI reaches an extreme, a reference point is created. Instead of waiting for a confirmed pivot, the script immediately compares subsequent price action against that reference.
A bearish divergence is detected when:
• Price makes a higher high
• RSI forms a lower high
A bullish divergence is detected when:
• Price makes a lower low
• RSI forms a higher low
Additional filters can be enabled to require:
• Price touching or closing outside the selected VWAP Standard Deviation band
• RSI beginning to reverse direction
• Confirmation from candle direction
• Candle-close confirmation before the signal becomes final
After each confirmed signal, the reference point is automatically updated to prevent repeated signals from the same price movement.
## Recommended Usage
This indicator is designed to work best as part of a confluence-based trading approach rather than as a standalone signal generator.
For additional confirmation, it is recommended to use it together with **Bollinger Bands**. Confluence between RSI divergence, VWAP Standard Deviation extremes, and Bollinger Band extremes can help identify areas where price may be statistically extended.
Examples of higher-confluence setups include:
• Bullish RSI divergence occurring near both the lower VWAP Standard Deviation band and the lower Bollinger Band.
• Bearish RSI divergence occurring near both the upper VWAP Standard Deviation band and the upper Bollinger Band.
Additional confirmation from market structure, trend direction, support and resistance, or volume analysis may further improve trade selection.
## Inputs
The indicator provides extensive customization, including:
• RSI Length
• Overbought and Oversold Levels
• Maximum Divergence Lookback
• Minimum RSI Difference
• Minimum Price Extension
• VWAP Standard Deviation Multipliers
• Wick or Close Validation
• Candle Close Confirmation
• RSI Turn Confirmation
• Candle Direction Confirmation
• Signal Cooldown
• Display Options
## Alerts
Two alert conditions are included:
• Fast RSI Divergence BUY
• Fast RSI Divergence SELL
These alerts can be used with TradingView's alert system or external automation.
## Notes
This indicator is intended to highlight potential momentum exhaustion near statistically extended price levels. Divergence signals indicate that momentum and price are no longer moving in sync, but they do not necessarily imply an immediate reversal.
As with any technical analysis tool, signals should be interpreted within the broader market context. No indicator can predict future price movements with certainty.
Wskaźnik

FDS Pro v3.1 Kurumsal Finansal Radar ve Risk Sistemi💎 FDS PRO (FINANCIAL DIAMOND SCORE) v3.1 - TANITIM DOKÜMANI
🎯 GENEL BAKIŞ
💎 FDS PRO, hisse senetlerinin finansal sağlığını, büyüme potansiyelini ve iflas riskini tek bir ekranda analiz eden, çoklu kurumsal metodoloji destekli profesyonel bir Pine Script terminalidir.
Temel Özellikler
✅ Zaman Dilimi Zırhı (Memory Engine): 5 dakikalık grafikte bile 1 yıllık bilançoyu kilitler, çökmez.
✅ 22 Finansal Metrik: 5 ana grupta (Likidite, Kârlılık, Büyüme, Nakit Akışı, Değerleme) tam tarama.
✅ Yapay Zeka Mantığı (Fallback): F/K anlamsızlaştığında (zarar durumunda) otomatik P/S oranına geçer.
✅ Otomatik Enflasyon Düzeltmesi: ROE (Özsermaye Kârlılığı) TÜFE verisiyle arındırılarak "Reel ROE" hesaplanır.
✅ 3 Görünüm Modu: Mini, Detaylı (Kompakt 8 Sütun) ve Büyüme Tarama.
✅ Gelişmiş Risk Radarı: Altman Z, Zmijewski, Piotroski ve "İflas Sarmalı" tespiti.
================================================================================ 📋 5 ANA DEĞERLENDİRME GRUBU (Ağırlıklı Skorlama)
Sistem, şirketi kendi sektörel dinamiklerine göre (Banka, Teknoloji, GYO, Sanayi vb.) farklı eşiklerle puanlar.
💧 G1 - Likidite & Borç (%20): Cari Oran, Borç/Özsermaye, Net Borç/FAVÖK, Nakit/Kısa Borç, Faiz Karşılama, Net Nakit.
💰 G2 - Kârlılık & Verimlilik (%25): Brüt Marj, Faaliyet Marjı, Reel ROE, ROIC, ROA.
📈 G3 - Büyüme Kalitesi (%20): Gelir, Brüt Kâr, FAVÖK ve EPS (Hisse Başı Kâr) Büyümesi (YoY).
💎 G4 - Nakit Akış Kalitesi (%15): FCF Marjı, Nakit Akış/Net Kâr, FCF Büyümesi.
🏷️ G5 - Değerleme (%20): FD/FAVÖK, F/K (P/S Fallback), EV/Satış, Fiyat/FCF.
================================================================================ 🛡️ RİSK & DEĞERLEME MODELLERİ (5 MOTORLU ÇAPRAZ SORGU)
1. Zmijewski Skoru (BIST'in Gizli Kahramanı):
Altman'ın aksine finansal sektörlerde (Bankalar/GYO) ve BIST gibi volatil piyasalarda kusursuz çalışır. İflas olasılığını ölçer. (Negatif değerler güvenlidir).
2. Piotroski F-Skor (0-9):
Muhasebe hilelerini ve finansal trendi ölçer. 7 ve üzeri puanlar, bilançosunu gerçekten toparlayan şirketleri işaret eder.
3. Altman Z-Score:
Edward Altman'ın efsanevi iflas riski modeli. Ağır sanayi ve üretim şirketlerinin uzun vadeli sağlığını test eder.
4. Magic Formula (Joel Greenblatt):
Hem kârlı (ROIC) hem de ucuz (FD/FAVÖK) şirketleri bulur. Kalite onayı sunar.
5. Kritik Risk Radarı (Özel Algoritma):
🌪️ İflas Sarmalı: Borç/Öz > 3, Net Marj < 0 ve Negatif FCF durumunda uyarır.
🎭 Değer İllüzyonu: P/B ucuz görünse de ROE ve Marjların çöp olduğu "değer tuzaklarını" yakalar.
================================================================================ 📊 TABLO MODLARI
1. MİNİ MOD:
Sadece genel skor, 5 ana grubun puanı/trendi ve 3'lü risk özetini (Altman, Zmijewski, Piotroski) gösterir. Ekranı yormaz.
2. DETAYLI MOD (8 Sütunlu Kompakt):
Tüm 22 metriği, çarpanları, ekstra analizleri (Graham Sayısı & PEG Rasyosu) ve risk radarını tek bir kompakt panelde sunar.
3. BÜYÜME TARAMA (10 Kriterli Acımasız Filtre):
Özkan Filiz metodolojisinin güçlendirilmiş halidir.
✅ ROE artan mı?
✅ Net Kâr artan mı?
✅ Satış artan mı?
✅ FAVÖK artan mı?
✅ FAVÖK Marjı artan mı?
✅ P/B < 1.5 mi?
✅ F/K 0-20 arasında mı?
✅ Cari Oran 1-100 arasında mı?
✅ Net Borç/FAVÖK < 3 mü?
✅ YENİ: ROIC > WACC mi? (Şirket enflasyon ve faizin üzerinde değer yaratıyor mu?)
================================================================================ 🚀 KULLANIM ÖNERİLERİ
Değer Yatırımcıları İçin:
Tablo Modu: Detaylı
Odak: Zmijewski < 0 (Güvenli), Magic Formula > 60, Graham Sayısı > Mevcut Fiyat.
Büyüme Yatırımcıları İçin:
Tablo Modu: Büyüme Tarama
Odak: 10 Kriterden en az 7'sini geçmesi, PEG Rasyosu < 1.0 (Ucuz Büyüme).
================================================================================ ⚠️ UYARILAR VE SINIRLAMALAR
Veri Gecikmesi: Finansal veriler bilançolar açıklandıkça güncellenir.
Limitler: TradingView'in veri çekme limitleri nedeniyle çok düşük zaman dilimlerinde (1dk) yüklenme süresi uzayabilir.
Yatırım Tavsiyesi Değildir: Bu indikatör sadece bilgilendirme amaçlıdır. Finansal tabloları analiz eden matematiksel bir asistan olup, nihai alım/satım kararı yatırımcıya aittir.
================================================================================ 📜 VERSİYON GEÇMİŞİ
v3.1 (Mevcut Güncelleme) 🆕
✅ Zaman Dilimi Zırhı (Array Engine) eklendi. MTF hataları giderildi.
✅ Zmijewski Skoru ve Kritik Risk Radarı (İflas Sarmalı) eklendi.
✅ Büyüme Taramasına 10. Kriter olarak "ROIC > WACC" şartı getirildi.
✅ F/K anlamsızlaştığında devreye giren P/S Fallback motoru kodlandı.
✅ Negatif özsermaye tuzağı ve Piotroski hisse sulandırma mantığı düzeltildi.
================================================================================ 📊 İyi Analizler, Karlı Yatırımlar!
Geliştirici:
Lisans: TradingView Kullanım Koşulları (Açık Kaynak)
📖 FDS PRO v3.1 - TABLO VERİLERİ VE METRİK SÖZLÜĞÜ
Bu rehber, FDS Pro v3.1 ekranında yer alan 3 farklı tablo modundaki satırların ve terimlerin ne anlama geldiğini, yatırımcıya ne anlattığını açıklamak için hazırlanmıştır.
1️⃣ MİNİ MOD (Hızlı Özet Tablosu)
Ekranı yormadan şirketin genel sağlığını tek bakışta görmenizi sağlayan kontrol panelidir.
Genel Skor (0-10): Şirketin 22 farklı metriğe göre aldığı nihai nottur. 7 ve üzeri "Güçlü", 4-7 arası "Nötr/İzlenebilir", 4 altı "Riskli" kabul edilir.
G1 Likidite Skoru: Şirketin kısa vadeli borçlarını ödeme ve nakit yaratma gücünün özetidir.
G2 Kârlılık Skoru: Şirketin ne kadar verimli çalıştığını ve enflasyonu yenip yenemediğini gösterir.
G3 Büyüme Skoru: Satışların ve kârların geçen yıla göre ne kadar istikrarlı arttığının notudur.
G4 Nakit Akış Skoru: Kâğıt üzerindeki kârın, kasaya giren gerçek nakde dönüşüp dönüşmediğini ölçer.
G5 Değerleme Skoru: Şirketin mevcut fiyatının, ürettiği değere göre "Ucuz" mu yoksa "Pahalı" mı olduğunu gösterir.
Risk Özeti: Altman, Zmijewski ve Piotroski modellerinin şirkete verdiği kısa durum etiketleridir (Örn: Güvenli, Riskli).
2️⃣ DETAYLI MOD (Kompakt 8 Sütun - Tüm Metrikler)
Şirketin "Makine Dairesi"dir. Tüm metrikler ve risk modelleri burada detaylıca listelenir.
G1 - LİKİDİTE VE BORÇLULUK (Şirket ayakta kalabilir mi?)
Cari Oran: (Dönen Varlıklar / Kısa Vadeli Borçlar). Şirketin 1 yıl içindeki borçlarını ödeme gücüdür. 1.5 ve üzeri idealdir.
Borç / Özsermaye: Şirketin kendi parasıyla mı yoksa banka kredisiyle mi büyüdüğünü gösterir. Düşük olması tercih edilir.
Net Borç / FAVÖK: Şirket hiç büyümezse, mevcut faaliyet kârıyla tüm borcunu kaç yılda ödeyeceğini gösterir. 3'ün altı iyidir.
Faiz Karşılama: Faaliyet kârının, faiz giderlerini kaç kez ödeyebildiğini gösterir. "Sonsuz (∞)" yazıyorsa şirketin finansal borcu yok demektir.
G2 - KÂRLILIK VE VERİMLİLİK (Şirket işini iyi yapıyor mu?)
Brüt Marj: Satılan malın maliyeti düşüldükten sonra kalan kâr yüzdesidir. Şirketin fiyat belirleme gücünü (tekel olup olmadığını) gösterir.
Reel ROE (Özsermaye Kârlılığı): Enflasyondan arındırılmış net kârlılıktır. Şirketin patrona (veya sana) yatırdığı para üzerinden enflasyon üstü ne kadar kazandırdığını gösterir.
ROIC (Sermaye Getirisi): Şirketin hem kendi parası hem de aldığı borçlarla yaptığı yatırımlardan elde ettiği gerçek getiridir. Warren Buffett'ın en sevdiği metriktir.
G3 - BÜYÜME KALİTESİ (Şirket yerinde mi sayıyor?)
Gelir Büyümesi (YoY): Satışların geçen yılın aynı çeyreğine göre yüzde kaç arttığını gösterir.
FAVÖK Büyümesi: Esas faaliyetlerden elde edilen kârın büyüme hızıdır.
EPS Büyümesi: Hisse başına düşen kârın artış hızıdır. Hisse fiyatını uzun vadede en çok etkileyen itici güçtür.
G4 - NAKİT AKIŞ KALİTESİ (Kâr gerçek mi, muhasebe oyunu mu?)
FCF Marjı: Satışlardan elde edilen gelirin yüzde kaçının "Serbest Nakit Akışına" (temettü dağıtılabilecek veya yatırım yapılabilecek net nakde) dönüştüğünü gösterir.
Nakit Akış / Net Kâr: Kasaya giren paranın, bilançoda açıklanan kâra oranıdır. 1.0'ın altındaysa şirket kâr açıklıyor ama parayı tahsil edemiyor demektir (Tehlike sinyali).
G5 - DEĞERLEME (Bu hisse bu fiyata alınır mı?)
F/K (Fiyat/Kazanç): Yatırdığın parayı şirketin net kârıyla kaç yılda amorti edeceğini gösterir. (Zarar eden şirketlerde sistem otomatik olarak P/S - Fiyat/Satış oranına geçer).
FD / FAVÖK: Şirketin piyasa değeri + borçlarının, ürettiği faaliyet kârına oranıdır. Şirketi komple satın alsan kendini kaç yılda amorti eder sorusunun cevabıdır.
PEG Rasyosu: F/K oranının, şirketin büyüme hızına bölünmesidir. 1'in altındaysa şirket "Büyümesine göre çok ucuz" demektir.
Graham Sayısı: Benjamin Graham'ın formülüyle hesaplanan "Adil Değer"dir. Mevcut fiyat bu sayının altındaysa hisse iskontoludur.
3️⃣ BÜYÜME TARAMA MODU (10 Kriterli Filtre)
Hızlıca "Kaliteli ve Ucuz Büyüyen" şirketleri avlamak için kullanılan acımasız filtredir. Yanında (✅) olanlar testi geçmiş, (❌) olanlar kalmış demektir.
ROE Artan mı?: Özsermaye kârlılığı geçen yıla göre yükselmiş mi?
Net Kâr Artan mı?: Şirket geçen yıla göre daha fazla kâr etmiş mi?
Satış Artan mı?: Ciro büyüyor mu?
FAVÖK Artan mı?: Esas işinden ettiği kâr artıyor mu?
FAVÖK Marjı Artan mı?: Şirket maliyetlerini kısıp kâr marjını genişletebilmiş mi?
P/B < 1.5 mi?: Piyasa Değeri / Defter Değeri oranı makul seviyede mi? (Aşırı şişmemiş mi?)
F/K 0-20 Arasında mı?: Şirket kâr ediyor mu ve fiyatı mantıklı bir aralıkta mı?
Cari Oran 1-100 Arasında mı?: Şirketin kısa vadeli borç riski yok değil mi?
Net Borç/FAVÖK < 3 mü?: Şirket borç batağında değil, değil mi?
ROIC > WACC mi?: Şirketin yatırımlardan elde ettiği getiri (ROIC), paranın maliyetinden ve enflasyondan (WACC) yüksek mi? (Gerçek değer yaratımı).
🚨 RİSK VE DEĞERLEME MODELLERİ SÖZLÜĞÜ (Alt Panel)
Zmijewski Skoru: Özellikle Türkiye gibi dalgalı piyasalar için en iyi iflas/risk modelidir. Sonucun Negatif (-) olması şirketin güvende olduğunu gösterir. Pozitif değerler risktir.
Piotroski F-Skor: 0 ile 9 arası puan verir. 7-8-9 puanlar şirketin finansal olarak harika bir trendde olduğunu ve bilançosunu iyileştirdiğini kanıtlar.
Altman Z-Score: Üretim/Sanayi şirketlerinin uzun vadeli iflas riskini ölçer. 2.6 üzeri çok güvenli, 1.1 altı risklidir.
Magic Formula: Şirketin hem "Ucuz" hem de "Kârlı" olup olmadığını 0-100 arası puanlar. 60 ve üzeri iyidir.
Kritik Risk Radarı: Sistemin sigortasıdır. "İflas Sarmalı" uyarısı veriyorsa, şirket kağıt üzerinde ucuz görünse bile uzak durulmalıdır. "Bilanço Temiz" yazısı en güvenli limandır. Wskaźnik

Multi-Oscillator Divergence Scanner [Quantum Algo]Multi-Oscillator Divergence Scanner
====================================================
🔶 OVERVIEW
Multi-Oscillator Divergence Scanner is a confluence-based divergence indicator that scans up to seven classic oscillators simultaneously — Relative Strength Index, Moving Average Convergence Divergence, Stochastic Oscillator, Commodity Channel Index, On Balance Volume, Money Flow Index, and Momentum — and displays the result on two synchronized canvases at once. Divergence lines, graded labels, and reaction zones are drawn directly on the price chart, while a dedicated pane below plots a Composite Oscillator built from every enabled engine, with the same divergence lines mirrored onto the composite itself. You see both slopes of every divergence — price disagreeing with momentum — in one glance.
The problem this script solves is selective divergence trading. Any single oscillator produces frequent divergences, and most of them fail. Requiring multiple mathematically independent engines — momentum-based, volume-based, and volatility-normalized — to diverge at the same confirmed swing filters the noise down to setups where disagreement between price and participation is broad, not incidental.
🔶 WHAT IS A DIVERGENCE?
A divergence occurs when price prints a new extreme but an oscillator refuses to confirm it. A regular bullish divergence forms when price makes a lower low while the oscillator makes a higher low — a classic reversal condition. A regular bearish divergence forms when price makes a higher high while the oscillator makes a lower high. Hidden divergences are the continuation counterparts: price makes a higher low while the oscillator makes a lower low (hidden bullish), or price makes a lower high while the oscillator makes a higher high (hidden bearish). This scanner detects all four types on confirmed swing pivots.
🔶 WHAT IS THE COMPOSITE OSCILLATOR?
The Composite Oscillator is the consensus reading of every engine you enable. Bounded oscillators (Relative Strength Index, Stochastic, Money Flow Index) contribute their native zero-to-one-hundred values; unbounded engines (Moving Average Convergence Divergence histogram, On Balance Volume, Momentum) are range-normalized over a configurable lookback; the Commodity Channel Index is rescaled onto the same axis. The average of all enabled engines plots as a single gradient line with overbought and oversold guides, a midline fill, and divergence lines drawn directly on it — so the pane shows aggregate momentum from the same engines that vote on every signal, not a separate calculation.
🔶 WHY THIS SCRIPT IS ORIGINAL
1. True multi-engine confluence. Divergences are not detected on one oscillator and decorated with others. All seven engines are evaluated independently at every confirmed pivot, and a signal only exists when the minimum confluence count you set is reached.
2. Dual-canvas mirroring. Every qualified divergence is drawn twice: on price, and on the Composite Oscillator in the pane, connected at the same two pivots. Both slopes of the disagreement are visible simultaneously — the visual proof that defines a divergence.
3. Consensus composite pane. The pane line is not one more oscillator; it is the averaged, normalized voice of the exact engines doing the scanning, colored by a gradient between the oversold and overbought guides.
4. Full transparency on every label. Each signal prints its strength as a diamond meter and lists the exact oscillators that diverged (for example: RSI · OBV · MFI). You always know why a signal exists — nothing is a black box.
5. Strength-scaled visuals. Divergence lines thicken with confluence on both canvases, and signals reaching the Strong threshold upgrade to the accent color, so chart hierarchy communicates quality instantly.
6. Reaction zones with a life cycle. Every regular divergence projects a volatility-sized zone around its pivot (measured in Average True Range). Zones gray out automatically the moment price invalidates them, so the chart always distinguishes live zones from dead ones.
7. Divergence pressure gauge. A decaying pressure model accumulates bullish and bearish divergence weight over time, giving a one-glance read on which side has been stacking disagreement with price.
🔶 HOW IT WORKS
Pivot scanning: Swing highs and swing lows are confirmed with a symmetric pivot lookback. All divergence checks are evaluated on closed bars at pivot confirmation, so historical signals do not repaint. Confirmation lag equals the right-side pivot length by design.
Confluence evaluation: At each confirmed pivot, every enabled oscillator's value at that pivot is compared against its value at the previous same-side pivot. The four divergence types are tested independently per oscillator, and contributions are counted.
Signal grading: Signals meeting the Minimum Oscillator Confluence print with strength diamonds (one per contributing oscillator). Signals reaching the Strong Signal Threshold upgrade to the accent color and thicker geometry on both the price chart and the composite pane.
Composite rendering: The pane plots the consensus line with a gradient fill to the midline, dashed overbought and oversold guides, tinted extreme bands, triangle marks at divergence bars, and the mirrored divergence lines.
Reaction zones: Each regular divergence projects a box around its pivot sized by Average True Range, extended a configurable number of bars. A bullish zone grays out when price closes below it; a bearish zone grays out when price closes above it.
Dashboard: A fully themeable panel on the price chart shows the last signal, a live divergence pressure meter, and one row per engine with its live value — color-coded for overbought, oversold, or directional state — plus each engine's most recent divergence side. Text size (four steps), position, and every color (title band, background, frame, grid, header, body, muted) are adjustable.
Chart hygiene: The number of divergences kept is capped by input, on both canvases. Older lines, labels, and zones are deleted automatically, keeping the chart readable and the auto-scale anchored to current price.
🔶 HOW TO USE IT
1. Works on any market — cryptocurrency, forex, gold, indices, stocks, futures — and any timeframe. Higher timeframes produce fewer, larger-structure signals.
2. Start with Minimum Oscillator Confluence at 2 and the Strong threshold at 4. Raise the minimum to 3 for a strict, low-frequency reversal tool; lower it to 1 to study single-oscillator behavior.
3. Read the pane and the chart together: a valid signal shows price sloping one way and the composite sloping the other, connected at the same pivots.
4. Regular divergences are reversal-oriented: treat them as exhaustion evidence at swing extremes, strongest when the composite is also inside an overbought or oversold band.
5. Hidden divergences are continuation-oriented: treat them as trend re-entry evidence during pullbacks, and do not read them like reversal signals.
6. Use the reaction zone as the decision area: a live zone holding on retest supports the signal; a grayed zone means the divergence failed.
7. The pressure meter is context, not a trigger — persistent one-sided pressure alongside fresh strong signals is the highest-quality condition.
🔶 SETTINGS
- Pivot Left / Right Length — swing size; larger values scan bigger structures.
- Independent toggles and lengths for all seven oscillator engines.
- Composite pane: normalization lookback, overbought and oversold levels, pane marks, and mirrored divergence lines toggle.
- Regular and hidden divergence toggles, minimum confluence, strong threshold.
- Reaction zone height (Average True Range ratio) and extension.
- Divergences To Keep — caps historical drawings on both canvases for chart cleanliness and stable auto-scale.
- Dashboard with adjustable text size, position, live oscillator values, and full color theming.
- Full color customization for all chart drawings and pivot markers.
🔶 ALERTS
- Bullish Divergence / Bearish Divergence — a regular divergence met the confluence minimum.
- Hidden Bullish Divergence / Hidden Bearish Divergence — a continuation divergence met the minimum.
- Strong Divergence — a regular divergence reached the strong threshold.
🔶 FREQUENTLY ASKED QUESTIONS
Does the indicator repaint? No. Divergences are evaluated only on confirmed pivots at bar close. The trade-off is intentional confirmation lag equal to the right-side pivot length.
Why does a pane divergence line sometimes start slightly off the composite's visual peak? Divergence is measured at price structure points. The line connects the composite's values at the two confirmed price pivots, which is the correct comparison even when the composite made its own extreme a bar or two away.
Why do some obvious divergences not print? Either the confluence minimum was not reached, the oscillator involved is disabled, or the swing did not confirm as a pivot under the current lengths.
Which oscillators should I enable? The default set mixes momentum and volume perspectives, which is the point of confluence: independent evidence, not seven copies of the same math.
Is a Strong signal a guaranteed reversal? No. Strength counts agreement between engines; it is a transparency measure, not a probability of profit.
🔶 CREDITS
This script builds its scanning and composite engine on classic, public-domain oscillators, and gratefully credits their creators: the Relative Strength Index by J. Welles Wilder Jr. (1978), Moving Average Convergence Divergence by Gerald Appel, the Stochastic Oscillator popularized by George C. Lane, the Commodity Channel Index by Donald Lambert (1980), On Balance Volume by Joseph Granville (1963), and the Money Flow Index by Gene Quong and Avrum Soudack. All oscillator calculations use standard built-in formulas. Drawing divergence lines on an oscillator is a long-established charting convention popularized by many community authors, acknowledged here as shared prior art. The multi-engine confluence scanner, the consensus Composite Oscillator, the dual-canvas mirroring, transparency labeling, strength grading, reaction zone life cycle, pressure model, and all code in this script are original work — no third-party or open-source script code was reused.
🔶 LIMITATIONS
Divergence can persist or fail entirely during strong trends; regular divergences against a powerful trend are the weakest application. Volume-based engines (On Balance Volume, Money Flow Index) are less meaningful on symbols with unreliable volume reporting. The composite's normalized components depend on the normalization lookback. Pivot confirmation introduces intentional delay. No indicator replaces independent analysis.
🔶 DISCLAIMER
This script is provided strictly for educational and informational purposes. It is not financial advice, an investment recommendation, or a solicitation to buy or sell any financial instrument. Past behavior of any signal does not guarantee future results. Trading involves substantial risk. Always do your own research and manage risk independently.
Wskaźnik

ICT SMC H4 FVG Retest M15 Scalping KillzonesICT SMC H4 FVG Retest — M15 Scalping Killzones
Overview
ICT SMC H4 FVG Retest — M15 Scalping Killzones is a multi-timeframe trading indicator designed to identify structured intraday setups based on:
* Confirmed higher-timeframe Fair Value Gaps
* M15 execution Fair Value Gaps
* ICT-style killzones
* Session highs and lows
* H4 buy-side and sell-side liquidity
* Market or limit-entry models
* Liquidity-based profit targets
The indicator is intended to be used on a 15-minute chart.
Its purpose is not to generate a large number of signals. It is designed to wait for a higher-timeframe imbalance, a valid departure from that zone, and a later retest during an active trading session.
⸻
Core strategy
The standard short setup follows this sequence:
1. A bearish H4 Fair Value Gap is confirmed.
2. Price moves below the H4 FVG.
3. Price later returns to the H4 FVG during an enabled killzone.
4. A bearish M15 FVG forms and overlaps the H4 zone.
5. The M15 candle closes and confirms the setup.
6. The indicator displays the proposed entry, stop-loss and target.
The bullish setup uses the opposite sequence:
1. A bullish H4 FVG is confirmed.
2. Price moves above the H4 FVG.
3. Price later returns to the H4 FVG during an enabled killzone.
4. A bullish M15 FVG forms inside or overlapping the H4 zone.
5. The M15 candle closes and confirms the setup.
6. The indicator displays the proposed entry, stop-loss and target.
The H4 FVG that is created during the initial market displacement is treated as a future retest zone. The indicator does not use the M15 FVGs that formed before the H4 candle was confirmed.
⸻
Non-repainting higher-timeframe logic
The indicator only uses confirmed higher-timeframe candles.
A new H4 FVG is therefore displayed only after the third H4 candle in the three-candle FVG sequence has closed.
This avoids using an H4 imbalance that may appear intrabar and disappear before the H4 candle closes.
The trade-off is intentional:
* the FVG is not shown as confirmed while the H4 candle is still forming;
* once the H4 candle closes, the confirmed zone appears on the M15 chart;
* the indicator then waits for a future retest.
The confirmed HTF FVG is used for signals and alerts. No unconfirmed HTF data is used for trade validation.
⸻
Fair Value Gap definition
Bullish FVG
A bullish FVG exists when the low of the third candle is above the high of the first candle.
The imbalance is the price range between:
* the high of the first candle;
* the low of the third candle.
Bearish FVG
A bearish FVG exists when the high of the third candle is below the low of the first candle.
The imbalance is the price range between:
* the high of the third candle;
* the low of the first candle.
The large middle candle is usually the displacement candle, but its full body is not the FVG. The FVG is only the untraded space between the first and third candles.
⸻
Entry modes
The indicator includes three HTF retest models.
A — Strict retest
Price must first close outside the HTF FVG, then return to the zone.
For a bearish FVG:
* price must close below the FVG;
* price must later return into it.
For a bullish FVG:
* price must close above the FVG;
* price must later return into it.
This is the most selective mode and is the default setting.
A′ — Tolerant retest
A wick outside the HTF FVG is sufficient to validate the departure.
This mode produces more opportunities than the strict model but may accept less decisive departures.
B — Direct tap in killzone
No prior departure from the HTF FVG is required.
A direct touch of the HTF zone during an enabled killzone can become eligible if the remaining entry conditions are satisfied.
This is the least selective mode.
⸻
M15 confirmation
By default, the indicator requires an M15 Fair Value Gap in the same direction as the HTF FVG.
For a short:
* the HTF FVG must be bearish;
* the M15 FVG must also be bearish;
* the M15 FVG must overlap the HTF FVG.
For a long:
* the HTF FVG must be bullish;
* the M15 FVG must also be bullish;
* the M15 FVG must overlap the HTF FVG.
The M15 FVG size filter can be used to ignore very small imbalances.
When Require an M15 FVG is disabled, the indicator can generate a setup from a simple HTF FVG retest during a killzone.
⸻
Candle-close confirmation
The setting:
Validate signals only at M15 close
should normally remain enabled.
When enabled:
* an intrabar M15 FVG is not enough;
* the setup must still be valid when the M15 candle closes;
* triangles and alerts are produced only from confirmed M15 conditions.
This prevents signals from appearing during a candle and disappearing before its close.
⸻
Killzones
Killzones are anchored to the native timezone of each market. They automatically follow daylight-saving changes where applicable.
Asia killzone
Default timezone:
Asia/Tokyo
Default window:
09:00–13:00 Tokyo time
London killzone
Default timezone:
Europe/London
Default window:
07:00–10:00 London time
New York AM killzone
Default timezone:
America/New_York
Default window:
09:30–11:00 New York time
New York PM killzone
Default timezone:
America/New_York
Default window:
13:30–16:00 New York time
Each killzone can be enabled, disabled or adjusted independently.
The background colors only indicate an active trading window. They do not indicate bullish or bearish direction.
⸻
Entry types
Market at close
The proposed entry is the closing price of the confirmed signal candle.
The setup becomes visually active immediately after confirmation.
Limit at FVG edge
The indicator places a theoretical limit entry at the relevant edge of the M15 FVG.
For a bearish setup, the entry is placed at the lower boundary of the bearish M15 FVG.
For a bullish setup, the entry is placed at the upper boundary of the bullish M15 FVG.
If M15 confirmation is disabled, the relevant HTF FVG boundary is used instead.
The limit order remains pending for the selected number of M15 candles. If it is not filled before expiration, the order is cancelled and the HTF zone may become available for a later setup.
⸻
Stop-loss placement
For a bearish setup, the stop-loss is placed:
* above the opposite side of the M15 FVG;
* plus the selected tick buffer.
For a bullish setup, the stop-loss is placed:
* below the opposite side of the M15 FVG;
* minus the selected tick buffer.
When M15 FVG confirmation is disabled, the stop is placed beyond the opposite side of the HTF FVG.
The Stop buffer in ticks setting adds a small safety margin beyond the imbalance boundary.
⸻
Profit targets
The indicator supports two target models.
Liquidity target
When enabled, the indicator searches for the nearest eligible liquidity level in the direction of the trade.
Possible targets include:
* previous Asia session high or low;
* previous London session high or low;
* previous New York session high or low;
* H4 buy-side liquidity;
* H4 sell-side liquidity;
* the current session high or low.
A target must offer at least the selected minimum reward-to-risk ratio.
Fixed R:R fallback
If no eligible liquidity target is available, the indicator uses the selected fixed reward-to-risk ratio.
The default fallback is:
2.0R
⸻
Swept liquidity handling
Two modes are available.
Legacy v3.3
Previously swept session levels and H4 liquidity levels may still be used as targets.
This mode preserves the original behavior of the earlier indicator.
Untouched liquidity only
Once a liquidity occurrence has been swept, it is no longer eligible as a target.
A new pivot or a new completed session may later create a new active liquidity occurrence at the same or a similar price.
This mode is generally more selective because it targets liquidity that has not yet been consumed.
⸻
Session levels
The indicator tracks the highs and lows of:
* Asia
* London
* New York
Each session is calculated in its native timezone, which prevents the levels from drifting when the United Kingdom or the United States changes between standard time and daylight-saving time.
At the end of a session:
* the high and low are frozen;
* their labels remain anchored to the session close;
* the levels can be used as potential liquidity targets.
The number of stored sessions can be adjusted in the settings.
⸻
H4 SSL and BSL levels
The indicator also plots confirmed H4 pivot liquidity.
BSL
Buy-Side Liquidity
Displayed above confirmed H4 swing highs.
SSL
Sell-Side Liquidity
Displayed below confirmed H4 swing lows.
The pivot lookback determines the significance and confirmation delay of these levels.
A larger lookback produces more structurally significant levels, but they are confirmed later.
⸻
Dashboard
The dashboard shows the current state of the setup for both long and short directions.
Three display sizes are available:
* Small
* Medium
* Large
HTF active
A confirmed HTF FVG is currently active in that direction.
HTF departure
Price has moved outside the HTF FVG according to the selected A or A′ departure logic.
In Mode B, a prior departure is not required for the final signal.
HTF retest
The current candle is touching or overlapping the active HTF FVG.
Killzone
The current candle is inside at least one enabled killzone.
M15 FVG
A valid M15 FVG exists in that direction and passes the minimum-size filter.
HTF overlap
The M15 FVG overlaps the active HTF FVG.
M15 close
The current M15 candle is confirmed.
While the live M15 candle is still forming, this field may display No.
Available
No previous trade or pending limit order is currently blocking a new setup.
Raw signal
The structural conditions are satisfied before final trade-availability and candle-close validation.
Signal
All required conditions are satisfied and a valid setup has been produced.
⸻
Signal markers
A confirmed short setup is displayed as:
* a red downward triangle;
* the letter S.
A confirmed long setup is displayed as:
* a green upward triangle;
* the letter L.
The indicator also creates a label containing:
* entry price;
* stop-loss;
* target;
* expected reward-to-risk ratio.
The risk and reward areas are displayed directly on the chart.
⸻
Near-miss labels
The optional Show near misses setting helps diagnose why an otherwise valid-looking setup was rejected.
Possible reasons include:
* LEFT — price has not yet departed from the HTF FVG;
* KZ — the setup is outside an enabled killzone;
* CLOSE — the M15 candle has not yet closed;
* BUSY — a trade or limit order is already active.
Near-miss labels are primarily intended for testing and configuration. They may create visual clutter during normal use.
⸻
Alerts
The indicator provides separate alert conditions for:
* LONG setup detected;
* SHORT setup detected;
* LONG limit order filled;
* SHORT limit order filled;
* target reached;
* stop-loss reached.
For confirmed signals, alerts should be configured to trigger once per bar close.
⸻
Recommended starting configuration
For index futures such as NQ or MNQ:
* Chart timeframe: 15 minutes
* HTF FVG timeframe: 240 minutes
* Entry logic: A — Strict retest
* Require M15 FVG: Enabled
* Validate only at M15 close: Enabled
* Entry type: Limit at FVG edge or Market at close
* Minimum M15 FVG size: adjust to the instrument
* Liquidity mode: Untouched liquidity only
* Minimum target R:R: 1.0–1.5
* Fallback R:R: 2.0
* London killzone: Enabled
* New York AM killzone: Enabled
The Asia and New York PM killzones can be enabled according to the instrument and the trader’s preferred session.
⸻
Practical workflow
1. Apply the indicator to an M15 chart.
2. Confirm that an HTF FVG is active in the dashboard.
3. Wait for price to move away from the HTF FVG.
4. Wait for price to return to the zone during an enabled killzone.
5. Look for a same-direction M15 FVG inside or overlapping the HTF FVG.
6. Wait for the M15 candle to close.
7. Review the proposed entry, stop and target.
8. Confirm the broader market context before placing a trade.
The indicator is best used as a structured decision-support tool rather than as a fully autonomous trading system.
⸻
Important limitations
* A confirmed H4 FVG appears only after the relevant H4 candle closes.
* The indicator will not retrospectively use an M15 FVG that formed before the H4 FVG became confirmed.
* H4 pivot liquidity is confirmed with delay because pivots require candles on both sides.
* If both the stop and target are touched during the same M15 candle, the visual trade logic uses the stop-loss as the conservative outcome.
* The script is an indicator, not a broker emulator or complete backtesting strategy.
* No indicator can guarantee profitability.
⸻
Disclaimer
This indicator is provided for educational and analytical purposes only. It does not constitute financial advice, investment advice or a recommendation to buy or sell any financial instrument.
Trading futures, leveraged products and other financial markets involves substantial risk. Users are responsible for testing the indicator, defining their own risk-management rules and determining whether the methodology is suitable for their trading plan. Wskaźnik

Candlestick Edge Auto-Preset MTF Self-CalibratingCandlestick Edge only fires a candlestick pattern when it is "rightly placed" — confirmed by a higher-timeframe trend AND by where price sits in the developing volume profile. Then it does what most pattern tools don't: it forward-tests every signal and reports the MEASURED edge per pattern, so you read realized performance instead of a marketing claim.
WHY THIS IS ONE TOOL (not a bundle)
The parts answer one question about one candle: "is this pattern in a place that has historically paid, and does it beat a coin-flip here?"
PATTERN detection says WHAT printed (24 classic candlestick patterns).
HTF ALIGNMENT says whether the bigger trend agrees.
VOLUME-PROFILE POSITIONING says WHERE it printed — reversals only at value-area edges, naked POC, HVN support/resistance, or liquidity sweeps; continuations only through low-volume voids or on a value breakout.
The CALIBRATION SPINE forward-resolves each signal with a triple barrier and reports Hit% vs a matched Base% (Edge) with a Wilson confidence interval, so a placed-and-confirmed pattern can be told apart from a small-sample fluke.
One pattern substrate, one location read, one calibration spine.
MEASUREMENT (the differentiator)
Each signal opens at close with target = ±TP·ATR, stop = ∓SL·ATR, over a fixed horizon. The first barrier touched decides win/loss (same-bar tie counts as the stop — conservative). Base% is the unconditional same-barrier win-rate for that direction. Edge = Hit% − Base%; a "*" marks rows whose Wilson 95% lower bound clears the base rate. A leave-one-out row prices each filter's marginal contribution, and a footer lists only the patterns that are green AND have enough samples to trust in the current configuration.
AUTO PRESET (default on)
Candlestick edges are timeframe-specific. Auto Preset reads the chart's timeframe and switches on the pattern subset plus higher-timeframe distance that performed best for that timeframe in the author's study of NSE index futures, and forces the two filters on. Turn it OFF for full manual research mode: all 24 patterns selectable, filters and HTF distance (3x / 5x / 15x / custom) under your control. Nothing is ever removed — the preset only curates which patterns are active by default per timeframe.
HOW TO USE
Leave Auto Preset on and read the labelled signals (teal = bullish, red = bearish, each tagged with the pattern name). Open "Show scoreboard" to see measured Edge per pattern — trust the EDGE column and the "*", never a raw hit-rate. Best behaviour is on intraday timeframes (1H and below).
ORIGINALITY
Standard techniques are credited below. What is original is the combination: a location-gated pattern engine whose every signal is forward-calibrated, a timeframe-adaptive auto-preset, a leave-one-out filter attribution, and an auto-surfaced tradeable set — measured edge, not asserted.
NON-REPAINT
Signals open on confirmed bars; triple-barrier outcomes resolve on bars AFTER the trigger; all higher-timeframe / lower-timeframe / prior-day-POC requests use lookahead_off and confirmed intrabars. Pivots used by sweeps confirm first.
DATA & MARKETS
Runs on any symbol that reports volume; the developing profile needs volume to be meaningful. Defaults are tuned for intraday index futures. On the Enhanced data tier the delta read uses intrabar aggregation (richer on paid plans) and auto-falls-back to an OHLCV proxy when intrabars aren't served — safe to leave on for any plan.
CONCEPT CREDITS (methods operationalized — original Pine re-derivations)
Candlestick patterns — Nison; pattern-performance framing per Bulkowski
Market / auction profile, POC / Value Area — Steidlmayer; Dalton
Bulk Volume Classification — Easley, Lopez de Prado & O'Hara (2012)
Triple-barrier labelling — Lopez de Prado
Wilson score interval — Wilson (1927)
HONESTY / LIMITS
The profile is an ATR-binned developing session profile (not tick POC). Delta is an estimate (proxy or intrabar reconstruction), not true bid/ask. Reported edge is context measured on loaded history — not a prediction or a promise. The preset defaults were tuned on one instrument over a recent window, so treat them as a well-measured hypothesis, not proven alpha.
Educational tool. Not financial advice — you alone are responsible for your trading decisions. Wskaźnik

Wskaźnik

Wskaźnik

Wskaźnik

QT_Mehr_Aria V5Here's a publish-ready description — it presents the tool's features and how to use it, while keeping every proprietary rule out (consistent with the sanitized script). I'll save it in the repo docs too.
Saved to tradingview-description.md. Here's the text to paste into the TradingView publication:
QT_Mehr_Aria V5 — Quarterly Theory Cycles + Triad SMT
WHAT IT DOES
This indicator maps the market's time structure into nested cycles based on Quarterly Theory — from 22/23-minute micro cycles up to yearly and 4-year cycles — and scans a triad of three correlated instruments for SMT divergence at every scale. It draws cycle boundaries, quarter labels and True Opens, and prints signal and entry marks with configurable triggers and alerts.
CYCLES
Nine nested scales: Micro (22/23 min), 90-Minute, 6H, Daily, Weekly, Monthly, Quarterly, Yearly and 4-Year — all anchored to the New York 18:00 session open, DST-safe. On every chart timeframe the indicator works three tiers (LTF / MTF / HTF); higher scales can be shown optionally. Supported chart timeframes: 1m, 5m, 15m, 1h, 4h, Daily, Weekly and Monthly.
SMT DETECTION
Choose a triad preset (NQ/ES/YM · DXY/EU/GU · NQ/ES/NKD · BTC/ETH/SOL · DXY/6E/6B · GC/SI/HG · ZB/TN/ZF) or set three custom symbols. Each symbol is evaluated against its own reference level inside the cycle structure; when the triad disagrees, a divergence mark prints on the bar where it happened:
▽ bearish SMT · △ bullish SMT · ▼ / ▲ entry marks · ✕ invalidated signal · Ts true sweep (optional) · ▽? / △? forming on the live bar (optional)
Inverse-correlated triads (e.g., DXY against EU/GU) are handled automatically — custom triads get per-symbol inverse switches. Detection basis is selectable (wick, close, or wick+close confluence), and the entry trigger can be immediate or CISD close-through. A quarter-pair panel controls which quarter relationships are evaluated, and an optional True-Open premium/discount gate is included (off by default).
TRUE OPENS
TMSO, TSO (session), TDO (daily), TWO (weekly), TMO (monthly), TQO (quarterly) and TYO (yearly) — each drawn from the true opening price of its cycle, on the chart timeframes where it is tradeable.
QUARTER LABELS
A label row names each timeframe's quarters — micro quarters on 1m, up through days, weeks, months, calendar quarters and years on higher charts. One label per window, centered in the window.
SIGNAL CONTROL
The Signals group shows exactly what you want and nothing more: SMT marks, entry marks, invalidation ✕, TS marks, forming marks, and whether scales above your HTF tier draw at all. Per-cycle and per-tier visibility switches are separate. An experimental time-based signal filter is included (off by default).
ALERTS
Four static alert conditions (SMT bearish/bullish, CISD entry bearish/bullish) plus detailed alert() payloads carrying the scale, pair, symbols and cause — create the alert with "Any alert() function call". Alerts can be scoped to one scale or all.
NOTES
Chart one of the triad symbols for the cleanest reading; with an inverse member in the triad (e.g., DXY), signal direction reads from the other two symbols.
Time anchors are New York based; built around futures sessions and also usable on FX, crypto and stocks.
The top-right readout always shows the active triad and configuration.
Educational tool for time-based market analysis — not financial advice.
What it deliberately does not contain: how divergence is judged inside the quarters, the pair semantics, the close/wick reference rule, the inverse-mirroring mechanics, and the experimental filter's rules — those stay only in your local repo docs. It names features (which anyone can see in the settings panel anyway) and explains usage, which is what TradingView moderators require for protected-source publications.
خلاصه: متن توضیحات برای انتشار در تریدینگویو آماده شد — فقط قابلیتها و طرز استفاده را میگوید، هیچ قاعدهای از منطق پشت ابزار لو نمیرود. متن در docs/tradingview-description.md ذخیره شده؛ کافی است همین را در صفحهی انتشار کپی کنی.Here's a publish-ready description — it presents the tool's features and how to use it, while keeping every proprietary rule out (consistent with the sanitized script). I'll save it in the repo docs too.
Saved to tradingview-description.md. Here's the text to paste into the TradingView publication:
QT_Mehr_Aria V5 — Quarterly Theory Cycles + Triad SMT
WHAT IT DOES
This indicator maps the market's time structure into nested cycles based on Quarterly Theory — from 22/23-minute micro cycles up to yearly and 4-year cycles — and scans a triad of three correlated instruments for SMT divergence at every scale. It draws cycle boundaries, quarter labels and True Opens, and prints signal and entry marks with configurable triggers and alerts.
CYCLES
Nine nested scales: Micro (22/23 min), 90-Minute, 6H, Daily, Weekly, Monthly, Quarterly, Yearly and 4-Year — all anchored to the New York 18:00 session open, DST-safe. On every chart timeframe the indicator works three tiers (LTF / MTF / HTF); higher scales can be shown optionally. Supported chart timeframes: 1m, 5m, 15m, 1h, 4h, Daily, Weekly and Monthly.
SMT DETECTION
Choose a triad preset (NQ/ES/YM · DXY/EU/GU · NQ/ES/NKD · BTC/ETH/SOL · DXY/6E/6B · GC/SI/HG · ZB/TN/ZF) or set three custom symbols. Each symbol is evaluated against its own reference level inside the cycle structure; when the triad disagrees, a divergence mark prints on the bar where it happened:
▽ bearish SMT · △ bullish SMT · ▼ / ▲ entry marks · ✕ invalidated signal · Ts true sweep (optional) · ▽? / △? forming on the live bar (optional)
Inverse-correlated triads (e.g., DXY against EU/GU) are handled automatically — custom triads get per-symbol inverse switches. Detection basis is selectable (wick, close, or wick+close confluence), and the entry trigger can be immediate or CISD close-through. A quarter-pair panel controls which quarter relationships are evaluated, and an optional True-Open premium/discount gate is included (off by default).
TRUE OPENS
TMSO, TSO (session), TDO (daily), TWO (weekly), TMO (monthly), TQO (quarterly) and TYO (yearly) — each drawn from the true opening price of its cycle, on the chart timeframes where it is tradeable.
QUARTER LABELS
A label row names each timeframe's quarters — micro quarters on 1m, up through days, weeks, months, calendar quarters and years on higher charts. One label per window, centered in the window.
SIGNAL CONTROL
The Signals group shows exactly what you want and nothing more: SMT marks, entry marks, invalidation ✕, TS marks, forming marks, and whether scales above your HTF tier draw at all. Per-cycle and per-tier visibility switches are separate. An experimental time-based signal filter is included (off by default).
ALERTS
Four static alert conditions (SMT bearish/bullish, CISD entry bearish/bullish) plus detailed alert() payloads carrying the scale, pair, symbols and cause — create the alert with "Any alert() function call". Alerts can be scoped to one scale or all.
NOTES
Chart one of the triad symbols for the cleanest reading; with an inverse member in the triad (e.g., DXY), signal direction reads from the other two symbols.
Time anchors are New York based; built around futures sessions and also usable on FX, crypto and stocks.
The top-right readout always shows the active triad and configuration.
Educational tool for time-based market analysis — not financial advice.
What it deliberately does not contain: how divergence is judged inside the quarters, the pair semantics, the close/wick reference rule, the inverse-mirroring mechanics, and the experimental filter's rules — those stay only in your local repo docs. It names features (which anyone can see in the settings panel anyway) and explains usage, which is what TradingView moderators require for protected-source publications.
Wskaźnik

Order Flow Volume Delta, CVD, Absorption & Divergence [LunqFX]Price shows you WHERE the market went. Order flow shows you WHO pushed it there — buyers or sellers — and whether they had real volume behind the move. This Order Flow indicator reads the volume delta on every candle (the balance of buying volume vs selling volume), builds it into a cumulative volume delta (CVD) trend, and automatically marks the two order-flow events that lead price: absorption and delta divergence. Everything is drawn on your chart as clean delta candles, order-flow support/resistance levels and a live buying-pressure dashboard.
❶ THE CONCEPTS (so it's clear)
▸ VOLUME DELTA — the difference between buying volume and selling volume inside a bar. Positive delta = buyers were more aggressive, negative = sellers. It is the core of all order-flow analysis.
▸ CVD (CUMULATIVE VOLUME DELTA) — delta added up over time. A rising CVD means buyers are steadily accumulating; a falling CVD means distribution by sellers. CVD is how you see the real trend of order flow, not just price.
▸ ABSORPTION — a bar with heavy volume but almost no price movement. It means a large player (smart money / institutional) is absorbing every market order at that level. Absorption very often appears right before a reversal.
▸ DELTA DIVERGENCE — price makes a new high but CVD does not (or a new low but CVD does not). The move has no real volume behind it — a trap / exhaustion signal that warns a reversal is likely.
❷ WHAT YOU SEE ON THE CHART
▸ Delta candles — sky-blue when buyers won the bar, coral when sellers won; the brighter the candle, the more one-sided the flow. You read buying and selling pressure at a glance.
▸ Order-flow levels — every absorption (gold) and divergence (blue / coral) is projected to the right as a support/resistance level with its exact price. These are the levels where big volume actually traded, so price reacts to them again.
▸ Live dashboard — who is in control (buyers vs sellers) from the CVD, the CVD value, the current bar's buy/sell pressure split, and the latest signal.
❸ HOW TO TRADE IT — STEP BY STEP
1 — Read the BIAS. The panel shows ▲ BUYERS or ▼ SELLERS IN CONTROL from the CVD. Trade with the side that controls order flow, not against it.
2 — Watch for DELTA DIVERGENCE against the move. Price higher high while CVD makes a lower high = buyers are exhausted → look for shorts. Price lower low while CVD makes a higher low = sellers are exhausted → look for longs. This is the highest-value order-flow reversal signal.
3 — Use ABSORPTION as a reversal cue. When heavy volume fails to move price, the move is being absorbed; watch for the turn and use that gold level as your invalidation line.
4 — Trade the reaction at order-flow levels. Old absorption and divergence levels act as support and resistance — enter when the delta flips back in your favour as price returns to a level.
5 — Confirm with Bar pressure. The panel's ▲/▼ % buy shows the live buy/sell split — take the trade when it agrees with your setup and the bias.
❹ HOW IT WORKS (fully transparent)
Each bar's volume is split by where price closed in its range: buy-volume = volume × (close − low) ÷ range, sell-volume = volume × (high − close) ÷ range, and delta = buy − sell. This is a transparent, range-based volume-delta estimate — it needs no tick or bid/ask feed, so it runs on any symbol. CVD is the running sum of that delta (session-anchored on intraday charts, fully cumulative on daily and higher, handled automatically). Absorption is flagged when volume rises above its average by your chosen multiple while the candle body stays smaller than a fraction of ATR. Divergence compares each confirmed swing pivot in price with the CVD value at that pivot. Every reading comes from closed bars and confirmed pivots — no repainting, no lookahead.
Order flow is strongest on markets with true exchange volume — crypto, stocks, futures and indices — and on intraday timeframes (1m–4h), where buying and selling pressure is most meaningful. On forex, volume is broker tick-volume, so treat the delta as an approximation of order flow rather than exact.
SETTINGS — CVD reset (Session / Week / None), absorption sensitivity, divergence swing length, number of order-flow levels + glow, delta candles on/off, dashboard position.
ALERTS — bullish delta divergence, bearish delta divergence, absorption, and CVD crossing zero (buyers / sellers taking control).
This indicator is an educational market-analysis tool, not financial advice. The volume delta shown here is a transparent estimate from price and volume, not exchange-audited bid/ask order flow, and past behaviour does not guarantee future results. Always confirm with your own analysis and manage your risk.
Wskaźnik

Trendlines [FEELS]Auto trendline tools tend to draw every line they can find, then quietly redraw them when price disagrees. This indicator does the opposite: a line is drawn only after price has respected it three times, and once drawn it never moves. Every line carries its own proof, a plain-text counter of how many times price has touched it.
HOW IT WORKS
The engine pairs confirmed swing pivots and validates the segment between them: if price closed through it anywhere along the way, the pair is rejected. Survivors become invisible candidates. A candidate is promoted to a real chart line only when a third touch confirms that the market actually respects it, and from that moment the geometry is locked.
- Touch counter: every line is labeled in plain text, "Support · 3 touches". More touches also make the line thicker, so the most respected line on the chart is the most visible one.
- Two scales: the base set tracks the swings you trade, the Major set (thicker, built from roughly 3x bigger swings) tracks the macro structure.
- Breaks: a break is a close beyond the line plus an ATR buffer, marked on the chart when it happens. Wicks through the line do not count.
- Flip watch: a broken line is not deleted. It stays on the chart as a dotted grey ghost, and when price returns to it from the other side, a Retest marker prints: broken support acting as resistance, tracked automatically. Ghosts expire on their own.
- Housekeeping: near-duplicate lines merge into the stronger one, and lines nobody has touched for a long time, or that drifted more than 10 ATR away from price, retire quietly. The chart stays at a few lines that matter instead of a fan of guesses.
HOW TO READ IT
1. The touch counter is a strength ranking. A line with 5 touches has proven itself more than a line with 3, and the strongest lines are where reactions have historically been most consistent.
2. Touches and breaks read differently. Price returning to a rising support with a high touch count is the classic trend pullback structure. A close through the line (Break marker) means the structure that carried the trend is gone.
3. Retest markers show the flip. After a break, the old line often gets tested from the other side; the Retest marker prints when that happens, with the line itself as the natural invalidation level of the pattern.
HONESTY
- Confirmation has a cost. A swing pivot confirms only after the "Swing size" number of bars, so a line appears on the chart only once its third touch is confirmed, and at that moment it is drawn back to its origin. On a bar replay this looks like a line appearing into the past out of nowhere. That is the price of the no-repaint rule, not a glitch.
- After a line is drawn its position never changes. Breaks are evaluated on closed bars only, and Break/Retest markers stay where they printed.
- The touch badges at the right edge follow the last bar for readability; that movement is cosmetic, not a signal.
- Touch and break tolerances are ATR-based, so they adapt to each symbol's volatility instead of using fixed percentages.
- Works on any symbol and timeframe with enough history to form swings.
ALERTS
New support line · New resistance line · Support touched · Resistance touched · Support broken · Resistance broken · Flip retest.
SETTINGS
Every input has a tooltip. The ones that change the picture most: "Swing size" sets how big a swing must be to anchor a line, "Touches to confirm" is the promotion rule (3 by default), "Max lines per side" caps the chart at the lines that matter, "Macro lines" adds the thicker second scale, "Line width" and "Text size" scale the visuals for presentations.
ORIGINALITY
Most auto-trendline scripts connect the latest two pivots and update the line as new pivots print, so the line you see today is not the line you saw yesterday. This engine is built the other way around: lines must earn their place through touch-count validation before they exist, their geometry is locked after, near-duplicates are merged, and broken lines move to a ghost stage that keeps tracking them for the support/resistance flip. The pivot pairing, segment validation, touch accounting and the line lifecycle are written from scratch for this script.
This is a descriptive tool for reading trendline structure. It is not financial advice and does not predict price. Wskaźnik

Bias DashboardBias Dashboard
Bias Dashboard is a clean, dashboard-only indicator designed to quickly show the current directional strength of any chart.
It analyzes trend structure, momentum, RSI, DMI/ADX, price location, market structure, and higher-timeframe confirmation to calculate a bullish and bearish bias.
The dashboard displays:
Trend: Bullish, Bearish, or Neutral
Grade: A+ through D based on directional strength
Score: Overall trend conviction from 0–100
Bullish Meter: Current bullish pressure
Bearish Meter: Current bearish pressure
This indicator does not generate entries, stop losses, take-profit targets, or chart levels. It is intended to provide a quick market-bias overview that can be used alongside your own trading strategy.
The dashboard position, size, title, colors, EMA settings, scoring sensitivity, and higher timeframe can all be customized.
How to use it
A higher bullish score suggests buyers are currently in control, while a higher bearish score suggests sellers are in control. Higher grades indicate stronger directional alignment across the indicator’s confirmation factors.
A strong grade does not automatically mean price should be entered immediately. Traders should still wait for their preferred setup, confirmation, and risk-management conditions.
Works on stocks, ETFs, forex, futures, and cryptocurrencies across all chart timeframes.
For educational purposes only. Not financial advice. Wskaźnik

Wskaźnik

Fair Value Gap MarkerFair Value Gap Marker
Overview
Fair Value Gap Marker is a configurable market imbalance visualization tool designed to automatically detect, evaluate, and manage Fair Value Gaps (FVGs) using a three-candle price imbalance model. While the Fair Value Gap concept is widely recognized in technical analysis, this implementation expands the basic detection model by introducing adaptive volatility filtering, quantitative strength scoring, multi-timeframe analysis, and automated zone lifecycle management.
The objective of the indicator is not to display every possible imbalance, but to help traders focus on higher-quality Fair Value Gaps by filtering insignificant gaps and providing additional contextual information about each detected zone.
---
What is a Fair Value Gap?
A Fair Value Gap represents a temporary market inefficiency created when price moves aggressively enough that little or no trading occurs within a specific price range.
Such rapid displacement can leave an imbalance between buyers and sellers. Many traders monitor these areas because price may revisit them later before continuing its trend or establishing a reversal.
Rather than manually inspecting charts for these imbalances, Fair Value Gap Marker continuously scans completed candles and automatically identifies qualifying bullish and bearish Fair Value Gaps.
---
# Detection Algorithm
The indicator evaluates every completed three-candle sequence.
A Bullish Fair Value Gap is identified when the current candle's low remains above the high of the candle two bars earlier.
A Bearish Fair Value Gap is identified when the current candle's high remains below the low of the candle two bars earlier.
Only confirmed candle data is evaluated, ensuring that detected Fair Value Gaps remain stable once created.
---
# Adaptive Minimum Gap Filtering
Not every Fair Value Gap has equal analytical value.
Very small gaps frequently occur during normal market fluctuations and may simply represent insignificant price noise.
To reduce unnecessary chart clutter, this indicator offers two independent filtering methods.
### Percentage Filter
The minimum acceptable gap size can be defined as a percentage of the current market price.
Only Fair Value Gaps exceeding the specified percentage threshold are displayed.
This mode is useful for traders who prefer a fixed proportional filter across different assets.
---
### ATR Adaptive Filter
The second filtering method compares the gap size against the current Average True Range (ATR).
Instead of relying on a fixed gap width, every imbalance must exceed a configurable multiple of current market volatility.
Because ATR expands during volatile conditions and contracts during quieter markets, this approach automatically adapts the minimum acceptable Fair Value Gap size without requiring constant manual adjustment.
This helps maintain more consistent filtering across different symbols, sessions, and market environments.
---
# Fair Value Gap Strength Score
One of the primary enhancements introduced in this implementation is the Fair Value Gap Strength Score.
Rather than assuming all detected imbalances have equal significance, every Fair Value Gap is assigned a numerical score ranging from 0 to 100.
The score combines two independent measurements.
## 1. Gap Size Analysis
The script compares the width of the Fair Value Gap with the current ATR.
Larger displacement moves generally indicate stronger directional momentum and therefore contribute more heavily to the final score.
---
## 2. Relative Volume Analysis
The volume of the candle responsible for creating the Fair Value Gap is compared against its recent moving average.
Higher-than-average participation suggests stronger market commitment and increases the confidence score.
---
## Final Strength Score
The final Strength Score blends volatility expansion and relative participation into a single numerical value.
Higher scores generally represent Fair Value Gaps created by stronger market displacement accompanied by relatively stronger trading activity.
Users may also define a minimum acceptable Strength Score, allowing weaker Fair Value Gaps to be filtered automatically.
This provides an additional quality layer beyond simple price imbalance detection.
---
# Multi-Timeframe Fair Value Gap Detection
The indicator supports optional Higher Timeframe (HTF) analysis.
When enabled, the script independently evaluates completed candles from the selected higher timeframe using the same Fair Value Gap detection algorithm.
Detected higher-timeframe Fair Value Gaps are projected directly onto the active chart using a dedicated color scheme.
This enables traders to monitor institutional imbalance zones from larger market structures while executing analysis on lower timeframes.
The higher-timeframe feature removes the need to switch between multiple charts during analysis.
---
# Automatic Zone Management
Each detected Fair Value Gap becomes an independent price zone.
Once created, every zone is continuously monitored as new market data becomes available.
Users may choose between two operating modes.
### Persistent Mode
Fair Value Gaps remain visible regardless of future price action.
This mode is useful for historical analysis.
---
### Automatic Mitigation Mode
When enabled, the script continuously checks whether price has fully traded back into the imbalance.
Once a Fair Value Gap has been completely mitigated, its corresponding zone is automatically removed from the chart.
This helps reduce clutter while keeping attention focused on active market inefficiencies.
---
# Dynamic Zone Extension
Every active Fair Value Gap extends forward automatically.
As new candles appear, existing zones continue projecting into future price action until mitigation occurs or the configured extension period expires.
This allows traders to monitor future interactions between price and previously identified imbalance zones without manually updating chart objects.
---
# Visualization
The indicator includes multiple visualization options.
Users may display:
• Bullish Fair Value Gaps
• Bearish Fair Value Gaps
• Higher-Timeframe Fair Value Gaps
Zones may use either fixed bullish/bearish colors or rotate through a customizable color palette, making consecutive imbalance zones easier to distinguish during periods of increased market activity.
Strength Scores may also be displayed directly inside each Fair Value Gap box.
---
# Available Settings
The indicator includes configurable options for:
• Bullish Fair Value Gap visibility
• Bearish Fair Value Gap visibility
• Percentage-based minimum gap filtering
• ATR-based adaptive filtering
• ATR Length
• ATR Multiplier
• Strength Score display
• Minimum Strength Score threshold
• Volume Average Length
• Multi-Timeframe detection
• Higher-Timeframe selection
• Automatic mitigation removal
• Zone extension length
• Fixed colors
• Palette cycling
• Complete visual customization
---
# Suggested Workflow
One possible workflow is:
1. Determine the primary market trend using your preferred methodology.
2. Enable Higher-Timeframe Fair Value Gap detection if broader market context is required.
3. Wait for new Fair Value Gaps that satisfy the selected filtering criteria.
4. Evaluate the Strength Score.
5. Monitor future price interaction with active imbalance zones.
6. Combine Fair Value Gap analysis with your own confirmation techniques such as market structure, liquidity sweeps, order blocks, break of structure (BOS), change of character (CHoCH), volume analysis, or personal risk management rules before making trading decisions.
The indicator intentionally does not generate automated buy or sell signals.
Its purpose is to provide an objective framework for identifying and monitoring price imbalance zones.
---
# Original Design Philosophy
This implementation was developed to extend the traditional Fair Value Gap workflow beyond simple imbalance detection.
Instead of displaying every possible gap, the indicator integrates multiple analytical layers—including adaptive ATR-based filtering, quantitative Strength Scoring, configurable minimum quality thresholds, automatic mitigation management, dynamic zone extension, and optional multi-timeframe confluence—to help traders organize Fair Value Gaps according to both market volatility and relative participation.
The design philosophy focuses on improving clarity, reducing low-quality signals, and providing a flexible analytical framework suitable for different trading styles and market conditions.
---
## Disclaimer
This indicator is an analytical charting tool designed to assist technical analysis.
It does not predict future price movement, guarantee profitable trades, or provide financial or investment advice.
Trading decisions should always be based on independent analysis, proper risk management, and the trader's own methodology.
Wskaźnik

INJ DCA Long Strategy [3Commas & QuantPilot]INJ DCA Long Strategy
🔷 What it does:
This is a long-only DCA (Dollar-Cost Averaging) strategy for INJ / USDT that opens a position only in deep-oversold conditions and then averages down on a fixed safety-order ladder. A base order fires when 4h RSI(14) drops below 28; if price keeps falling, five averaging orders add to the position at fixed deviations from the base entry, each larger than the last. The full position is closed at a fixed take-profit above the blended average entry. There is no trailing exit and no stop loss — the position is structurally bounded by the five-order ladder.
- Single entry filter: 4h RSI(14) below 28 (deep oversold).
- Five averaging orders at fixed deviations (−2%, −5%, −9.5%, −16%, −25%) with 1.8× size scaling per rung.
- Fixed take-profit (9%) on the blended average entry; no trailing, no stop loss.
- Every fill and close emits a webhook-ready JSON alert payload for a DCA Bot.
🔷 The one change that mattered — Take Profit tuning:
This strategy started from a baseline configuration with a 3% fixed take-profit. Running the same script, on the same market, over the same period through the QuantPilot Pine Script optimizer, the take-profit parameter was swept and the best-performing value landed at 9%. Nothing else was touched — same RSI entry, same five-order ladder, same deviations, same 1.8× sizing, same fees. Only the Take Profit input changed from 3% to 9%.
- Baseline (Take Profit 3%): Net +6,888.76 USDT (+6.89%), Max Drawdown 4.39%, 84 closed trades, 71.43% profitable, Profit Factor 4.925.
- Optimized (Take Profit 9%): Net +15,830.72 USDT (+15.83%), Max Drawdown 5.65%, 90 closed trades, 82.22% profitable, Profit Factor 17.886.
Widening the target lets each recovery run further before the position is banked, capturing the fuller mean-reversion bounce instead of exiting on the first small pop. The trade-off is a modestly higher drawdown (4.39% → 5.65%) and longer average hold time. The published defaults use the optimized 9% value; the baseline metrics are shown here purely so the effect of the single parameter change is transparent.
🔷 Who is it for:
- Swing traders accumulating INJ on deep RSI flushes rather than chasing momentum.
- Bot operators who want a chart-driven signal source with base / safety-order / close webhook JSON ready to drive a DCA Bot.
- Traders comfortable with martingale-style averaging who size their capital to the worst-case ladder fill.
- Range / mean-reversion traders who prefer mechanical oversold entries over discretionary timing.
🔷 How does it work:
Entry (Base Order): On each closed 4h bar the strategy reads RSI(14). When RSI falls below 28 and there is no open position, it opens the base order at market (or limit, optionally) and dispatches the entry webhook.
Averaging Orders: Once in a position, the strategy watches price relative to the original base entry. The five safety orders are armed at fixed deviations from that base entry — not cumulatively — at −2%, −5%, −9.5%, −16%, and −25%. As each threshold is crossed on bar close, the corresponding averaging order fires. Order sizes scale 1.8× per rung ($900 → $1,620 → $2,916 → $5,249 → $9,448 from a $500 base), pulling the blended average entry down toward the latest fill.
Exit (Take Profit): While in a position, the strategy computes a take-profit price 9% above the current average entry. When price closes at or above that level, the entire position is closed at market and the close webhook fires. There is no trailing and no stop loss.
Capital Bounds: Total deployed capital cannot exceed the base order plus the five safety orders. Once all five averaging orders are filled, no further adds occur — the position simply waits for the take-profit. This ladder cap is the strategy's primary risk control.
🔷 Why it's unique:
- Optimizer-Tuned Exit: The 9% take-profit is not an arbitrary round number — it is the value the QuantPilot Pine Script optimizer selected as best-performing on the historical sample, with every other parameter held constant.
- Deep-Oversold-Only Entries: A single, strict RSI(14) < 28 filter on 4h keeps the strategy out of the market in normal conditions and only commits capital after a meaningful flush.
- Fixed-Deviation Martingale Ladder: Safety orders are placed at fixed percentages from the base entry with deliberate 1.8× size scaling, so each rung has progressively more influence on the average — a transparent, fully-specified averaging schedule rather than an opaque adaptive grid.
- Full Webhook Chain: Base order, each safety order, and the close all emit dedicated JSON payloads, driving a DCA Bot end-to-end with no glue layer.
🔷 Considerations Before Using the Strategy:
Optimization / Overfitting Risk: The 9% take-profit was selected by sweeping the parameter over the same historical window shown in the results. A value that was best in-sample is not guaranteed to be best out-of-sample — this is the standard caveat for any optimized parameter. Treat the optimized metrics as the ceiling of what this configuration achieved historically, not as a forward expectation, and re-validate on fresh data before committing capital.
Trade Volume — Below the Statistical Floor: The optimized configuration produced 90 closed trades over ~30 months (84 on the baseline). Both are below the ~100-trade threshold often used as a floor for statistical relevance, so treat the win rate and the high profit factor as indicative rather than conclusive. The strict RSI < 28 filter is what keeps the trade count low.
Martingale Tail Risk: Order sizes scale 1.8× per rung, so the deepest fills are by far the largest. If INJ trends hard below the −25% AO5 level without recovering to take-profit, the position sits fully loaded with no further adds and no stop — unrealized loss can grow until price reverts. A wider 9% target also means positions are held longer, so the grid can sit loaded through deeper dips before the exit is reached.
No Stop Loss Justification: There is no exit on adverse moves. Per-order risk is bounded by the fixed ladder allocation; aggregate exposure is capped at base + five AOs (≈ $20,633 on the default $100k account, ~20.6% of equity). Size the base/AO inputs down to match the worst-case exposure you are willing to hold.
Fees: The default commission (0.06% per trade) should be matched to your exchange's actual taker fees.
Demo Testing: Always demo-test before going live. Past results do not guarantee future performance, particularly for martingale-style averaging strategies whose risk profile is dominated by rare deep drawdowns.
🔷 STRATEGY PROPERTIES
Symbol: BYBIT:INJUSDT.P (Perpetual) — strategy is portable to any INJ / USDT pair.
Timeframe: 4H (RSI sampled on 4h).
Test Period: January 1, 2024 — July 16, 2026 (~30 months).
Initial Capital: 100,000 USDT.
Base Order Size: 500 USDT.
Averaging Orders: 5, at −2% / −5% / −9.5% / −16% / −25% from base entry.
AO Sizing: 1.8× per rung — 900 / 1,620 / 2,916 / 5,249 / 9,448 USDT.
Max Deployed Capital: ≈ 20,633 USDT (~20.6% of equity, all AOs filled).
Commission: 0.06% per trade.
Slippage: 3 ticks.
Entry Filter: 4h RSI(14) below 28.
Take Profit: 9% above average entry (optimizer-tuned from a 3% baseline).
Stop Loss: None — ladder allocation is the structural risk cap.
Trailing: None.
Strategy: Long Only.
🔷 STRATEGY RESULTS (Optimized — Take Profit 9%)
⚠️ Remember, past results do not guarantee future performance.
Net Profit: +15,830.72 USDT (+15.83%)
Max Equity Drawdown: 6,426.47 USDT (5.65%)
Total Closed Trades: 90
Percent Profitable: 82.22% (74 / 90)
Profit Factor: 17.886
🔷 STRATEGY RESULTS (Baseline — Take Profit 3%, for comparison)
Net Profit: +6,888.76 USDT (+6.89%)
Max Equity Drawdown: 4,429.13 USDT (4.39%)
Total Closed Trades: 84
Percent Profitable: 71.43% (60 / 84)
Profit Factor: 4.925
🔷 How to Use It:
🔸 Adjust Settings: Open the strategy inputs and confirm the RSI level (28), the five AO deviations and sizes, and the Take Profit (default 9%) match your risk profile. Scale the base/AO sizes down for lower exposure.
🔸 Results Review: Run a full-period backtest and confirm Max Drawdown stays within your personal risk band — note the optimized configuration reached 5.65%. Keep in mind the 90-trade sample is below the ~100-trade floor for statistical confidence, and the high profit factor reflects that small, optimized sample.
🔸 Create alerts to trigger the DCA Bot: Add one alert on the strategy using "Any alert() function call". Paste your DCA Bot's webhook URL into the alert's Webhook field, and fill the Bot ID, Email Token, and Pair inputs on the script. The base order, each safety order, and the close will each emit a dedicated JSON payload.
🔷 INDICATOR SETTINGS
Base Order Size: Capital committed on the first (base) entry.
AO Deviations: Fixed percentage distances from the base entry where each safety order fires.
AO Sizes: Capital per safety order (1.8× scaling by default).
RSI Timeframe / Length / Level: Oversold filter for the base entry (default 4h, 14, below 28).
Take Profit (%): Distance above average entry where the full position closes (default 9%, optimizer-tuned).
Bot ID / Email Token / Pair: Webhook fields injected into every alert payload.
Visualization: Toggle the AO ladder, fill labels, avg/TP lines, and status table.
Brand Watermark: Configurable text, position, size, and transparency.
👨🏻💻💭 We hope this tool helps enhance your trading. Your feedback is invaluable, so feel free to share any suggestions for improvements or new features you'd like to see implemented.
__
The information and publications within the 3Commas TradingView account are not meant to be and do not constitute financial, investment, trading, or other types of advice or recommendations supplied or endorsed by 3Commas and any of the parties acting on behalf of 3Commas, including its employees, contractors, ambassadors, etc. Strategia

Wskaźnik

Edo Liquidity SweepsEdo Liquidity Sweeps — Detects Liquidity Sweeps of Swing Highs and Lows and Tracks Each One Through Detected, Confirmed and Faded States
Markets move toward liquidity. Above every relevant swing high rests buy-side liquidity — the stops of short positions and the breakout buy orders waiting there. Below every relevant swing low rests sell-side liquidity — the stops of longs and the breakout sells. Those order clusters act as magnets: very often price travels precisely to reach them. A liquidity sweep is the moment that happens and is rejected — price wicks beyond the level to take the resting liquidity, then closes back on the other side, the classic trap that leaves breakout traders offside and frequently turns price around.
Edo Liquidity Sweeps isolates that single event and, crucially, tracks what happens next. It marks each sweep on the chart and follows it through three clear states — Detected, Confirmed and Faded — so you can separate the sweeps that actually reversed price from the ones that failed, all validated on closed bars so the indicator does not repaint. It is the sweep specialist of the Edolab structure family, designed to pair with Edo Liquidity Zones, which maps the liquidity pools these sweeps take.
LIQUIDITY LEVELS: SWING HIGHS AND LOWS
Everything starts from the swings that define where liquidity sits. A swing high is confirmed when a candle has the highest high of its surroundings; a swing low, the lowest low. The size of that surroundings is set by the Swing Profile: Scalper (5 bars each side) tracks short-term liquidity for intraday work, Swing (10 bars, the default) is the balanced setting for 4H and daily, and Long Term (21 bars) watches only the liquidity of the major structures. Each confirmed swing high becomes a buy-side liquidity level to monitor, and each swing low a sell-side one, until price sweeps it.
SWEEP DETECTION
A sweep is detected, on closed bars only, when price pierces a level with a wick but closes on the opposite side. A bearish sweep: the candle's high takes a swing high (grabbing the buy-side liquidity) but the close stays below that level — price pierced the high and rejected it, an downward reversal is expected. A bullish sweep: the candle's low loses a swing low (grabbing the sell-side liquidity) but the close stays above it — price pierced the low and rejected it, an upward reversal is expected. At detection the indicator draws a dotted line at the swept level with a Sweep ▲ or Sweep ▼ label, and records the high and low of the sweep candle itself, which will later decide whether the sweep confirms or fails. A wick that pierces a level but closes back on the same side generates nothing.
THREE STATES: DETECTED, CONFIRMED, FADED
A sweep is not a one-candle signal. The indicator follows each one through three states, evaluated on every closed bar against the range of the sweep candle. Detected: the sweep has just happened and it is not yet known whether price will turn — a dotted line. Confirmed: price confirms the reversal by closing beyond the sweep candle's extreme in the expected direction — the line turns solid and bold and the label gains a ✓. Faded: price closes the opposite way, reclaiming the level, so the sweep failed — the line turns dashed and faded grey and the label gains a ✕. For a bullish sweep, confirmation is a close above the sweep candle's high and a fade is a close below its low; for a bearish sweep it is the mirror. This follow-through confirmation is what separates the operative sweeps from the anecdotal ones: a Confirmed sweep has proven the rejection had continuation, while a Faded one warns that the trap did not work and the level has genuinely been broken.
INFORMATION PANEL
The panel condenses the read into a compact table. It shows the Last Sweep with its direction (Bull ▲ / Bear ▼) and state, and the live count of sweeps in each state: Detected, Confirmed and Faded. The Confirmed-to-Faded ratio gives a quick sense of how reliable sweeps are behaving on that instrument and timeframe. The panel sits in any of the four chart corners (Top Right by default), comes in three sizes (Tiny / Small / Normal) and two themes (Dark / Light), and can be hidden entirely.
NO REPAINTING
Sweeps are validated on closed bars only and on confirmed pivots, so a level and its sweep never appear or disappear intrabar. A wick that pierces a level but closes back inside generates nothing — the indicator waits for the close. This removes the false signals that clutter tools which mark instantly, at the cost of confirming each sweep once it has completed. There are no higher-timeframe functions: all logic runs on the current chart timeframe.
CONFIGURATION
The inputs are grouped by block. Detection sets the swing profile and the maximum number of sweeps kept on the chart (12 by default). Style exposes the bullish and bearish sweep colours, the faded colour, the label size and the Dark/Light theme. Panel controls panel visibility, position and size. The defaults are calibrated to work without adjustment on stocks, crypto, forex, indices and futures, on any timeframe — the input most users touch is the Swing Profile, to match the sensitivity of the tracked liquidity to their horizon.
ALERTS
Five predefined alerts cover the life of a sweep: Bullish Sweep Detected and Bearish Sweep Detected fire the moment a sweep is detected; Bullish Sweep Confirmed and Bearish Sweep Confirmed fire when a sweep confirms its reversal through follow-through; and Sweep Faded fires when a sweep fails and the level is reclaimed. The Detected alerts are the earliest but least confirmed, the Confirmed alerts are more reliable at the cost of arriving later, and the Faded alert is useful to discard a reversal idea. All alerts fire on bar close, consistent with the indicator's anti-repaint validation.
HOW TO READ IT
Wait for confirmation: a Detected sweep only flags that liquidity was taken and rejected, not that price will turn — waiting for it to become Confirmed reduces false signals at the cost of entering later, and the panel's Confirmed-to-Faded ratio shows how trustworthy sweeps are being. Read the fade as a warning: when a sweep turns Faded, the trap did not work and the level was genuinely broken — recognising a failed sweep in time avoids forcing a reversal idea the market has already rejected. Trade sweeps in confluence: a confirmed sweep that takes liquidity at an important level, a demand zone or a higher-timeframe support is a far more solid reference than an isolated one. And pairing Edo Liquidity Sweeps with Edo Liquidity Zones closes the loop — the zones say where liquidity sits, the sweeps say when it is taken.
OPEN SOURCE
Edo Liquidity Sweeps is published as a free open source indicator. The full Pine Script is publicly accessible on TradingView for study, adaptation and integration into any workflow. Part of the Edolab Markets free tools ecosystem alongside Edo Liquidity Zones, Edo Smart Money Map, Edo Order Blocks, Edo ZigZag Auto Fib SR and more available on TradingView.
This indicator is a technical analysis tool for educational and informational purposes only. It does not generate automatic buy or sell signals and should not be considered financial advice. Trading financial markets involves significant risk of capital loss. Past performance does not guarantee future results. Always use proper risk management.
TAGS
LiquiditySweep SmartMoneyConcepts Liquidity MarketStructure PriceAction StopHunt SwingHighLow SupplyDemand Reversal Overlay Indicator OpenSource Edolab EdolabMarkets Stocks Crypto Forex Indices
CATEGORIES (TradingView dropdowns)
— Direction: Both
— Market category: All markets (Stocks / Crypto / Forex / Indices)
— Analysis type: Trend Analysis / Chart patterns / Support and Resistance
Wskaźnik

Institutional Flow MatrixInstitutional Flow Matrix is an open-source market-analysis framework designed to organize trend direction, confirmed market structure, institutional price zones, momentum, and location within a dealing range into one readable chart.
The purpose of this indicator is not to predict every price movement or generate constant entries. It is designed to answer a more practical sequence of questions:
1. What is the current directional bias?
2. Is market structure supporting that direction?
3. Is price trading from a meaningful location?
4. Has price returned to an active institutional zone?
5. Is momentum aligned with the proposed setup?
The script combines these questions into a structured workflow while keeping the default chart intentionally clean.
WHY THIS INDICATOR WAS BUILT
Many market-structure indicators display every swing, imbalance, liquidity level, zone, and signal at the same time. While that information can be useful for detailed analysis, it can also make the chart difficult to interpret during live trading.
Institutional Flow Matrix was built around a visual hierarchy:
* Directional bias is the primary layer.
* Active Order Blocks are the principal reaction zones.
* Momentum is a confirmation layer.
* Premium and Discount provide market location.
* Fair Value Gaps, liquidity pools, sweeps, and higher-timeframe levels are optional study tools.
The default Balanced preset focuses on the information most relevant to a directional pullback setup. Minimal mode removes most supporting visuals for live execution. Full mode reveals the additional market-structure tools for deeper analysis.
WHAT MAKES THE IMPLEMENTATION DIFFERENT
The individual concepts used by this script, including pivots, moving averages, ATR trend filters, Order Blocks, Fair Value Gaps, and Premium/Discount ranges, are established forms of technical analysis.
The original contribution of Institutional Flow Matrix is how those components are synchronized and managed as one decision framework.
Key design elements include:
* Confirmed structure events rather than unconfirmed swing guesses.
* A persistent directional state requiring agreement between structure, EMA alignment, and an ATR-based trend filter.
* Order Block freshness validation before a zone is accepted.
* Separate visual duration and analytical lifetime controls for zones.
* Automatic mitigation and expiration of old zones.
* Limited drawing-object counts to prevent long-term chart clutter.
* A weighted confluence model centered on trend, structure, zone interaction, market location, and momentum.
* Three visual presets that change the information hierarchy without changing the underlying calculations.
* Confirmed-bar signals and event-based alerts.
This is not intended to be a collection of unrelated indicators. Each module has a defined role in the same setup process.
DIRECTIONAL BIAS
The chart background represents the script's confirmed directional state.
A bullish state requires agreement between:
* Bullish market structure.
* Fast EMA positioning above the slow EMA.
* Bullish ATR trend conditions.
A bearish state uses the opposite conditions.
The background changes only after the required conditions are confirmed. A larger BUY or SELL label marks a confirmed change in this directional state.
These shift labels are different from the smaller confluence signals. A shift label identifies a change in directional bias. A confluence signal requires additional location, zone, and momentum conditions.
MARKET STRUCTURE
Confirmed pivot highs and lows form the structure engine.
The script tracks:
* Higher Highs
* Higher Lows
* Lower Highs
* Lower Lows
* Breaks of Structure
* Changes of Character
A bullish break occurs when a confirmed bar closes above the latest unbroken confirmed swing high. A bearish break occurs when a confirmed bar closes below the latest unbroken confirmed swing low.
Swing labels are retrospective by design. A pivot can only be confirmed after the selected number of right-side bars has closed. Once confirmed, its label is placed on the candle where the swing originally occurred. The label was not known on that earlier candle.
ORDER BLOCKS
Order Blocks are the primary reaction zones in the indicator.
After a confirmed structure break or qualifying displacement event, the script searches backward for an opposing candle. A candidate candle can be filtered by:
* Candle range relative to ATR.
* Body size as a percentage of candle range.
* Optional volume expansion.
* Wick-based or body-based zone construction.
Before accepting the candidate, the script checks whether price has already invalidated it. This prevents many stale zones from being created after the fact.
Active Order Blocks can be invalidated by either:
* A close beyond the opposite edge.
* A wick beyond the opposite edge.
The selected mitigation method is used consistently during both zone creation and live zone management.
Order Blocks have separate controls for visual extension and analytical age. This allows users to control how long a box remains visible independently from how long it remains eligible for signal calculations.
PREMIUM, DISCOUNT, AND EQUILIBRIUM
The script creates a rolling dealing range from the highest high and lowest low over the selected lookback.
The range is divided into:
* Premium: the upper portion of the range.
* Discount: the lower portion of the range.
* Equilibrium: the 50% midpoint.
Premium and Discount do not generate trades by themselves. They provide location.
In general:
* Bullish setups receive stronger contextual support in Discount.
* Bearish setups receive stronger contextual support in Premium.
* Equilibrium represents the midpoint of the current rolling range.
Because the range is rolling, its boundaries can change when a new lookback high or low is formed.
MOMENTUM RIBBON
The momentum module uses three exponential moving averages and an ATR-normalized difference between the fast and slow averages.
Bullish momentum requires:
* Fast EMA above the slow EMA.
* Positive normalized momentum.
* Momentum above its signal average.
Bearish momentum uses the opposite conditions.
Diamond markers identify confirmed momentum crossings. The ribbon is intended as confirmation rather than a standalone entry system.
CONFLUENCE SIGNALS
The script calculates a 0-100 Confluence Score from five conditions:
* Directional bias: 25 points.
* Market structure: 15 points.
* Momentum alignment: 15 points.
* Active Order Block interaction: 25 points.
* Premium or Discount location: 20 points.
The score measures condition alignment. It is not a probability, win rate, accuracy estimate, or forecast of future performance.
By default, BUY and SELL signals require:
* Confirmed directional bias.
* Matching confirmed structure.
* Interaction with an active Order Block.
* Correct Premium or Discount location.
* Matching momentum.
* Minimum Confluence Score.
* Completion of the selected signal cooldown.
Signals are displayed only when the complete condition changes from false to true. This prevents repeated labels while the same setup remains active.
OPTIONAL ADVANCED MODULES
Full mode provides additional analytical tools:
* Fair Value Gaps with ATR size filtering.
* Equal-high and equal-low liquidity pools.
* Confirmed liquidity sweeps.
* BOS and CHoCH labels.
* HH, HL, LH, and LL labels.
* Previous day, week, and month highs and lows.
* Optional momentum candle coloring.
These features are disabled or hidden from the default Balanced view to preserve readability.
VISUAL PRESETS
Minimal:
Designed for traders who want the least chart interference. It suppresses the background, ribbon, Premium/Discount display, trailing line, dashboard, and advanced structure annotations.
Balanced:
The default view. It emphasizes directional background, active Order Blocks, Premium/Discount context, momentum ribbon, diamonds, signals, and the dashboard.
Full:
Designed for detailed study. It adds structure labels, BOS/CHoCH events, Fair Value Gaps, liquidity tools, higher-timeframe levels, and optional candle coloring.
FOR NEWER TRADERS
A simple workflow is:
1. Start with the Balanced preset.
2. Use the background to identify the current directional bias.
3. Wait for price to return to an Order Block matching that bias.
4. Check whether price is in Discount for a bullish setup or Premium for a bearish setup.
5. Confirm that the momentum ribbon agrees.
6. Treat the signal as a point for further analysis, not an automatic order.
The equilibrium line can be used as a reference for the midpoint of the current dealing range. It is not automatically an entry or exit instruction.
FOR ADVANCED TRADERS
Experienced users can customize:
* Pivot confirmation sensitivity.
* ATR and EMA trend parameters.
* Wick-based versus body-based Order Blocks.
* Displacement-created zones.
* Candle body, range, and volume filters.
* Close-based versus wick-based mitigation.
* Zone visual duration and analytical age.
* Premium and Discount percentages.
* Fair Value Gap size.
* Liquidity sensitivity.
* Momentum lengths.
* Individual signal requirements.
* Minimum confluence threshold.
* Signal cooldown.
* Higher-timeframe reference levels.
Advanced users can also disable individual hard requirements and use the Confluence Score as a more flexible filtering system.
ALERTS
Alert conditions are included for:
* Break of Structure.
* Change of Character.
* New Order Block.
* BUY signal.
* SELL signal.
* Bias-aligned Order Block entry.
* Trend and momentum confluence.
* Liquidity sweep.
Alerts should be created using Once Per Bar Close when confirmed signals are required.
NON-REPAINTING AND TIMING
Structure breaks, directional shifts, zone creation, zone mitigation, momentum events, and confluence signals are evaluated on confirmed bars.
Pivot-based swing labels require future bars to confirm that a swing occurred. After confirmation, the label is displayed on the original pivot candle. This is delayed confirmation with retrospective placement, not advance knowledge of the swing.
Previous-period levels use completed higher-timeframe data.
LIMITATIONS
* This indicator does not predict future prices.
* It does not calculate position size, stop loss, or account risk.
* It is not a complete automated trading system.
* Signals can fail during volatile, illiquid, or range-bound conditions.
* Rolling Premium, Discount, and equilibrium levels can move when the lookback range changes.
* Confirmed pivots introduce an intentional delay.
* Order Block definitions vary among trading methodologies; this script uses the documented candle-search and filtering rules described above.
* Volume behavior differs across asset classes and data providers.
* Parameter settings that work on one symbol or timeframe may not be appropriate for another.
Suggested starting points are the 15-minute and 1-hour charts for intraday analysis and the 4-hour chart for broader swing structure. Users should test settings on their own symbols and trading sessions.
OPEN-SOURCE PURPOSE
The script is published open-source so traders can inspect the calculations, understand why signals occur, verify the confirmed-bar methodology, and adapt the framework for their own research.
The goal is to provide a readable and transparent market-structure workflow rather than a black-box prediction tool.
DISCLAIMER
This indicator is provided for educational and analytical purposes only. It is not financial advice and does not guarantee profitable results. Historical chart behavior does not ensure future performance. Users are responsible for their own analysis, testing, risk management, and trading decisions.
Wskaźnik
