Trend Signal Pro v2.1Trend Signal Pro is a technical analysis indicator designed to help traders
identify market trend direction and potential entry points.
The indicator analyzes price behavior using standard candlestick data
and applies trend-filtering logic to reduce false signals during
sideways market conditions.
Signals are generated only when multiple internal conditions align,
making it suitable for intraday and swing trading across different markets.
This indicator does not repaint and should be used as a decision-support tool,
not as a standalone trading system. Proper risk management is advised.
移動平均線
DJ's Macro Catch-Up (BTC/NDX Ratio)Calculates the BTC/NDX ratio and plots the ratio line (white line)
Highlights the Background in Green specifically when a Bullish Divergence forms (Ratio makes a Lower Low, but RSI makes a Higher Low).
Look for the Green Zones: Don't buy in the green zone blindly. Wait for the White Line (Ratio) to cross above the Yellow Line (50 EMA). That is your confirmation that the rotation has started.
VWAP Pullback + EMA Stack + SAR (TIGHT) PROFIT LOCKVWAP Script with all kinds of toggles and settings please use it and play around with it.
SMA Extensions Table 3extension in ADR and % from SMAs, to gauge measures of extension to assist with swing trade exits and mean reversiont rades
EMA Exhaustion + ContinuationA fast, mechanical scalping system that detects EMA exhaustion, filters with RSI, and manages exits plus continuations.
This indicator is designed for ultra‑short timeframe scalping, where speed and clarity matter more than anything else. It combines three core elements into one mechanical workflow:
- EMA Spread Exhaustion
The system measures the distance between fast and slow EMAs relative to ATR. When the spread reaches extreme levels and then begins to contract, it signals exhaustion — the point where momentum is likely to stall or reverse. This gives traders a structural way to identify setups without relying on subjective “feel.”
- RSI Filter (Accelerated for Scalping)
A shortened RSI (default length 7) is normalized by ATR to match the tempo of 15‑second scalps. This filter ensures that entries only trigger when momentum aligns with the exhaustion signal, reducing false positives and keeping trades in sync with volatility.
- Entry, Exit, and Continuation Logic
- Entries:
- Long entry triggers when spread retreats, EMA‑3 crosses price, and RSI confirms bearish exhaustion (RSI < 0).
- Short entry triggers under the opposite conditions (spread retreat, EMA‑3 cross, RSI > 0).
- Icons: Blue arrow up for longs, Red arrow down for shorts.
- Exits:
- Long exits occur when price closes below the 7 EMA smoothed by SMA‑2 while all EMAs are still sloping upward.
- Icon: Yellow cross above the candle.
- Continuations:
- Long continuation triggers when price dips below EMA‑9 and then reclaims above it.
- Short continuation triggers when price closes above EMA‑9 and then reclaims below it.
- Icons: Green triangle up for long continuation, Purple triangle down for short continuation.
----------------------------------------------------------------------------------------
- Apply the indicator to your chart. I use 15 second chart
- Watch for blue/red arrows — these are your primary entry signals.
- Respect yellow crosses — they mark mechanical exit points.
- Use green/purple triangles to re‑engage continuation trades after shallow pullbacks. I only take the first continuation signal above/below the 20 EMA.
- Keep the RSI filter active to avoid chasing false setups.
- Combine with your risk management rules (position sizing, stop placement) for full system integrity.
SMC Wave Sentinel v4.1 - Precision Trend Engine (by ChatGPT)Wave Sentinel v4.1 – Precision Trend Engine (by ChatGPT)
Wave Sentinel v4.1 is a precision-engineered scalping and trend detection system that combines adaptive multi-EMA logic with synchronized Profit Wave visualization.
Designed collaboratively with ChatGPT (2026), this system focuses on precision, responsiveness, and visual clarity for active traders.
Features:
• Adaptive multi-EMA trend detection
• Profit Wave visualization with top/bottom zones
• Single active signal logic (reduces false flips)
• Adaptive background trend filtering
• Customizable colors, alerts, and visual styles
Optimized for 15-second to 1-minute charts, but adaptable to any timeframe.
Built for scalpers, momentum traders, and algorithmic developers who value speed, structure, and visual precision.
Axiom Flow: Donsma NQ/MNQ - 5 Min TFThis is a proprietary algorithmic trading framework engineered specifically for the Mini and
Micro Nasdaq (MNQ) futures market on the 5-minute timeframe. Designed for the modern quantitative trader, this system filters market noise to identify high-probability momentum expansions during key liquidity windows.
Unlike standard indicators that repaint or lag, this framework utilizes a "Confirmed Close" logic engine, meaning it waits for structural validation before signaling an entry. It is designed to be a complete decision-support system, automating the complex analysis of trend alignment, volatility, and momentum.
How It Works (The Logic) The system relies on a 4-Stage Verification Protocol:
Structural Trend Validation: Uses a proprietary dual-layer breakout logic to ensure price is not just fluctuating within a range but has broken significant structural resistance or support levels.
Volatility Compression Filter: Entries are restricted to periods of specific volatility conditions. The system identifies "energy build-up" phases and triggers only when statistical probability favors an expansion (breakout), avoiding over-extended markets.
The "Anti-Chop" Protocol: A custom-built filter measures the efficiency of price movement. If the market is "chopping" sideways with low directional energy, the system remains neutral, protecting capital from false signals common in range-bound environments.
Velocity Override: A secondary high-impact logic layer detects institutional volume flow and rapid price displacement, allowing the strategy to capture fast-moving news events that standard trend filters might miss.
Risk Management (Automated)
Fixed Risk Sizing: The logic is calibrated for 1-Contract fixed sizing to demonstrate raw performance consistency.
Adaptive Profit Targets: Unlike static targets, this system uses Dynamic Volatility Scoring to calculate profit objectives. It aims for larger runners during high-volatility sessions and banks tighter profits during slower sessions.
Liquidity Window Lock: Execution is hardcoded to the New York Session (Open to Lunch) to ensure maximum liquidity and reduce slippage risks.
Disclaimer This script is for educational and backtesting purposes only. Past performance in the strategy tester is not indicative of future results. Trading futures and derivatives involves substantial risk of loss and is not suitable for every investor. This tool is designed to assist your own technical analysis, not to replace independent judgment.
Moving Average RibbonAs used in Extended EMA - M and Ws.
Displays 3 EMAs by default. 50, 100, 200. These can be used to assess the distance fromn the neckline in an M and W strategy.
Desk Alerts: AMD / PLTR / NVDA (VWAP + EMA + Volume)Desk Alerts: AMD / PLTR / NVDA (VWAP + EMA + Volume)
Structure Lines + BOS (3-Candle Wick Swings)FOLLOW: THE_TRADING_SNIPER
THE SNIPER StructureThis indicator automatically identifies market structure using a 3-candle swing-point model based on WICKS, then projects orange structure lines and detects Break of Structure (BOS) when price closes through them.
It is designed to match real price behavior, not lagging indicators. Lines + BOS (3-Candle Wick Swings)
25 EMA High-Low Band with 200 EMA by Basanta25 EMA High-Low Band with 200 EMA by Basanta.
This indicator is purely for Trend Trading by observing the Exponential moving average 200.
When the price is above EMA 200 it is considered Bullish and When the price is below EMA 200 it is considered Bearish. Entry will be made in pullback of 25 EMA.
Support & Resistance with MA Ribbons LITE Support & Resistance with MA Ribbon LITE
Overview
Support & Resistance with MA Ribbon LITE is a technical analysis indicator for TradingView that combines a flexible Moving Average (MA) Ribbon with a dynamic Support & Resistance (S/R) system.
The indicator is designed as a visual decision-support tool, allowing traders to evaluate trend structure, momentum context, and key price reaction zones within a single, uncluttered chart overlay.
This script is published as open source under the Mozilla Public License 2.0 , encouraging transparency, learning, and community-driven development.
Core Components
1. Moving Average Ribbon System
The MA Ribbon consists of two configurable moving averages (Fast and Slow) with multiple calculation and smoothing options, including:
EMA, SMA, WMA, VWMA
DEMA, TEMA, Zero-Lag EMA
Hull MA, Linear Regression MA
Super Smoother, Smoothed MA, Laguerre MA
Key features include:
Trend-aware ribbon fill (bullish / bearish)
Optional candle coloring aligned with ribbon state
Minute-based anchor timeframe logic for consistent trend structure
Optional MA cross, swing, and continuation markers
Alert support for MA-related events
The MA Ribbon is intended to provide trend context , not standalone trade signals.
2. Support & Resistance Engine
The Support & Resistance system is based on pivot structure analysis and dynamically adapts to new price data.
Features include:
Main and strong support/resistance levels
Up to 12 active levels displayed on the chart
Preset sensitivities (Scalp, Intraday, Swing) and custom configuration
Optional multi-timeframe (MTF) level detection
Adaptive labels with automatic contrast handling
Optional strength filtering based on historical interactions
Optional heat map visualization reflecting level interaction frequency
All levels are plotted directly on the price chart for immediate contextual reference.
Alert System
The script includes a configurable alert framework covering:
Main and strong level touches
Breakouts and breakdowns
Retests of broken levels
Optional rejection detection (wick beyond a level with close back inside)
Cooldown logic to limit repeated alerts in consolidation phases
Alerts are informational only and should always be confirmed visually.
Customization & Performance
Unified color presets (Classic, Aqua, Cosmic, Ember, Neon, Custom)
Independent opacity control for MA Ribbon and candles
Modular on/off controls for MA Ribbon and S/R components
Optimized plotting to remain within TradingView limits
Designed for stable performance across lower and higher timeframes
Intended Use
This indicator is designed to assist with chart interpretation and market structure analysis. It may help users:
Identify prevailing trend conditions
Observe price behavior around structurally relevant levels
Combine trend context with horizontal market structure
Reduce chart clutter by consolidating multiple concepts into one script
This indicator is not a trading strategy, does not provide financial advice, and should be used alongside independent analysis and appropriate risk management.
How to Use
1. Chart Setup
Add the indicator to any chart and timeframe.
Both the MA Ribbon and Support & Resistance systems are enabled by default and can be managed independently via the Master Controls section.
General guidance:
Higher timeframes for structural context
Lower timeframes for execution and refinement
Applicable across different markets and instruments
2. Using the MA Ribbon
The MA Ribbon visualizes trend direction and momentum context.
General interpretation:
Price above both MAs → bullish bias
Price below both MAs → bearish bias
Ribbon color reflects trend alignment
Ribbon compression may indicate consolidation or transition
Optional features include candle coloring, MA cross markers, and filtered continuation arrows.
Best practice:
Use the MA Ribbon to identify the market regime before reacting to support or resistance levels.
MA Ribbon – Minute-Based Timeframe Logic
Anchor Timeframe (Minutes)
Anchors MA calculations to a fixed timeframe expressed in minutes.
Examples:
60 = 1 hour
240 = 4 hours
0 = use current chart timeframe
How It Works
The anchor automatically scales MA lengths so that the same trend structure is preserved across different chart timeframes.
Example (Anchor = 60):
5-minute chart → follows 1-hour structure
15-minute chart → follows the same 1-hour structure
1-hour chart → standard calculation
Show Ribbon Only If Chart TF > Anchor
Optionally hides the MA Ribbon on chart timeframes lower than the anchor to reduce visual noise.
3. Using Support & Resistance Levels
Support and resistance levels are derived from pivot structures and update dynamically.
Level types:
Main Support / Resistance (most recent and relevant)
Strong Support / Resistance (confirmed pivots)
Additional historical levels (up to 12 total)
Usage guidelines:
Focus on price behavior around levels rather than exact prices
Combine level reactions with MA Ribbon trend context
Use strength filtering to reduce weaker levels
Heat map mode highlights frequently interacted zones
4. Combining Trend and Structure
The indicator is most effective when both systems are used together:
In uptrends, focus on reactions near support
In downtrends, focus on reactions near resistance
Breakouts are more relevant when aligned with trend context
Retests gain importance when structure and trend agree
Customization Tips
Use preset sensitivities (Scalp / Intraday / Swing) for quick setup
Enable MTF S/R to reference higher-timeframe structure
Adjust label size, offset, and precision for readability
Disable unused components to improve performance on lower-end systems
This combined view helps improve contextual clarity and reduce noise.
5. Alerts Usage
Alerts are optional and fully configurable.
Cooldown settings can be used to limit repeated notifications during ranging conditions.
All alerts are informational and should be visually validated.
Open Source & Credits
This script is released as open source under the Mozilla Public License 2.0.
Parts of the MA Ribbon logic and conceptual inspiration are derived from publicly shared work by JustUncleL on TradingView.
Respect and thanks are extended for these contributions.
You are free to:
Study the code
Modify it for personal use
Share improvements under the same license terms
Disclaimer
This indicator is provided for educational and informational purposes only.
No guarantees are made regarding accuracy, performance, or outcomes.
Use at your own discretion.
Crypto MA Crossover indicator v0.1Research I conducted has shown that using moving average crossovers to determine when going long a cryptocurrency (or otherwise going to cash) performs better than both buy-and-hold as other similar strategies (e.g., going long when price crossover over moving averages).
Adaptive moving average strategy paper with full backtests
This indicator shows if a given cryptocurrency is in a state where the best-performing moving averages have crossed over. It also shows the specific moving average settings for each cryptocurrency.
Note: you will have to edit the script to update the coins and moving average settings manually.
Continuity ContextContinuity Context
Continuity Context is a multi-timeframe market-context indicator designed to help assess whether trend structure is aligned or fragmented across daily, weekly, and monthly timeframes. It does not generate trade signals and is intended for informational and analytical use only.
The indicator evaluates whether price is holding above a rising moving average on each timeframe and optionally confirms leadership using a weekly relative-strength comparison versus a benchmark. The objective is to highlight periods of strong structural continuity versus periods where alignment is weakening or conflicted.
This tool is designed to support context awareness, watchlist filtering, and higher-timeframe confirmation alongside your own entries, exits, and risk management rules.
________________________________________
What It Evaluates
• Daily Continuity
Price above a rising daily moving average.
• Weekly Continuity
Price above a rising weekly moving average.
• Monthly Continuity
Price above a rising monthly moving average.
• Weekly Relative Strength (optional)
Indicates whether the symbol is trading near its recent relative-strength highs versus a benchmark.
Each condition contributes to a simple alignment score shown in the on-chart dashboard.
________________________________________
Dashboard Overview
The dashboard summarizes:
• Overall continuity tier (Full, Tactical, Repair, Conflict)
• Alignment posture (from high alignment to unfavorable)
• First condition currently failing, if any
• Daily, weekly, and monthly continuity status with streak length
• Composite alignment score
Green and red rows indicate whether individual conditions are currently satisfied, using confirmed bar-close data only.
________________________________________
How to Use
• Market context:
Assess whether trend structure is broadly aligned or becoming fragmented.
• Watchlist filtering:
Focus attention on symbols with stronger continuity and reduce focus on conflicted structures.
• Strategy confirmation:
Use as a higher-timeframe filter alongside your own entry and exit logic.
• Risk awareness:
Exercise additional caution when continuity weakens across higher timeframes.
________________________________________
How This Differs From EMA Cross Tools
Continuity Context does not rely on moving-average crossovers or signal timing. Instead, it evaluates whether trend structure remains consistently aligned across multiple timeframes, emphasizing durability and context rather than entries or exits.
________________________________________
Important Notes
• Indicator only — no orders are placed.
• All calculations are evaluated on confirmed bar close.
• No lookahead and no intentional repainting.
• Designed to provide context, not prediction or trading signals.
Big Move Predictor ProThis indicator uses support, resistance and EMA lines to predict accurately which way the market will go and will give you buy or sell signals. With backtest results of 67.5% this indicator is one the best free indicators you can use right now.
Price Extension Risk MonitorPrice Extension Risk Monitor
Price Extension Risk Monitor is a chart-overlay indicator designed to provide context on how extended price is relative to commonly used moving averages, using both volatility-adjusted and percentage-based distance measures.
The indicator evaluates price extension from two configurable moving averages and combines those distances into a normalized risk score. This helps users assess when price is relatively balanced, stretched, or increasingly vulnerable to mean reversion—without generating trade signals or placing orders.
What the indicator measures
• ATR-based extension: Distance between price and a primary moving average, normalized by ATR to account for volatility.
• Percent extension: Percentage distance between price and a secondary moving average.
• Extension score: A weighted blend of ATR and percent extension, scaled from 0 to 100 for consistency across instruments and timeframes.
Risk classification
Based on the extension score, the indicator classifies price context into simple descriptive states:
• Normal: Price is within typical extension bounds.
• Caution: Extension is elevated and worth monitoring.
• Reversal Risk: Extension is high relative to configured thresholds.
These labels are descriptive only and are not predictions or trade recommendations.
Visual output
• A compact table panel summarizes:
o ATR extension (with reference MA)
o Percent extension (with reference MA)
o Combined extension score
o Current risk status
• The panel location, text size, and color behavior are user-configurable.
• No lines, markers, or bar coloring are drawn on the chart to keep the display unobtrusive.
Alerts
Optional alerts notify when:
• ATR-based extension exceeds its threshold
• Percent-based extension exceeds its threshold
• Overall extension risk becomes elevated
Alerts are evaluated on confirmed bars.
Intended use
This indicator is designed as a risk and context tool, not a standalone trading system. It can be used alongside trend analysis, structure, or other indicators to help interpret how stretched price may be relative to recent behavior.
Notes
• Indicator only — no orders are placed.
• Designed for bar-close confirmation; values may update on realtime (forming) bars.
• Multi-timeframe values use request.security() with lookahead disabled.
• Educational and informational use only. Not financial advice.
MA Types - Auto OptimizedThis indicator is a comprehensive Moving Average optimization engine designed to dynamically identify the most effective period for a selected Moving Average type (SMA, EMA, WMA, or RMA) based on historical price action. Unlike standard indicators that use a fixed length (e.g., a 50-period SMA) for the entire chart history, this script performs a "Walk-Forward" simulation on every bar to determine which period would have yielded the best risk-adjusted returns for a Long-Only strategy up to that specific moment.
The core concept is to adapt to changing market volatility and trends by mathematically scoring different lookback periods and projecting the "winner" onto the chart.
How It Works
The script runs an internal simulation loop for every candle, testing a range of periods (defined by the user, e.g., 2 to 50). For each period p in that range, it tracks a theoretical trading account that executes trades based on crossovers of that specific MA.
Simulation: It calculates the MA value for every period in the range using manual math implementations (to allow for dynamic length processing).
Trade Logic (Long Only):
Buy Signal: Simulates opening a Long position when the price crosses over the MA.
Sell Signal: Simulates closing the Long position when the price crosses under the MA.
Scoring: It calculates a "Score" for each period based on Net Profit, Drawdown, and Profit Factor.
Selection: The period with the highest score is selected as the "Best Period" for the current bar.
Visualization: The indicator plots the MA value of that winning period. This creates a composite "Optimized MA Line" that shifts its length as market conditions change.
Features & Settings
MA Types: Choose between Simple (SMA), Exponential (EMA), Weighted (WMA), and Relative (RMA) Moving Averages.
Optimization Range: Define the Min Period and Max Period to constrain the search space (e.g., searching for the best MA between 10 and 200).
Risk Management: Inputs for Initial Capital, Quantity %, and Commission % allow the simulation to account for trading costs and position sizing, ensuring the "Best Period" isn't selected based on unrealistic friction-less trading.
Dashboard: A table in the bottom right displays the performance metrics of the currently selected "Best Period," including Net Profit, Max Drawdown, Win Rate, and Profit Factor.
Pros and Cons
Pros:
Adaptability: The indicator adjusts to the market phase. It might select a fast MA during strong trends to capture moves early, and a slower MA during chop to avoid false signals.
Data-Driven: Signals are based on mathematical performance metrics rather than arbitrary fixed numbers.
Visual Clarity: Provides a single line and clear Buy/Sell labels, reducing chart clutter compared to plotting multiple MAs.
Cons:
Repainting/Lag: While the indicator DOES NOT repaint past signals (it is a walk-forward analysis), the "Best Period" can change from bar to bar. This means the MA line may appear "jagged" or shift character as the winner changes.
Curve Fitting: Because the script hunts for the best historical performance, there is an inherent risk of overfitting to past data. The "best" period of the past 100 bars is not guaranteed to be the best for the next 10.
Processing Heavy: Calculating dozens of moving averages and tracking their theoretical equity curves on every bar is computationally intensive.
Screenshots & Examples
1. Bitcoin (BTC/USDT) - SMA Optimization
This example shows the script optimizing a Simple Moving Average (SMA) on Bitcoin. The dashboard indicates a "Best Period" of 125, resulting in a high Profit Factor.
2. Gold (XAU/USD) - SMA Intraday
Here, the script is applied to Gold on a 1-hour chart. The optimization engine adapts to the intraday volatility, selecting a longer period (188) to filter out noise.
3. Bitcoin (BTC/USD) - WMA Optimization
Using a Weighted Moving Average (WMA), the script captures the aggressive trend of Bitcoin. The WMA places more weight on recent data, often reacting faster than the SMA.
4. Silver (XAG/USD) - RMA Optimization
This chart demonstrates the Relative Moving Average (RMA) on Silver. The RMA is smoother and often used in RSI calculations; here it provides a steady trend-following line with a high win rate.
Usage Note
This script is intended as a trend-following tool for spot trading or long-biased strategies. It works best in trending markets and may produce whipsaws in ranging sideways markets. Always use it in conjunction with other forms of analysis, such as support/resistance or volume, to confirm signals.
Disclaimer
Not Financial Advice: This script and its description are for educational and informational purposes only. Nothing here constitutes financial, investment, or trading advice.
Risk Warning: Trading financial markets involves a high level of risk and may not be suitable for all investors. You should never trade with money you cannot afford to lose.
Past Performance: This tool relies on historical optimization ("curve fitting"). Please be aware that past performance is not indicative of future results. A Moving Average period that performed perfectly in the last 100 bars may fail completely in the next 100 bars due to changing market volatility and conditions.
Liability: The author assumes no responsibility or liability for any errors, omissions, or for any trading losses incurred from the use of this script. Always perform your own due diligence and use this tool as part of a broader risk management strategy.
Quality-Controlled Trend StrategyOverview
This strategy demonstrates a clean, execution-aware trend framework with fully isolated risk management.
Entry conditions and risk logic are intentionally separated so risk parameters can be adjusted without altering signal behavior.
All calculations are evaluated on confirmed bars to ensure backtest behavior reflects real-time execution.
Design intent
Many scripts mix entries and exits in ways that make results fragile or misleading.
This strategy focuses on structural clarity by enforcing:
confirmed-bar logic only
fixed and transparent risk handling
consistent indicator calculations
one position at a time
It is intended as a baseline framework rather than an optimized system.
Trading logic (high level)
Trend context
EMA 50 vs EMA 200 defines directional bias
Entry
Price alignment with EMA 50
RSI used as a momentum confirmation, not as an overbought/oversold signal
Risk management
Stop-loss based on ATR
Fixed risk–reward structure
Risk logic is isolated from entry logic
Editing risk without affecting signals
All stop-loss and take-profit calculations are handled in a dedicated block.
Users can adjust:
ATR length
stop-loss multiplier
risk–reward ratio
without modifying entry conditions.
This allows controlled experimentation while preserving signal integrity.
Usage notes
Results vary by market, timeframe, and volatility conditions.
This script is provided for testing and educational purposes and should be validated across multiple symbols and forward-tested before use in live environments.
TA Checklist and Kontext and VstupKontext a vstup pravidla TA, jednoduché věty pro vlastní vstup a přehled.
EMA BBEMA BB – Putting Them Together
Usually, instead of using SMA as the middle band for Bollinger Bands, some traders use EMA.
So EMA BB = Bollinger Bands with EMA as the middle line.
This makes the bands more responsive to recent price changes compared to SMA Bollinger Bands.
SPS TrendFlip Core【SPS TrendFlip Core】
本スクリプトは、相場のトレンド転換と現在の方向性を
視覚的に分かりやすく判断するためのメインチャート用インジケーターです。
■ 主な機能
・移動平均線(EMA / SMA)のクロスによるトレンド転換判定
・トレンド方向に応じたMAの色分け・塗り表示
・転換ポイントを縦帯と矢印で表示(チャートが潰れない設計)
・マルチタイムフレーム(MTF)移動平均線を最大3本まで表示可能
■ 使い方の概要
・トレンドの方向(上昇 / 下降)を判断するために使用します
・エントリータイミングの判断には、別途「SPS TrendFlip Entry」を併用してください
■ 注意
・本スクリプトは売買を直接指示するものではありません
・必ずご自身の判断とリスク管理のもとでご利用ください
--- English ---
This script is a main chart indicator designed to visually identify
trend reversals and the current market direction in a clear and intuitive way.
■ Key Features
・Trend reversal detection using moving average (EMA / SMA) crossovers
・Color-coded moving averages and filled zones based on trend direction
・Clear visualization of trend changes using vertical bands and arrows
(designed to avoid chart scaling issues)
・Up to three multi-timeframe (MTF) moving averages can be displayed
■ How to Use
・Use this indicator to determine the overall market trend (bullish / bearish)
・For entry timing, it is recommended to use this indicator together with
"SPS TrendFlip Entry"
■ Disclaimer
・This script does not provide direct buy or sell instructions
・Always apply your own judgment and proper risk management when trading
SMC + Dual UT Bot buy and sell AlertsMise a jour avec un EMA 20/50 et vwap
his script is a composite indicator for TradingView (Pine Script v5) that merges Smart Money Concepts (SMC) with a Dual-instance UT Bot. It has been styled with a high-contrast "Neon Cyberpunk" theme (Cyan/Pink) and is fully compliant with the CC BY-NC-SA 4.0 license.
Here is a breakdown of its two main components:
1. Smart Money Concepts (SMC)
This portion, originally by LuxAlgo, is designed to identify institutional price levels and structural market shifts. It provides a detailed map of market structure rather than simple entry/exit signals.
Market Structure (BOS & CHoCH):
BOS (Break of Structure): Marks trend continuation (e.g., breaking a higher high in an uptrend).
CHoCH (Change of Character): Marks potential trend reversals (e.g., the first time a higher low is broken in an uptrend).
Order Blocks (OB):
Highlights specific candles where institutional buying or selling likely occurred. These act as high-probability support/resistance zones.
Neon Blue/Cyan for Bullish OBs.
Neon Pink for Bearish OBs.
Fair Value Gaps (FVG):
Identifies imbalances (gaps) in price action where the market often returns to "fill" orders.
Neon Mint for Bullish FVGs.
Neon Red for Bearish FVGs.
Premium/Discount Zones: Automatically plots the range equilibrium (50% level) to help you buy in "Discount" (low) and sell in "Premium" (high) areas.
Liquidity (EQH/EQL): Automatically detects "Equal Highs" and "Equal Lows," which are magnets for price as they represent liquidity pools (stop losses).
2. Dual UT Bot Alerts
This portion provides the actual Entry Signals. It runs two separate instances of the "UT Bot" strategy simultaneously with different sensitivity settings to filter noise.
Instance 1 (Buy Only):
Settings: Key Value = 4, ATR Period = 10 (Faster, more sensitive).
Visual: Plots a Neon Cyan "Buy" label.
Function: Looks for bullish reversals earlier to catch the start of a move.
Instance 2 (Sell Only):
Settings: Key Value = 7, ATR Period = 20 (Slower, smoother).
Visual: Plots a Neon Pink "Sell" label.
Function: Uses a wider ATR band to avoid getting shaken out of shorts too early, focusing on major downtrends.
How to Use It
The strength of this script is confluence.
Wait for a Signal: Look for a UT Bot "Buy" or "Sell" tag.
Confirm with SMC: Check if the signal aligns with SMC concepts.
Example Buy: Did the UT Bot give a "Buy" signal while price was bouncing off a Bullish Order Block?
Example Buy: Did price just sweep Liquidity (EQL) before the Buy signal?
Example Sell: Is the "Sell" signal happening inside a Premium Zone or a Bearish Fair Value Gap?
avant-hier
Notes de version
1. "Pro" Badge Buy/Sell Labels
The standard text signals have been replaced with modern, professional Badge Labels that provide more information at a glance.
Visuals: Instead of simple text, the script now uses label.new to create high-visibility badges.
BUY: A Neon Cyan badge with a Rocket icon (🚀).
SELL: A Neon Pink badge with a Chart icon (📉).
Price Details: Each badge displays the exact Entry Price directly on the label.
Tooltips: If you hover your mouse over a Buy or Sell badge, a tooltip will appear showing the exact Take Profit (TP) and Stop Loss (SL) prices calculated for that trade.
2. Dynamic Take Profit (TP)
The script now automatically calculates a profit target for every trade the moment a signal is generated.
Calculation: It measures the distance between your Entry Price and the initial Stop Loss (the ATR Trailing Stop).
Risk:Reward: It multiplies that distance by your chosen Risk:Reward Ratio (default is 1.5) to project a TP target.
Visual Line: A Green Line is drawn on the chart at the TP level. It remains active until price hits it or the stop loss.
3. Active Trailing Stop Loss (SL)
The Stop Loss is no longer static; it is now "alive" and manages the trade for you.
Trailing Logic: If Use Trailing SL? is enabled (default), the SL line will automatically move up (for longs) or move down (for shorts) as the trend continues in your favor. It locks in profit by following the UT Bot's ATR trailing band.
Visual Line: A Red Line is drawn at the SL level. You can see it physically step up or down on the chart as the trend progresses.
4. Real-Time Trade Simulation
The script now simulates the lifecycle of a trade directly on the chart:
Active State: When a trade is live, the TP and SL lines extend to the right of the current candle (bar_index + 1), showing you exactly where your exit points are in real-time.
Closed State: Once the price hits either the Green TP line or the Red SL line, the script detects the "Exit." The lines stop extending and turn dotted, indicating that the trade is closed and waiting for the next signal.
Summary of New Settings
You will find a new group in the settings panel called "UT Bot: Trade Management":
TP Risk:Reward Ratio: Adjust this to change how far the Green TP line is placed (e.g., set to 2.0 for 2x return).
Use Trailing SL?: Uncheck this if you want the Red SL line to stay fixed at the initial entry risk level.
avant-hier
Notes de version
1. Live Strategy Performance Dashboard (Backtester)
Since this is an indicator, TradingView does not automatically calculate PnL (Profit and Loss). I have built a custom Simulation Engine inside the script that tracks every UT Bot signal as if you had taken the trade.
Location: Bottom Right of your chart.
Win Rate: Displays the percentage of trades that hit the Take Profit target versus the Stop Loss.
Trades (W/L): Shows the total number of signals generated, broken down by Wins and Losses.
Net Profit (R): Calculates your theoretical profit in "R-Multiples" (Risk Units).
Example: If you set your Risk:Reward to 2.0, every win adds +2R, and every loss subtracts -1R.
Dynamic Colors: The Win Rate and Profit cells turn Neon Cyan if positive (>50% or >0R) and Neon Pink if negative.
2. Multi-Timeframe Trend Dashboard
A new panel at the Top Right gives you an instant "Market Bias" reading so you don't have to scan the whole chart.
SMC Trend: Reads the Smart Money structure (Break of Structure/Change of Character) to determine if the high-level timeframe is BULLISH or BEARISH.
UT Bot Status: Displays the current active signal state:
BUY (Active): You are currently in a Long trade.
SELL (Active): You are currently in a Short trade.
NEUTRAL: No active signal or the last trade hit TP/SL.
3. Integrated Alert System
I have connected the visual lines to the alert system. You can now set a single alert on this indicator, and it will trigger for:
Entry Signals: "UT Long Entry" / "UT Short Entry"
Exits: "Take Profit Hit" / "Stop Loss Hit"
4. Consolidated Settings
To make the script easier to manage, I organized the settings into clear groups:
Dashboards: Toggle the visibility of the new panels or move the Performance Panel to a different corner.
UT Bot: Trade Management: Quickly adjust your Risk:Reward Ratio (e.g., change from 1.5 to 2.0) to see how it affects your Win Rate in real-time on the dashboard.
avant-hier
Notes de version
1. Multi-Timeframe (MTF) Trend Scanner
I have replaced the basic "Market Bias" panel with a comprehensive MTF Trend Dashboard located at the Top Right of your chart.
What it tracks: It simultaneously monitors the trend direction on 5 distinct timeframes:
15 Minute
1 Hour
4 Hour
Daily
Weekly
How it works: It runs a background calculation (using UT Bot settings Key=5, ATR=15) on these higher timeframes without you needing to switch charts.
Visuals:
BULLISH: Highlighted in Neon Cyan.
BEARISH: Highlighted in Neon Pink.
2. Strategic Confluence (How to use it)
This new dashboard transforms the script from a simple "signal generator" into a complete trading system by allowing you to filter trades based on the bigger picture.
The "All-Green" Rule: If you are scalping on a 5-minute chart and you get a BUY signal, check the dashboard. If the 1H, 4H, and Daily are all Neon Cyan (Bullish), that trade has a significantly higher probability of success.
Avoid Counter-Trend Trades: If your main chart says BUY, but the dashboard shows the 4H and Daily are Neon Pink (Bearish), you are trading against the major trend. You might want to skip that trade or reduce your risk size.
3. Summary of Dashboards
You now have two professional-grade panels on your screen:
Bottom Right (Performance): Shows the past results of the strategy on your current timeframe (Win Rate, Profit Factor).
Top Right (Trend): Shows the current state of the market across all timeframes.






















