Smart Reversal [Scalping-Algo]════════════════════════════════════════════
Smart Reversal
This indicator identifies potential reversal points using a two-step confirmation method that I developed for my own scalping. Unlike typical reversal indicators that rely on RSI oversold/overbought or simple candlestick patterns, this uses a different approach.
🔹 HOW IT WORKS
The logic is based on two phases:
Phase 1 - Anchor Detection:
The indicator looks for candles where price closes beyond ALL previous candles in the lookback period. For a bullish setup, the close must be below the lows of the last N candles (default 20). This isn't just a "lower low" - it's an extreme extension where price has broken below every single candle in the range. I also require this candle to have above-average volume (2x the 20-period average) to confirm real selling pressure, not just a gap or low-liquidity move.
Phase 2 - Confirmation:
After an anchor forms, I wait for price to reverse and close above the anchor candle's high (for buys) or below the anchor's low (for sells). This must happen within 3 bars. If price makes a new extreme instead, the setup cancels.
🔹 SIGNAL QUALITY SCORING
Each signal gets a score from 3/5 to 5/5:
- 3/5: Basic confirmation occurred
- 4/5: Anchor or confirmation had strong volume
- 5/5: Both volume conditions met + aligned with 200 EMA trend
I focus on 4/5 and 5/5 signals personally.
🔹 WHAT YOU SEE ON CHART
- Green/Red boxes: Active setup waiting for confirmation
- B or S labels: Confirmed signals with quality score
- Dashboard: Shows current status and volume condition
🔹 SETTINGS
- Bars to Check: How many candles for the breakout comparison (default 20)
- Confirmation Window: Bars allowed after anchor for confirmation (default 3)
- Volume thresholds: Adjustable multipliers for anchor (2x) and confirmation (1.2x)
🔹 SUGGESTED USE
- Works on any timeframe, but I use it mainly on 5-15 min charts
- Better results when combined with key support/resistance levels
- Avoid trading during high-impact news
════════════════════════════════════════════
════════════════════════════════════════════
Trend
4 Bar Sequential Counter (9 to 13) [DotGain]4-Bar Sequential Counter (Seq4)
This indicator identifies potential trend exhaustion phases using a strict sequential count
based on the relationship between the current closing price and the closing price four bars earlier.
How it works
• A bullish sequence is counted as long as the current close remains below the close from 4 bars ago.
• A bearish sequence is counted as long as the current close remains above the close from 4 bars ago.
• The count resets immediately if the respective condition is no longer met.
• The sequence counts up to a maximum of 13 , after which it resets and a new sequence may begin.
Visualization
• Only counts from 9 to 13 are displayed on the chart.
• Bullish sequences are plotted below price bars.
• Bearish sequences are plotted above price bars.
• The minimalist design keeps the chart clean and focused on potentially relevant exhaustion zones.
Interpretation
• A count of 9 may indicate an early sign of market overextension.
• A count of 13 represents a more advanced sequence and a higher probability
of consolidation or corrective price action.
• This indicator is not a standalone trading system and should be used in combination
with trend analysis, volume, and support/resistance levels.
Alerts
• Bullish sequence at 9
• Bullish sequence at 13
• Bearish sequence at 9
• Bearish sequence at 13
Disclaimer
This "4-Bar Sequential Counter (9–13)" (Seq4) indicator is provided for informational and educational purposes only. It does not, and should not be construed as, financial, investment, or trading advice.
This indicator is an independent implementation of a sequential counting method and is not affiliated with, or endorsed by any trademarked trading concepts or methodologies.
The signals generated by this tool (Green and Red) are the result of a specific set of algorithmic conditions. They are not a direct recommendation to buy or sell any asset.
All trading and investing in financial markets involves a substantial risk of loss. You can lose all of your invested capital.
Past performance does not guarantee future results.
This indicator highlights sequential price exhaustion patterns and may generate false, lagging, or incomplete signals. Markets can remain unpredictable longer than you can remain solvent.
The creator DotGain assumes no liability for any financial losses or damages you may incur, directly or indirectly, as a result of using this indicator or the information it provides.
You are solely responsible for your own trading and investment decisions. Always conduct your own research (DYOR), validate signals with other methods, and consider your personal risk tolerance before entering any trade.
EMA 200 Trend [Scalping-Algo]📊 EMA 200 TREND COLOR INDICATOR
// ════════════════════════════════════════════
//
// This indicator plots the 200 EMA with dynamic color changes based on the
// current market trend. Super simple, super clean!
//
// 🟢 GREEN = Bullish trend (price above EMA + EMA rising)
// 🔴 RED = Bearish trend (price below EMA + EMA falling)
// ⚪ GRAY = Neutral/consolidation
//
// ✨ FEATURES:
// • Clean visual representation of trend direction
// • Customizable colors to match your chart style
// • Optional background highlighting
// • Works on any timeframe
//
// 📈 HOW TO USE:
// • Look for price staying above green EMA for long entries
// • Look for price staying below red EMA for short entries
// • Gray color = wait for confirmation
//
// 💡 TIP: Works great with other indicators for confluence!
//
// If you found this useful, drop a like! 👍
// Happy trading! 🚀
════════════════════════════════════════════
QSS v15.0 [Omni-Engine]# **QSS v15.0 | Institutional Quant System**
### **💎 The Only Indicator You Will Ever Need**
**QSS (Quantitative Signal System) v15.0** is an all-in-one algorithmic trading engine designed to solve the biggest problem in trading: **fragmentation.** Instead of cluttering your chart with 10 different indicators (RSI, MACD, Bollinger Bands, Order Blocks, SuperTrend, etc.), QSS synthesizes them all into a single, high-probability decision engine.
This is not just a "Buy/Sell" indicator. It is a complete **Institutional Trading Suite** that combines "Smart Money Concepts" (SMC) with quantitative trend analysis and dynamic risk management.
---
### **🚀 Key Features**
#### **1. Dual-Core Signal Engine**
Choose your weapon based on the asset class and volatility:
* **Engine A: SuperTrend (Classic):** The industry standard for capturing major trends. Best for Swing Trading and Stocks.
* **Engine B: OTT (Optimized Trend Tracker):** A faster, volatility-adaptive engine derived from VIDYA (Variable Index Dynamic Average). Best for Crypto and Scalping.
#### **2. Institutional Intelligence (SMC)**
* **Volumized Order Blocks (SMC):** Automatically detects Supply (Red Box) and Demand (Green Box) zones based on pivot volume.
* *Smart Filter:* The system will **BLOCK** Buy signals if price is running straight into a Bearish Order Block (Resistance).
* **Koncorde (Smart Money Flow):** Analyzes PVI (Positive Volume Index) vs. NVI (Negative Volume Index) to track "Sharks" (Institutions) vs. "Minnows" (Retail).
* *Smart Filter:* Signals are only generated if Institutional Money Flow supports the direction.
#### **3. The "Power 3" Confirmation Suite**
Includes optional filters for the classic trinity of technical analysis:
* **MACD:** Ensures momentum alignment.
* **Stochastic:** Prevents buying at overbought peaks.
* **Bollinger Bands:** Ensures trades only occur during volatility expansion (Squeeze breakout).
#### **4. Advanced Noise Filtering**
* **ADX Trend Strength:** Blocks signals during "dead" or choppy markets (ADX < 20).
* **Candle Stability Index:** Ignores "wicky" candles and indecision dojis, preventing fake-outs.
* **Trend Ribbon:** A dual-SMA cloud (21/34) that ensures you are always on the right side of the macro trend.
#### **5. Dynamic Risk Management (R:R)**
* Automatically calculates **Stop Loss** and **Take Profit** targets based on market volatility (ATR).
* **TP1 (1:1):** Secure profit / Move stops to breakeven.
* **TP2 (1:2):** Standard target.
* **TP3 (1:3):** Trend runner.
* *Visuals:* Draws clear entry, stop, and target lines on the chart when a trade is active.
#### **6. Pro Dashboard**
A dynamic panel that monitors:
* **Trend Status:** (Bullish/Bearish)
* **Market State:** (Trending/Parabolic/Ranging)
* **Smart Money:** (Accumulating/Distributing)
* **Live Trade Data:** Real-time entry price and targets when a position is open.
---
### **🛠️ Settings Guide**
**🔥 SIGNAL ENGINE**
* **Strategy Engine:** Toggle between `SuperTrend` (Safe) or `OTT` (Fast).
**🧱 ORDER BLOCK FILTER**
* **Respect Order Blocks:** If checked, the system will not Buy into Resistance or Sell into Support.
* **Show OB Zones:** Toggles the visible Red/Green boxes on the chart.
**📊 QUANT FILTERS**
* **Smart Money (Sharks):** Requires Volume data. Filters out "Retail Traps."
* **ADX (Trend Strength):** Set to `20` for standard filtering. Set to `15` for aggressive scalping.
* **Candle Stability:** Filters out candles with long wicks. Essential for volatile Altcoins.
**📈 CLASSIC INDICATORS**
* **MACD / Stoch / BB:** Enable these if you want strict confluence. (Note: Enabling all will result in fewer, but higher precision signals).
**🛡️ RISK MANAGEMENT**
* **ATR Length:** Sensitivity of the volatility calculation.
* **SL Multiplier:** Distance of Stop Loss (Default 2.0x ATR for Crypto).
* **TP Multipliers:** Adjust your Risk:Reward ratios here.
---
### **💡 How to Trade with QSS v15**
1. **The Setup:**
* Wait for a **"BUY"** or **"SELL"** label to appear.
* Ensure the **Trend Ribbon** (Cloud) matches the signal color.
* Check the **Dashboard**: Ensure "Smart Money" is in your favor (Accumulation for Buys).
2. **The Execution:**
* Enter at the **Entry Price** shown on the chart.
* Place your Stop Loss at the **Red Line**.
* Take partial profits at the **Blue Dotted Lines** (TP1/TP2).
3. **Troubleshooting (Debug Mode):**
* If you see the SuperTrend/OTT flip colors but **NO signal** appears, turn on **"🔧 Debug Mode"** in the settings.
* Grey labels will appear on the chart explaining exactly *why* the trade was rejected (e.g., "⛔ REJECTED: Hitting OB Resistance" or "⛔ REJECTED: Low ADX").
---
**Disclaimer:**
*This indicator is a tool for analysis, not financial advice. It combines multiple quantitative metrics to provide high-probability setups, but no system is 100% accurate. Always use proper risk management.*
**Credits:**
* OTT Logic based on Anıl Özekşi.
* Koncorde Logic based on Blai5.
* SMC Order Block logic adapted from FluxCharts concepts.
* Synthesized and Optimized by rayu8.
TREND FLOW CANDLES - [EntryLab]Trend Flow Candles was created for the community to clearly visualize the flow of trend on any token. It provides a simple, clean, and visually pleasing way to identify overall trend bias at a glance. Using proprietary algorithmic logic developed specifically to assist traders, the candles dynamically reflect trend strength and direction to help with higher-timeframe confluence.
This indicator has been back-tested with strong accuracy and is designed to be easy to use, quick to set up, and practical in real trading conditions. Trend Flow Candles works best as a directional bias tool, helping traders stay aligned with the dominant trend while making clearer, more confident decisions. It is a powerful addition to any indicator arsenal when you need reliable trend context without clutter.
Regards,
ENTRYLAB
Moving Averages 20, 50, 150, 200This indicator plots four commonly used Simple Moving Averages on the price chart: 20, 50, 150, and 200.
It is designed to help traders easily identify short-term, medium-term, and long-term trend direction, as well as key crossover events.
Features:
SMA 20 (purple) – short-term momentum
SMA 50 (greenish) – intermediate trend
SMA 150 (yellow) – long-term bias
SMA 200 (orange) – major trend direction
Visual crossover markers for:
SMA 20 / SMA 150
SMA 50 / SMA 200
The indicator uses Pine Script® v6 and is fully compatible with the latest TradingView platform.
All moving average lengths can be customized in the settings.
This script is intended for trend analysis and confirmation and can be used across all markets and timeframes.
Reversal Radar - Sensitive Mode - SZ AlphaSensitive Mode is the early detection layer within the Reversal Radar framework.
It is designed to highlight areas where market reversals may begin to emerge, not to generate trade entries.
The radar is built on:
Structural turns (pivot-based)
Behavioral shifts (strength / weakness)
Volatility & participation filters (ATR / Volume)
Trend context via EMA
Core thresholds are intentionally encapsulated into Sensitivity Tiers (Low / Medium / High) to preserve structural consistency and avoid overfitting.
This tool is for risk awareness and context detection,
not for trade execution or signal chasing.
-----------------------------------------------------------------
Sensitive Mode 是 Reversal Radar 体系中的早期反转探测层,用于在市场结构出现变化时,提前标记潜在的反转关注区域。
它并非交易信号,也不用于给出买卖指令,而是通过:
结构拐点(Pivot)
行为变化(强弱转折)
波动与参与度过滤(ATR / Volume)
趋势环境参考(EMA)
来探测“反转开始被观察到的时刻”。
为避免误用,核心阈值已被收口为灵敏度档位(Low / Medium / High),用户只需选择观察节奏,而无需调参。
本工具用于风险识别与情境判断,
不是交易建议,也不是信号生成器。
Free structure.
Decisions remain yours.
— SZ Alpha
Swing Structure Map - SZ Alpha🔓 Why this is free
Swing Structure Map · SZ Alpha
is designed as market structure infrastructure,
not as a trading strategy.
Swing High / Swing Low
are the shared language behind most technical systems.
They describe structure, not decisions.
That’s why this module is released free, by design.
If you can’t see structure clearly,
every “signal” becomes noise.
🧭 How you can use it
Use it as a standalone market structure map
Combine it with your own strategy or framework
For context and validation, not decision replacement
🚫 What you won’t find here
❌ Buy / sell recommendations
❌ Win-rate or performance claims
❌ Emotional or opinion-driven conclusions
This is not a tool that tells you what to do,
but one that helps you see what the market is doing.
-----------------------------------------------------------------
🔓 为什么这是免费的
Swing Structure Map · SZ Alpha
被设计为结构基础设施,而不是交易策略。
Swing High / Swing Low(波段高低点)
是所有技术分析与交易系统的共同语言。
它们描述的是市场结构,而不是买卖答案。
因此,这一部分选择永久免费公开。
如果连结构都看不清,那任何“信号”,都只是噪音。
🧭 你可以如何使用
作为独立的市场结构地图
搭配你自己的交易系统或判断逻辑
用于验证认知,而不是替代决策
🚫 你不会在这里看到
❌ 买卖建议
❌ 胜率或收益承诺
❌ 情绪化或主观结论
这不是一个“告诉你该做什么”的工具,
而是一个让你看清市场正在做什么的工具。
Free structure.
Decisions remain yours.
— SZ Alpha
Aincan Quantum TrendOverview The Aincan Quantum Trend is a proprietary trend-following system designed to reduce market noise while minimizing lag. Unlike standard indicators that rely solely on linear averaging, AQT utilizes a Rational Quadratic Kernel smoothing algorithm to calculate the true market direction. This approach allows traders to visualize the trend structure with higher fidelity than traditional methods.
How It Works (The Math) The core of this script is based on non-linear regression logic, specifically adapted for financial time-series data:
Rational Quadratic Smoothing: The script processes price action through a custom loop that applies a rational quadratic weight to historical data points. This creates a signal line that is responsive to sharp price changes but resistant to chop/sideways noise.
Flux Filtering: We implement a multi-tier trend validation system that analyzes price momentum across three distinct timeframes to confirm the signal validity.
Momentum Gating: A dynamic filter ensures that signals are only generated when there is sufficient underlying momentum, preventing false signals in low-volume markets.
How to Use
Green Cloud: Indicates a confirmed bullish trend (Signal line > Anchor base).
Red Cloud: Indicates a confirmed bearish trend (Signal line < Anchor base).
Bar Colors: Candles are colored to reflect the active trend state for easy visual identification.
Fibo TrendFibo Trend is a dynamic trend-following system designed to identify key support/resistance levels and trend exhaustion points within a given period. Instead of static levels, this indicator adapts to recent price action, creating a "breathing" channel that helps traders spot reversals, continuations, and "no-trade" zones.
This tool is particularly effective for identifying where a trend is likely to pause (take profit zones) or where a trend is breaking down (stop loss zones).
How to Interpret the Levels
The indicator plots several key levels based on market structure. Here is how to read them:
Yellow Lines (Trend Followers): These upper bands define the zone of strongest momentum. While they often act as dynamic resistance targets for taking profits, they also function as dynamic support during powerful trends. When price "surfs" or holds within these yellow lines, it signals an aggressive trend where the market refuses to drop lower, often leading to parabolic moves.
Green Line (Full Stop / Trend Breaker): Crucial Level. This is your primary trend filter.
If price is above the Green line, the bullish trend is intact.
If price breaks below the Green line, the immediate uptrend is considered broken or weakening significantly. This is often used as a trailing stop-loss or an exit signal for long positions.
Aqua/Blue Lines (Rising Starts / Mid S/R): These are the equilibrium zones. When price holds above the Aqua line, it indicates that a new leg up might be starting. If price is chopping between the Blue and Aqua lines, the market is often in a consolidation phase.
Red Lines (Dead Area): These lower levels represent the "floor" of the current structure. If price falls into this zone, the bullish momentum is completely gone, and the market is likely looking for a bottom or reversing.
Visual Examples
1. Bitcoin (BTC/USDT) - 1H Chart
In this example, you can see how the price respects the Green Line as support during the rally. Once the structure shifts, the levels adjust to show the new range.
2. Gold (XAU/USD) - 5m Chart
A lower timeframe example showing the sensitivity of the Yellow Lines during a breakout. Notice how the price rides the upper bands during strong momentum.
3. Nasdaq 100 (NDX) - Daily Chart
On higher timeframes, the Green Line acts as a massive trend filter. As long as the daily candles close above this level, the macro trend remains bullish.
4. S&P 500 (SPX) - 3H Chart
Here you can see the "Dead Area" (Red lines) in action at the bottom, followed by a recovery where the price reclaims the Aqua and Green levels to resume the trend.
Settings
Trend Length: The lookback period for the high/low structure (Default: 144). You can adjust this to fit your specific timeframe (e.g., higher for long-term investing, lower for scalping).
Disclaimer & Risk Warning:
This script is published as "Protected" to preserve the proprietary nature of the calculation logic. It is provided for educational and informational purposes only and DOES NOT constitute financial advice, trading recommendations, or a solicitation to buy or sell any assets.
No Guarantees : Past performance of the indicator is not indicative of future results. Market conditions change, and no indicator is 100% accurate.
Risk Management: Always use this tool in conjunction with your own analysis, risk management strategies, and other technical indicators.
Liability: The author assumes no responsibility for any trading losses or damages incurred as a result of using this script. Trade at your own risk.
Orion (Market Structure & Confluence Framework)Orion (Market Structure & Confluence Framework • Premium • Closed)
Orion is a professional-grade market structure and execution framework designed for serious intraday traders who want clarity, precision, and discipline — not signal spam.
This indicator was developed and refined through extensive live trading and backtesting in Natural Gas, one of the most volatile and difficult markets to master. While NG was the primary proving ground, Orion is market-agnostic and works across commodities, stocks, indices, forex, and crypto.
What Orion Does
Orion continuously evaluates higher-timeframe structure and lower-timeframe execution conditions, then only presents trade opportunities when conditions are clean, aligned, and favorable.
It helps traders:
Capture large directional moves
Participate in confirmed reversals
Stand down during choppy or mean-reversion days
Avoid overtrading and noise
Trade signals are intentionally selective. When signals are mixed, Orion does nothing — by design.
Core Concepts (High Level)
Market Structure Context
Determines whether the market environment is bullish, bearish, or mixed.
Key Levels & Structural Zones
User-defined levels are evaluated based on how price last interacted with them to determine bias and probable targets.
Trendlines (Manual, Human-Defined)
Orion interprets price interaction with trader-drawn trendlines, preserving human discretion and avoiding unreliable auto-drawn logic.
Confluence Logic
Signals only appear when multiple independent factors agree. No alignment = no trade.
Trade Signals (When Appropriate)
Based on extensive testing, signal days have historically been profitable roughly 80% of the time (about 4 out of 5 days), with an emphasis on capturing meaningful market moves, not scalping.
Ease of Use
Simple initial setup (define key levels, draw trendlines)
Minimal upkeep (occasional adjustments as structure evolves)
Once set, Orion handles the heavy lifting
This is not a fully automated system. It is a decision-support tool that rewards discipline, patience, and proper risk management.
Transparency & Risk
No guarantees are made
Losses are part of trading
Stop losses and position sizing are essential
Results depend on trader discipline and execution
Educational resources on trendlines and support/resistance (e.g., creators like Tori Trades or WyseTrade) can be helpful for newer users.
Support & Mentorship
24/7 support included for all users
A limited number of users, upon request, may receive direct mentorship from the creator
The creator combined personal trading experience, discretionary strategy design, and AI-assisted development to build Orion, and trades Natural Gas profitably using this framework.
Pricing
$99.99 per year
One solid trading day can easily justify the cost.
Who Orion Is For
✅ Serious intraday traders
✅ Structure-focused traders
✅ Traders who value quality over quantity
❌ Beginners seeking guaranteed signals
❌ Fully automated trading seekers
© 2026 Gordon Edwards. All rights reserved.
Licensed for individual use only. Redistribution, resale, or reverse engineering is prohibited.
Structural Equilibrium Line and DashboardOverview The Structural Equilibrium Dashboard is a comprehensive technical analysis tool designed to identify the "fair value" or balance point of market structure across multiple timeframes. Unlike traditional moving averages that rely on time-based smoothing, this indicator anchors its calculations to confirmed Structural Pivots (Highs and Lows).
By reflecting current price action against these structural boundaries, the algorithm identifies the internal momentum of an asset. This provides traders with a clear visualization of whether the market is in a state of structural strength or nearing potential exhaustion points.
Core Methodology The script utilizes a custom reflection algorithm that determine the Structural Equilibrium Line:
Structural Pivot Detection: The engine scans for significant peaks and valleys based on user-defined lookback and confirmation parameters.
Equilibrium Mapping: It calculates the midpoint of the current structural range and projects the price relative to this "balance point."
Signal Smoothing: The raw structural data is processed through a precision filter to reduce market noise while remaining responsive to significant momentum shifts.
Key Features
Multi-Timeframe (MTF) Dashboard: Monitor the structural bias of five key timeframes (5m, 15m, 30m, 1h, 4h) simultaneously. This allows for rapid top-down analysis and confluence tracking without changing charts.
Structural Momentum Cloud: A dynamic visual zone that highlights the displacement between price and equilibrium, assisting in the identification of market overextensions.
Adaptive UI: The dashboard is optimized for both Dark and Light modes, ensuring maximum legibility across all user interface configurations.
Structural Filtering: The logic is specifically tuned to maintain a neutral stance during low-volume consolidation, updating only upon confirmed structural shifts.
Operational Use
1. The "Top-Down" Lead: You don’t need the whole table to match. If your higher timeframes (1H or 4H) are Green, look for the lower timeframes (5M or 15M) to turn Green as well. This alignment can sometimes occur before the main line changes colour, offering contextual insight — not a guaranteed signal.
2. Trend Shifts: When the main line on your chart changes colour (e.g., Red to Green), it means the price has crossed the "Balance Point" of the current market structure. This is your signal that the trend direction has officially shifted.
3. Measuring Strength: Use the Momentum Cloud (the shaded area) to see how strong the move is. A widening cloud means the trend is gaining speed. If the cloud is very thin, the market is likely just "chopping" or consolidating.
This tool is for analytical and educational purposes only. It is not financial advice, and it does not guarantee profits.
Multi-indicator Signal Builder [Skyrexio]Overview
Multi-Indicator Signal Builder is a versatile, all-in-one script designed to streamline your trading workflow by combining multiple popular technical indicators under a single roof.
It features a single-entry, single-exit logic, intrabar stop-loss/take-profit handling, an optional time filter, a visually accessible condition table, and a built-in statistics label.
Traders can choose any combination of 12+ indicators (RSI, Ultimate Oscillator, Bollinger %B, Moving Averages, ADX, Stochastic, MACD, PSAR, MFI, CCI, Heikin Ashi, and a “TV Screener” placeholder) to form entry or exit conditions.
This script aims to simplify strategy creation and analysis , making it a powerful toolkit for technical traders.
Indicators Overview
RSI (Relative Strength Index)
Measures recent price changes to evaluate overbought or oversold conditions on a 0–100 scale.
Ultimate Oscillator (UO)
Uses weighted averages of three different timeframes, aiming to confirm price momentum while avoiding false divergences.
Bollinger %B
Expresses price relative to Bollinger Bands, indicating whether price is near the upper band (overbought) or lower band (oversold).
Moving Average (MA)
Smooths price data over a specified period. The script supports both SMA and EMA to help identify trend direction and potential crossovers.
ADX (Average Directional Index)
Gauges the strength of a trend (0–100). Higher ADX signals stronger momentum, while lower ADX indicates a weaker trend.
Stochastic
Compares a closing price to a price range over a given period to identify momentum shifts and potential reversals.
MACD (Moving Average Convergence/Divergence)
Tracks the difference between two EMAs plus a signal line, commonly used to spot momentum flips through crossovers.
PSAR (Parabolic SAR)
Plots a trailing stop-and-reverse dot that moves with the trend. Often used to signal potential reversals when price crosses PSAR.
MFI (Money Flow Index)
Similar to RSI but incorporates volume data. A reading above 80 can suggest overbought conditions, while below 20 may indicate oversold.
CCI (Commodity Channel Index)
Identifies cyclical trends or overbought/oversold levels by comparing current price to an average price over a set timeframe.
Heikin Ashi
A type of candlestick charting that filters out market noise. The script uses a streak-based approach (multiple consecutive bullish or bearish bars) to gauge mini-trends.
TV Screener
A placeholder condition designed to integrate external buy/sell logic (like a TradingView “Buy” or “Sell” rating). Users can override or reference external signals if desired.
Unique Features
Multi-Indicator Entry and Exit
You can selectively enable any subset of 12+ classic indicators, each with customizable parameters and conditions. A position opens only if all enabled entry conditions are met, and it closes only when all enabled exit conditions are satisfied, helping reduce false triggers.
Single-Entry / Single-Exit with Intrabar SL/TP
The script supports a single position at a time. Once a position is open, it monitors intrabar to see if the price hits your stop-loss or take-profit levels before the bar closes, making results more realistic for fast-moving markets.
Time Window Filter
Users may specify a start/end date range during which trades are allowed, making it convenient to focus on specific market cycles for backtesting or live trading.
Condition Table and Statistics
A table at the bottom of the chart lists all active entry/exit indicators. Upon each closed trade, an integrated statistics label displays net profit, total trades, win/loss count, average and median PnL, etc.
Seamless Alerts and Automation
• Configure alerts in TradingView using “Any alert() function call.”
• The script sends JSON alert messages you can route to your own webhook.
• The indicator can be integrated with Skyrexio alert bots to automate execution on major cryptocurrency exchanges.
Optional MA/PSAR Plots
For added visual clarity, optionally plot the chosen moving averages or PSAR on the chart to confirm signals without stacking multiple indicators.
Methodology
Multi-Indicator Entry Logic
When multiple entry indicators are enabled (e.g., RSI + Stochastic + MACD), the script requires all signals to align before generating an entry. Each indicator can be set for crossovers, crossunders, thresholds (above/below), etc. This “AND” logic aims to filter out low-confidence triggers.
Single-Entry Intrabar SL/TP
• One Position At a Time: Once an entry signal triggers, a trade opens at the bar’s close.
• Intrabar Checks: Stop-loss and take-profit levels (if enabled) are monitored on every tick. If either is reached, the position closes immediately, without waiting for the bar to end.
Exit Logic
All Conditions Must Agree: If the trade is still open (SL/TP not triggered), then all enabled exit indicators must confirm a closure before the script exits on the bar’s close.
Time Filter
Optional Trading Window: You can activate a date/time range to constrain entries and exits strictly to that interval.
Justification of Methodology
Indicator Confluence: Combining multiple tools (RSI, MACD, etc.) can reduce noise and false signals.
Intrabar SL/TP: Capturing real-time spikes or dips provides a more precise reflection of typical live trading scenarios.
Single-Entry Model: Straightforward for both manual and automated tracking (especially important in bridging to bots).
Custom Date Range: Helps refine backtesting for specific market conditions or to avoid known irregular data periods.
How to Use
Add the Script to Your Chart
• In TradingView, open Indicators , search for “Multi-indicator Signal Builder” .
• Click to add it to your chart.
Configure Inputs
• Time Filter: Set a start and end date for trades.
• Alerts Messages: Input any JSON or text payload needed by your external service or bot.
• Entry Conditions: Enable and configure any indicators (e.g., RSI, MACD) for a confluence-based entry.
• Close Conditions: Enable exit indicators, along with optional SL (negative %) and TP (positive %) levels.
Set Up Alerts
• In TradingView, select “Create Alert” → Condition = “Any alert() function call” → choose this script.
• Entry Alert: Triggers on the script’s entry signal.
• Close Alert: Triggers on the script’s close signal (or if SL/TP is hit).
• Skyrexio Alert Bots: You can route these alerts via webhook to Skyrexio alert bots to automate order execution on major crypto exchanges (or any other supported broker).
Visual Reference
• A condition table at the bottom summarizes active signals.
• Statistics Label updates automatically as trades are closed, showing PnL stats and distribution metrics.
Backtesting Guidelines
Symbol/Timeframe: Works on multiple assets and timeframes; always do thorough testing.
Realistic Costs: Adjust commissions and potential slippage to match typical exchange conditions.
Risk Management: If using the built-in stop-loss/take-profit, set percentages that reflect your personal risk tolerance.
Longer Test Horizons: Verify performance across diverse market cycles to gauge reliability.
Example of statistic calculation
Test Period: 2023-01-01 to 2025-12-31
Initial Capital: $1,000
Commission: 0.1%, Slippage ~5 ticks
Trade Count: 680 (varies by strategy conditions)
Win rate: 75.44% (varies by strategy conditions)
Net Profit: +90.14% (varies by strategy conditions)
Disclaimer
This indicator is provided strictly for informational and educational purposes.
It does not constitute financial or trading advice.
Past performance never guarantees future results.
Always test thoroughly in demo environments before using real capital.
Enjoy exploring the Multi-Indicator Signal Builder! Experiment with different indicator combinations and adjust parameters to align with your trading preferences, whether you trade manually or link your alerts to external automation services. Happy trading and stay safe!
Auto Trendline using Liquidity Sweeps By Vachaspati JhaThis auto trendline systime uses Liquidity sweep points to draw, making them extremely reliable- price action respects these trendlines.
You can choose different pivot numbers for Green and Red lines to suit market condition. For instance in uptrend green line pivot number can be 2 or higher and Red line pivot number can be 1 for pullback opportunities.
Trend Master [Sensai trading]Trend Master — Advanced Trend Detection Made Simple
Trend Master is a powerful and highly configurable trend indicator designed for traders who want clarity, confidence, and consistency in trending markets .
Instead of relying on a single signal, Trend Master combines multiple proven technical factors to determine the true market direction. By blending MACD crossovers, RSI analysis, and moving average crossovers, it filters out market noise and focuses on what really matters: the dominant trend.
Why Trend Master?
Markets don’t trend cleanly all the time — and that’s exactly why Trend Master stands out. The multi-factor approach dramatically reduces false signals, especially when trading higher timeframes, where trend reliability is key.
Key Features
✅ Multi-Factor Trend Detection
Combines MACD crossovers, RSI conditions, and moving average crossovers for robust confirmation. The trend changes when all activated indicators are alligned.
⚙️ Highly Customizable
Fine-tune settings and combinations to match your trading style and market preferences.
📉 Reduced False Signals
Designed to filter chop and noise.
📈 Ideal for Trending Markets
Best used when markets are moving with direction and momentum.
Who Is It For?
Trend Master is perfect for:
Trend traders
Swing traders
Forex, Indices, Stocks, Crypto
LBMA London Gold Fix Times [Auto DST]## Overview
This lightweight indicator automatically marks the **LBMA Gold Price Fixing** times on your chart using vertical lines. It is designed specifically for **XAUUSD (Gold)** traders who need to monitor institutional liquidity and volatility shifts during the London session.
The indicator tracks the two key daily fixing moments:
* **AM Fix:** 10:30 (London Time)
* **PM Fix:** 15:00 (London Time)
## Key Features
* **🌍 Auto Daylight Saving Time (DST):** Built with the `Europe/London` timezone parameter. It automatically adjusts to British Summer Time (BST) and GMT, so you never have to manually change the UTC offset settings.
* **⚡ Minimalist Design:** Draws clean vertical lines without cluttering your chart with text labels.
* **🎨 Fully Customizable:** You can adjust the line color, width, and style (Solid, Dashed, Dotted) for both AM and PM sessions independently.
## Why are these times important?
The London Gold Fix (LBMA Gold Price) is the global benchmark for physical gold settlement. Major institutions, central banks, and mining companies settle contracts at these times. Consequently, **10:30** and **15:00** (London time) often witness:
1. Significant spikes in volatility.
2. Trend reversals or accelerations.
3. Massive volume injection.
## Usage Tips
* **Timeframe:** This indicator works best on **Intraday Timeframes** (1-minute to 30-minute charts).
* *Note:* It may not be visible on H1 (1-hour) charts or higher because the fix times (e.g., 10:30) occur in the middle of an hourly candle.
* **Setup:** Simply add it to your chart. No timezone configuration is required; the script calculates London time internally.
## Settings
* **AM Fix Color:** Default is Blue (London Morning).
* **PM Fix Color:** Default is Red (London Afternoon/US Morning overlap).
* **Line Style:** Choose between Solid, Dashed, or Dotted lines.
概述 (Overview)
这是一个轻量级的辅助指标,通过垂直线在图表上自动标记 LBMA 伦敦金定盘价(LBMA Gold Price Fixing) 的时刻。它是专为 XAUUSD(黄金) 交易者设计的,旨在帮助大家捕捉伦敦时段内机构流动性和市场波动的关键节点。
该指标会自动锁定每天两个核心的定盘时间:
上午定盘 (AM Fix): 10:30 (伦敦时间)
下午定盘 (PM Fix): 15:00 (伦敦时间)
主要功能 (Key Features)
🌍 自动识别夏令时 (Auto DST): 代码内置 Europe/London 时区参数。无论英国处于夏令时 (BST) 还是冬令时 (GMT),指标都会自动精准对齐,无需用户手动调整时区设置。
⚡ 极简主义设计: 仅绘制干净的垂直线,不显示任何文字标签,避免遮挡K线或干扰视线。
🎨 高度可定制: 您可以独立调整上午和下午定盘线的颜色、粗细以及样式(实线、虚线或点线)。
为什么要关注这两个时间点?
LBMA 伦敦金定盘价是全球实物黄金结算的基准价格。大型金融机构、中央银行和金矿公司通常会在这个时间点集中进行合约结算。因此,在伦敦时间 10:30 和 15:00 前后,市场经常会出现:
波动率瞬间激增。
短期趋势的反转或加速。
巨量成交量的涌入。
使用建议 (Usage Tips)
适用周期: 建议在 日内分时图(1分钟、5分钟、15分钟或30分钟)上使用。
注意: 在 1小时 (H1) 或更大的周期上,线条可能无法显示,因为定盘时间(如 10:30)发生在整点K线的内部,无法被单独标记。
设置方法: 加载指标即可使用。无论您本地电脑的时间设置如何,脚本内部会自动计算正确的伦敦时间。
参数设置 (Settings)
AM Fix Color: 上午定盘线颜色(默认为蓝色)。
PM Fix Color: 下午定盘线颜色(默认为红色,此时往往也是美盘初期的波动高峰)。
Line Style: 线条样式选择(实线、虚线、点线)。
Trend Table by DNDFXTrend Table is the latest version released in 2026. Initially, this feature was integrated into the CTR indicator. However, due to technical issues that caused errors in the main indicator, Trend Table was separated and developed as a standalone indicator to ensure stability and allow it to operate without interfering with the main system.
The Trend Table indicator is designed to provide a clear overview of market trend direction across multiple timeframes in a single, concise display. The timeframes included are M1, M3, M5, M10, M15, M30, H1, H4, and Daily. With this separation, users can monitor trend conditions from lower to higher timeframes more efficiently, consistently, and reliably.
Scalp Signal v1.0 [Scalping-Algo]═══════════════════════════════════════════════════════════════
MTF SCALP HELPER - TRADINGVIEW DESCRIPTION ═══════════════════════════════════════════════════════════════
SHORT DESCRIPTION:
-----------------------------------
Multi-timeframe confluence overlay combining directional bias scoring, volume anomaly detection, and automatic zone mapping.
FULL DESCRIPTION:
-----------------
𝗛𝗼𝘄 𝗧𝗵𝗲 𝗖𝗼𝗺𝗽𝗼𝗻𝗲𝗻𝘁𝘀 𝗪𝗼𝗿𝗸 𝗧𝗼𝗴𝗲𝘁𝗵𝗲𝗿
This is not simply indicators placed side-by-side. Each component feeds into a scoring system:
𝟭. 𝗗𝗶𝗿𝗲𝗰𝘁𝗶𝗼𝗻𝗮𝗹 𝗕𝗶𝗮𝘀 𝗘𝗻𝗴𝗶𝗻𝗲
Nine factors are evaluated on each bar: EMA ribbon alignment (8/13/21/34), dual Supertrend readings, VWAP position, Hull MA direction, RSI zone, MACD histogram slope, Stochastic RSI crossover state, ADX/DMI readings, and higher timeframe EMA structure.
Each factor that confirms the direction adds +1 to a bias score. When the score crosses a user-adjustable threshold AND the higher timeframe confirms, candles are colored to reflect the bias. This creates a visual filter - you can quickly scan and see which periods had strong directional agreement vs mixed signals.
𝟮. 𝗖𝗼𝗻𝗳𝗹𝘂𝗲𝗻𝗰𝗲 𝗦𝗰𝗼𝗿𝗶𝗻𝗴 𝗳𝗼𝗿 𝗘𝗻𝘁𝗿𝘆 𝗦𝗶𝗴𝗻𝗮𝗹𝘀
The main signals use weighted scoring across 13 factors. Not all factors are equal - for example, an RSI extreme reading adds +2 while simple VWAP position adds +0.5. This weighting reflects that some conditions are more significant than others.
Signals only appear when:
- Confluence score meets minimum threshold (adjustable: 8-11)
- Volatility is within acceptable range (ATR-based filter)
- Minimum bars have passed since last signal (prevents clustering)
- Optional: Session time filter and strict trend alignment
The score is displayed on each signal label so you can see exactly how strong the confluence was.
𝟯. 𝗩𝗖𝗥𝗘 (𝗩𝗼𝗹𝘂𝗺𝗲 𝗖𝗹𝗶𝗺𝗮𝘅 𝗥𝗲𝘃𝗲𝗿𝘀𝗮𝗹 𝗘𝗻𝗴𝗶𝗻𝗲)
This component identifies potential exhaustion points using a specific pattern:
- Price breaks below/above the lows/highs of the previous N bars (lookback adjustable)
- This breakout bar has volume exceeding 2x the 20-period average
- Within the next few bars, price reverses back through the breakout bar's range
- Confirmation volume is checked on the reversal bar
The star rating (3-5) reflects how many confirmation factors were present. This is a mechanical pattern recognition system, not a prediction.
𝟰. 𝗩𝗩𝗥𝗦 (𝗩𝗼𝗹𝘂𝗺𝗲 𝗩𝗼𝗹𝗮𝘁𝗶𝗹𝗶𝘁𝘆 𝗥𝗲𝘃𝗲𝗿𝘀𝗮𝗹 𝗦𝘆𝘀𝘁𝗲𝗺)
Uses statistical analysis (z-scores) to identify when buying or selling volume deviates significantly from the historical mean. When volume anomalies appear in one direction but a Supertrend-style indicator flips the other way within a confirmation window, it flags this divergence.
Z-score threshold is adjustable - higher values mean fewer but more statistically significant anomalies are flagged.
𝟱. 𝗔𝘂𝘁𝗼𝗺𝗮𝘁𝗶𝗰 𝗭𝗼𝗻𝗲 𝗠𝗮𝗽𝗽𝗶𝗻𝗴
Supply and demand zones are drawn when specific criteria are met:
- A candle with above-average volume and range
- Followed by N consecutive candles moving away from that area
- Zone strength (1-5) is calculated from: engulfing pattern presence, volume confirmation, ATR-relative size, and subsequent price movement
Zones extend forward and can serve as reference levels. They are not predictive - they simply mark areas where notable activity occurred.
𝟲. 𝗠𝘂𝗹𝘁𝗶-𝗧𝗶𝗺𝗲𝗳𝗿𝗮𝗺𝗲 𝗗𝗮𝘀𝗵𝗯𝗼𝗮𝗿𝗱
The panel calculates momentum, sentiment, and volatility scores across 5 timeframes using request.security() calls. These are normalized to 0-100 scales for easy comparison.
- Momentum: Weighted combination of RSI, ROC, MOM, and MACD histogram
- Sentiment: EMA stack positioning, volume-weighted price change, swing structure
- Volatility: ATR, Bollinger width, true range, and standard deviation ratios
The dashboard provides context - you can see if lower and higher timeframes are aligned or diverging.
𝟳. 𝗘𝗠𝗔 𝟮𝟬𝟬 (𝗦𝗹𝗼𝘄 𝗧𝗿𝗲𝗻𝗱 𝗥𝗲𝗳𝗲𝗿𝗲𝗻𝗰𝗲)
The 200-period EMA is plotted as a separate line for longer-term trend context.
How it integrates with other components:
- Used in confluence scoring: price position relative to EMA 200 adds to buy/sell scores (+1 for perfect alignment, +0.5 for partial)
- The "perfect stack" condition (fast EMA > medium EMA > EMA 200 with price above all) is weighted heavily in signal generation
- VCRE system references EMA 200 for its star rating - reversals occurring on the "right side" of the 200 receive higher strength scores
- Provides macro context that the shorter-term components don't capture
The combination of cloud (short-term structure) and EMA 200 (long-term structure) allows you to see both immediate trend state and broader positioning in one view.
8. 𝗘𝗠𝗔 𝗖𝗹𝗼𝘂𝗱 𝗦𝘆𝘀𝘁𝗲𝗺
The cloud is formed between a fast EMA (default 13) and medium EMA (default 48). Rather than just plotting two lines, the space between them is filled to create a visual "zone."
How it functions in this script:
- Cloud color changes based on EMA relationship (fast above slow = bullish color, fast below slow = bearish color)
- The cloud width itself provides information - wider cloud often indicates stronger trend momentum, narrow cloud suggests potential consolidation or transition
- Price position relative to cloud gives quick visual context: trading above a bullish cloud vs below it vs inside it
- The cloud edges often act as dynamic reference points where price may react
This is integrated with the bias system - EMA alignment is one of the 9 factors in the directional bias calculation. When the cloud is bullish AND price is above it, that contributes positively to the bias score.
𝗪𝗵𝗮𝘁 𝗠𝗮𝗸𝗲𝘀 𝗧𝗵𝗶𝘀 𝗗𝗶𝗳𝗳𝗲𝗿𝗲𝗻𝘁
The integration layer is the original contribution here. Specifically:
1. The weighted confluence scoring system that combines standard indicators into a single numerical output with transparent weighting
2. The interaction between the 9-factor bias engine and the signal generation (signals can optionally require bias alignment)
3. VCRE pattern recognition with its specific breakout-then-reversal sequence and volume requirements
4. VVRS statistical approach using z-scores on directional volume combined with trend flip confirmation
5. Zone mapping with multi-factor strength scoring
Each component can be enabled/disabled independently, and all thresholds are exposed as inputs so users can adjust sensitivity.
𝗜𝗺𝗽𝗼𝗿𝘁𝗮𝗻𝘁 𝗡𝗼𝘁𝗲𝘀
- This script identifies patterns and calculates scores based on the logic described above
- It does not predict future price movement
- Past patterns appearing in backtesting do not indicate future results
- All signals should be evaluated with additional context and risk management
- The effectiveness of any pattern or indicator varies with market conditions, timeframe, and instrument
- Users should thoroughly test on demo/paper before any live application
- Default settings may not be suitable for all instruments or trading styles
𝗦𝗲𝘁𝘁𝗶𝗻𝗴𝘀 𝗢𝘃𝗲𝗿𝘃𝗶𝗲𝘄
• Signal Frequency: Adjusts minimum confluence score (Lots=8, Rare=11)
• Bias Sensitivity: Aggressive/Standard/Conservative threshold for candle coloring
• Strict Filter Mode: Requires trend + session + DMI alignment for signals
• Session Filter: Limits signals to high-volume market hours (EST)
• Each component (VCRE, VVRS, Zones) can be toggled on/off
• All lookback periods, thresholds, and multipliers are adjustable
𝗨𝘀𝗮𝗴𝗲 𝗦𝘂𝗴𝗴𝗲𝘀𝘁𝗶𝗼𝗻𝘀
Start with default settings to understand baseline behavior. Observe how signals correlate with the dashboard readings. Adjust signal frequency lower (toward "Rare") if seeing too many signals. Enable strict mode for additional filtering. Test on the specific instruments and timeframes you plan to use.
Momentum Oscillator [Scalping-Algo]Momentum Oscillator
---
What is this?
A momentum indicator that shows when price might reverse or continue. It's like MACD but with extra filters so you get fewer fake signals.
---
The Components
① OSCILLATOR (Cyan/Magenta line)
The main line. Goes up = bullish momentum. Goes down = bearish momentum.
② SIGNAL LINE (Yellow/Orange line)
A smoothed version. When oscillator crosses it, momentum is shifting.
③ HISTOGRAM (Green/Red bars)
Shows momentum strength. Bigger bars = stronger momentum. Shrinking bars = momentum dying.
④ BLUE CIRCLE
Bullish cross. Oscillator just crossed above signal line.
⑤ YELLOW CIRCLE
Bearish cross. Oscillator just crossed below signal line.
⑥ TRIANGLES
▲ Green = Buy signal (all filters passed)
▼ Red = Sell signal (all filters passed)
⑦ DASHED LINES
Forecast. Where the indicator might go next. Just a guess based on recent movement.
---
How to Trade It
Entry:
- Wait for triangle signal (not just circles)
- Check bars are growing in your direction
- Make sure price agrees with momentum
Exit:
- Bars start shrinking = momentum fading
- Opposite color circle appears = momentum shifting
- Take profit before reversal
Avoid:
- Trading against higher timeframe trend
- Signals when bars are tiny
- Choppy sideways markets
---
Reading the Chart
Green bars getting bigger → momentum building up → price likely continues up
Green bars getting smaller → momentum fading → watch for reversal
Red bars getting bigger → selling pressure increasing → price likely drops
Red bars getting smaller → selling exhausted → watch for bounce
Circles show every cross. Triangles only show when multiple things align.
---
Quick Settings Guide
Want more signals? Lower the volume filter
Want fewer signals? Raise the volume filter
Too many fakeouts? Turn on HTF filter
Missing moves? Lower the min histogram size
---
Limitations
This won't predict the future. The forecast is just math projection, not magic. Markets can reverse anytime. Always use stop losses. Test on demo first.
Uses standard stuff (EMA, RSI, VWAP) combined in a specific way. Nothing revolutionary, just filtered momentum.
---
That's it. Watch the bars, wait for triangles, manage your risk.
QuantRX Trendlines v1QuantRX Trendlines v1 is a visual market structure indicator designed to automatically draw trendlines and channels based on recent swing highs and lows.
The tool focuses on clean chart structure by dynamically updating trendlines as price evolves, helping users visualize support, resistance, and directional bias across any market or timeframe.
Key characteristics:
Automatic detection of swing-based trendlines
Optional channel mode with adjustable thickness
Wick or body anchoring for different structure interpretations
Visual differentiation between active and broken lines
Designed to reduce chart clutter and improve readability
This indicator is intended as a visual analysis aid only.
It does not generate trade signals, predictions, or risk management instructions.
Users are encouraged to combine it with their own analysis and decision-making process.
⚠️ Disclaimer
This script is provided for educational and visual charting purposes only and does not constitute financial, investment, or trading advice.
Vdubus Momentum Lock (Overlay)The Top Indicator: "Vdubus Momentum Lock (Overlay)"
The Bottom Indicator: "Vdubus TrixStoch HMA"
Purpose: Precision timing. It shows you exactly when the pullbacks happen.
The Trigger Zones (48 / 52):
Buy Zone (Below 48): When the Blue line dips into this zone, the market is "reloading" for a buy.
Sell Zone (Above 52): When the Blue line pops into this zone, the market is "reloading" for a sell.
The Confluence Circles:
Green Dot ("Dip"): Appears only if HMA is Green AND Trix is Rising. This filters out bad buy signals during downtrends.
Red Dot ("Rally"): Appears only if HMA is Red AND Trix is Falling. This filters out bad sell signals during uptrends.
3. The Strategy:
A. Entry Logic (The Sniper)
Trend Check: Is HMA 100 Green or Red?
Momentum Check: Is TRIX 34 agreeing with the HMA?
Trigger:
Buy: Stoch K crosses under 48.
Sell: Stoch K crosses over 52.
Pulse Re-Entry: If Trix momentum was lost briefly but snaps back into alignment, re-enter immediately (even without a Stoch signal).
B. Exit Logic (The Safety)
Momentum Exit: If the TRIX slope flips against you (e.g., you are Long, but Trix turns down), CLOSE IMMEDIATELY.
Hard Deck (HMA Flip): If the HMA line changes color, CLOSE EVERYTHING. This is the emergency brake.
Adaptive Trend Envelope [BackQuant]Adaptive Trend Envelope
Overview
Adaptive Trend Envelope is a volatility-aware trend-following overlay designed to stay responsive in fast markets while remaining stable during slower conditions. It builds a dynamic trend spine from two exponential moving averages and surrounds it with an adaptive envelope whose width expands and contracts based on realized return volatility. The result is a clean, self-adjusting trend structure that reacts to market conditions instead of relying on fixed parameters.
This indicator is built to answer three core questions directly on the chart:
Is the market trending or neutral?
If trending, in which direction is the dominant pressure?
Where is the dynamic trend boundary that price should respect?
Core trend spine
At the heart of the indicator is a blended trend spine:
A fast EMA captures short-term responsiveness.
A slow EMA captures structural direction.
A volatility-based blend weight dynamically shifts influence between the two.
When short-term volatility is low relative to long-term volatility, the fast EMA has more influence, keeping the trend responsive. When volatility rises, the blend shifts toward the slow EMA, reducing noise and preventing overreaction. This blended output is then smoothed again to form the final trend spine, which acts as the structural backbone of the system.
Volatility-adaptive envelope
The envelope surrounding the trend spine is not based on ATR or fixed percentages. Instead, it is derived from:
Log returns of price.
An exponentially weighted variance estimate.
A configurable multiplier that scales envelope width.
This creates bands that automatically widen during volatile expansions and tighten during compression. The envelope therefore reflects the true statistical behavior of price rather than an arbitrary distance.
Inner hysteresis band
Inside the main envelope, an inner band is constructed using a hysteresis fraction. This inner zone is used to stabilize regime transitions:
It prevents rapid flipping between bullish and bearish states.
It allows trends to persist unless price meaningfully invalidates them.
It reduces whipsaws in sideways conditions.
Trend regime logic
The indicator operates with three regime states:
Bullish
Bearish
Neutral
Regime changes are confirmed using a configurable number of bars outside the adaptive envelope:
A bullish regime is confirmed when price closes above the upper envelope for the required number of bars.
A bearish regime is confirmed when price closes below the lower envelope for the required number of bars.
A trend exits back to neutral when price reverts through the trend spine.
This structure ensures that trends are confirmed by sustained pressure rather than single-bar spikes.
Active trend line
Once a regime is active, the indicator plots a single dominant trend line:
In a bullish regime, the lower envelope becomes the active trend support.
In a bearish regime, the upper envelope becomes the active trend resistance.
In neutral conditions, price itself is used as a placeholder.
This creates a simple, actionable visual reference for trend-following decisions.
Directional energy visualization
The indicator uses layered fills to visualize directional pressure:
Bullish energy fills appear when price holds above the active trend line.
Bearish energy fills appear when price holds below the active trend line.
Opacity gradients communicate strength and persistence rather than binary states.
A subtle “rim” effect is added using ATR-based offsets to give depth and reinforce the active side of the trend without cluttering the chart.
Signals and trend starts
Discrete signals are generated only when a new trend regime begins:
Buy signals appear at the first confirmed transition into a bullish regime.
Sell signals appear at the first confirmed transition into a bearish regime.
Signals are intentionally sparse. They are designed to mark regime shifts, not every pullback or continuation, making them suitable for higher-quality trend entries rather than frequent trading.
Candle coloring
Optional candle coloring reinforces regime context:
Bullish regimes tint candles toward the bullish color.
Bearish regimes tint candles toward the bearish color.
Neutral states remain visually muted.
This allows the chart to communicate trend state even when the envelope itself is partially hidden or de-emphasized.
Alerts
Built-in alerts are provided for key trend events:
Bull trend start.
Bear trend start.
Transition from trend to neutral.
Price crossing the trend spine.
These alerts support hands-off trend monitoring across multiple instruments and timeframes.
How to use it for trend following
Trend identification
Only trade in the direction of the active regime.
Ignore counter-trend signals during confirmed trends.
Entry alignment
Use the first regime signal as a structural entry.
Use pullbacks toward the active trend line as continuation opportunities.
Trend management
As long as price respects the active envelope boundary, the trend remains valid.
A move back through the spine signals loss of trend structure.
Market filtering
Periods where the indicator remains neutral highlight non-trending environments.
This helps avoid forcing trades during chop or compression.
Adaptive Trend Envelope is designed to behave like a living trend structure. Instead of forcing price into static rules, it adapts to volatility, confirms direction through sustained pressure, and presents trend information in a clean, readable form that supports disciplined trend-following workflows.
Volatility Regimes | GainzAlgo📊 OVERVIEW:
=========
This is a comprehensive ATR-based trading system designed for professional
traders who need advanced volatility analysis, precise trade management, and
intelligent market regime detection. The indicator combines multiple proven
volatility concepts into one powerful, customizable tool.
⭐ WHY THIS SYSTEM IS UNIQUE AND WORTHY OF PUBLICATION:
====================================================
This is not simply a collection of ATR-based indicators placed together.
It represents a unified volatility analysis framework where each component
is specifically designed to work in concert with the others, creating a
complete trading workflow that cannot be replicated by using multiple
separate indicators.
🔗 SYNERGISTIC INTEGRATION - How Components Work Together:
🧠 1. CONTEXT-AWARE ANALYSIS
The Volatility Regime Detection acts as the "brain" of the system,
classifying market conditions into 4 distinct phases. Every other
component then adapts its behavior based on this regime classification:
- ATR Bands expand/contract with regime changes
- Stop Loss distances automatically adjust (tighter in compression,
wider in high volatility)
- Take Profit targets scale proportionally to current regime
- Signal sensitivity filters itself based on market phase
📐 2. UNIFIED VOLATILITY FOUNDATION
All calculations share a single ATR baseline calculation, ensuring
internal consistency across the entire system. When ATR changes, every
element updates in perfect synchronization:
- Bands recalculate from the same ATR value
- Risk management levels use the same volatility measurement
- Regime classification and signals reference identical data
🛡️ 3. INTEGRATED RISK MANAGEMENT
The system doesn't just show WHERE to enter - it calculates HOW MUCH
to risk:
- Dynamic Stop Loss adapts to current ATR automatically
- Position Size Calculator uses the dynamic stop to compute exact quantities
- Take Profit levels scale proportionally, maintaining optimal risk:reward
✅ 4. TWO-STAGE SIGNAL CONFIRMATION
The alert system creates a logical progression:
Step 1: Volatility Breakout → Market energy is building
Step 2: Trend Confirmation → Direction confirmed with volatility support
This prevents false breakouts by requiring both volatility AND direction.
🏦 5. PROFESSIONAL WORKFLOW INTEGRATION
The system mirrors how institutional traders analyze markets:
Phase 1: Assess regime → What's the market doing?
Phase 2: Identify setup → Where's the opportunity?
Phase 3: Calculate risk → What's my exposure?
Phase 4: Set targets → Where do I take profit?
Phase 5: Monitor regime → When do conditions change?
❌ WHY NOT USE SEPARATE INDICATORS?
- Separate ATR Bands: Don't know about regime changes, remain static
- Separate Regime Indicator: Doesn't automatically adjust stop/targets
- Separate Position Calculator: Doesn't know your actual ATR-based stop
- Manual Integration: Requires constant mental calculation and cross-referencing
🧮 DETAILED CALCULATION METHODOLOGY:
=================================
📏 ATR (AVERAGE TRUE RANGE) CALCULATION:
- True Range = Maximum of:
1. Current High - Current Low
2. Absolute value of (Current High - Previous Close)
3. Absolute value of (Current Low - Previous Close)
- ATR = Simple Moving Average of True Range over specified period (default: 14)
📊 DYNAMIC ATR BANDS:
- Upper Band = Current Close + (ATR × Band Multiplier)
- Lower Band = Current Close - (ATR × Band Multiplier)
- Band 1: 1.0× ATR (closest support/resistance)
- Band 2: 2.0× ATR (intermediate zone)
- Band 3: 3.0× ATR (extended zone)
🌡️ VOLATILITY REGIME CLASSIFICATION:
Step 1: Calculate ATR Baseline
- Baseline ATR = SMA or EMA of ATR over long period (default: 50 bars)
- This represents "normal" volatility for the instrument
Step 2: Calculate ATR Ratio
- ATR Ratio = Current ATR ÷ Baseline ATR
- Example: If current ATR = 70 and baseline = 50, ratio = 1.40
Step 3: Classify Regime Based on Ratio
- COMPRESSION: Ratio < 0.70 (ATR is 30% below normal)
Market consolidating, volatility contracting, energy building
- EXPANSION: Ratio between 1.15 and 1.40 (ATR is 15-40% above normal)
Volatility breaking out, early phase of directional movement
- HIGH VOLATILITY: Ratio > 1.40 (ATR is 40%+ above normal)
Strong sustained trend with high participation
- EXHAUSTION: ATR declining after high volatility period
Requires: Previous high ratio + declining ATR over X bars (default: 5)
Trend maturity, potential reversal or consolidation approaching
🛑 DYNAMIC STOP LOSS CALCULATION:
- For Long Positions: Stop Loss = Entry Price - (ATR × SL Multiplier)
- For Short Positions: Stop Loss = Entry Price + (ATR × SL Multiplier)
- Default Multiplier: 2.0× ATR
- Adjusts automatically: Wider in high volatility, tighter in compression
🎯 TAKE PROFIT LEVELS:
- TP1 = Entry Price ± (ATR × TP1 Multiplier)
- TP2 = Entry Price ± (ATR × TP2 Multiplier)
- TP3 = Entry Price ± (ATR × TP3 Multiplier)
- Direction (+ or -) depends on trade direction
📦 POSITION SIZE CALCULATION:
Formula: Position Size = Account Risk Amount ÷ Stop Loss Distance
Step-by-step:
1. Risk Amount = Account Size × (Risk Percentage ÷ 100)
2. Stop Distance = |Entry Price - Stop Loss Price|
3. Position Size = Risk Amount ÷ Stop Distance
📈 ATR PERCENTILE RANKING:
- >80% = Extremely high volatility
- 20-80% = Normal volatility range
- <20% = Extremely low volatility
🌀 VOLATILITY CONTRACTION PATTERN:
Detects extended low-volatility periods indicating imminent breakout.
🧭 TREND DETECTION SIGNALS:
Bullish: Price > MA AND Current ATR > ATR MA
Bearish: Price < MA AND Current ATR > ATR MA
⚡ VOLATILITY BREAKOUT SIGNALS:
Triggered when ATR exceeds its moving average by a defined threshold.
🧩 CORE FEATURES:
==============
1. ATR BANDS (Dynamic Support/Resistance)
2. VOLATILITY REGIME DETECTION
3. DYNAMIC STOP LOSS SYSTEM
4. MULTIPLE TAKE PROFIT LEVELS
5. SUPPORT & RESISTANCE LEVELS
6. RISK MANAGEMENT CALCULATOR
7. ATR PERCENTILE RANKING
8. VOLATILITY CONTRACTION PATTERN
9. TREND DETECTION SIGNALS
10. VOLATILITY BREAKOUT SIGNALS
⚙️ RECOMMENDED SETTINGS BY TRADING STYLE:
======================================
DAY TRADING • SWING TRADING • POSITION TRADING • SCALPING
📘 HOW TO USE THIS INDICATOR:
==========================
STEP 1: Identify Market Regime
STEP 2: Wait for Entry Signal
STEP 3: Set Stop Loss
STEP 4: Set Take Profits
STEP 5: Position Sizing
STEP 6: Monitor & Manage
🔔 ALERT SYSTEM:
=============
Alerts for volatility breakouts, trend changes, regime transitions,
ATR band crossings, contraction completion, and percentile extremes.
🎨 CUSTOMIZATION:
==============
All visuals, thresholds, multipliers, colors, alerts, and risk parameters
can be fully customized.
⚠️ IMPORTANT DISCLAIMER:
=====================
This indicator is a volatility analysis tool and does NOT provide financial advice.
Past performance does not guarantee future results.
All trading involves substantial risk.
All trading decisions are the sole responsibility of the user.






















