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
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.
Pro Scalper MTF Elite Strategy v1.0.0
Pro Scalper MTF Elite Strategy v1.0.0
What is this script?
This is an advanced, institutional-grade multi-timeframe (MTF) scalping and swing trading strategy for TradingView. It integrates multiple professional trading concepts—including Smart Money Concepts (SMC/SMT), price action, trend, momentum, and volume analysis—into a single, easy-to-use tool. The script is designed for traders who want robust, rules-based entries and exits, with built-in risk management and dynamic position sizing.
Key Concepts Integrated
Smart Money Concepts (SMC/SMT): Includes liquidity sweeps, order blocks, fair value gaps (FVG), and market structure breaks (MSB).
Price Action: Detects swing highs/lows, candle patterns, and support/resistance zones.
Trend Analysis: Uses EMAs, VWAP, and higher timeframe trend confirmation.
Momentum: Incorporates MACD and RSI for momentum filtering.
Volume : Identifies volume spikes for additional confluence.
Multi-Factor Confluence: Signals are generated only when multiple factors align, increasing reliability and reducing false signals.
How does it work?
- The strategy continuously scans for confluence between SMC/SMT signals, price action, trend, momentum, and volume.
- Each factor is scored, and only high-confluence setups trigger trade signals.
- Risk management is fully automated: you set your risk per trade, and the script calculates stop loss, take profits, and position size.
- Advanced features include trailing stops, breakeven logic, dynamic targets, and adaptive filters for different market regimes.
How to use
1. Add the script to your chart.
2. Adjust settings in the Inputs panel:
- By default, liquidity zones and support/resistance are OFF for a clean chart. Enable “Show Liquidity Zones (By TF)” and “Show S/R Zones” in the Visuals section to see SMT/SMC features.
- Set your account size and risk % for proper position sizing.
- Choose your preferred risk management and signal filtering options.
3. **Look for BUY/SELL labels on the chart.**
- These indicate high-confluence trade entries.
- The script will plot stop loss and take profit levels.
4. **Use the built-in strategy tester to review historical performance.**
5. **Set up alerts:** See below for details.
Features & Settings Explained
- Risk Management : Fixed % risk per trade, dynamic position sizing, trailing stops, breakeven, and adaptive targets.
- Signal Logic: Multi-factor scoring, cluster confluence, aggressive mode, candle color filter, and high conviction options.
- Advanced Filters: Bias gate, ambiguity skip, cooldown, adaptive stop modes, dynamic regime adjustment.
- Session & Volatility : Session filter, volatility gate, and dynamic position sizing.
- Visuals: All major overlays (liquidity, S/R, order blocks, FVGs, etc.) are OFF by default for clarity. Enable as needed in the Visuals section.
- Dashboard (Debug Panel): Built-in dashboard displays key signal metrics, scores, cluster counts, regime status, and trigger states directly on the chart. Enable it in the Visuals section by setting “Debug Panel Mode” to “Lite” or “Extended” and choose its position with “Debug Panel Position.”
- **Performance Tweaks:** Light MTF mode, max boxes/labels, and more.
How to enable SMT/SMC features
- Enable “Show Liquidity Zones (By TF)” for liquidity zones (SMT/SMC).
- Enable “Show S/R Zones” for support/resistance.
- Enable “Show Order Blocks” and “Show FVG” for order block and fair value gap visualization.
How to set alerts (Strategy Script)
On TradingView, strategy scripts do not allow you to select specific conditions like “Entry Buy” or “Entry Sell” in the alert dialog. Instead, you can only set a single alert for the entire strategy. Here’s how to do it:
1. Add the strategy to your chart.
2. Click the “Add Alert” (clock) icon at the top of TradingView.
3. In the alert dialog, select the strategy name as the condition (you will not see separate options for Entry Buy or Entry Sell).
4. The alert will trigger whenever the script generates a new buy or sell signal (as defined by the alert() function in the script).
5. Set your preferred alert actions (popup, email, webhook, etc.) and click “Create”.
Note: If you want separate alerts for buy and sell signals, you would need to use a companion indicator version of the script.
What strategy is this? How does it help?
This is a multi-factor, multi-timeframe confluence strategy. It helps traders by:
- Automating complex SMC/SMT and price action analysis.
- Managing risk and position size for you.
- Providing clear, actionable trade signals only when multiple factors align.
- Adapting to changing market regimes (trend/chop/volatility).
- Reducing emotional trading and overtrading.
Timeframes
- Works best on 5m, 15m, 30m, and 1H charts.
- Can be used on higher timeframes for swing trading.
- Lower timeframes (1m, 3m) may be noisier.
Does it repaint?
- The script is designed to avoid repainting. Signals are generated using confirmed bar data.
- Optional “Repaint Audit” mode is available for testing.
- Visual overlays (zones, FVGs, etc.) may update as new bars form, but trade signals do not repaint.
How long do signals show?
- Signals remain on the chart as long as the trade is active or until the next signal.
- Visual zones fade after a set number of bars (configurable).
---
Supplemental Information
Author
- Script by lava_javaforum (Institutional Enhancement Strategy Variant).
- For support, contact via TradingView or the invite-only group.
Risk Management & Position Sizing
- All trades use fixed % risk per trade.
- Position size is calculated automatically.
- Dynamic sizing increases with higher conviction.
Track Record
- This is a strategy script with built-in backtesting.
- Past performance is shown in the TradingView strategy tester.
- No guarantee of future results; always forward-test before live trading.
Markets
- Designed for stocks, indices, futures, and options.
- Works on any liquid market and timeframe.
Leverage
- The script does not recommend or require leverage.
- Use leverage at your own risk.
Backtesting
- Fully backtestable in TradingView.
- Use the strategy tester to review historical performance.
Support
- Support is available for invite-only users.
- Contact the author for questions or troubleshooting.
Community
- You may contact other users in the invite-only group for feedback and tips.
Trial
- A trial period may be available for select users. Contact the author for details.
---
Disclaimer
This script is for educational and informational purposes only. It is NOT financial advice. Trading involves risk, and you should only trade with money you can afford to lose. Past performance does not guarantee future results. Always do your own research and consult a financial advisor if needed.
---
If you have any questions or need help with settings, contact the author directly. Happy trading!
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.
Adaptive Strength Overlay (MTF) [BackQuant]Adaptive Strength Overlay (MTF)
A multi-timeframe RSI strength visualizer that projects oscillator “pressure” directly onto price using adaptive gradient fills between percent bands. Built to make strength, exhaustion, and regime context readable at a glance, without needing to stare at a separate oscillator panel.
Mean-Reversion mode example
What this indicator does
This indicator converts RSI strength into a chart overlay that reacts to momentum and extremes, then visualizes it as colored “pressure zones” around price.
Instead of plotting RSI in a sub-window, it:
Builds 1 to 3 symmetric percent bands above and below price.
Computes RSI strength on up to 3 different timeframes (MTF).
Smooths RSI with your selected moving average type.
Maps RSI values into discrete transparency “buckets”.
Fills between the bands with a gradient whose opacity reflects strength or exhaustion.
Displays a compact RSI table for all enabled timeframes.
Provides alert conditions for extremes and midline shifts on each timeframe.
The result is an overlay that looks like a dynamic envelope. When strength rises, the envelope “lights up” in the direction of the move. When strength becomes stretched, the outer zones become visually prominent.
Core idea: “Strength as an overlay”
RSI is normally interpreted in a separate oscillator panel. That makes context-switching slow:
You check price action.
You look down at RSI.
You mentally translate RSI into risk or trend bias.
This script removes that translation step by projecting strength directly onto the price area, using band fills as a visual language:
More visible fill = stronger strength or more extreme condition (depending on mode).
Less visible fill = weak strength or neutral state.
Two operating modes
1) Trend mode
Trend mode emphasizes strength aligned with direction:
When RSI is strong on the upside, upper bands become more visible.
When RSI is strong on the downside, lower bands become more visible.
Neutral RSI fades, so the chart de-clutters during chop.
Use Trend mode when:
You want a clean trend-following overlay.
You want to quickly see which timeframe(s) are powering the move.
You want to filter entries to moments when strength confirms direction.
2) Mean-Reversion mode
Mean-Reversion mode flips the emphasis to highlight exhaustion against the move :
Upper extremes become a “potential exhaustion” cue.
Lower extremes become a “potential exhaustion” cue.
The overlay is tuned to make stretched conditions obvious.
This is not an automatic “short overbought / long oversold” system. It is a visualization mode that makes “extended” conditions stand out faster, especially when multiple timeframes align.
How the bands work (Percent Bands)
The indicator constructs up to three symmetric envelopes around price:
Band 1: percent1 scaled by scale
Band 2: percent2 scaled by scale (optional)
Band 3: percent3 scaled by scale (optional)
The percent bands are simple deviations from the selected price source:
Upper = price * (1 + (percent * scaling)/100)
Lower = price * (1 - (percent * scaling)/100)
Why this matters:
It anchors “strength visualization” to meaningful price distance.
It makes the overlay comparable across assets because it’s percent-based.
It gives you a consistent spatial frame for reading momentum versus extension.
Multi-timeframe engine (MTF)
The script runs the same strength calculation on up to three timeframes:
Timeframe 1 uses the chart timeframe by default (empty string input).
Timeframe 2 is optional and defaults to Daily.
Timeframe 3 is optional and defaults to Weekly.
Each timeframe has:
Its own RSI period (len, len2, len3).
Its own smoothing length (slen, slen2, slen3).
The same smoothing type selection (EMA, HMA, etc).
This creates a layered view:
TF1 often reflects tactical pressure (entries/exits).
TF2 reflects structural pressure (swing context).
TF3 reflects macro bias (regime context).
When multiple timeframes agree, the fills stack and the overlay becomes visually louder. When they disagree, the overlay looks mixed or muted, which is exactly the point.
Smoothing options (why so many)
Raw RSI can be noisy. This script lets you smooth RSI with multiple MA types, which changes how “responsive” the overlay feels:
EMA/RMA smooth without lagging as hard as SMA.
HMA responds faster but can be twitchy.
LINREG can feel more “structural”.
ALMA and T3/TEMA provide heavier smoothing profiles with different lag characteristics.
This isn’t cosmetic. Your smoothing choice affects:
How early the overlay “lights up” in Trend mode.
How long extremes remain highlighted in Mean-Reversion mode.
How often fills flicker in chop.
Strength mapping (the transparency buckets)
Instead of mapping RSI to a continuous color scale, the script uses a discrete transparency ladder. That creates a clean, readable visual that avoids constant flickering.
The logic assigns two transparency values per timeframe:
Upper-side transparency responds to lower RSI zones (weak upside strength).
Lower-side transparency responds to higher RSI zones (strong upside strength).
Then the script uses those transparencies differently depending on mode:
Trend mode shows “strength aligned with direction”.
Mean-Reversion mode swaps the emphasis so “extremes” stand out as potential stretch.
You can think of it as:
Trend mode highlights continuation strength.
Mean-Reversion mode highlights potential exhaustion.
Fill stacking (how the overlay is built)
The overlay uses layered fills:
Fill from price to Band 1
Fill from Band 1 to Band 2 (if enabled)
Fill from Band 2 to Band 3 (if enabled)
Upper side uses the negative color (typically red) and lower side uses the positive color (typically green), because upper bands represent “above price” space and lower bands represent “below price” space. The intensity is controlled by the computed transparency per timeframe and selected mode.
Important behavior:
Disabling Band 2 or Band 3 can change how the stacked fills look, because you are removing fill segments.
If you want a clean look, run only Band 1.
If you want a “regime heat” look, run Bands 1–3 with higher scaling.
Table (MTF RSI dashboard)
A compact table prints RSI values for each configured timeframe:
Row labels show TF.
Values show the smoothed RSI output that drives the overlay.
Use it for quick confirmation:
If overlay looks strong but table RSI is neutral, your band settings might be too tight.
If TF3 RSI is extreme while TF1 is neutral, you are likely in a macro stretched regime with local consolidation.
Alerts (built-in)
Alerts are provided for each timeframe separately, covering:
Entering upper extreme (cross above 70)
Exiting upper extreme (cross below 70)
Entering lower extreme (cross below 30)
Exiting lower extreme (cross above 30)
Bullish midline cross (cross above 50)
Bearish midline cross (cross below 50)
This enables workflows like:
Notify when TF2 enters extreme, then wait for TF1 mean-reversion confirmation.
Notify when TF3 crosses midline, then only take TF1 trend setups in that direction.
How to use it (practical reads)
Trend mode reads
Strong continuation: TF1 and TF2 fills become clearly visible on the same side.
Healthy pullback: TF1 fades but TF2 stays visible, suggesting underlying structure remains strong.
Chop warning: fills alternate or remain mostly invisible, indicating neutral strength.
Mean-Reversion mode reads
Exhaustion zones: outer fills become prominent near the extremes, signaling stretched conditions.
Compression after extreme: fill fades while price stabilizes, suggesting “cooling off” rather than immediate reversal.
Multi-TF stretch: TF2 and TF3 extremes together often mark higher significance zones.
Recommended setup presets
Preset A: Clean trend overlay
Mode: Trend
Bands: only Band 1
Scale: 1–2
Smoothing: EMA, moderate slen (6–10)
TF2: Daily on intraday charts
Preset B: Regime and exhaustion mapper
Mode: Mean-Reversion
Bands: Bands 1–3
Scale: 2–4
Smoothing: T3 or RMA, slightly higher slen
TF2: Daily, TF3: Weekly
Limitations
This is a strength visualization tool, not a full entry/exit system.
Percent bands are not volatility-adjusted, they are distance frames. In very high vol conditions, you may need higher band percentages or higher scaling.
MTF values update on their own timeframe closes, so higher timeframes will step rather than update every bar.
Tabla de EMA's y TimeframesGraphic and permanent representation of the trend of an action/CFD/stock/crypto, directly related to the technical analysis of its EMA's.
Polynomial Regression Channel [ChartPrime]⯁ OVERVIEW
The Polynomial Regression Channel fits price action using advanced polynomial regression, extending beyond simple linear or logarithmic models. By leveraging matrix calculations, it builds a curved regression line that adapts to swings more naturally. The channel includes extrapolated forward projections, helping traders visualize where price may gravitate in the near future. Midline color shifts reflect directional bias, while prediction ranges are marked with dashed extensions, labeled prices, and a live table for clarity.
⯁ KEY FEATURES
Polynomial Regression Core:
Uses matrix algebra to calculate a polynomial fit of customizable degree, adapting to complex, non-linear market structures.
polyreg(source, length, degree, extrapolate) =>
total = length + extrapolate
X_all = matrix.new(total, degree + 1, 0.0)
for i = 0 to total - 1
for j = 0 to degree
matrix.set(X_all, i, j, math.pow(i, j))
// y (length × 1), oldest→newest over the fit window
y = matrix.new(length, 1, 0.0)
for i = 0 to length - 1
matrix.set(y, i, 0, source )
// X_train (first `length` rows of X_all)
X_tr = matrix.new(length, degree + 1, 0.0)
for i = 0 to length - 1
for j = 0 to degree
matrix.set(X_tr, i, j, matrix.get(X_all, i, j))
// OLS via normal equations: (X'X)^(-1)b = X'y ⇒ b = (X'X)^(-1) X'y
Xt = matrix.transpose(X_tr) // X'
XtX = matrix.mult(Xt, X_tr) // (X'X)
Xty = matrix.mult(Xt, y) // X'y
XtX_inv = matrix.inv(XtX) // (X'X)^(-1)
b = matrix.mult(XtX_inv, Xty) // b = (X'X)^(-1) X'y
// Predictions for all rows (fit + extrap)
preds = matrix.mult(X_all, matrix.col(b,0))
preds
Extrapolated Future Projections:
Forward-looking range (dashed lines + circular markers) shows where the fitted polynomial suggests price may move.
Dynamic Midline Coloring:
Regression midline shifts green when slope turns upward and magenta when slope turns downward, giving instant directional context.
Channel Boundaries:
Upper and lower levels expand from the midline using a volatility-based offset, framing potential overbought and oversold conditions.
Top-Right Data Table:
A live table displays Upper, Middle, and Lower Prediction values, updating in real time for quick reference without scanning the chart.
⯁ USAGE
Use the regression midline to gauge underlying market bias; green slopes suggest continuation, magenta slopes caution for weakness.
Watch dashed extrapolated ranges as potential targets or reaction zones during upcoming sessions.
Price labels and table values act as precise reference levels for planning entries, exits, or stop placement.
Increase Degree for more curve-fitting on choppy markets, or keep it low for broader trend approximation.
Adjust Period and Extrapolate length to balance stability vs. responsiveness.
⯁ CONCLUSION
The Polynomial Regression Channel offers a mathematically advanced way to visualize price trends and anticipate future paths. With matrix-driven polynomial fitting, extrapolated projections, and integrated live labels, it combines statistical rigor with practical trading visuals — a robust upgrade over standard regression channels.






















