3D Isometric MFI (Christmas Edition) [Kodexius]3D Isometric MFI (Christmas Edition) is a visual-first interpretation of the classic Money Flow Index, rendered as a projected 3D-style ribbon using an isometric mapping. Instead of plotting a standard oscillator line, the script reconstructs recent MFI history as a depth-aware ribbon that moves from back to front, producing a layered perspective effect that helps you read momentum shifts, regime transitions, and relative strength changes as a continuous structure.
This Christmas Edition was also built for fun and as a creative seasonal experiment. The goal is to keep the underlying indicator logic familiar, while presenting it in a playful, “3D showroom” style that looks great in a separate oscillator panel.
The indicator is designed for presentation quality and chart readability. It uses controlled object management (lines, polylines, labels) and renders only the most recent portion of the MFI history (user-defined depth). A decorative snow background effect adds atmosphere.
🔹 Features 🎄
🔸 Isometric 3D Projection Engine
The ribbon is produced by projecting 3D points (time offset, MFI value, depth) into 2D chart coordinates.
- X represents bar offset into history
- Y represents the MFI value
- Z introduces depth and perspective
Angle controls the projection direction, and Vertical Zoom scales the perceived amplitude.
🔸 Depth-Limited Ribbon Rendering (Back to Front)
Only the most recent History Depth values are drawn to keep performance and readability stable.
- Each segment connects two consecutive MFI values
- A top edge, bottom edge, and filled face are drawn to simulate thickness
- Older segments fade into the background
🔸 Dynamic Gradient Coloring + Depth Fade
Ribbon color follows a value-based gradient:
- Lower values lean red (risk-off pressure)
- Higher values lean green (risk-on pressure)
- Mid values blend naturally
Transparency increases with depth so older history is less dominant but still readable.
🔸 Tip Label (Value + Candy Marker) 🍭🍬
The most recent ribbon tip displays current MFI value.
A candy symbol that switches based on the 50 midpoint
The label is offset so it does not cover the ribbon tip.
🔸 Projected Reference Grid (80, 50, 20)
A projected grid is drawn at classic MFI reference levels to improve orientation:
- 80 Overbought reference
- 50 Midpoint reference
- 20 Oversold reference
These grid lines use the same projection math, so they stay aligned at any angle or zoom.
🔸 Seasonal Snow Background Effect ❄️
Randomized snow is rendered behind the ribbon using lightweight labels. This is purely decorative and does not alter MFI values or logic.
🔸 Object Lifecycle Management
Because 3D-style drawing uses many objects, the script manages them explicitly by storing references in arrays, deleting old objects, and redrawing on the last bar. This helps prevent visual stacking artifacts and keeps the panel clean.
🔹 Calculations
1) Money Flow Index Computation
The script separates “positive” and “negative” money flow based on the direction of change in the selected source, then converts their ratio into the standard 0 to 100 oscillator. Classic MFI Calculations.
calc_mfi(int length, float source) =>
float upper = math.sum(volume * (ta.change(source) <= 0 ? 0 : source), length)
float lower = math.sum(volume * (ta.change(source) >= 0 ? 0 : source), length)
float mfi = 100.0
if lower != 0
float r = upper / lower
mfi := 100 - (100 / (1 + r))
mfi
Interpretation:
upper accumulates volume-weighted source values on up moves
lower accumulates volume-weighted source values on down moves
if lower is zero, MFI defaults to 100 to avoid division errors
otherwise, MFI is computed from the ratio transform
2) History Buffer Management
The current MFI value is pushed into the front of an array every bar. The array is trimmed to History Depth so rendering stays bounded.
array.unshift(ctx.history_val, mfi_curr)
if ctx.history_val.size() > depth
ctx.history_val.pop()
3) 3D Point Model and Ribbon Thickness
Each segment is built from four projected points to form a filled face (a simple quad). A small thickness is applied to create the “ribbon” look, and depth is used to simulate perspective.
4) Isometric Projection to Chart Coordinates
3D points are mapped into chart coordinates with an angle rotation and scaling for zoom and depth.
method project(Point3 p, int anchor_bar, float angle_rad, float zoom, float z_scale) =>
float x_world = -float(p.x) * 2.0
float z_val = p.z * z_scale
float screen_x_offset = (x_world * math.cos(angle_rad)) - (z_val * 1.0)
float screen_y_offset = (p.y * zoom) + (x_world * math.sin(angle_rad)) * 0.5
int final_x = anchor_bar + int(math.round(screen_x_offset))
float final_y = screen_y_offset
chart.point.from_index(final_x, final_y)
5) Gradient and Depth Transparency
Color is derived from MFI value via a gradient, and transparency increases with segment depth so recent data remains dominant while older context stays visible.
6) Projected Reference Grid Construction
The 80, 50, 20 levels are drawn as dotted segments across the same historical span, using the same projection and depth fade logic for consistent alignment.
🎆 Wishing you a great year ahead 🎄✨
May your charts be clear, your risk be controlled, and your next year be filled with health, peace, and good trades. Happy Holidays and Happy New Year.
Indicadores y estrategias
Diagonal Interest Zones ScannerThis indicator automatically scans and plots diagonal (slanted) interest zones – dynamic trend-parallel channels that identify statistically validated support/resistance levels within a trending price structure. It detects the strongest "bounce" zones where price has repeatedly respected slanted lines without breaking for a specified hold period, ideal for trending markets.
How It Works (Technical Methodology)
Trend Channel Detection
The script calculates a linear trend slope from a user-defined anchor point (start of lookback or fixed date) to the current close.
Range is determined by finding the maximum deviation above/below this trend line over the lookback period.
This creates a "channel envelope" capturing the full price oscillation around the trend.
Data can be sourced from current or higher timeframe for structural alignment.
Stable Update Mechanism
To prevent flickering on live bars:
Full recalculation (scanning + slope) occurs only after user-defined "Update Frequency" bars close (default 50).
All calculated values (slope, channel bottom, levels, scores) are "snapshotted" and frozen until next confirmed update.
Drawing uses these stable snapshots, ensuring zones remain fixed during real-time price movement.
Auto Mode Scanning
When enabled:
Scans the channel height in percentage steps (default 1.0%).
Each candidate creates a thin diagonal zone (thickness % of price, default 0.04%) parallel to the trend.
Counts valid "hits": Price touches zone and holds (no break) for user-defined bars (default 10).
Break source: "Close" (strict) or "Wick" (sensitive).
Direction assumed by close relative to zone center (support/resistance).
Level Selection and Filtering
Ranks by hit count, applies minimum distance (% of channel height) to avoid overlap.
Limits to max zones (default 9), sorted low to high.
Manual mode alternative: Directly uses input percentages (e.g., 0, 50, 100 for channel bottom/mid/top).
Diagonal Zone Construction
Zones are drawn as filled diagonal bands using two parallel lines (top/bottom) with linefill.
Thickness is volatility-adjusted (% of current price).
Optional extension far into future or limited projection.
Colors: Supply (above price, default light gray), Demand (below price, default cyan) – updates live but positions stay stable.
Dashboard and Visuals
Table shows current price at each zone (stable during bar), % level, hit count (green if high).
Update countdown displayed for transparency.
How to Use
Perfect for trending markets – identifies dynamic, parallel support/resistance zones that move with price structure.
High hit counts: Strong diagonal zones – expect bounces or acceleration on retest.
Update Frequency: Higher values (100+) for very stable long-term channels; lower for adaptive intraday.
Validation Bars: Increase for stricter zones (fewer false positives).
Multi-Timeframe: Use higher TF input for major trend channels on lower charts.
Supply Zones (Diagonal above price): Dynamic resistance – potential shorts or profit targets.
Demand Zones (Diagonal below price): Dynamic support – potential longs or trailing stops.
Manual Mode: Quick plotting of fixed % (e.g., channel median, quartiles).
Confluence: Combine with horizontal levels, volume, or order flow for entries.
Zones remain visually stable (no repainting during bar) thanks to snapshot logic – reliable for live trading decisions.
Disclaimer
This indicator is a technical analysis tool and should be used in conjunction with other forms of analysis. Past performance does not guarantee future results. Always use proper risk management.
ZLT - Date and Time MarkerPine Script v5 indicator called “DateTime Marker” that overlays on the chart and marks bars whose timestamp matches a user-defined schedule. When a bar “matches,” it can draw:
a vertical line through the bar,
a label with a time/date string, and
a triangle marker below the bar (always plotted on matches).
What you can configure
Marker Type (the matching rule)
You choose one of five modes:
Every Minute
Inputs: everyNMinutes (default 15), minuteOffset (default 0)
Match condition: minute % everyNMinutes == minuteOffset
Example with defaults: marks bars at :00, :15, :30, :45 each hour.
Hourly
Inputs: everyNHours (default 4), hourlyMinute (default 0)
Match condition: hour % everyNHours == 0 AND minute == hourlyMinute
Example with defaults: marks bars at 00:00, 04:00, 08:00, 12:00, 16:00, 20:00 (at minute 00).
Daily Time
Inputs: dailyHour (default 10), dailyMinute (default 0)
Match condition: hour == dailyHour AND minute == dailyMinute
Example with defaults: marks 10:00 every day.
Weekly Day & Time
Inputs: weekDay (default Tuesday), weeklyHour (default 16), weeklyMinute (default 0)
It converts the weekday name to Pine’s dayofweek number via getDayNumber().
Match condition: dayofweek == targetDay AND hour == weeklyHour AND minute == weeklyMinute
Example with defaults: marks Tuesday 16:00.
Monthly Date & Time
Inputs: monthlyDay (default 2), monthlyHour (default 23), monthlyMinute (default 0)
Match condition: dayofmonth == monthlyDay AND hour == monthlyHour AND minute == monthlyMinute
Example with defaults: marks the 2nd day of each month at 23:00.
Visual settings
showLine: whether to draw the vertical line.
lineStyle: Solid/Dashed/Dotted (mapped to Pine line styles by getLineStyle()).
lineColor, lineWidth: styling for the line (width is rounded to an integer because Pine line width is integer).
showLabel: whether to draw a label.
labelColor: background color of the label (text is forced white).
What happens when a bar matches
When isMatch becomes true on a bar:
Vertical line: line.new() at that bar’s bar_index, from low to high, extended extend.both (so it spans the full chart vertically).
Label: label.new() at the bar’s high, with mode-specific text:
Minute/Hourly/Daily: "HH:mm"
Weekly: "Tuesday HH:mm" (or whatever day selected)
Monthly: "Day 2 - HH:mm" (or chosen day)
Triangle marker: plotshape() draws a triangle up below the bar on every match (this happens regardless of showLine / showLabel).
Important practical implications
This uses the bar’s exchange/chart time (TradingView’s time, hour, minute, etc.), so results depend on the symbol/session and chart timezone settings.
On timeframes coarser than 1 minute, “Every Minute” still checks only the bar’s timestamp minute value; it won’t mark intra-bar minutes that don’t exist as separate bars.
Because it can create many objects (lines/labels), it sets max_labels_count=500. Lines are not capped here, so very dense marking can still clutter the chart.
If you tell me your intended use (e.g., “mark NY open,” “mark every 15m candle close,” “mark macro events weekly”), I can point out whether the current matching logic fits that precisely or needs adjustments (sessions, timezones, avoiding duplicates, limiting lines, etc.).
Relative Strength Index - More Lines, Color and Divergence.Modified RSI technical indicator with divergences. Additional colors and more lines have been added.Enjoy.
Fractal HTF Lines The indicator “Fractal HTF Lines” draws time‑based vertical lines that mark where higher‑timeframe periods start on your chart. It adapts its behavior to the timeframe you are currently viewing.
4‑hour timeframe
On a 4‑hour chart, the indicator draws a vertical line on the first 4‑hour bar of each new trading day. This lets you quickly see where one day ends and the next begins without turning on session breaks.
Daily timeframe
On a daily chart, the indicator draws a vertical line on the first trading day of each new week. Visually, this separates weeks so you can see weekly structure while still trading and analyzing on the daily timeframe.
Weekly timeframe
On a weekly chart, the indicator draws a vertical line on the first trading week of each new month. That way you can identify monthly boundaries directly on the weekly chart and better align your analysis with monthly cycles.
Customization
The indicator includes settings to control:
Line color: You can choose any color from the palette.
Line width: You can adjust the thickness to make lines more or less prominent.
Line opacity: You can make lines more transparent or more solid, depending on how strong you want the visual emphasis.
Ash_TheTrader: Institutional Truth / Volume ProfileSTOP GUESSING. See the Institutional Truth. (No Repaint)
Most retail traders are trading blind. You are looking at lagging moving averages and "magic" lines that disappear when the price moves against them.
The institutions? They are trading Liquidity.
For months, I have been developing a proprietary engine that strips away the noise and reveals the Statistical Truth of the market. This is not just another "buy/sell" indicator. This is an Institutional Liquidity Engine designed to show you exactly where the money is hiding.
Introducing: Ash_TheTrader: Institutional Truth
👁️ What is "The Truth"?
This script utilizes an Auto-Anchored Liquidity Engine that automatically detects the start of true market cycles. It builds a real-time profile of volume, delta, and imbalance to answer one simple question: Who is actually in control?
It features a "Black Box" Signal Engine that refuses to repaint. If it says BIAS ↑ , the institutional flow is bullish. Period.
🚀 Key Features
• 🚫 NO REPAINT Bias: Signals are mathematically locked. They never disappear. • 🏦 Institutional Logic: It filters out "Retail Traps." If price hasn't reclaimed the Value Level (POC), it won't signal a trade—saving you from buying the top. • ⚡ Dual-Core Engine: Switch between Swing Mode (Macro Trends) and Scalp Mode (M1/M5 Aggressive Algorithms). • 🧱 Liquidity Walls: Bright Neon blocks appear where 75%+ of volume is one-sided. This is where you place your limit orders.
📚 Step-by-Step: How to Trade "The Truth"
1. Choose Your Engine Go to Settings > Algorithm Mode. • Select "Normal (Swing)" for H1/H4 trend trading (Higher Winrate). • Select "Scalp (Aggressive)" for M1/M5/M15 (Faster Signals).
2. The "Green Light" Setup (Long) • Wait for the Dashboard: Look for the signal ✅ SWING BIAS ↑ or ⚡ SCALP BIAS ↑ . • Check the Trap: Ensure the text does NOT say "⚠️ TRAP." • Entry: Enter on the close of the candle. • Stop Loss: Place below the Yellow "Truth" Level (Point of Control) or the recent Swing Low.
3. The "Brick Wall" Scalp • If you see a bright NEON RED block appear on the profile, that is a Bearish Wall . • Price will often bounce off this level aggressively. • Strategy: Place a Sell Limit order at the Neon Red block for a quick reaction trade.
4. The Divergence Warning • Keep an eye on the bottom banner of the dashboard. • If you are Long, but you see a big RED "BEARISH DIV" warning, take profit immediately. The institutions are leaving the trade.
⚠️ A Warning This tool is powerful, but it reveals the reality of the market. Sometimes the Dashboard will say "⚠️ ACCUMULATING" or "⚠️ NEUTRAL." Do not force a trade. The secret to a high winrate is knowing when not to trade. Let the engine do the work.
Add it to your chart now. Stop guessing.
Cheers, @Ash_TheTrader
iQsFFTLibrary "iQsFFT"
TODO: add library description here
2. Summary
A high-performance mathematical library designed to bring advanced spectral analysis and signal processing to the Pine Script ecosystem. This tool allows traders and developers to decompose price action into its underlying cyclical components, helping to distinguish market noise from dominant periodic trends.
3. How It Works
The methodology behind this library is based on digital signal processing (DSP) principles, specifically focusing on frequency domain transformation. Instead of looking at price as a simple time-series, this script translates price data into a frequency spectrum to identify the "DNA" of market movement.
Spectral Decomposition: The algorithm utilizes a complex mathematical transform to break down price movements into various frequencies. This allows the user to see which cycles (short-term vs. long-term) are currently influencing the market most heavily.
Signal Reconstruction: By analyzing the real and imaginary components of price data, the library can assist in filtering out high-frequency noise while retaining the core directional "harmonics" of the asset.
Power Spectrum Analysis: The tool calculates the "energy" behind specific price cycles. This helps in identifying whether a recent price move is a significant structural shift or merely a low-energy fluctuation.
4. Key Features
Dual-Direction Transformation: Supports both forward analysis (time-to-frequency) and inverse reconstruction (frequency-to-time).
Advanced Noise Filtering: Conceptually designed to separate dominant market cycles from random volatility.
Power Density Estimation: Quantifies the strength of specific frequencies to identify market resonance.
Optimized Computation: Built using efficient array-handling logic to manage complex calculations within the TradingView environment.
5. How to Use
As this is a library, it is intended to be integrated into other indicators or strategies.
Step 1: Import the library into your script using the import statement.
Step 2: Prepare your input data (real and imaginary arrays) ensuring the sample size is a power of 2 (e.g., 64, 128, 256) for optimal processing.
Step 3: Call the transformation functions to extract the frequency components of your chosen asset.
Step 4: Utilize the power spectrum output to identify which cycles are currently "dominant" and use them to forecast potential turning points.
6. Settings & Configuration
Transform Direction: Choose between Forward (analysis) or Inverse (reconstruction) modes.
Data Arrays: Input fields for the real and imaginary price components.
Input Size: Configuration for the sample window (requires power-of-two lengths for mathematical validity).
NEURAL ARCHITECT SMC v6 - Institutional Master Gold📘 OPERATIONS MANUAL: NEURAL ARCHITECT SMC v6 1. Script Overview The Neural Architect SMC v6 is an advanced Smart Money Concepts (SMC) workstation integrated into a single indicator. Its main objective is to identify where institutions (whales) are located and filter out the noise caused by retail investors. Unlike standard indicators, this script cross-references internal asset data with external data (USDT Dominance) to provide a real-time macro and micro view. 2. The Dashboard (Institutional Hub) The dashboard located in the upper right corner is the "brain" of the indicator. Here we explain each field: Field Meaning / Warnings USDT DOMINANCE. UP ⚠️: Money is fleeing cryptocurrencies for the dollar (Bearish for the market). DOWN ✅: Money is flowing into cryptocurrencies (Bullish). MAIN PLAYER WHALES 🐋: Institutional volume detected. RETAIL 👤: Weak movement, high probability of a trap. VOLATILITY SQUEEZE ⚡: The price is compressed. An imminent explosion is coming. STABLE: Organic movement. CURRENT RSI Indicates price strength. Green (>60) bullish strength, Red (<40) bearish strength. RECOMMENDED TRADE LONG: Buy. SHORT: Sell. WAIT: No statistical advantage. SMART MONEY ANALYSIS Technical report on the structure (BOS/CHOCH) and order absorption. TEACHER'S STRATEGY The virtual mentor. Tells you if you should enter now or wait for a better price. 3. Iconography and Signals on the Chart The icons appear directly on the candles for a quick reading without looking at the board: 🐋 Whale: Massive institutional volume. Follow this movement. 👤 Person: Low volume. Retail movement, usually reversed. ⚡ Lightning Bolt: Volatility compression. The price is going to jump sharply soon. 🎯 Diana (BOS): Breakout of structure. Confirmation that the trend continues. 🚨 Alert (CHOCH): Change in character. Possible total trend reversal. 4. Institutional Dynamic EMAs The script draws 4 lines that act as magnets and price barriers: EMA 20 (Fast): The pulse of scalping. EMA 50 (Average): Short-term support/resistance. EMA 100 (Trend): Defines the intraday direction. EMA 200 (Institutional): The definitive boundary. If the price is above, we only look for Longs. If it is below, only Shorts. Green: The price has dynamic support. Red: The price has dynamic resistance. 5. Ideal Trade Opening: To guarantee success, a trade must meet the "Rule of 3 Confirmations": Direction: The price must be in favor of the 200 EMA. Actor: A Whale icon 🐋 must appear. Dominance: The USDT.D warning must be green (DOWN ✅) for Longs or red (UP ⚠️) for Shorts. 6. Special Chapter: Timeframes Scalping (1m, 3m, 5m) Objective: Capture the Squeeze ⚡. Strategy: Wait for the lightning bolt to appear. When the next candle breaks the lightning bolt range with a Whale 🐋, enter in the direction of the breakout. Exit: Use the Take Profit (Target) on the board. Intraday (15m, 1h) Objective: Trade the BOS 🎯. Strategy: Identify the macro trend. Wait for the "Teacher" indicator to show "EXECUTE" near a dotted line (Support/Resistance). Optimal Entry: Place limit orders at the exact price shown on the board in OPTIMAL ENTRY (SR). 7. Golden Tricks of the Indicator The Squeeze Trick: If you see a Lightning Bolt ⚡ and the RSI is in the neutral zone (50), the surge will be larger. Be prepared. Retail Filter: Never enter a trade, no matter how beautiful the pattern seems, if the main player is 👤 RETAIL. Whales will use you for liquidity. USDT Divergence: If the price of Bitcoin rises but USDT Dominance also rises, the rise is false. Prepare for a Short. 8. Risk Management (SL and TP) The indicator automatically calculates levels based on the ATR (Average True Range): Stop Loss (Strict): Placed outside the whale "noise" zone. Don't move it unless the trade is very favorable. Take Profit: Calculated with a 1:2.5 ratio. This means that for every 1% you risk, you aim to gain 2.5%. Winning only 40% of the time will make you profitable. 9. Settings By clicking on the indicator's gear icon, you can customize: Zone Sensitivity: If you set a lower number (e.g., 5), you will see more support levels, but they will be less significant. A value of 15 is ideal for stability. Whale Multiplier: If you want to see only the "giant" whales, increase this value to 3.0. Project Lines: Activate this to visually see where institutional order walls are located.
CryptoFlux Dynamo [JOAT]CryptoFlux Dynamo: Velocity Scalping Strategy
WHAT THIS STRATEGY IS
CryptoFlux Dynamo is an open-source Pine Script v6 strategy designed for momentum-based scalping on cryptocurrency perpetual futures. It combines multiple technical analysis methods into a unified system that adapts its behavior based on current market volatility conditions.
This script is published open-source so you can read, understand, and modify the complete logic. The description below explains everything the strategy does so that traders who cannot read Pine Script can fully understand how it works before using it.
HOW THIS STRATEGY IS ORIGINAL AND WHY THE INDICATORS ARE COMBINED
This strategy uses well-known indicators (MACD, EMA, RSI, MFI, Bollinger Bands, Keltner Channels, ATR). The originality is not in the individual indicators themselves, but in the specific way they are integrated into a regime-adaptive system. Here is the detailed justification for why these components are combined and how they work together:
The Problem Being Solved:
Standard indicator-based strategies use fixed thresholds. For example, a typical MACD strategy might enter when the histogram crosses above zero. However, in cryptocurrency markets, volatility changes dramatically throughout the day and week. A MACD crossover during a low-volatility consolidation period has very different implications than the same crossover during a high-volatility trending period. Using the same entry thresholds and stop distances in both conditions leads to either:
Too many false signals during consolidation (if thresholds are loose)
Missing valid opportunities during expansion (if thresholds are tight)
Stops that are too tight during volatility spikes (causing premature exits)
Stops that are too wide during compression (giving back profits)
The Solution Approach:
This strategy first classifies the current volatility regime using normalized ATR (ATR as a percentage of price), then dynamically adjusts ALL other parameters based on that classification. This creates a context-aware system rather than a static threshold comparison.
How Each Component Contributes to the System:
ATR-Based Regime Classification (The Foundation)
The strategy calculates ATR over 21 periods, smooths it with a 13-period EMA to reduce noise from wicks, then divides by price to get a normalized percentage. This ATR% is classified into three regimes:
- Compression (ATR% < 0.8%): Market is consolidating, breakouts are more likely but false signals are common
- Expansion (ATR% 0.8% - 1.6%): Normal trending conditions
- Velocity (ATR% > 1.6%): High volatility, larger moves but also larger adverse excursions
This regime classification then controls stop distances, profit targets, trailing stop offsets, and signal strength requirements. The regime acts as a "meta-parameter" that tunes the entire system.
EMA Ribbon (8/21/34) - Trend Structure Detection
The three EMAs establish trend direction and structure. When EMA 8 > EMA 21 > EMA 34, the trend structure is bullish. The slope of the middle EMA (21) is calculated over 8 bars and converted to degrees using arctangent. This slope measurement quantifies trend strength, not just direction.
Why these specific periods? The 8/21/34 sequence follows Fibonacci-like spacing and provides good separation on 5-minute cryptocurrency charts. The fast EMA (8) responds to immediate price action, the mid EMA (21) represents the short-term trend, and the slow EMA (34) acts as a trend filter.
The EMA ribbon works with the regime classification: during compression regimes, the strategy requires stronger ribbon alignment before entry because false breakouts are more common.
MACD (8/21/5) - Momentum Measurement
The MACD uses faster parameters (8/21/5) than the standard (12/26/9) because cryptocurrency markets move faster than traditional markets. The histogram is smoothed with a 5-period EMA to reduce noise.
The key innovation is the adaptive histogram baseline. Instead of using a fixed threshold, the strategy calculates a rolling baseline from the smoothed absolute histogram value, then multiplies by a sensitivity factor (1.15). This means the threshold for "significant momentum" automatically adjusts based on recent momentum levels.
The MACD works with the regime classification: during velocity regimes, the histogram baseline is effectively higher because recent momentum has been stronger, preventing entries on relatively weak momentum.
RSI (21 period) and MFI (21 period) - Independent Momentum Confirmation
RSI measures momentum using price changes only. MFI (Money Flow Index) measures momentum using price AND volume. By requiring both to confirm, the strategy filters out price moves that lack volume support.
The 21-period length is longer than typical (14) to reduce noise on 5-minute charts. The trigger threshold (55 for longs, 45 for shorts) is slightly offset from 50 to require momentum in the trade direction, not just neutral readings.
These indicators work together: a signal requires RSI > 55 AND MFI > 55 for longs. This dual confirmation reduces false signals from price manipulation or low-volume moves.
Bollinger Bands (1.5 mult) and Keltner Channels (1.8 mult) - Squeeze Detection
When Bollinger Bands contract inside Keltner Channels, volatility is compressing and a breakout is likely. This is the "squeeze" condition. When the bands expand back outside the channels, the squeeze "releases."
The strategy uses a 1.5 multiplier for Bollinger Bands (tighter than standard 2.0) and 1.8 for Keltner Channels. These values were chosen to identify meaningful squeezes on 5-minute cryptocurrency charts without triggering too frequently.
The squeeze detection works with the regime classification: squeeze releases during compression regimes receive additional signal strength points because breakouts from consolidation are more significant.
Volume Impulse Detection - Institutional Participation Filter
The strategy calculates a volume baseline (34-period SMA) and standard deviation. A "volume impulse" is detected when current volume exceeds the baseline by 1.15x OR when the volume z-score exceeds 0.5.
This filter ensures entries occur when there is meaningful market participation, not during low-volume periods where price moves are less reliable.
Volume impulse is required for all entries and adds points to the composite signal strength score.
Cycle Oscillator - Trend Alignment Filter
The strategy calculates a 55-period EMA as a cycle basis, then measures price deviation from this basis as a percentage. When price is more than 0.15% above the cycle basis, the cycle is bullish. When more than 0.15% below, the cycle is bearish.
This filter prevents counter-trend entries. Long signals require bullish cycle alignment; short signals require bearish cycle alignment.
BTC Dominance Filter (Optional) - Market Regime Filter
The strategy can optionally use BTC.D (Bitcoin Dominance) as a market regime filter. When BTC dominance is rising (slope > 0.12), the market is in "risk-off" mode and long entries on altcoins are filtered. When dominance is falling (slope < -0.12), short entries are filtered.
This filter is optional because the BTC.D data feed may lag during low-liquidity periods.
How The Components Work Together (The Mashup Justification):
The strategy uses a composite scoring system where each signal pathway contributes points:
Trend Break pathway (30 points): Requires EMA ribbon alignment + positive slope + price breaks above recent structure high
Momentum Surge pathway (30 points): Requires MACD histogram > adaptive baseline + MACD line > signal + RSI > 55 + MFI > 55 + volume impulse
Squeeze Release pathway (25 points): Requires BB inside KC (squeeze) then release + momentum bias + histogram confirmation
Micro Pullback pathway (15 points): Requires shallow retracement to fast EMA within established trend + histogram confirmation + volume impulse
Additional modifiers:
+5 points if volume impulse is present, -5 if absent
+5 points in velocity regime, -2 in compression regime
+5 points if cycle is aligned, -5 if counter-trend
A trade only executes when the composite score reaches the minimum threshold (default 55) AND all filters agree (session, cycle bias, BTC dominance if enabled).
This scoring system is the core innovation: instead of requiring ALL conditions to be true (which would generate very few signals) or ANY condition to be true (which would generate too many false signals), the strategy requires ENOUGH conditions to be true, with different conditions contributing different weights based on their reliability.
HOW THE STRATEGY CALCULATES ENTRIES AND EXITS
Entry Logic:
1. Calculate current volatility regime from ATR%
2. Calculate all indicator values (MACD, EMA, RSI, MFI, squeeze, volume)
3. Evaluate each signal pathway and sum points
4. Check all filters (session, cycle, dominance, kill switch)
5. If composite score >= 55 AND all filters pass, generate entry signal
6. Calculate position size based on risk per trade and regime-adjusted stop distance
7. Execute entry with regime name as comment
Position Sizing Formula:
RiskCapital = Equity * (0.65 / 100)
StopDistance = ATR * StopMultiplier(regime)
RawQuantity = RiskCapital / StopDistance
MaxQuantity = Equity * (12 / 100) / Price
Quantity = min(RawQuantity, MaxQuantity)
Quantity = round(Quantity / 0.001) * 0.001
This ensures each trade risks approximately 0.65% of equity regardless of volatility, while capping total exposure at 12% of equity.
Stop Loss Calculation:
Stop distance is ATR multiplied by a regime-specific multiplier:
Compression regime: 1.05x ATR (tighter stops because moves are smaller)
Expansion regime: 1.55x ATR (standard stops)
Velocity regime: 2.1x ATR (wider stops to avoid premature exits during volatility)
Take Profit Calculation:
Target distance is ATR multiplied by regime-specific multiplier and base risk/reward:
Compression regime: 1.6x ATR * 1.8 base R:R * 0.9 regime bonus = approximately 2.6x ATR
Expansion regime: 2.05x ATR * 1.8 base R:R * 1.0 regime bonus = approximately 3.7x ATR
Velocity regime: 2.8x ATR * 1.8 base R:R * 1.15 regime bonus = approximately 5.8x ATR
Trailing Stop Logic:
When adaptive trailing is enabled, the strategy calculates a trailing offset based on ATR and regime:
Compression regime: 1.1x base offset (looser trailing to avoid noise)
Expansion regime: 1.0x base offset (standard)
Velocity regime: 0.8x base offset (tighter trailing to lock in profits during fast moves)
The trailing stop only activates when it would be tighter than the initial stop.
Momentum Fail-Safe Exits:
The strategy closes positions early if momentum reverses:
Long positions close if MACD histogram turns negative OR EMA ribbon structure breaks (fast EMA crosses below mid EMA)
Short positions close if MACD histogram turns positive OR EMA ribbon structure breaks
This prevents holding through momentum reversals even if stop loss hasn't been hit.
Kill Switch:
If maximum drawdown exceeds 6.5%, the strategy disables new entries until manually reset. This prevents continued trading during adverse conditions.
HOW TO USE THIS STRATEGY
Step 1: Apply to Chart
Use a 5-minute chart of a high-liquidity cryptocurrency perpetual (BTC/USDT, ETH/USDT recommended)
Ensure at least 200 bars of history are loaded for indicator stabilization
Use standard candlestick charts only (not Heikin Ashi, Renko, or other non-standard types)
Step 2: Understand the Visual Elements
EMA Ribbon: Three lines (8/21/34 periods) showing trend structure. Bullish when stacked upward, bearish when stacked downward.
Background Color: Shows current volatility regime
- Indigo/dark blue = Compression (low volatility)
- Purple = Expansion (normal volatility)
- Magenta/pink = Velocity (high volatility)
Bar Colors: Reflect signal strength divergence. Brighter colors indicate stronger directional bias.
Triangle Markers: Entry signals. Up triangles below bars = long entry. Down triangles above bars = short entry.
Dashboard (top-right): Real-time display of regime, ATR%, signal strengths, position status, stops, targets, and risk metrics.
Step 3: Interpret the Dashboard
Regime: Current volatility classification (Compression/Expansion/Velocity)
ATR%: Normalized volatility as percentage of price
Long/Short Strength: Current composite signal scores (0-100)
Cycle Osc: Price deviation from 55-period EMA as percentage
Dominance: BTC.D slope and filter status
Position: Current position direction or "Flat"
Stop/Target: Current stop loss and take profit levels
Kill Switch: Status of drawdown protection
Volume Z: Current volume z-score
Impulse: Whether volume impulse condition is met
Step 4: Adjust Parameters for Your Needs
For more conservative trading: Increase "Minimum Composite Signal Strength" to 65 or higher
For more aggressive trading: Decrease to 50 (but expect more false signals)
For higher timeframes (15m+): Increase "Structure Break Window" to 12-15, increase "RSI Momentum Trigger" to 58
For lower liquidity pairs: Increase "Volume Impulse Multiplier" to 1.3, increase slippage in strategy properties
To disable short selling: Uncheck "Enable Short Structure"
To disable BTC dominance filter: Uncheck "BTC Dominance Confirmation"
STRATEGY PROPERTIES (BACKTEST SETTINGS)
These are the exact settings used in the strategy's Properties dialog box. You must use these same settings when evaluating the backtest results shown in the publication:
Initial Capital: $100,000
Justification: This amount is higher than typical retail accounts. I chose this value to demonstrate percentage-based returns that scale proportionally. The strategy uses percentage-based position sizing (0.65% risk per trade), so a $10,000 account would see the same percentage returns with 10x smaller position sizes. The absolute dollar amounts in the backtest should be interpreted as percentages of capital.
Commission: 0.04% (commission_value = 0.04)
Justification: This reflects typical perpetual futures exchange fees. Major exchanges charge between 0.02% (maker) and 0.075% (taker). The 0.04% value is a reasonable middle estimate. If your exchange charges different fees, adjust this value accordingly. Higher fees will reduce net profitability.
Slippage: 1 tick
Justification: This is conservative for liquid pairs like BTC/USDT on major exchanges during normal conditions. For less liquid altcoins or during high volatility, actual slippage may be higher. If you trade less liquid pairs, increase this value to 2-3 ticks for more realistic results.
Pyramiding: 1
Justification: No position stacking. The strategy holds only one position at a time. This simplifies risk management and prevents overexposure.
calc_on_every_tick: true
Justification: The strategy evaluates on every price update, not just bar close. This is necessary for scalping timeframes where waiting for bar close would miss opportunities. Note that this setting means backtest results may differ slightly from bar-close-only evaluation.
calc_on_order_fills: true
Justification: The strategy recalculates immediately after order fills for faster response to position changes.
RISK PER TRADE JUSTIFICATION
The default risk per trade is 0.65% of equity. This is well within the TradingView guideline that "risking more than 5-10% on a trade is not typically considered viable."
With the 12% maximum exposure cap, even if the strategy takes multiple consecutive losses, the total risk remains manageable. The kill switch at 6.5% drawdown provides additional protection by halting new entries during adverse conditions.
The position sizing formula ensures that stop distance (which varies by regime) is accounted for, so actual risk per trade remains approximately 0.65% regardless of volatility conditions.
SAMPLE SIZE CONSIDERATIONS
For statistically meaningful backtest results, you should select a dataset that generates at least 100 trades. On 5-minute BTC/USDT charts, this typically requires:
2-3 months of data during normal market conditions
1-2 months during high-volatility periods
3-4 months during low-volatility consolidation periods
The strategy's selectivity (requiring 55+ composite score plus all filters) means it generates fewer signals than less filtered approaches. If your backtest shows fewer than 100 trades, extend the date range or reduce the minimum signal strength threshold.
Fewer than 100 trades produces statistically unreliable results. Win rate, profit factor, and other metrics can vary significantly with small sample sizes.
STRATEGY DESIGN COMPROMISES AND LIMITATIONS
Every strategy involves trade-offs. Here are the compromises made in this design and the limitations you should understand:
Selectivity vs. Opportunity Trade-off
The 55-point minimum threshold filters many potential trades. This reduces false signals but also misses valid setups that don't meet all criteria. Lowering the threshold increases trade frequency but decreases win rate. There is no "correct" threshold; it depends on your preference for fewer higher-quality signals vs. more signals with lower individual quality.
Regime Classification Lag
The ATR-based regime detection uses historical data (21 periods + 13-period smoothing). It cannot predict sudden volatility spikes. During flash crashes or black swan events, the strategy may be classified in the wrong regime for several bars before the classification updates. This is an inherent limitation of any lagging indicator.
Indicator Parameter Sensitivity
The default parameters (MACD 8/21/5, EMA 8/21/34, RSI 21, etc.) are tuned for BTC/ETH perpetuals on 5-minute charts during 2024 market conditions. Different assets, timeframes, or market regimes may require different parameters. There is no guarantee that parameters optimized on historical data will perform similarly in the future.
BTC Dominance Filter Limitations
The CRYPTOCAP:BTC.D data feed may lag during low-liquidity periods or weekends. The dominance slope calculation uses a 5-bar SMA, adding additional delay. If you notice the filter behaving unexpectedly, consider disabling it.
Backtest vs. Live Execution Differences
TradingView backtesting does not replicate actual broker execution. Key differences:
Backtests assume perfect fills at calculated prices; real execution involves order book depth, latency, and partial fills
The calc_on_every_tick setting improves backtest realism but still cannot capture sub-bar price action or order book dynamics
Commission and slippage settings are estimates; actual costs vary by exchange, time of day, and market conditions
Funding rates on perpetual futures are not modeled in backtests and can significantly impact profitability over time
Exchange-specific limitations (position limits, liquidation mechanics, order types) are not modeled
Market Condition Dependencies
This strategy is designed for trending and breakout conditions. During extended sideways consolidation with no clear direction, the strategy may generate few signals or experience whipsaws. No strategy performs well in all market conditions.
Cryptocurrency-Specific Risks
Cryptocurrency markets operate 24/7 without session boundaries. This means:
No natural "overnight" risk reduction
Volatility can spike at any time
Liquidity varies significantly by time of day
Exchange outages or issues can occur at any time
WHAT THIS STRATEGY DOES NOT DO
To be straightforward about limitations:
This strategy does not guarantee profits. Past backtest performance does not indicate future results.
This strategy does not predict the future. It reacts to current conditions based on historical patterns.
This strategy does not account for funding rates, which can significantly impact perpetual futures profitability.
This strategy does not model exchange-specific execution issues (partial fills, requotes, outages).
This strategy does not adapt to fundamental news events or black swan scenarios.
This strategy is not optimized for all market conditions. It may underperform during extended consolidation.
IMPORTANT RISK WARNINGS
Past performance does not guarantee future results. The backtest results shown reflect specific historical market conditions and parameter settings. Markets change constantly, and strategies that performed well historically may underperform or lose money in the future. A single backtest run does not constitute proof of future profitability.
Trading involves substantial risk of loss. Cryptocurrency derivatives are highly volatile instruments. You can lose your entire investment. Only trade with capital you can afford to lose completely.
This is not financial advice. This strategy is provided for educational and informational purposes only. It does not constitute investment advice, trading recommendations, or any form of financial guidance. The author is not a licensed financial advisor.
You are responsible for your own decisions. Before using this strategy with real capital:
Thoroughly understand the code and logic by reading the open-source implementation
Forward test with paper trading or very small positions for an extended period
Verify that commission, slippage, and execution assumptions match your actual trading environment
Understand that live results will differ from backtest results
Consider consulting with a qualified financial advisor
No guarantees or warranties. This strategy is provided "as is" without any guarantees of profitability, accuracy, or suitability for any purpose. The author is not responsible for any losses incurred from using this strategy.
OPEN-SOURCE CODE STRUCTURE
The strategy code is organized into these sections for readability:
Configuration Architecture: Input parameters organized into logical groups (Core Controls, Optimization Constants, Regime Intelligence, Signal Pathways, Risk Architecture, Visualization)
Helper Functions: calcQty() for position sizing, clamp01() and normalize() for value normalization, calcMFI() for Money Flow Index calculation
Core Indicator Engine: EMA ribbon, ATR and regime classification, MACD with adaptive baseline, RSI, MFI, volume analytics, cycle oscillator, BTC dominance filter, squeeze detection
Signal Pathway Logic: Trend break, momentum surge, squeeze release, micro pullback pathways with composite scoring
Entry/Exit Orchestration: Signal filtering, position sizing, entry execution, stop/target calculation, trailing stop logic, momentum fail-safe exits
Visualization Layer: EMA plots, regime background, bar coloring, signal labels, dashboard table
You can read and modify any part of the code. Understanding the logic before deployment is strongly recommended.
- Made with passion by officialjackofalltrades
[iQ]PRO MMXM Suite: Ranges/Accumulations & Initial Conditions+PRO MMXM Suite: Ranges & Initial Conditions+
The PRO RAIC+ is a professional-grade structural analysis tool designed to identify institutional accumulation and re-accumulation zones. It is engineered for traders who utilize Market Maker Models (MMXM) to locate high-probability "Initial Conditions" and macro consolidation phases.
Theoretical Methodology
This suite operates on the principle that markets transition between periods of equilibrium (consolidation) and expansion (breakouts). It employs a dual-layered detection engine to categorize these phases:
Macro Range Dynamics (RDS): The script utilizes pivot-based logic to anchor structural ranges. It identifies major swing points and monitors price action as it develops within these boundaries. Unlike static boxes, this logic dynamically calculates the volume profile within the range to identify the Point of Control (POC)—the price level where the most significant trading activity occurred—providing a "fair value" baseline.
Initial Conditions (Micro-Consolidation): The tool identifies "Initial Conditions" by monitoring price contraction over a specific lookback period. It tracks the stabilization of price peaks and valleys, highlighting zones where institutional orders are likely being clustered before a directional expansion.
Volatility & Displacement Filtering: To reduce market noise, the script incorporates a multi-channel volatility filter. Breakouts are validated through "displacement" logic, which ensures that a move out of a range is backed by significant momentum rather than a corrective wick.
Key Features
Dual-Range Detection: Simultaneously tracks macro structural pivots and micro "Initial Condition" consolidations.
Dynamic Volume Analysis: Automatically calculates and plots the Volume POC within active macro ranges.
Premium/Discount Arrays: Visually divides ranges into equilibrium, premium, and discount zones to assist in trade selection.
Cumulative Volume Delta (CVD): Provides an overlay of volume sentiment within the range to identify potential absorption or aggressive positioning.
Volatility Perturbation Filter: Uses advanced ATR or Standard Deviation filtering to reject insignificant price expansions.
How to Use
Step 1: Identify the Base: Look for the highlighted "Initial Consolidation" zones (Micro-ranges) to identify where the market is establishing its opening narrative.
Step 2: Monitor Macro Development: As the trend develops, the script will project Macro Ranges. Observe if the price is trading in the "Premium" (top 25%) or "Discount" (bottom 25%) relative to the POC.
Step 3: Confirm the Breakout: Wait for a confirmed breakout. If "Displacement" is enabled, the script aims to highlight breaks that show strong candle body closure outside the range.
Step 4: Risk Management: Use the identified range boundaries or the POC as logical levels for stop-loss placement or mean-reversion targets.
Settings & Configuration
Macro Range Settings: Customize the pivot strength (Left/Right bars) and the breakout confirmation requirements.
Volatility Filters: Toggle between BBs, ATR, or SMA-based filters to adjust how the script reacts to market noise.
Volume & PD Arrays: Enable or disable the POC, Cumulative Volume Delta, and Premium/Discount level visuals.
Micro Consolidation: Adjust the sensitivity and lookback period for detecting the "Initial Conditions" zones.
Visual Styling: Full control over colors, transparency, and line styles to match your personal chart template.
LQL Legend TableFollowing me on X - x.com
LQL Legend Table draws a small legend table on your chart (overlay) so you can label your plotted lines/levels with:
• a color swatch (matches your line color)
• a label text (Column 1)
• an optional extra text (Column 2)
It’s meant to act like a persistent “key” for multi-line indicators (so users don’t have to guess what each color means).
Smart behavior
• Only renders on the last bar (so it doesn’t waste work on every historical bar).
• Automatically hides the “Extra” column if none of the enabled rows use it (so you get a cleaner 2-column layout by default).
• Only shows enabled rows, and packs them together (no gaps).
Options available (Inputs)
General
• Version (read-only display): shows the script version in settings.
• Show Legend Table: master toggle on/off.
• Top Buffer Rows (0–5): adds empty spacer rows above the legend.
• Bottom Buffer Rows (0–5): adds empty spacer rows below the legend.
Layout
• Table Position:
• Top Left / Top Center / Top Right
• Bottom Left / Bottom Center / Bottom Right
Styling
• Table Background: background color for the text cells.
• Font Color: text color.
• Font Size: Tiny / Small / Normal / Large
Scalp Signal Pro══════════════════════════════════════════════════════════════
SCALP SIGNAL PRO
Multi-Confluence Day Trading System
══════════════════════════════════════════════════════════════
🎯 OVERVIEW
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Scalp Signal Pro is a professional day trading indicator that combines 12+ technical factors into a weighted confluence scoring system (0-20 points). Signals only fire when the score exceeds your threshold AND all trend filters align.
Designed for: Scalping stocks, options (CALL/PUT), futures
Best timeframes: 1-5 minute charts
Markets: Stocks, ETFs, Futures, Crypto
⚙️ HOW IT WORKS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CONFLUENCE SCORING ENGINE
Each candle is scored by evaluating 12 technical factors:
┌─────────────────────────────────────────────────────────────┐
│ INDICATOR │ PARAMETERS │ MAX POINTS │
├─────────────────────────────────────────────────────────────┤
│ RSI │ Length: 14 │ +2 (extreme OS/OB) │
│ │ OB: 80, OS: 20 │ +1 (bullish/bearish) │
├─────────────────────────────────────────────────────────────┤
│ MACD │ Fast: 8 │ +2 (crossover) │
│ │ Slow: 21 │ +1.5 (strong trend) │
│ │ Signal: 5 │ +1 (aligned) │
├─────────────────────────────────────────────────────────────┤
│ EMA Stack │ Fast: 13 │ +2 (perfect stack) │
│ │ Mid: 48 │ +1 (partial stack) │
│ │ Slow: 200 │ +0.5-1 (price pos) │
├─────────────────────────────────────────────────────────────┤
│ VWAP │ Source: HLC3 │ +1.5 (bounce/reject) │
│ │ Reset: Daily │ +0.5 (above/below) │
├─────────────────────────────────────────────────────────────┤
│ ADX │ Length: 14 │ +1.5 (very strong) │
│ │ Threshold: 30 │ +1 (strong trend) │
├─────────────────────────────────────────────────────────────┤
│ Volume │ SMA: 20 │ +1.5 (spike >2x) │
│ │ Spike: 2.0x │ +1 (high >1.5x) │
├─────────────────────────────────────────────────────────────┤
│ Stochastic RSI │ Length: 14 │ +1.5 (cross at ext) │
│ │ K Smooth: 3 │ +0.5 (aligned) │
├─────────────────────────────────────────────────────────────┤
│ Bollinger Bands │ Length: 20 │ +1.5 (BB bounce) │
│ │ StdDev: 2.0 │ +0.5 (position) │
├─────────────────────────────────────────────────────────────┤
│ Candlestick │ ATR-based │ +1.5 (engulfing) │
│ Patterns │ │ +1 (strong candle) │
├─────────────────────────────────────────────────────────────┤
│ Momentum │ Length: 10 │ +1 (MOM + ROC bull) │
│ Rate of Change │ Length: 10 │ +0.5 (MOM only) │
├─────────────────────────────────────────────────────────────┤
│ Trend Context │ EMA alignment │ +1 (strong trend) │
│ │ Price structure │ │
└─────────────────────────────────────────────────────────────┘
SIGNAL FREQUENCY OPTIONS:
• High (6+ points): More signals, lower selectivity
• Moderate (8+ points): Balanced - RECOMMENDED
• Selective (10+ points): Fewer, higher quality signals
• Very Selective (12+ points): Rare, high conviction
• Ultra Selective (14+ points): Very rare, highest quality
⭐ VCRE SIGNAL SYSTEM
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Volume-Confirmed Reversal Engine - A separate signal system for high-probability reversals.
HOW IT WORKS:
1. ANCHOR: Price breaks below ALL of last 20 lows (bullish) or above ALL of last 20 highs (bearish) with 2x average volume
2. CONFIRMATION: Within 3 bars, price crosses back above anchor high (bullish) or below anchor low (bearish)
3. SIGNAL: B (bullish) or S (bearish) label appears with star rating
PARAMETERS:
• Candle Lookback: 20
• Confirm Within: 3 bars
• Anchor Volume Multiplier: 2.0x
• Confirm Volume Multiplier: 1.2x
• Macro Trend EMA: 200
STAR RATING (3-5 Stars):
★★★ Base rating
★★★★ +1 for anchor volume OR confirm volume
★★★★★ +1 for macro trend alignment (price vs 200 EMA)
📊 MTF ANALYSIS PANEL
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Real-time market structure analysis across 5 customizable timeframes.
DEFAULT TIMEFRAMES: 4m | 15m | 1H | 4H | Daily
METRICS:
┌─────────────────────────────────────────────────────────────┐
│ MOMENTUM (0-200) │
│ • Combines: RSI (35%), ROC (25%), MOM (20%), MACD (20%) │
│ • 100 = neutral | >110 = bullish | <90 = bearish │
├─────────────────────────────────────────────────────────────┤
│ SENTIMENT (0-100) │
│ • Price vs EMAs, stack alignment, volume sentiment │
│ • 50 = neutral | >55 = bullish | <45 = bearish │
├─────────────────────────────────────────────────────────────┤
│ VOLATILITY (0-100) │
│ • ATR ratio, BB width, TR ratio, Std Dev │
│ • Lower = calm | Higher = volatile │
└─────────────────────────────────────────────────────────────┘
OVERALL BIAS:
▲ BULLISH: Avg Momentum > 110 AND Avg Sentiment > 55
▼ BEARISH: Avg Momentum < 90 AND Avg Sentiment < 45
◆ NEUTRAL: All other conditions
📈 HOW TO USE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1. Add indicator to chart (1-5 min timeframe recommended)
2. Configure Signal Frequency (start with "Moderate")
3. Enable Session Filter for optimal trading hours
4. Wait for signal: Green ▲ CALL or Red ▼ PUT
5. Confirm MTF Panel shows aligned bias
6. Check signal score and R:R ratio displayed
7. Execute trade with ATR-based SL/TP levels
🕐 SESSION FILTER
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
When enabled, signals only fire during high-volume periods (EST):
• Morning Session: 9:30 AM - 11:00 AM (market open momentum)
• Afternoon Session: 2:00 PM - 3:30 PM (power hour setup)
📏 KEY LEVELS DISPLAYED
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
• PDH / PDL - Previous Day High/Low (Cyan, Solid)
• 2DH / 2DL - 2 Days Ago High/Low (Orange, Dashed)
• PWH / PWL - Previous Week High/Low (Pink, Dotted)
⚙️ RECOMMENDED SETTINGS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
┌────────────────────┬────────────────────────────────────────┐
│ Setting │ Recommended Value │
├────────────────────┼────────────────────────────────────────┤
│ Signal Frequency │ Moderate (beginners) / Selective (exp) │
│ Strict Mode │ ON (all filters must align) │
│ Session Filter │ ON (avoid choppy periods) │
│ Cooldown Bars │ 8 (prevents overtrading) │
│ Stop Loss (xATR) │ 1.0 │
│ Take Profit (xATR) │ 1.5 (1.5:1 R:R ratio) │
└────────────────────┴────────────────────────────────────────┘
🔔 AVAILABLE ALERTS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
• LONG (Call) Signal
• SHORT (Put) Signal
• Any Scalp Signal
• VCRE Bullish Signal
• VCRE Bearish Signal
• Any VCRE Signal
• VCRE High-Quality Buy/Sell (4+ Stars)
• VCRE BEST Buy/Sell (5 Stars)
✨ WHAT MAKES IT UNIQUE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1. WEIGHTED CONFLUENCE ALGORITHM
Not a simple indicator mashup - each factor is weighted by importance and market context. The scoring system evaluates momentum, trend, volume, and volatility together to generate high-conviction signals.
2. ORIGINAL VCRE METHODOLOGY
The Volume-Confirmed Reversal Engine uses an original anchor-confirmation pattern that identifies potential reversal zones validated by volume analysis. This two-step confirmation process helps filter out false signals.
3. COMPREHENSIVE MTF PANEL
Professional market structure analysis displaying momentum, sentiment, and volatility calculations across multiple timeframes in a single, easy-to-read dashboard.
4. SMART FILTERS
Session filter limits signals to high-volume trading hours. Cooldown system prevents overtrading. Volatility requirements and strict mode ensure signals only fire in optimal market conditions.
5. BUILT-IN RISK MANAGEMENT
ATR-based dynamic stop loss and take profit levels with customizable risk:reward ratios displayed on every signal, helping traders maintain consistent position sizing.
⚠️ DISCLAIMER
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
This indicator is for educational purposes only. Trading involves substantial risk of loss. Past performance does not guarantee future results. Always use proper risk management and never trade with money you cannot afford to lose. This is not financial advice.
══════════════════════════════════════════════════════════════
Custom Sector Comparison Index (CSCI)Compare any stock against a custom basket of its true peers.
Most traders compare stocks to broad indexes like the S&P 500 (SPY) or the Nasdaq (QQQ). But if you are analyzing a niche sector—like Residential REITs, Gold Miners, or AI Semis—broad indexes are too noisy.
This indicator allows you to build your own Custom Equal-Weight Index made up of up to 12 specific symbols. It then plots the performance of the stock you are currently viewing against that custom index, starting from a specific "Anchor Date" of your choosing.
Why use this?
Standard relative strength tools force you to compare against a single symbol (like SPY). But if you want to know if Centerspace (CSR) is lagging its direct competitors, comparing it to SPY (which contains Tech and Healthcare) is useless. Comparing it to VNQ (which contains Cell Towers and Malls) is also imperfect.
With this tool, you can create a "Pure Residential REIT" index and see exactly how your stock is performing against the group.
Key Features:
Fully Configurable: Input up to 12 different symbols to build your custom index.
Smart Filtering: Automatically ignores blank slots. You can build a basket of 3 stocks or 12 stocks without breaking the math.
Custom Anchor Date: Set the specific start date for the comparison (e.g., YTD, Q3 start, or a specific market event).
Visual Performance Gap: Green shading indicates your stock is outperforming the basket; Red shading indicates underperformance.
Example Use Case: Residential REITs
I developed this to analyze the "Residential REIT" sector. I wanted to see if Invitation Homes (INVH) was trading at a discount due to fundamentals or if the whole sector was down.
I configured the basket with 9 of its closest peers:
NYSE:VRE, NYSE:UDR, NYSE:MAA
NYSE:EQR, NYSE:CSR, NYSE:ESS
NYSE:CPT, NYSE:AVB, NYSE:AMH
The Result: The indicator draws a gray line representing the average return of those 9 "Big Boys." I can then load CSR on the chart and immediately see if it is lagging the pack (a potential value buy) or leading it.
How to Use:
Add the indicator to your chart.
Open Settings (Double-click the line).
Start Date: Set the date you want the "race" to begin (where all returns reset to 0%).
Symbols: Type in the tickers for your custom basket (e.g., NVDA, AMD, INTC). Leave unused slots blank.
Analyze:
Gray Line: The average performance of your basket.
Blue Line: The performance of the current symbol on your chart.
Pro Tip: You can save different "Presets" in the indicator settings for different sectors (e.g., save one preset as "Semis" and another as "Oil Majors") so you don't have to re-type symbols every time.
Trend Strength Matrix [JOAT]Trend Strength Matrix — Multi-Timeframe Confluence Analysis System
This indicator addresses a specific analytical challenge: how to efficiently compare multiple technical measurements across different timeframes while accounting for their varying scales and interpretations. Rather than managing separate indicator windows with different scales, this tool normalizes four distinct analytical approaches to a common -1 to +1 scale and presents them in a unified matrix format.
Why This Combination Adds Value
The core problem this indicator solves is analytical fragmentation. Traders often use multiple indicators but struggle with:
1. **Scale Inconsistency**: RSI ranges 0-100, MACD has no fixed range, ADX ranges 0-100 but measures strength not direction
2. **Timeframe Coordination**: Checking multiple timeframes requires switching between charts or cramming multiple indicators
3. **Cognitive Load**: Processing different indicator types simultaneously creates mental overhead
4. **Confluence Assessment**: Determining when multiple approaches agree requires manual comparison
This indicator specifically addresses these issues by creating a standardized analytical framework where different measurement approaches can be directly compared both within and across timeframes.
Originality and Technical Innovation
While the individual components (RSI, MACD, ADX, Moving Average) are standard, the originality lies in:
1. **Unified Normalization System**: Each component is mathematically transformed to a -1 to +1 scale using component-specific normalization that preserves the indicator's core characteristics
2. **Multi-Timeframe Weighting Algorithm**: Higher timeframes receive proportionally more weight (40% current, 25% next, 20% third, 15% fourth) based on the principle that longer timeframes provide more significant context
3. **Real-Time Confluence Scoring**: The composite calculation provides an instant assessment of how much the different analytical approaches agree
4. **Adaptive Visual Encoding**: The heatmap format allows immediate pattern recognition of agreement/disagreement across both indicators and timeframes
How the Components Work Together
Each component measures a different aspect of market behavior, and their combination provides a more complete analytical picture:
**Momentum Component (RSI-based)**: Measures the velocity of price changes by comparing average gains to losses
**Trend Component (MACD-based)**: Measures the relationship between fast and slow moving averages, indicating trend acceleration/deceleration
**Strength Component (ADX-based)**: Measures trend strength regardless of direction, then applies directional bias
**Position Component (MA-based)**: Measures price position relative to a reference average
The mathematical relationship between these components creates a comprehensive view:
- When all four agree (similar colors), it suggests multiple analytical approaches are aligned
- When they disagree (mixed colors), it highlights analytical uncertainty or transition periods
- The composite score quantifies the degree of agreement numerically
Detailed Component Analysis
**1. Momentum Oscillator Component**
This component transforms RSI into a centered oscillator by subtracting 50 and dividing by 50, creating a -1 to +1 range where 0 represents equilibrium between buying and selling pressure.
// Momentum calculation normalized to -1 to +1 scale
float rsi = ta.rsi(close, rsiLength)
float rsiScore = (rsi - 50) / 50
// Result: 0 at equilibrium, +1 at extreme overbought, -1 at extreme oversold
**2. Moving Average Convergence Component**
MACD is normalized by its own volatility (standard deviation) to create a bounded oscillator. This prevents the unbounded nature of MACD from dominating the composite calculation.
// MACD normalized by its historical volatility
= ta.macd(close, macdFast, macdSlow, macdSignal)
float macdStdev = ta.stdev(macdLine, 100)
float macdScore = macdStdev != 0 ? math.max(-1, math.min(1, macdLine / (macdStdev * 2))) : 0
**3. Directional Movement Component**
This combines ADX (strength) with directional movement (+DI vs -DI) to create a directional strength measurement. ADX alone shows strength but not direction; this component adds directional context.
// ADX-based directional strength
= calcADX(adxLength)
float adxStrength = math.min(adx / 50, 1) // Normalize ADX to 0-1
float adxDirection = plusDI > minusDI ? 1 : -1 // Direction bias
float adxScore = adxStrength * adxDirection // Combine strength and direction
**4. Price Position Component**
This measures price deviation from a moving average, weighted by the magnitude of deviation to distinguish between minor and significant displacements.
// Price position relative to moving average
float ma = ta.sma(close, maLength)
float maDirection = close > ma ? 1 : -1
float maDeviation = math.abs(close - ma) / ma * 10 // Percentage deviation scaled
float maScore = math.max(-1, math.min(1, maDirection * math.min(maDeviation, 1)))
Multi-Timeframe Integration Logic
The multi-timeframe system uses a weighted average that gives more influence to higher timeframes:
// Timeframe weighting system
float currentTF = composite * 0.40 // Current timeframe: 40%
float higherTF1 = composite_tf2 * 0.25 // Next higher: 25%
float higherTF2 = composite_tf3 * 0.20 // Third higher: 20%
float higherTF3 = composite_tf4 * 0.15 // Fourth higher: 15%
float multiTFComposite = currentTF + higherTF1 + higherTF2 + higherTF3
This weighting reflects the principle that higher timeframes provide more significant context for market direction, while lower timeframes provide timing precision.
What the Dashboard Shows
The heatmap displays a grid where:
Each row represents a timeframe
Each column shows one component's normalized reading
Colors indicate the value: green shades for positive, red shades for negative, gray for neutral
The rightmost column shows the composite average for that timeframe
Visual Elements
Moving Average Line — A simple moving average plotted on the price chart
Background Tint — Subtle coloring based on the composite score
Shift Labels — Markers when the composite crosses threshold values
Dashboard Table — The main heatmap display
Inputs
Calculation Parameters:
Momentum Length (default: 14)
MACD Fast/Slow/Signal (default: 12/26/9)
Directional Movement Length (default: 14)
Moving Average Length (default: 50)
Timeframe Settings:
Enable/disable multi-timeframe analysis
Select additional timeframes to display
How to Read the Display
Similar colors across a row indicate the components are showing similar readings
Mixed colors indicate the components are showing different readings
The composite percentage shows the average of all four components
Alerts
Composite crossed above/below threshold values
Strong readings (above 50% or below -50%)
Important Limitations and Realistic Expectations
This indicator displays current analytical conditions—it does not predict future price movements
Agreement between components indicates current analytical alignment, not future price direction
All four components are based on historical price data and inherently lag price action
Market conditions can change rapidly, making current readings irrelevant
Different parameter settings will produce different readings and interpretations
No combination of technical indicators can reliably predict future market behavior
Strong readings in one direction do not guarantee continued movement in that direction
The composite score reflects mathematical relationships, not market fundamentals or sentiment
This tool should be used as one input among many in a comprehensive analytical approach
Appropriate Use Cases
This indicator is designed for:
- Analytical organization and efficiency
- Multi-timeframe confluence assessment
- Pattern recognition in indicator relationships
- Educational study of how different analytical approaches relate
- Supplementary analysis alongside other methods
This indicator is NOT designed for:
- Standalone trading signals
- Guaranteed profit generation
- Market timing precision
- Replacement of fundamental analysis
- Automated trading systems
— Made with passion by officialjackofalltrades
[iQ]PRO Adapative Fourier Cybernetic-Symmetric+ Adaptive Fourier Cybernetic-Symmetric+
This advanced technical analysis tool combines spectral decomposition with cybernetic feedback loops to provide a highly responsive trend-following baseline. It is designed for professional traders seeking to filter out market noise while maintaining precise alignment with price velocity and volatility cycles.
Theoretical Methodology
The Adaptive Fourier Cybernetic-Symmetric+ operates on the principle that price action is a composite of multiple cyclical frequencies and stochastic noise. Traditional moving averages often fail because they treat all price data with uniform temporal weight, leading to significant lag.
This script utilizes a Discrete Fourier Transform (DFT) engine to decompose recent price action into its constituent spectral components. By analyzing the "complexity" of these frequencies, the tool identifies the dominant underlying energy of the market.
To enhance the raw spectral data, the script integrates two sophisticated filtering layers:
Topological Information Analysis: The tool calculates a local entropy value to determine the "chaos" of the current market environment. When entropy is high, the system automatically expands its volatility thresholds to avoid whipsaws.
Cybernetic Feedback Loop: Unlike static indicators, this script employs a proportional-integral-style feedback mechanism. It monitors the "error" between the projected spectral path and actual price movement, adjusting its output in real-time to maintain a cybernetic symmetry with the trend.
Key Features
Spectral Decomposition: Uses Fourier analysis to identify the core price trajectory rather than relying on simple time-based averages.
Entropy-Based Adaptation: Dynamically adjusts sensitivity based on market "noise" levels using Shannon Entropy principles.
Cybernetic Smoothing: A specialized feedback gain setting allows users to control the balance between responsiveness and smoothness.
Confluence Overlay: Includes an integrated multi-type moving average (LINREG, ALMA, Hull, etc.) to provide secondary trend confirmation.
Visual Trend Mapping: Features adaptive candle coloring and dynamic plot transitions for immediate bias identification.
How to Use
Step 1: Define the Bias: Observe the color of the main Cyber-FATR line. A gold/bullish color indicates upward spectral momentum, while a magenta/bearish color suggests downward pressure.
Step 2: Monitor Price Interaction: Price staying above the baseline during a bullish shift confirms strength. A cross of the baseline often signals a transition in the dominant market cycle.
Step 3: Confluence Confirmation: Use the integrated "Confluence MA" (defaulted to Linear Regression) to confirm the primary signal. If both the FATR line and the MA align in color and direction, the probability of trend continuation increases.
Step 4: Risk Management: Use the dynamic baseline as a trailing stop-loss level. Because the tool adapts to volatility, the baseline naturally widens during high-volatility expansions and tightens during consolidations.
Settings & Configuration
Fourier Period: Controls the lookback window for the spectral decomposition. Lower values are more reactive to scalp moves; higher values track macro trends.
ATR Factor: Sets the base volatility multiplier for the adaptive bands.
Cybernetic Feedback Gain: Adjusts the internal "correction speed" of the filter. High values reduce lag but may increase sensitivity to noise.
Topological Filtering: Toggle this to enable or disable the entropy-based volatility scaling.
MA Type: Choose from 7 different smoothing algorithms (SMA, EMA, Hull, ALMA, etc.) for the confluence baseline.
DAILY INTRADAY KEY LEVELS by TenAMTrader📌 DAILY INTRADAY KEY LEVELS — by TenAMTrader
DAILY INTRADAY KEY LEVELS is a precision-built intraday mapping tool designed to keep traders aligned with the most important price references used by institutions and active day traders.
This indicator automatically plots Previous Day RTH levels, Overnight levels, and the Opening Range (ORB) using New York session timing, so your levels remain consistent and reliable across all intraday timeframes.
🔑 Levels Included
Previous Day (RTH)
PDH – Previous Day Regular Trading Hours High
PDL – Previous Day Regular Trading Hours Low
(Locked at the RTH close for accuracy)
Overnight Session (16:00–09:30 NY)
ONH – Overnight High
ONL – Overnight Low
(Tracks live overnight and finalizes at the cash open)
Opening Range (09:30–09:45 NY)
ORBH – Opening Range High
ORBM – Opening Range Midpoint
ORBL – Opening Range Low
🎯 Why These Levels Matter
These price levels frequently act as:
Liquidity targets
Support & resistance
Decision points for continuation vs. rejection
Bias filters for trend days vs. range days
The Opening Range, in particular, is a cornerstone of many institutional and professional trading models.
⚙️ Customization & Controls
Toggle each level on/off independently
Choose solid lines or line-with-breaks
Adjustable line width and colors
Optional future-extending rays
Clean single-label system (no clutter)
Text-only or boxed labels
Configurable label side, size, and offsets
Optional current-day-only view to keep charts clean
All values remain timeframe-independent, meaning your levels will not change when switching chart intervals.
📈 Best Use Cases
Futures, Index, and Equity day trading
Opening drive & ORB strategies
Fade vs. continuation decision-making
Level confluence with VWAP, trend, or volume tools
⚠️ Disclaimer
This indicator is for educational and informational purposes only. It does not constitute financial advice or trade recommendations. Trading involves risk, and past performance is not indicative of future results. Always manage risk and trade according to your own plan.
Built for traders who plan first, execute second, and respect key levels.
— TenAMTrader
Average Volatility Average Volatility Indicator
Indicator Overview
A professional multi-period volatility analysis tool that calculates price range volatility across different time frames, helping traders identify market volatility levels and potential price movement ranges. Particularly useful for day traders and swing traders.
🔧 Core Features
1. Multi-Period Volatility Calculation
Today's Range: Calculates the difference between today's high and low prices
Yesterday's Range: Calculates yesterday's price fluctuation range
5-Day Average: Average fluctuation range over the past 5 trading days
10-Day Average: Average fluctuation range over the past 10 trading days
20-Day Average: Average fluctuation range over the past 20 trading days (using intelligent estimation algorithm)
2. Comprehensive Average Volatility
Uses a weighted average algorithm to calculate comprehensive volatility:
text
Comprehensive Average = (Yesterday's Range + 5-Day Avg + 10-Day Avg + 20-Day Avg) ÷ 4
This unique formula combines short-term, medium-term, and long-term volatility, providing a more complete perspective on market volatility.
3. Real-Time Opening Analysis
Monitors the difference between opening price and current price in real-time
Visualizes opening price movement direction and magnitude
Provides initial momentum signals for the current trading day
Underlying Concepts & Methodology
Volatility Measurement Approach
The indicator focuses on true range volatility rather than standard deviation-based methods. It measures:
Daily Range: High-Low difference (cleanest volatility measure)
Multi-Period Averages: Smooths out daily anomalies
Weighted Combination: Balances recent vs. historical volatility
Technical Implementation
Data Collection: Uses multiple timeframes via request.security() for accurate daily data
Adaptive Calculation: Automatically adjusts for different instrument precision levels
Efficient Algorithms: Optimized calculation methods to minimize resource usage
20-Day Average Calculation Innovation
Due to TradingView's request limitations, the indicator uses a hybrid calculation method:
Actual data for first 15 days
Intelligent estimation for remaining 5 days using historical average
Maintains accuracy while respecting platform constraints
Practical Applications
For Day Traders
Range Estimation: Predict today's potential high-low range based on historical volatility
Breakout Confirmation: Compare current price movement to average daily range
Risk Management: Set stop-losses based on average volatility
For Swing Traders
Trend Strength Assessment: Higher volatility in trend direction indicates stronger momentum
Support/Resistance Levels: Use average range to identify potential reversal zones
Position Sizing: Adjust position sizes based on current vs. historical volatility
For All Traders
Market Condition Analysis: Identify low-volatility (consolidation) vs. high-volatility (trending) periods
News Impact Assessment: Compare pre-news vs. post-news volatility
Time-of-Day Patterns: Analyze volatility patterns at different market hours
How to Use
Basic Usage
Install the indicator on your TradingView chart
View the transparent table in your selected corner position
Monitor the key metrics:
Opening price and change
Today's current range
Multi-period averages
Comprehensive volatility value
Customization Options
Language Toggle: Switch between English and Chinese interfaces
Display Position: Choose from four corner positions
Font Size: Adjust text size for optimal visibility
Show/Hide Table: Toggle display as needed
Trading Signals Interpretation
Opening Change: Positive suggests bullish momentum, negative suggests bearish pressure
🔍 Unique Advantages
Multi-Timeframe Perspective: Combines daily, weekly, and monthly volatility views
Adaptive Precision: Works perfectly with any trading instrument
Clean Display: Transparent table doesn't clutter the chart
Real-Time Updates: All values update with each price tick
Educational Value: Helps traders understand volatility patterns
🚨 Risk Considerations
Historical volatility doesn't guarantee future volatility
Use as a supplementary tool, not standalone signal
Combine with other analysis methods for best results
Always use proper risk management regardless of volatility readings
This indicator provides traders with a sophisticated yet easy-to-use volatility analysis tool, helping make more informed trading decisions based on historical price behavior patterns.
TRI - Support/Resistance Multi Timeframe🎯 BREAKOUT STRATEGY:
This indicator identifies key S/R levels where momentum shifts occur.
Use these levels for high-probability breakout entries.
📈 LONG BREAKOUT SETUP:
Wait for price to approach a RESISTANCE level (above current price)
Look for increasing volume as price tests the level
Enter LONG when price closes decisively ABOVE the resistance zone
Set stop-loss just below the broken resistance (now support)
Target: next resistance level above, or 1:2 risk/reward
📉 SHORT BREAKOUT SETUP:
Wait for price to approach a SUPPORT level (below current price)
Look for increasing volume as price tests the level
Enter SHORT when price closes decisively BELOW the support zone
Set stop-loss just above the broken support (now resistance)
Target: next support level below, or 1:2 risk/reward
⚡ PRO TIPS:
Higher timeframe levels (D, W) are STRONGER - breakouts more reliable
Use "Zones" mode to see the full breakout area, not just a line
Multiple levels clustered together = stronger S/R zone
Failed breakout (price returns inside zone) = potential reversal trade
Combine with volume confirmation for best results
🔔 ALERTS:
Set alerts for new levels on current TF to spot fresh momentum shifts in real-time.
🔗 COMBINE WITH OTHER INDICATORS:
For best results, use this indicator together with:
EMA (50/200) - Dynamic support/resistance for trend confirmation
Volume Profile - Confirms high-volume price levels
When price bounces from a static S/R level AND respects EMA = high-probability trade
📊 DETECTION METHODS:
Choose your preferred method in settings:
MACD MODE:
Uses MACD histogram to identify momentum-based S/R levels:
Histogram dips in positive territory = bullish momentum pausing = SUPPORT zone
Histogram peaks in positive territory = bullish momentum reversal = RESISTANCE zone
Histogram peaks in negative territory = bearish momentum pausing = RESISTANCE zone
Histogram dips in negative territory = bearish momentum reversal = SUPPORT zone
Only significant extremes are marked, filtering out noise
FRACTALS MODE:
Uses pivot high/low detection (similar to Williams Fractals):
Detects swing highs = RESISTANCE levels where price reversed down
Detects swing lows = SUPPORT levels where price reversed up
Uses ta.pivothigh/pivotlow for memory-efficient calculation
"Fractal Periods" setting controls lookback (higher = fewer, stronger levels)
Levels positioned at bar for real-time detection
Smart Money Zones (FVG + OB) + MTF Trend Panel## Overview
Professional-grade institutional trading zones indicator that identifies **Fair Value Gaps (FVG)** and **Order Blocks (OB)** - key price inefficiencies where smart money operates. Includes a comprehensive **Multi-Timeframe Trend Panel** for complete market context at a glance.
## Core Features
### 🎯 Fair Value Gaps (FVG)
Fair Value Gaps occur when price moves so aggressively that it leaves an "imbalance" or "gap" in the market structure. These zones often act as magnets where price returns to find liquidity.
**Detection Logic:**
- **Bullish FVG**: When current candle's low is above the high of the candle 2 bars ago
- **Bearish FVG**: When current candle's high is below the low of the candle 2 bars ago
- Requires strong impulse candle (configurable body percentage threshold)
- Color-coded zones: Green for bullish, Red for bearish
### 📦 Order Blocks (OB)
Order Blocks represent the last opposite candle before a significant price move - the zone where institutional orders were placed before the breakout.
**Detection Logic:**
- Identifies the last bearish candle before a strong bullish breakout (Bullish OB)
- Identifies the last bullish candle before a strong bearish breakout (Bearish OB)
- Validates breakout strength using ATR multiplier (1.2x default)
- Color-coded zones: Blue for bullish, Orange for bearish
### 📊 Multi-Timeframe Trend Panel
Real-time trend analysis across **7 timeframes** displayed in an elegant dashboard:
- **1 Minute** - Ultra short-term scalping
- **5 Minutes** - Short-term momentum
- **15 Minutes** - Intraday swings
- **30 Minutes** - Session trends
- **1 Hour** - Multi-session trends
- **4 Hours** - Daily structure
- **Daily** - Long-term direction
**Visual Indicators:**
- 🟢 Green circle = Bullish trend
- 🔴 Red circle = Bearish trend
- Clean, professional table design with customizable position and size
## Intelligence Features
### 🧠 Zone Strength Rating
Every zone is automatically classified by strength based on size relative to ATR:
- **VERY STRONG** - 2.0x ATR or more (major institutional zones)
- **STRONG** - 1.5x to 2.0x ATR (significant zones)
- **MEDIUM** - 1.0x to 1.5x ATR (moderate zones)
- **WEAK** - Below 1.0x ATR (minor zones)
Strength rating helps you prioritize which zones to trade from!
### 📉 Smart Mitigation Tracking
Zones automatically track how much they've been "filled" or mitigated:
- Calculates penetration percentage as price enters the zone
- Zones turn **gray** when 50%+ mitigated or fully filled
- Option to **auto-delete** mitigated zones to keep chart clean
- Live zones extend dynamically with price action
### 🎨 Trend Filter (Optional)
When enabled, only shows zones aligned with the current trend:
- Uses customizable MA period (default 50)
- Bullish zones only appear in uptrend
- Bearish zones only appear in downtrend
- Reduces noise and false signals significantly
## Customization Options
### Display Settings
- Toggle FVGs and OBs independently
- Adjust max zones per type (5-200)
- Choose to remove or gray out mitigated zones
- Color customization for all zone types
### Detection Parameters
- **Min Impulse Body %**: Controls how strong the impulse candle must be (0.3-1.0)
- **Order Block Lookback**: How many bars to look back for OB validation (5-50)
- **ATR Length**: Period for ATR calculation (5-50)
### Trend Filter
- Enable/disable trend filtering
- Adjustable MA period for trend determination
### MTF Panel
- Show/hide the trend panel
- 4 position options: Top Right, Top Left, Bottom Right, Bottom Left
- 3 size options: Small, Normal, Large
- Customizable MA period for trend calculation across all timeframes
## Trading Applications
### 1. **Liquidity Grab Entries**
Wait for price to sweep a zone (50%+ mitigation) then enter on reversal. Smart money often "hunts" these zones before the real move begins.
### 2. **Confluence Trading**
Look for zones that align with:
- Multiple timeframe trends showing same direction
- Multiple FVGs/OBs stacking in same area
- Key support/resistance levels
### 3. **Breakout Confirmation**
Use Order Blocks to confirm the strength of breakouts. Strong OBs indicate institutional participation.
### 4. **Retracement Entries**
Enter when price returns to a fresh, unmitigated zone in the direction of the higher timeframe trend.
### 5. **Range Trading**
Identify FVG zones at range extremes - price often reverses at these inefficiencies.
## How It Works
**Fair Value Gaps** form when the middle candle creates such aggressive movement that it leaves a price gap between the high/low of surrounding candles. Institutional traders know these gaps get filled.
**Order Blocks** mark the origin of major moves. The last opposite-colored candle before a breakout is where large orders were placed. Price often returns to these zones for "retests" before continuing.
**Mitigation** happens when price returns to fill these zones. The indicator tracks this automatically, showing you which zones are still "fresh" and which have been used up.
## Best Practices
✅ **Use higher timeframe trends** - Always check the MTF panel before taking trades
✅ **Trade fresh zones** - Unmitigated zones (not gray) have the highest probability
✅ **Combine with price action** - Look for rejection wicks and engulfing candles at zones
✅ **Respect zone strength** - VERY STRONG and STRONG zones are most reliable
✅ **Use trend filter** - Especially on lower timeframes to reduce false signals
❌ **Don't overtrade** - Not every zone will react, wait for confirmation
❌ **Don't ignore context** - Check the MTF panel for conflicting trends
❌ **Don't chase** - Wait for price to come to the zone, don't enter mid-zone
## Technical Details
- **Non-repainting**: All zones are drawn on confirmed candles only
- **Performance optimized**: Uses efficient array management with per-type caps
- **Real-time updates**: Zones extend and track mitigation as price moves
- **Universal compatibility**: Works on all markets and timeframes
## Recommended Settings by Style
**Scalping (1m-5m charts):**
- Max zones: 10-15
- Use trend filter: ON
- MTF Panel: Focus on 1m-15m trends
- Remove mitigated: ON (keep chart clean)
**Day Trading (5m-1H charts):**
- Max zones: 15-20
- Use trend filter: ON
- MTF Panel: Focus on 15m-4H trends
- Remove mitigated: OFF (track zone history)
**Swing Trading (1H-D charts):**
- Max zones: 20+
- Use trend filter: Optional
- MTF Panel: Focus on 1H-1D trends
- Remove mitigated: OFF (important zones persist)
---
## Perfect For
- Smart Money Concept (SMC) traders
- ICT methodology followers
- Institutional order flow traders
- Price action traders seeking key zones
- Multi-timeframe analysis enthusiasts
**Compatible with all markets:** Forex, Crypto, Stocks, Indices, Commodities, Futures
*Trade where the institutions trade. Follow the smart money.*
Volume-Confirmed Reversal Engine [Scalping-Algo]█ VOLUME-CONFIRMED REVERSAL ENGINE
A reversal detection system combining price action exhaustion with volume confirmation to identify high-probability turning points.
█ WHAT MAKES THIS ORIGINAL?
Unlike oscillators (RSI, Stochastic) that signal at arbitrary levels, VCRE uses a TWO-STEP CONFIRMATION process:
1. ANCHOR CANDLE: Detects when price closes beyond ALL recent candles (not just one), indicating true exhaustion
2. VOLUME VALIDATION: Requires 2x average volume to confirm institutional participation
3. BREAKOUT CONFIRMATION: Waits for price to break back through anchor range before signaling
4. QUALITY SCORING: Rates each signal 1-4 stars based on multiple confluence factors
█ HOW IT WORKS
STEP 1 - ANCHOR DETECTION
• Bullish: Close drops below the LOW of ALL previous N candles + high volume
• Bearish: Close rises above the HIGH of ALL previous N candles + high volume
• This identifies potential exhaustion points with institutional participation
STEP 2 - CONFIRMATION
• Bullish signal: Price must close ABOVE anchor candle's high
• Bearish signal: Price must close BELOW anchor candle's low
• Must occur within specified bars or setup is cancelled
STEP 3 - SCORING (1-4 Stars)
★ Confirmation occurred
★ Anchor had exceptional volume (>2x avg)
★ Confirmation candle has strong volume (>1.2x avg)
★ Aligned with macro trend (200 EMA)
█ HOW TO USE
SIGNALS
• Green "B" = BUY signal | Red "S" = SELL signal
• More stars (★) = Higher probability setup
SETUP BOXES
• Green box = Bullish setup forming, waiting for confirmation
• Red box = Bearish setup forming, waiting for confirmation
DASHBOARD
• Shows status, confirmation countdown, and volume condition
█ RECOMMENDED SETTINGS
| Style | Lookback | Confirm | Volume Multi |
|--------------|----------|---------|--------------|
| Scalping | 10-15 | 2-3 | 1.5x |
| Day Trading | 15-25 | 3-4 | 2.0x |
| Swing | 20-30 | 3-5 | 2.0-2.5x |
█ KEY PARAMETERS
• Candle Lookback: Candles to check for breakout (higher = stronger signals)
• Confirm Within: Max bars for confirmation (lower = faster signals)
• Anchor Volume Multiplier: Volume threshold for anchor candle
• Macro Trend EMA: Trend filter for scoring (default 200)
█ ALERTS
• Buy/Sell Signal - Any confirmation
• High-Quality Buy/Sell - 3+ star signals only
• Setup Detected - When anchor forms (before confirmation)
█ TIPS
• Focus on 3-4 star signals for best results
• Signals near support/resistance add confluence
• Use stop-loss beyond anchor candle extreme
• Test on demo before live trading
Works on all markets: Stocks, Forex, Crypto, Futures
Smart Money Zones (FVG + OB) + MTF Trend Panel## Overview
Professional-grade institutional trading zones indicator that identifies **Fair Value Gaps (FVG)** and **Order Blocks (OB)** - key price inefficiencies where smart money operates. Includes a comprehensive **Multi-Timeframe Trend Panel** for complete market context at a glance.
## Core Features
### 🎯 Fair Value Gaps (FVG)
Fair Value Gaps occur when price moves so aggressively that it leaves an "imbalance" or "gap" in the market structure. These zones often act as magnets where price returns to find liquidity.
**Detection Logic:**
- **Bullish FVG**: When current candle's low is above the high of the candle 2 bars ago
- **Bearish FVG**: When current candle's high is below the low of the candle 2 bars ago
- Requires strong impulse candle (configurable body percentage threshold)
- Color-coded zones: Green for bullish, Red for bearish
### 📦 Order Blocks (OB)
Order Blocks represent the last opposite candle before a significant price move - the zone where institutional orders were placed before the breakout.
**Detection Logic:**
- Identifies the last bearish candle before a strong bullish breakout (Bullish OB)
- Identifies the last bullish candle before a strong bearish breakout (Bearish OB)
- Validates breakout strength using ATR multiplier (1.2x default)
- Color-coded zones: Blue for bullish, Orange for bearish
### 📊 Multi-Timeframe Trend Panel
Real-time trend analysis across **7 timeframes** displayed in an elegant dashboard:
- **1 Minute** - Ultra short-term scalping
- **5 Minutes** - Short-term momentum
- **15 Minutes** - Intraday swings
- **30 Minutes** - Session trends
- **1 Hour** - Multi-session trends
- **4 Hours** - Daily structure
- **Daily** - Long-term direction
**Visual Indicators:**
- 🟢 Green circle = Bullish trend
- 🔴 Red circle = Bearish trend
- Clean, professional table design with customizable position and size
## Intelligence Features
### 🧠 Zone Strength Rating
Every zone is automatically classified by strength based on size relative to ATR:
- **VERY STRONG** - 2.0x ATR or more (major institutional zones)
- **STRONG** - 1.5x to 2.0x ATR (significant zones)
- **MEDIUM** - 1.0x to 1.5x ATR (moderate zones)
- **WEAK** - Below 1.0x ATR (minor zones)
Strength rating helps you prioritize which zones to trade from!
### 📉 Smart Mitigation Tracking
Zones automatically track how much they've been "filled" or mitigated:
- Calculates penetration percentage as price enters the zone
- Zones turn **gray** when 50%+ mitigated or fully filled
- Option to **auto-delete** mitigated zones to keep chart clean
- Live zones extend dynamically with price action
### 🎨 Trend Filter (Optional)
When enabled, only shows zones aligned with the current trend:
- Uses customizable MA period (default 50)
- Bullish zones only appear in uptrend
- Bearish zones only appear in downtrend
- Reduces noise and false signals significantly
## Customization Options
### Display Settings
- Toggle FVGs and OBs independently
- Adjust max zones per type (5-200)
- Choose to remove or gray out mitigated zones
- Color customization for all zone types
### Detection Parameters
- **Min Impulse Body %**: Controls how strong the impulse candle must be (0.3-1.0)
- **Order Block Lookback**: How many bars to look back for OB validation (5-50)
- **ATR Length**: Period for ATR calculation (5-50)
### Trend Filter
- Enable/disable trend filtering
- Adjustable MA period for trend determination
### MTF Panel
- Show/hide the trend panel
- 4 position options: Top Right, Top Left, Bottom Right, Bottom Left
- 3 size options: Small, Normal, Large
- Customizable MA period for trend calculation across all timeframes
## Trading Applications
### 1. **Liquidity Grab Entries**
Wait for price to sweep a zone (50%+ mitigation) then enter on reversal. Smart money often "hunts" these zones before the real move begins.
### 2. **Confluence Trading**
Look for zones that align with:
- Multiple timeframe trends showing same direction
- Multiple FVGs/OBs stacking in same area
- Key support/resistance levels
### 3. **Breakout Confirmation**
Use Order Blocks to confirm the strength of breakouts. Strong OBs indicate institutional participation.
### 4. **Retracement Entries**
Enter when price returns to a fresh, unmitigated zone in the direction of the higher timeframe trend.
### 5. **Range Trading**
Identify FVG zones at range extremes - price often reverses at these inefficiencies.
## How It Works
**Fair Value Gaps** form when the middle candle creates such aggressive movement that it leaves a price gap between the high/low of surrounding candles. Institutional traders know these gaps get filled.
**Order Blocks** mark the origin of major moves. The last opposite-colored candle before a breakout is where large orders were placed. Price often returns to these zones for "retests" before continuing.
**Mitigation** happens when price returns to fill these zones. The indicator tracks this automatically, showing you which zones are still "fresh" and which have been used up.
## Best Practices
✅ **Use higher timeframe trends** - Always check the MTF panel before taking trades
✅ **Trade fresh zones** - Unmitigated zones (not gray) have the highest probability
✅ **Combine with price action** - Look for rejection wicks and engulfing candles at zones
✅ **Respect zone strength** - VERY STRONG and STRONG zones are most reliable
✅ **Use trend filter** - Especially on lower timeframes to reduce false signals
❌ **Don't overtrade** - Not every zone will react, wait for confirmation
❌ **Don't ignore context** - Check the MTF panel for conflicting trends
❌ **Don't chase** - Wait for price to come to the zone, don't enter mid-zone
## Technical Details
- **Non-repainting**: All zones are drawn on confirmed candles only
- **Performance optimized**: Uses efficient array management with per-type caps
- **Real-time updates**: Zones extend and track mitigation as price moves
- **Universal compatibility**: Works on all markets and timeframes
## Recommended Settings by Style
**Scalping (1m-5m charts):**
- Max zones: 10-15
- Use trend filter: ON
- MTF Panel: Focus on 1m-15m trends
- Remove mitigated: ON (keep chart clean)
**Day Trading (5m-1H charts):**
- Max zones: 15-20
- Use trend filter: ON
- MTF Panel: Focus on 15m-4H trends
- Remove mitigated: OFF (track zone history)
**Swing Trading (1H-D charts):**
- Max zones: 20+
- Use trend filter: Optional
- MTF Panel: Focus on 1H-1D trends
- Remove mitigated: OFF (important zones persist)
---
## Perfect For
- Smart Money Concept (SMC) traders
- ICT methodology followers
- Institutional order flow traders
- Price action traders seeking key zones
- Multi-timeframe analysis enthusiasts
**Compatible with all markets:** Forex, Crypto, Stocks, Indices, Commodities, Futures
*Trade where the institutions trade. Follow the smart money.*




















