Early Trend Warning Using MTF AnalysisAs an active trader and software professional, I build my own indicators. I built this one today which I want to share with fellow traders.
If you are a trend trader then HTF/MTF analysis is very critical. It is virtually impossible to constantly track multiple tickers all the time. One should not take a buy trade when MTF is bearish and vice versa. This indicator solves this problem.
The EMA Trend Warning indicator helps traders detect potential trend changes early by analyzing price interactions with multi-timeframe Exponential Moving Averages (EMAs) and their momentum. It sends instant alerts when price crosses above or below EMAs with supporting momentum, making it easier to capture bullish or bearish moves.
The EMA Trend Warning indicator detects potential trend changes by monitoring price against 14-period EMAs on multiple timeframes: 15-minute, 30-minute, and 1-hour charts. It sends alerts when the price crosses above or below the EMA with supporting momentum, helping traders identify early bullish or bearish signals.
How It Works:
1. Calculates 14-period EMA on 15m, 30m, and 1H charts.
2. Computes EMA slopes to determine momentum direction.
3. BUY alert triggers when price crosses above the 15m EMA and at least one EMA slope is upward.
4. SELL alert triggers when price crosses below the 15m EMA and at least one EMA slope is downward.
5. Alerts fire once per bar and track previous state to avoid repeated notifications.
Features:
1. Multi-timeframe EMA monitoring.
2. Momentum confirmation with EMA slopes.
3. Instant BUY/SELL alerts.
4. Tracks previous trend state to prevent alert spam.
Benefits:
1. Detects trend changes early for better entry timing.
2. Confirms trend across multiple timeframes.
3. Saves time with automated alerts.
4. Helps traders align trades with market momentum.
Please consider this indicator as EARLY WARNING ONLY. Take trade based on multiple confluences post receiving any warning. I have tested it on BTCUSD since yesterday, multiple warning alerts were 100% perfect.
Multitimeframe
Account GuardianAccount Guardian: Dynamic Risk/Reward Overlay
Introduction
Account Guardian is an open-source indicator for TradingView designed to help traders evaluate trade setups before entering positions. It automatically calculates Risk-to-Reward ratios based on market structure, displays visual Stop Loss and Take Profit zones, and provides real-time position sizing recommendations.
The indicator addresses a fundamental question every trader should ask before entering a trade: "Does this setup make mathematical sense?" Account Guardian answers this question visually and numerically, helping traders avoid impulsive entries with poor risk profiles.
Core Functionality
Account Guardian performs four primary functions:
Detects swing highs and swing lows to identify logical stop loss placement levels
Calculates Risk-to-Reward ratios for both long and short setups in real-time
Displays visual SL/TP zones on the chart for immediate trade planning
Computes position sizing based on your account size and risk tolerance
The goal is to provide traders with instant feedback on whether a potential trade meets their minimum risk/reward criteria before committing capital.
How It Works
Swing Detection
The indicator uses pivot point detection to identify recent swing highs and swing lows on the chart. These swing points serve as logical areas for stop loss placement:
For Long Trades: The most recent swing low becomes the stop loss level. Price breaking below this level would invalidate the bullish thesis.
For Short Trades: The most recent swing high becomes the stop loss level. Price breaking above this level would invalidate the bearish thesis.
The swing detection lookback period is configurable, allowing you to adjust sensitivity based on your trading timeframe and style.
It automatically adjusts the tp and sl when it is applied to your chart so it is always moving up and down!
Risk/Reward Calculation
Once swing levels are identified, the indicator calculates:
Entry Price: Current close price (where you would enter)
Stop Loss: Recent swing low (for longs) or swing high (for shorts)
Risk: Distance from entry to stop loss
Take Profit: Entry plus (Risk × Target Multiplier)
R:R Ratio: Reward divided by Risk
The R:R ratio is then evaluated against your configured thresholds to determine if the setup is valid, marginal, or poor.
Visual Elements
SL/TP Zones
When enabled, the indicator draws colored boxes on the chart showing:
Red Zone: Stop Loss area - the region between your entry and stop loss
Green/Gold/Red Zone: Take Profit area - colored based on R:R quality
The color coding provides instant visual feedback:
Green: R:R meets or exceeds your "Good R:R" threshold (default 3:1)
Gold: R:R meets minimum threshold but below "Good" (between 2:1 and 3:1)
Red: R:R below minimum threshold - setup should be avoided
Swing Point Markers
Small circles mark detected swing points on the chart:
Green circles: Swing lows (potential support / long SL levels)
Red circles: Swing highs (potential resistance / short SL levels)
Dashboard Panel
The dashboard in the top-right corner displays comprehensive trade planning information:
R:R Row: Current Risk-to-Reward ratio for long and short setups
Status Row: VALID, OK, BAD, or N/A based on R:R thresholds
Stop Loss Row: Exact price level for stop loss placement
Take Profit Row: Exact price level for take profit placement
Pos Size Row: Recommended position size based on your risk parameters
Risk $ Row: Dollar amount at risk per trade
Position Sizing Logic
The indicator calculates position size using the formula:
Position Size = Risk Amount / Risk per Unit
Where:
Risk Amount = Account Size × (Risk Percentage / 100)
Risk per Unit = Entry Price - Stop Loss Price
For example, with a $10,000 account risking 1% per trade ($100), if your entry is at 100 and stop loss at 98 (risk of 2 per unit), your position size would be 50 units.
Input Parameters
Swing Detection:
Swing Lookback: Number of bars to look back for pivot detection (default: 10). Higher values find more significant swing points but may be slower to update.
Target Multiplier: Multiplier applied to risk to calculate take profit distance (default: 2). A value of 2 means TP is 2× the distance of SL from entry.
Risk/Reward Thresholds:
Minimum R:R: Minimum acceptable Risk-to-Reward ratio (default: 2.0). Setups below this show as "BAD" in red.
Good R:R: Threshold for excellent setups (default: 3.0). Setups at or above this show as "VALID" in green.
Account Settings:
Account Size ($): Your trading account size in dollars (default: 10,000). Used for position sizing calculations.
Risk Per Trade (%): Percentage of account to risk per trade (default: 1.0%). Professional traders typically risk 0.5-2% per trade.
Display:
Show SL/TP Zones: Toggle visibility of the colored zone boxes on chart (default: enabled)
Show Dashboard: Toggle visibility of the information panel (default: enabled)
Analyze Direction: Choose to analyze Long only, Short only, or Both directions (default: Both)
How to Use This Indicator
Basic Workflow:
Add the indicator to your chart
Configure your account size and risk percentage in the settings
Set your minimum and good R:R thresholds based on your trading rules
Look at the dashboard to see current R:R for potential long and short entries
Only consider trades where the status shows "VALID" or at minimum "OK"
Use the displayed SL and TP levels for your order placement
Use the position size recommendation to determine lot/contract size
Interpreting the Dashboard:
VALID (Green): Excellent setup - R:R meets your "Good" threshold. This is the ideal scenario for taking a trade.
OK (Gold): Acceptable setup - R:R meets minimum but isn't optimal. Consider taking if other confluence factors align.
BAD (Red): Poor setup - R:R below minimum threshold. Avoid this trade or wait for better entry.
N/A (Gray): Cannot calculate - usually means no valid swing point detected yet.
Best Practices:
Use this indicator as a filter, not a signal generator. It tells you IF a trade makes sense, not WHEN to enter.
Combine with your existing entry strategy - use Account Guardian to validate setups from other analysis.
Adjust the swing lookback based on your timeframe. Lower timeframes may need smaller lookback values.
Be honest with your account size input - accurate position sizing requires accurate inputs.
Consider the target multiplier carefully. Higher multipliers mean larger potential reward but lower probability of hitting TP.
Alerts
The indicator includes four alert conditions:
Good Long Setup: Triggers when long R:R reaches or exceeds your "Good R:R" threshold
Good Short Setup: Triggers when short R:R reaches or exceeds your "Good R:R" threshold
Bad Long Setup: Triggers when long R:R falls below your minimum threshold
Bad Short Setup: Triggers when short R:R falls below your minimum threshold
These alerts can help you monitor multiple charts and get notified when favorable setups appear.
Technical Implementation
The indicator is built using Pine Script v6 and includes:
Pivot-based swing detection using ta.pivothigh() and ta.pivotlow()
Dynamic box drawing for visual SL/TP zones
Table-based dashboard for clean information display
Color-coded visual feedback system
Persistent variable tracking for swing levels
Code Structure:
// Swing Detection
float swingHi = ta.pivothigh(high, swingLen, swingLen)
float swingLo = ta.pivotlow(low, swingLen, swingLen)
// R:R Calculation for Long
float longSL = recentSwingLo
float longRisk = entry - longSL
float longTP = entry + (longRisk * targetMult)
float longRR = (longTP - entry) / longRisk
// Position Sizing
float riskAmount = accountSize * (riskPct / 100)
float posSize = riskAmount / longRisk
Limitations
The indicator uses historical swing points which may not always represent optimal SL placement for your specific strategy
Position sizing assumes you can trade fractional units - adjust accordingly for instruments with minimum lot sizes
R:R calculations assume linear price movement and don't account for gaps or slippage
The indicator doesn't predict price direction - it only evaluates the mathematical viability of a setup
Swing detection has inherent lag due to the lookback period required for pivot confirmation
Recommended Settings by Trading Style
Scalping (1-5 minute charts):
Swing Lookback: 5-8
Target Multiplier: 1-2
Minimum R:R: 1.5
Good R:R: 2.0
Day Trading (15-60 minute charts):
Swing Lookback: 8-12
Target Multiplier: 2
Minimum R:R: 2.0
Good R:R: 3.0
Swing Trading (4H-Daily charts):
Swing Lookback: 10-20
Target Multiplier: 2-3
Minimum R:R: 2.5
Good R:R: 4.0
Why Risk/Reward Matters
Many traders focus solely on win rate, but profitability depends on the combination of win rate AND risk/reward ratio. Consider these scenarios:
50% win rate with 1:1 R:R = Breakeven (before costs)
50% win rate with 2:1 R:R = Profitable
40% win rate with 3:1 R:R = Profitable
60% win rate with 1:2 R:R = Losing money
Account Guardian helps ensure you only take trades where the math works in your favor, even if you're wrong more often than you're right.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not intended as financial, investment, trading, or any other type of advice or recommendation.
Trading involves substantial risk of loss and is not suitable for all investors. The calculations provided by this indicator are based on historical price data and mathematical formulas that may not accurately predict future price movements.
Position sizing recommendations are estimates based on user inputs and should be verified before placing actual trades. Always consider factors such as leverage, margin requirements, and broker-specific rules when determining actual position sizes.
The Risk-to-Reward ratios displayed are theoretical calculations based on swing point detection. Actual trade outcomes will vary based on market conditions, execution quality, and other factors not captured by this indicator.
Past performance does not guarantee future results. Users should thoroughly test any trading approach in a demo environment before risking real capital. The authors and publishers of this indicator are not responsible for any losses or damages arising from its use.
Always consult with a qualified financial advisor before making investment decisions.
Market Acceptance Zones [Interakktive]Market Acceptance Zones (MAZ) identifies statistical price acceptance — areas where the market reaches agreement and price rotates rather than trends.
Unlike traditional support/resistance tools, MAZ does not assume where price "should" react. Instead, it highlights regions where multiple internal conditions confirm balance: directional efficiency drops, effort approximately equals result, volatility contracts, and participation remains stable.
This is a market-state diagnostic tool, not a signal generator.
█ WHAT THE ZONES REPRESENT
MAZ (ATF) — Chart Timeframe Acceptance
A MAZ marks an area where price displayed rotational behaviour and the auction temporarily agreed on value. These zones often act as compression regions, fair-price areas, or boundaries of consolidation where impulsive follow-through is less likely.
Use ATF MAZs to:
- Identify rotational environments
- Avoid chasing price inside balance
- Frame consolidation prior to expansion
MAZ • HTF / MAZ • 2/3 — Multi-Timeframe Acceptance (AMTF)
When Multi-Timeframe mode is enabled, MAZ evaluates acceptance on:
- The chart timeframe
- Two higher structural timeframes
If the minimum consensus threshold is met (default: 2 of 3), the zone is classified as AMTF. These zones represent stronger agreement and typically decay more slowly than single-timeframe acceptance.
AMTF zones are structurally stronger and are useful for:
- Higher-quality rotation areas
- Pullback framing within trends
- Context alignment across timeframes
H • MAZ — Historic Acceptance Zones
Historic MAZs represent older acceptance that has transitioned out of active relevance. These zones are hidden by default and can be enabled to provide long-term memory context.
█ AUTO MULTI-TIMEFRAME LOGIC
When MTF Mode is set to Auto, MAZ uses a deterministic structural mapping based on the current chart timeframe:
- 5m → 15m + 1H
- 15m → 1H + 4H
- 1H → 4H + 1D
- 4H → 1D + 1W
- 1D → 1W + 1M
This ensures consistent higher-timeframe context without manual configuration. Advanced users may switch to Manual mode to define custom timeframes.
█ ZONE LIFECYCLE
MAZ zones are dynamic and maintain an internal lifecycle:
- Active — Acceptance remains relevant
- Aging — Acceptance quality is degrading
- Historic — Retained only for memory context
Zones track price interaction and re-acceptance, which can stabilise or strengthen them. Weak or stale zones are automatically removed to keep the chart clean.
█ HOW TRADERS USE MAZ
MAZ is designed to provide structure, not entries.
Common applications include:
- Avoiding chop when price is inside acceptance
- Framing expansion after clean breaks from MAZ
- Identifying higher-quality rotational pullbacks (AMTF zones)
- Defining objective invalidation using zone boundaries
█ SETTINGS OVERVIEW
Market Acceptance Zones — Core
- Acceptance Lookback
- ATR Length
- Zone Frequency (Conservative / Balanced / Aggressive)
Market Acceptance Zones — Zones
- Maximum Zones
- Fade & Stale Bars
- Historic Zone Visibility (default OFF)
Market Acceptance Zones — Timeframes
- MTF Mode (Off / Auto / Manual)
- Manual Higher Timeframes
- Minimum Consensus Requirement
Market Acceptance Zones — Visuals
- Neon / Muted Theme
- Zone Labels & Consensus Detail
- Optional Midline Display
█ DISCLAIMER
This indicator is a market context and diagnostic tool only.
It does not generate trade signals, entries, or exits.
Past acceptance behaviour does not guarantee future price action.
Always combine with independent analysis and proper risk management.
Trinity Multi-Timeframe CCITrinity Multi-Timeframe CCI Indicator
This Pine Script indicator is a powerful **multi-timeframe Commodity Channel Index (MTF CCI)** tool that displays three CCI lines on a single pane:
- **Current timeframe** (whatever chart you're viewing, e.g., 1h, 15m, etc.)
- **4-hour timeframe**
- **Daily timeframe**
All three use the same CCI length (default 20, adjustable) and are fully customizable—you can enable/disable each line, change its timeframe, color, and thickness. Horizontal levels at 0 (dashed white by default), +100 (red), and -100 (green) are also included and fully editable.
### Core Functionality & Visual Signals
The standout feature is the **dynamic coloring of the current timeframe CCI line**:
- **Green**: Strong **bullish alignment**. This occurs when **all three CCIs are above the zero line** AND the current timeframe CCI is the **highest** of the three (leading the move upward with higher-timeframe confirmation).
- **Red**: Strong **bearish alignment**. This occurs when **all three CCIs are below the zero line** AND the current timeframe CCI is the **lowest** of the three (leading the move downward with higher-timeframe confirmation).
- **Yellow**: Neutral or no clear alignment (default state when the above conditions aren't met).
An optional light background shading (green or red) highlights when the indicator is in a bullish or bearish state.
Small triangle markers appear on the pane when a new bullish or bearish alignment forms, and built-in alerts notify you of new signals or when a signal ends. These are editable to enable or disable.
### How Traders Can Use It
This indicator helps identify **high-probability trend continuations or reversals** by combining momentum (CCI) across multiple timeframes with alignment confirmation:
- **Trend-following entries**: A green current line (especially with a fresh alert) suggests strong upward momentum backed by higher timeframes—ideal for long entries or adding to positions in an uptrend.
- **Bearish entries/short setups**: A red current line signals strong downward momentum confirmed across timeframes—good for short entries or exiting longs.
- **Confluence filter**: Use it as a filter for other strategies. Only take trades in the direction of the alignment (e.g., only long if current line is green).
- **Early warning of weakness**: When the current line turns yellow after being green/red, it often signals the trend is losing multi-timeframe support—useful for tightening stops or taking partial profits.
In essence, it visually answers the question: “Is the short-term momentum not only strong, but also aligned with and leading the medium- and long-term momentum?” When the answer is yes (green or red), it highlights moments of **multi-timeframe confluence**—some of the most reliable setups in technical trading.
The alerts make it practical for active traders: you get notified the moment a strong aligned signal appears, without needing to watch the chart constantly.
It's clean, highly customizable, and focuses on one clear concept—**multi-timeframe CCI leadership**—making it excellent for trend, swing, and even intraday traders looking for higher-timeframe confirmation.
rosh Swift ALGO-X based on ema for xauusd scalping use with original settings, assured 100 pips per day
Price Prediction Forecast ModelPrice Prediction Forecast Model
This indicator projects future price ranges based on recent market volatility.
It does not predict exact prices — instead, it shows where price is statistically likely to move over the next X bars.
How It Works
Price moves up and down by different amounts each bar. This indicator measures how large those moves have been recently (volatility) using the standard deviation of log returns.
That volatility is then:
Projected forward in time
Scaled as time increases (uncertainty grows)
Converted into future price ranges
The further into the future you project, the wider the expected range becomes.
Volatility Bands (Standard Deviation–Based)
The indicator plots up to three projected volatility bands using standard deviation multipliers:
SD1 (1.0×) → Typical expected price movement
SD2 (1.25×) → Elevated volatility range
SD3 (1.5×) → High-volatility / stress range
These bands are based on standard deviation of volatility, not fixed probability guarantees.
Optional Drift
An optional drift term can be enabled to introduce a long-term directional bias (up or down).
This is useful for markets with persistent trends.
RSI Dashboard Multi-TF This script displays RSI values from multiple timeframes in a compact dashboard directly on the chart.
It is designed for traders who want to quickly identify whether the market is overbought, oversold, or neutral across different timeframes, without constantly switching chart intervals.
The dashboard shows the RSI simultaneously for the following timeframes:
- 1 minute
- 3 minutes
- 5 minutes
- 15 minutes
- 1 hour
- 4 hours
- Daily
Typical use cases:
- Scalping & intraday trading
- Multi-timeframe analysis at a glance
- Entry confirmation (e.g. pullbacks, breakouts)
- Avoiding trades against overbought or oversold market conditions
- Complementing EMA, VWAP, or price action strategies
⚙️ Notes
This dashboard is an analysis tool, not an automated trading system.
No repainting (uses request.security).
Suitable for indices, forex, crypto, and commodities.
This RSI dashboard provides a fast, clear, and visually clean market overview across multiple timeframes, making it an ideal tool for active traders who want to make efficient and well-structured trading decisions.
Range EncapsulatorWhen a user selects a start date and the desired duration, the specified date range will be highlighted. High and low data lines corresponding to this range will be drawn. Additionally, quarter-point interval lines from the previous data range will be displayed between the high and low lines of the current range, provided they fall within those boundaries.
NY Breakout of Asia H/LClean, focused indicator that tracks New York session breakouts of Asia's trading range. Specifically monitors when price breaks above Asia's high or below Asia's low during the NY session, measuring how far the breakout travels.
ABC Pro Ultimate S/RABC Pro Ultimate is a high-precision trading tool designed to identify harmonic ABC (Zigzag) patterns and combine them with institutional Support & Resistance levels. Unlike standard indicators that clutter your chart with noise, this script filters for high-relevance pivot points from the distant past to provide truly meaningful trade setups.
Multi-Fractal Trading Plan [Gemini] v22Multi-Fractal Trading Plan
The Multi-Fractal Trading Plan is a quantitative market structure engine designed to filter noise and generate actionable daily strategies. Unlike standard auto-trendline indicators that clutter charts with irrelevant data, this system utilizes Fractal Geometry to categorize market liquidity into three institutional layers: Minor (Intraday), Medium (Swing), and Major (Institutional).
This tool functions as a Strategic Advisor, not just a drawing tool. It calculates the delta between price and structural pivots in real-time, alerting you when price enters high-probability "Hot Zones" and generating a live trading plan on your dashboard.
Core Features
1. Three-Tier Fractal Engine The algorithm tracks 15 distinct fractal lengths simultaneously, aggregating them into a clean hierarchy:
Minor Structure (Thin Lines): Captures high-frequency volatility for scalping.
Medium Structure (Medium Lines): Identifies significant swing points and intermediate targets.
Major Structure (Thick Lines): Maps the "Institutional" defense lines where trend reversals and major breakouts occur.
2. The Strategic Dashboard A dynamic data panel in the bottom-right eliminates analysis paralysis:
Floor & Ceiling Targets: Displays the precise price levels of the nearest Support and Resistance.
AI Logic Output: The script analyzes market conditions to generate a specific command, such as "WATCH FOR BREAKOUT", "Near Lows (Look Long?)", or "WAIT (No Setup)".
3. "Hot Zone" Detection Never miss a critical test of structure.
Dynamic Alerting: When price trades within 1% (adjustable) of a Major Trend Line, the indicator’s labels turn Bright Yellow and flash a warning (e.g., "⚠️ WATCH: MAJOR RES").
Focus: This visual cue highlights the exact moment execution is required, reducing screen fatigue.
4. The Quant Web & Markers
Pivot Validation: Deep blue fractal markers (▲/▼) identify the exact candles responsible for the structure.
Inter-Timeframe Web: Faint dotted lines connect Minor pivots directly to Major pivots, visualizing the "hidden" elasticity between short-term noise and long-term trend anchors.
5. Enterprise Stability Engine Engineered to solve the "Vertical Line" and "1970 Epoch" glitches common in Pine Script trend indicators. This engine is optimized for Futures (NQ/ES), Forex, and Crypto, ensuring stability across all timeframes (including gaps on ETH/RTH charts).
Operational Guide
Consult the Dashboard: Before executing, check the "Strategy" output. If it says "WAIT", the market is in chop. If it says "WATCH FOR BOUNCE", prepare your entry criteria.
Monitor Hot Zones: A Yellow Label indicates price is testing a major liquidity level. This is your signal to watch for a rejection wick or a high-volume breakout.
Utilize the Web: Use the faint web lines to find "confluence" where a short-term pullback aligns with a long-term trend line.
Configuration
Show History: Toggles "Ghost Lines" (Blue) to display historical structure and broken trends.
Fractal Points: Toggles the geometric pivot markers.
Hot Zone %: Adjusts the sensitivity of the Yellow Warning system (Default: 1%).
Max Line Length: A noise filter that removes stale or "spiderweb" lines that are no longer statistically relevant.
PM/PW/PD/OVN/CD Highs & Lows with prices+ EMAsPM/PW/PD/OVN/CD Highs & Lows with prices
+
3 customizable EMAs (def 12/34/55)
Ichimoku MTF Heatmap WITH ALERT meeting D and W conditionsThis is a version of the Ichimoku Cloud Heatmap but adds a can't miss alert when it meets Daily and Weekly conditions. The cloud metric is still being refined and the qualifier is ignoring just the cloud for now. As of 12/21/2025 GLD is meeting the conditions to set this flag.
Session Breakout TrackerThis indicator identifies breakout opportunities when price breaks previous session ranges, tracking 4 distinct breakout chains:
Asia → London (Primary Asia breakout during London session)
London → NY (London breakout during NY session)
NY → Asia (NY breakout during next Asia session)
Asia → NY* (Fallback Asia breakout during NY if Chain 1 had no breakout)
For each breakout, it measures the maximum distance price travels before hitting your defined stop-loss, providing exact pip/point calculations.
Features :
Automatic session detection (Asia: 18:00-03:00, London: 03:00-12:00, NY: 12:00-18:00 NYT)
Complete session range tracking - high/low for each session
Session level plotting with adjustable transparency
User Inputs :
Adjustable pip multiplier (0.0001 for Forex, 0.01 for JPY pairs)
Customizable stop-loss distance in pips
Toggle labels/table/session levels independently
Adjustable session duration for optimizing strategies and back testing
#BLTA - CARE 7891🔷 #BLTA - CARE 7891 is an overlay toolkit designed to support structured trading preparation and chart reading. It combines a manual Trade Box + Lot Size/Risk panel, session background highlights (NY time), confirmed Previous Day/Week High-Low levels, an Asian range liquidity box, a 1H ZigZag market-structure projection, and an imbalance map (FVG / OG / VI) with an optional dashboard.
This script is an indicator (not a strategy). It does not place orders and is intended for planning, risk visualization, and market context.
✅ Main Modules
1) 💸 Risk Module (Trade Box + Lot Calculation + Table)
A complete manual trade-planning tool:
Pick an Entry Point (EP) and Stop Loss (SL) directly on the chart using input.price(..., confirm=true).
Automatically calculates:
Cash at Risk
SL distance (pips) (Forex-aware)
Lot size based on your:
Account balance
Risk %
Units per lot
Account base currency (with conversion if needed)
Draws:
Risk box (EP ↔ SL)
Target box (RR-based TP)
Displays a clean table panel with the key values.
🔁 Re-confirm Mode (Wizard)
Use “Re-confirm Trade Box Points” to force a clean logical reset and re-pick EP/SL/time anchors:
Shows temporary EP/SL labels
Shows a small wizard table guiding you step-by-step
Turn it OFF to return to normal risk table + boxes
Tip: If your chart timeframe changes or you want a fresh selection, Re-confirm mode is the safest way to reset everything cleanly.
2) 🎨 Session Visualization (New York Time)
Highlights chart background for these windows:
Day Division (17:00–17:01 NY)
London (03:00–05:00 NY) + sub-windows
New York (08:00–10:30 NY) + sub-windows
Colors are fully configurable from inputs.
3) 📰 Confirmed PDH/PDL (Previous Days)
Optional module that plots confirmed Previous Day High (PDH) and Previous Day Low (PDL):
Trading day is defined as 17:00 → 17:00 NY
Lines start exactly at the candle where the high/low occurred
Lines extend forward and can freeze when price touches them
Configurable: days to keep, style, width, and “stop on hit”
4) 📅 Confirmed Weekly High/Low (Previous Weeks)
Optional module that plots confirmed Weekly High/Low:
Confirmation occurs at Sunday 17:00 NY (typical FX week boundary)
Lines begin at the candle where the weekly extremes formed
Extends forward and can freeze on touch
Configurable: weeks to keep, style, width, stop-on-hit
5) 🈵 Asian Range Liquidity Box
Draws a session box that tracks high/low and optional midline (50%):
Uses New York time
Dynamic updates while session is active
Optional mid label and configurable line style/width
6) 📈 Market Structure - ZigZag (1H projected)
A ZigZag structure engine calculated on 1H and projected onto any timeframe:
Configurable:
Length
Source type (High/Low or Open/Close)
Colors and width
Opacity when viewing non-1H charts
Optional live extension of the last leg
Includes safe cleanup when toggling OFF (no leftover objects)
7) 📊 Imbalance Detector (FVG / OG / VI) + Dashboard
Detects and draws:
Fair Value Gaps (FVG)
Opening Gaps (OG)
Volume Imbalances (VI)
Optional dashboard shows frequencies and fill rates.
Attribution / Credits
This module is inspired by / adapted from the public concept widely known as “Imbalance Detector” (LuxAlgo-style logic). This script is independently packaged and integrated as part of the toolkit with additional modules and custom structure.
⚙️ How to Use (Quick Steps)
Add the indicator to the chart (overlay).
Enable 💸 Risk Module if you want trade planning.
Go to Trade Box Location and pick:
Entry Point (EP)
Stop Loss (SL)
Time anchors for box edges
Adjust:
Account balance, risk %, units per lot, RR target
Enable additional modules as needed:
Session backgrounds
PDH/PDL
Weekly High/Low
Asian range box
ZigZag
Imbalances + dashboard
🔎 Notes & Limitations
This script is for visual planning and context, not trade execution.
Lot sizing is based on the selected EP/SL and your inputs; always double-check broker rules, symbol specifications, and contract size.
Object-heavy features (boxes/lines/tables) may increase load on lower-end devices or very small timeframes.
Quantum Algo Matrix Quantum Algo Matrix — Full Indicator Description
Overview
Quantum Algo Matrix is a multi-layered quantitative trading system designed to identify high-probability reversal and continuation zones by fusing:
Volatility extremes
Momentum exhaustion
Multi-timeframe correlation
Statistical volatility compression
Adaptive AI-driven trend clustering
The script is non-overlay, plotted in a dedicated oscillator pane, and operates as a signal-confirmation engine, not a simple buy/sell indicator.
It is built to filter noise, avoid false signals, and only trigger when multiple independent conditions agree.
Core Components & Indicators Used
This system integrates and expands upon the following well-known concepts:
Williams Vix Fix
WaveTrend Oscillator
Squeeze Momentum Indicator
SuperTrend
Multi-Timeframe Momentum Correlation
AI-style K-Means Volatility Clustering (custom implementation)
Each component has a specific role, and no signal is generated without confluence.
1. Williams Vix Fix (WVF) — Volatility Exhaustion Engine
Purpose
The WVF module detects panic-level volatility spikes, which often occur near market bottoms or tops.
How It Works
Calculates volatility using the distance from the recent highest close
Applies:
Bollinger Bands
Percentile-based extreme zones
Flags conditions where volatility exceeds statistically rare thresholds
Key Outputs
Upper Band / Percentile High → Fear / capitulation
Lower Band / Percentile Low → Volatility contraction
Reversal Signals
Bullish when WVF crosses up from extreme lows
Bearish when WVF crosses down from extreme highs
⚠️ WVF signals are gated and never act alone
2. WaveTrend Oscillator V2 — Momentum & Market Structure
Purpose
WaveTrend defines market momentum zones and filters trend direction vs. exhaustion.
Core Calculations
EMA-based channel deviation
Smoothed momentum curve (WT1)
Signal line (WT2)
Histogram difference (WT Histogram)
Zones
Zone Meaning
OB Level 0 / 1 / 2 Strong → Mild overbought
OS Level 0 / 1 / 2 Strong → Mild oversold
Signals
Histogram zero-line crosses = momentum shift
Dot markers highlight high-probability exhaustion points
Acts as the primary signal gate for all other modules
3. Multi-Timeframe WaveTrend Correlation (MTF Filter)
Purpose
Prevents single-timeframe traps by requiring higher-timeframe agreement.
Supported Timeframes
15m
30m
45m
60m
120m
240m
Logic
A signal is only valid if enabled timeframes confirm:
Overbought → bearish bias
Oversold → bullish bias
This drastically reduces false reversals.
4. WVF + WT Reversal Gating (Quantum Logic)
Concept
Volatility reversals only matter if momentum is already stretched.
Conditions
WaveTrend must be:
Overbought or
Oversold
WVF must:
Cross below extreme high → bearish
Cross above extreme low → bullish
Distance must exceed a tolerance threshold
This creates true exhaustion-based reversal signals.
5. Combined Signal Memory System
Purpose
Markets do not move instantly.
This module remembers signals until both components confirm.
Tracks
WaveTrend exhaustion trigger
WVF reversal trigger
Result
Fires only once per cycle
Eliminates rapid-fire, repaint-style signals
6. Squeeze Momentum Engine (Volatility Compression)
Purpose
Identifies compression → expansion phases.
Method
Bollinger Bands vs. Keltner Channels
Linear-regression-based momentum histogram
Color-coded momentum strength
Special Feature
Histogram can be scaled to the WaveTrend range
Allows direct visual correlation with momentum zones
7. AI SuperTrend Cluster Engine (Advanced)
This Is Not a Normal SuperTrend
Instead of using a single ATR multiplier, the system:
Calculates multiple SuperTrend states
Measures price deviation from each
Feeds results into an AI-style clustering process
Produces:
Bullish cluster
Neutral cluster
Bearish cluster
Output
Adaptive bullish & bearish pressure waves
Smoothed AI consensus
Optional strength histogram
This allows the system to adapt to market regimes, not fixed parameters.
8. AI Confirmation Logic
Purpose
Prevents trades against dominant market pressure.
AI Strength Concept
AI strength is derived from the relative balance between bullish and bearish clusters.
Rules
Longs require positive AI strength
Shorts require negative AI strength
Confidence threshold is user-adjustable
9. Final Signal Logic (Everything Must Agree)
Long Signal Requires
✔ WaveTrend oversold
✔ WVF bullish reversal or combined signal memory
✔ AI bullish confirmation (optional)
✔ Multi-timeframe oversold alignment (optional)
Short Signal Requires
✔ WaveTrend overbought
✔ WVF bearish reversal or combined signal memory
✔ AI bearish confirmation (optional)
✔ Multi-timeframe overbought alignment (optional)
Only then does the system generate AI-Confirmed LONG / SHORT alerts.
Alerts & Visuals
WaveTrend crosses
Overbought / oversold warnings
WVF reversal alerts
AI-confirmed trade signals
Correlated labels for discretionary review
Who This Indicator Is For
✔ Advanced discretionary traders
✔ Algorithmic system builders
✔ Reversal & swing traders
✔ Confirmation-based strategies
✔ Traders who value confluence over frequency
Final Summary
Quantum Algo Matrix V2 is a fully integrated market-state engine, not a simple oscillator.
It combines:
Volatility
Momentum
Market structure
Timeframe alignment
AI-style adaptive clustering
to deliver high-confidence, low-noise trading signals designed for serious traders.
STEFAN TEAM FVG-2The STEFAN TEAM FVG-2 indicator is a powerful tool for chart analysis using FVG and Equilibrium levels. It allows traders to:
* See price gap zones across different timeframes.
* Automatically track which zones are already “closed” or active.
* Easily visualize strategic supply and demand levels.
* Customize the appearance of zones, lines, labels, and the logo.
STEFAN TEAM LogoSTEFAN TEAM Logo.
"On-Screen Logo for TradingView – A Sharp Brand Accent"
This template is specifically designed for seamless integration into digital spaces: streams, video lessons, presentations, and webinars about trading. The logo maintains perfect readability and a professional appearance on any background—overlaid on charts, in a screen corner, or on an intro screen.
Why this template is an excellent choice:
Optimized for screen: High contrast and clean outlines ensure visibility even at small sizes.
Universal placement: Looks perfect overlaid on the TradingView interface without obscuring key data (candles, indicators, quotes).
Professional signal: Makes your broadcast or video recognizable and strengthens audience trust.
Perfect for: trading streamers, educational course authors, financial analysts, and content creators on YouTube and Twitch.
RegimeLens [JOAT]RegimeLens — Market Regime Detection and Classification
RegimeLens identifies whether the market is in a Trending, Ranging, or Volatile state using a proprietary combination of trend strength analysis, volatility measurement, and percentile-based classification. Understanding the current market regime helps traders adapt their approach to current conditions—because the strategy that works in a trend will fail in a range.
Why This Script is Protected
This script is published as closed-source to protect the proprietary regime classification algorithm and the specific threshold calibration methodology from unauthorized republishing. The unique combination of ADX analysis, Bollinger Band width percentiles, ATR percentile ranking, and the transition zone logic represents original work that goes beyond standard regime detection approaches.
What Makes This Indicator Unique
Unlike simple trend indicators, RegimeLens:
Classifies markets into four distinct regimes, not just "trending" or "not trending"
Uses percentile-based volatility analysis for more adaptive classification
Includes a transition zone logic to prevent rapid regime flip-flopping
Tracks regime duration and strength for additional context
Provides visual regime changes with on-chart labels
What This Indicator Does
Classifies market into four regimes: Trend Up, Trend Down, Ranging, or Volatile
Displays Bollinger Bands colored according to current regime
Marks regime changes with on-chart labels
Colors price bars according to detected regime
Tracks regime duration and strength metrics
Provides comprehensive dashboard with all regime metrics
Core Methodology
The indicator analyzes multiple market dimensions to determine the current regime:
Trend Strength Analysis (ADX) — Measures directional movement strength regardless of direction. High ADX indicates trending; low ADX indicates ranging.
Directional Bias (DI+ vs DI-) — Determines whether bullish or bearish forces dominate when a trend is detected.
Volatility Expansion/Contraction (BB Width) — Tracks Bollinger Band width relative to historical norms using percentile ranking.
ATR Percentile Ranking — Compares current ATR to its historical distribution to identify abnormally high volatility conditions.
Regime Definitions
Trend Up (Green) — ADX above trending threshold with DI+ > DI- and price above basis. Strong directional movement with bullish bias confirmed.
Trend Down (Red) — ADX above trending threshold with DI- > DI+ and price below basis. Strong directional movement with bearish bias confirmed.
Ranging (Yellow) — ADX below ranging threshold indicating sideways consolidation. Low directional strength suggests mean-reversion strategies may work better.
Volatile (Purple) — Both ATR percentile AND BB width percentile above the high volatility threshold. Indicates unstable, potentially dangerous conditions where normal strategies may fail.
The classification uses a priority system where high volatility conditions take precedence, followed by trend strength evaluation, with ranging as the default state for low-activity periods.
Regime Strength Calculation
Each regime has an associated strength score (0-100%) that indicates how firmly the market is in that state:
For trends: Based on ADX relative to threshold plus BB percentile
For ranging: Based on inverse ADX plus inverse BB percentile
For volatile: Based on ATR percentile
This helps identify when regime transitions may be approaching—declining strength often precedes regime changes.
Visual Features
Regime-Colored Bollinger Bands — Upper, basis, and lower bands all colored by current regime
Band Fill — 85% transparent fill between bands in regime color
Background Highlighting — Optional 90% transparent background in regime color
Regime Change Labels — On-chart markers when regime changes (arrows for trends, diamond for range, X for volatile)
Bar Coloring — Optional price bar coloring by regime
Color Scheme
Trend Up Color — Default: #00C853 (bright green)
Trend Down Color — Default: #FF1744 (bright red)
Range Color — Default: #FFD600 (yellow)
Volatile Color — Default: #AA00FF (purple)
Dashboard Information
The on-chart table (top-right corner) displays:
Current regime name with color coding
ADX value (highlighted if above trend threshold)
DI+ / DI- comparison with directional coloring
Bollinger Band width percentage
Volatility percentile (highlighted if above volatile threshold)
Regime strength percentage
Duration in bars since last regime change
Inputs Overview
Detection Settings:
ADX Length — Period for ADX/DI calculation (default: 14, range: 5-50)
BB Length — Period for Bollinger Bands (default: 20, range: 10-100)
BB Multiplier — Standard deviation multiplier (default: 2.0, range: 1.0-4.0)
ATR Length — Period for ATR calculation (default: 14, range: 5-50)
Thresholds:
Trending ADX Threshold — ADX level above which market is considered trending (default: 25, range: 15-50)
Ranging ADX Threshold — ADX level below which market is considered ranging (default: 20, range: 10-40)
High Volatility Percentile — Percentile above which volatile regime is triggered (default: 75, range: 50-95)
Visual Settings:
Trend Up/Down/Range/Volatile Colors — Fully customizable color scheme
Show Background — Toggle regime-colored background
Show Regime Bands — Toggle Bollinger Bands display
Show Dashboard — Toggle the information table
Color Price Bars — Toggle bar coloring by regime
How to Use It
Strategy Selection:
Trend Up/Down — Use trend-following strategies (breakouts, pullbacks, moving average systems)
Ranging — Use mean-reversion strategies (support/resistance bounces, oscillator extremes)
Volatile — Reduce position size, widen stops, or stay flat until conditions stabilize
For Regime Change Trading:
Watch for regime change labels as potential entry points
Trend regime starting often signals breakout opportunity
Ranging regime starting after trend may signal consolidation before continuation
Volatile regime is a warning to be cautious
For Risk Management:
Increase position size during strong trend regimes
Decrease position size during volatile or ranging regimes
Use regime strength to gauge conviction
Monitor duration—very long regimes may be due for change
Alerts Available
MRD Trend Up — Market regime changed to trending bullish
MRD Trend Down — Market regime changed to trending bearish
MRD Ranging — Market regime changed to sideways consolidation
MRD Volatile — Market regime changed to high volatility state
MRD Any Change — Notification on any regime transition
Best Practices
Don't fight the regime—adapt your strategy to current conditions
Volatile regime is a warning sign, not a trading signal
Use regime strength to gauge how established the current state is
Combine with other indicators appropriate for the detected regime
This indicator is provided for educational purposes. It does not constitute financial advice. Past performance does not guarantee future results. Always conduct your own analysis and use proper risk management before making trading decisions.
— Made with passion by officialjackofalltrades
Quantum EdgeQuantum Edge
DESCRIPTION:
Time-based cycle alignment scanner using fractal cycle theory to detect when multiple timing cycles converge at mathematically significant zones.
█ OVERVIEW
Quantum Edge is a time-based cycle alignment scanner built on fractal cycle theory. Markets move in nested cycles across multiple timeframes. This indicator detects moments when several of these cycles simultaneously reach mathematically significant positions, creating potential turning points.
The core concept: when multiple independent timing cycles converge at key zones, the probability of a reaction increases. The more cycles aligned, the higher the probability score.
█ HOW IT WORKS
The indicator tracks multiple time-based cycles of varying lengths. Each cycle is analyzed for its current position within its phase. When a cycle reaches a statistically significant zone (based on cycle theory), it contributes points to a composite probability score.
Shorter cycles contribute fewer points (they align frequently).
Longer cycles contribute more points (they align rarely).
Additional weighting is applied for:
- Specific days of the week known for higher volatility
- Specific times of day associated with market structure shifts
The final score represents how many timing factors are currently aligned.
█ SIGNALS EXPLAINED
👑 Rare multi-cycle convergence — Several long-duration cycles aligned simultaneously. Occurs a few times per month.
💎 Strong convergence — Multiple mid-to-long duration cycles aligned. Occurs a few times per week.
🌅 Daily cycle alignment — Daily-length cycle at a key zone with supporting factors. Occurs 1-2 times per day.
🔥 Short cycle alignment — Shorter-duration cycles aligned. Occurs several times per day.
🔮 Prediction — The indicator scans ahead and displays where future alignments are likely to occur based on the deterministic nature of time cycles.
█ TRADING MODES
The indicator includes preset modes that adjust sensitivity:
SNIPER — Only displays the highest-scoring alignments. For patient traders waiting for the best setups.
DAILY — Displays daily-quality alignments and above. Recommended starting point for most traders.
ACTIVE — Displays more frequent setups. For traders who want more opportunities and can filter with price analysis.
SCALP — Displays all qualifying alignments. Highest frequency, requires additional confirmation.
█ WHAT MAKES THIS UNIQUE
This indicator uses a proprietary weighted scoring system based on fractal cycle mathematics. The specific cycle lengths, zone calculations, and weighting factors are the result of extensive research into cyclical market behavior.
The predictive feature is deterministic — because time cycles are mathematical, future alignments can be calculated in advance. This allows traders to plan entries before setups occur rather than reacting after the fact.
The source is protected because the specific parameters and scoring logic represent significant research and development.
█ INTENDED USE
This is a TIMING tool, not a directional signal generator.
It answers: "When are multiple cycles aligned?"
It does NOT answer: "Which direction should I trade?"
Combine with your own price analysis (support/resistance, order flow, market structure) to determine direction. Use this tool to identify WHEN those setups have higher probability.
█ LIMITATIONS
- No indicator predicts the future with certainty
- Cycle alignments indicate probability, not guaranteed outcomes
- Past alignment results do not guarantee future performance
- This tool requires combination with price-based analysis for best results
- Not all alignments result in tradeable moves
█ SETTINGS
- Mode Selection: Choose your preferred sensitivity level
- Show Score: Toggle probability scores on/off
- Show Predictions: Toggle future alignment predictions on/off
- Prediction Range: How far ahead to scan for alignments
- Colors: Customize signal colors to your preference
█ MARKETS AND TIMEFRAMES
Works on any liquid market: Futures, Forex, Crypto, Stocks, Indices.
Optimized for intraday timeframes (1-15 minute charts) but can be applied to higher timeframes for swing trading applications.
█ ACCESS
This is an invite-only script. If you have questions about the methodology or would like to discuss access, you may send me a direct message.





















