Moving Average Trend ToolsI. How M.A.T.T. Adds Value to the TradingView Community:
The "Moving Average Trend Tools" (M.A.T.T.) is a versatile Pine Script v6 indicator that empowers traders with clear trend analysis, reliable trade signals, and real-time insights. Its intuitive design and robust features make it a valuable addition to the TradingView Community Scripts by catering to traders of all levels. Here’s why it stands out:
Clear Trend Visualization: M.A.T.T. plots a moving average (MA) with dynamic coloring—green for rising, red for falling, and gray for flat—based on a user-defined lookback period. This simplifies trend interpretation, helping traders quickly assess market momentum.
Reliable Trade Signals : The script identifies price crossovers above or below the MA, plotting green circles for bullish crosses and red for bearish, confirmed on closed bars to prevent repainting. These signals guide entry and exit points for trend-following or reversal strategies.
Real-Time Extension Detection : M.A.T.T. calculates percentage price deviations from the MA, displaying real-time labels when thresholds (e.g., 6%) are exceeded. This highlights overextended moves, ideal for spotting reversals or pullbacks, with alerts to keep traders informed.
Extensive Customization : Traders can tailor the MA type (SMA, EMA, WMA, HMA), length, colors, line width, and label sizes. This flexibility supports diverse strategies across markets like stocks, forex, and crypto, from scalping to swing trading.
Automated Alerts : Alert conditions for crossovers and extensions integrate seamlessly with TradingView’s system, enabling traders to stay updated without constant chart monitoring.
M.A.T.T. combines trend analysis, signal generation, and overextension detection into a single, user-friendly tool. Its accessibility, reliability, and educational value for Pine Script learners make it a compelling contribution to the community.
II. What M.A.T.T. Does, How It Works, and Its Originality:
What It Does :
M.A.T.T. enhances trend analysis and trade decision-making through three core features:
Dynamic MA Visualization: Plots a customizable MA (SMA, EMA, WMA, or HMA) with trend-based coloring to reflect rising, falling, or flat market conditions.
Price Crossover Signals : Marks bullish (green circles) and bearish (red circles) crossovers, confirmed on closed bars, with alerts for trade opportunities.
Price Extension Labels : Displays real-time percentage deviations of price from the MA, with alerts when user-defined thresholds are breached, signaling potential reversals.
How It Works :
M.A.T.T. leverages Pine Script v6 for precise calculations and user-friendly outputs:
Inputs: Users select MA type, length, lookback period, colors, and thresholds for extensions, plus label styles and sizes for customization.
MA Calculation : A switch function computes the chosen MA (e.g., ta.ema(close, 21) for EMA). Trend direction is determined using ta.rising or ta.falling over the lookback period, coloring the MA accordingly.
Crossover Logic : Bullish crossovers (close > ma and close < ma ) and bearish crossovers (close < ma and close > ma ) are plotted as circles on confirmed bars (barstate.isconfirmed) to ensure reliability. Alerts trigger only on the first bar of a crossover.
Extension Logic : Percentage deviations are calculated as ((price - ma) / ma) * 100, using the high for above-MA extensions and low for below. Labels appear in real-time when thresholds are exceeded, with alerts on transitions to avoid noise.
Why It’s Original
M.A.T.T. distinguishes itself through a unique blend of features and thoughtful design:
All-in-One Design : It integrates dynamic MA coloring, non-repainting crossover signals, and real-time extension detection, addressing trend identification, trade signals, and overextension warnings in one tool—unlike most MA indicators that focus on a single aspect.
Real-Time Extension Labels : Displaying percentage deviations with customizable thresholds is a rare feature, ideal for volatile markets and not commonly found in standard scripts.
Non-Repainting Signals : Confirmed crossover signals enhance reliability for live trading, setting M.A.T.T. apart from less rigorous indicators.
Optimized Alert Condtions : Alerts trigger only on transitions (e.g., first bar of a crossover or extension), reducing noise and improving usability.
Visual and Functional Flexibility : Support for four MA types, extensive customization, and a clean interface (dynamic colors, tiny circles, clear labels) make it adaptable and user-friendly.
While MA plotting or crossovers exist elsewhere, M.A.T.T.’s seamless integration, real-time extension detection, alert conditions, and focus on reliability and customization create a distinctive, practical tool. Its balance of simplicity and sophistication makes it a unique asset for the TradingView community.
Moving Averages
TRAMA - Trend Regularity Adaptive Moving AverageThe TRAMA Line is an advanced, adaptive moving average that adjusts its speed based on market volatility. It’s designed to react quickly to price momentum shifts while filtering out noise — making it perfect for scalping, intraday, and swing trading.
What Makes It Special:
📊 Adaptive Sensitivity: Speeds up during high momentum, slows down during consolidation.
🎯 More responsive than traditional EMAs or SMAs, giving early signals without excessive false alarms.
🔄 Works great as a dynamic trend filter — price staying above = uptrend, below = downtrend.
🧠 Based on price movement regularity, which helps detect clean pullbacks and trend continuations.
In Your Indicator:
TRAMA acts as the main trend line to detect:
Trend direction
Pullbacks
Reversals
Combined with MACD, RSI, and ATR, it helps determine whether a move is likely to continue or reverse.
HMA Breakdown [NLR]Hull Moving Average (HMA) is a great trend-following tool — it's smooth, fast, and more responsive than traditional MAs like EMA or SMA. But the problem?
Sometimes it gives signals that look sharp but are misleading — especially in noisy markets or when the price is chopping around.
This script breaks down the inner mechanics of the HMA to give you more context:
Are the inputs to HMA actually diverging?
Is there momentum behind the move?
Is this trend about to reverse or just a pullback?
By plotting the components of HMA — and layering signal bands, color logic, and optional trend overlays — it gives you a visual breakdown of what's really going on under the hood.
What this indicator shows
HMA Trend (Main Line)
The Hull Moving Average (HMA) is plotted in bold, colored red or green based on internal conditions (not just price slope).
WMA Components (Fast & Slow)
Shows the two WMAs used inside the HMA calculation:
WMA Half (faster) — reacts quickly to price
WMA Full (slower) — smoother, less reactive
Their difference and crossover gives you clues on whether momentum is building or fading.
Signal & Band Structure
A calculated upper band and lower band are used to track when HMA is leading or lagging momentum.
When the HMA is below the band, trend may be weakening - this helps you filter false signals.
TMA Candle (Optional Visual)
A synthetic candle shows whether the smoothed average is rising or falling compared to a few candles back.
This is a simple visual cue to spot inflection points in the trend.
EMA Trend Overlay (Optional)
A pair of short-term EMAs built on a smoothed source helps you catch micro-trends or align your entries with the bigger trend.
Can act as an early heads-up or a trend confirmation layer.
What problem it solves
Noisy Signals: Helps filter out weak or fake trend signals often seen in HMA-only systems.
Visual Breakdown: Lets you see how each component of the HMA is behaving — so you’re not flying blind.
Momentum Confirmation: Adds layered confirmation using fast-vs-slow WMA cross, signal bands, and mini trend overlays.
Best Used For:
Trend-following traders who use HMA or WMA strategies
Filtering entries/exits in momentum-based systems
Visually confirming when a trend is real vs fake
PG Mean revision price to vwma and MAsHere's a concise breakdown for your users:
- Selection of Moving Average Type:- Choose VWMA, EMA, or SMA, along with the source (e.g., closing price) and length for the calculation.
- Price-MA Difference Calculation:- Calculates the difference between the closing price and the selected moving average.
- Additional Moving Averages:- Applies three customizable moving averages (MA1, MA2, MA3) to the price-MA difference.
- Dynamic Plotting:- Plots the price-MA difference in red, and overlays the moving averages (blue, orange, purple). MA1 can be dynamically colored red/green based on its trend.
- Zero Reference Line:- Includes a horizontal line at zero for easy visual reference.
This tool helps analyze price trends and deviations for better trading decisions!
MACD Liquidity Tracker SystemMACD Liquidity Tracker System
🔹 Enhanced MACD with candle coloring, entry markers, and customizable signal logic.
🧠 Features:
This tool combines a color-coded MACD histogram with signal-based candle colors and small shape markers (🔼🔽) for clear market momentum and entry visualization.
📊 Visuals:
MACD Histogram (Sub-panel):
4 dynamic colors to show momentum direction:
🔹 Bright Blue = MACD > 0 & rising (strong bullish)
🔹 Dark Blue = MACD > 0 & falling (weakening bullish)
🔹 Bright Magenta = MACD < 0 & falling (strong bearish)
🔹 Dark Magenta = MACD < 0 & rising (weakening bearish)
Price Candles (Main Chart):
🔹 Bright Blue = Active Long signal
🔹 Bright Magenta = Active Short signal
Entry Markers:
🔼 Blue triangle (below candle) = Start of Long
🔽 Magenta triangle (above candle) = Start of Short
⚙️ System Types (select in settings):
Normal:
🔹 Long = MACD > 0
🔹 Short = MACD < 0
Fast: (Based on histogram color)
🔹 Long = Bright Blue OR Dark Magenta
🔹 Short = Dark Blue OR Bright Magenta
Safe:
🔹 Long = Only Bright Blue
🔹 Short = All other colors
🔔 Alerts:
Alerts trigger only on the first bar of a new Long/Short signal.
Easy to set up using TradingView’s alert system.
📌 How to Use:
Add the indicator to your chart
Open settings and select a System Type
Adjust MACD parameters if needed
Use histogram color + candle color for momentum and signal confirmation
Set alerts for clean entries if desired
💡 Ideal for traders seeking visual clarity and flexible MACD-based strategies.
Wavelet Smoothed Moving Average (TechnoBlooms)Wavelet Smoothed Moving Average (WSMA) is a part of the Quantum Price Theory (QPT) Series of indicators.
Overview:
The Wavelet Smoothed Moving Average (WSMA) is a trend-following indicator inspired by multi-level Haar Wavelet decomposition. Rather than using traditional wavelet basis functions, it emulates the core wavelet concept of multi-resolution analysis using nested simple moving averages (SMA).
How It Works:
WSMA applies three levels of smoothing:
• Level 1: SMA on price (base smoothing)
• Level 2: SMA on Level 1 output (further denoising)
• Level 3: SMA on Level 2 output (final approximation)
Why Use WSMA:
• Multi-Level Smoothing: Captures price structure across multiple time scales, unlike single-length MAs.
• Noise Reduction: Filters out short-term volatility and focuses on the underlying trend.
• Low Lag, High Clarity: Unlike traditional moving averages that react slowly or miss subtle shifts, WSMA’s layered smoothing delivers cleaner and more adaptive trend detection.
Unique Value:
• Wavelet-Inspired Design: Mimics core wavelet decomposition logic without the complexity of downsampling or basis functions.
• Perfect for Trend Confirmation: The final line (a3) can act as a trend filter, while the detail levels can help identify momentum shifts and volatility bursts.
• Fits Into Quantum Price Theory: As part of the QPT framework, WSMA bridges scientific theory with trading application, giving traders a deeper understanding of market structure and signal compression.
DEMA Trend Oscillator Strategy📌 Overview
The DEMA Trend Oscillator Strategy is a dynamic trend-following approach based on the Normalized DEMA Oscillator SD.
It adapts in real-time to market volatility with the goal of improving entry accuracy and optimizing risk management.
⚠️ This strategy is provided for educational and research purposes only.
Past performance does not guarantee future results.
🎯 Strategy Objectives
The main goal of this strategy is to respond quickly to sudden price movements and trend reversals,
by combining momentum-based signals with volatility filters.
It is designed to be user-friendly for traders of all experience levels.
✨ Key Features
Normalized DEMA Oscillator: A momentum indicator that normalizes DEMA values on a 0–100 scale, allowing intuitive identification of trend strength
Two-Bar Confirmation Filter: Requires two consecutive bullish or bearish candles to reduce noise and enhance entry reliability
ATR x2 Trailing Stop: In addition to fixed stop-loss levels, a trailing stop based on 2× ATR is used to maximize profits during strong trends
📊 Trading Rules
Long Entry:
Normalized DEMA > 55 (strong upward momentum)
Candle low is above the upper SD band
Two consecutive bullish candles appear
Short Entry:
Normalized DEMA < 45 (downward momentum)
Candle high is below the lower SD band
Two consecutive bearish candles appear
Exit Conditions:
Take-profit at a risk-reward ratio of 1.5
Stop-loss triggered if price breaks below (long) or above (short) the SD band
Trailing stop activated based on 2× ATR to secure and extend profits
💰 Risk Management Parameters
Symbol & Timeframe: Any (AUDUSD 5M example)
Account size (virtual): $3000
Commission: 0.4PIPS(0.0004)
Slippage: 2 pips
Risk per trade: 5%
Number of trades (backtest):534
All parameters can be adjusted based on broker specifications and individual trading profiles.
⚙️ Trading Parameters & Considerations
Indicator: Normalized DEMA Oscillator SD
Parameter settings:
DEMA Period (len_dema): 40
Base Length: 20
Long Threshold: 55
Short Threshold: 45
Risk-Reward Ratio: 1.5
ATR Multiplier for Trailing Stop: 2.0
🖼 Visual Support
The chart displays the following visual elements:
Upper and lower SD bands (±2 standard deviations)
Entry signals shown as directional arrows
🔧 Strategy Improvements & Uniqueness
This strategy is inspired by “Normalized DEMA Oscillator SD” by QuantEdgeB,
but introduces enhancements such as a two-bar confirmation filter and an ATR-based trailing stop.
Compared to conventional trend-following strategies, it offers superior noise filtering and profit optimization.
✅ Summary
The DEMA Trend Oscillator Strategy is a responsive and practical trend-following method
that combines momentum detection with adaptive risk management.
Its visual clarity and logical structure make it a powerful and repeatable tool
for traders seeking consistent performance in trending markets.
⚠️ Always apply appropriate risk management. This strategy is based on historical data and does not guarantee future results.
Dskyz (DAFE) AI Adaptive Regime - Beginners VersionDskyz (DAFE) AI Adaptive Regime - Pro: Revolutionizing Trading for All
Introduction
In the fast-paced world of financial markets, traders need tools that can keep up with ever-changing conditions while remaining accessible. The Dskyz (DAFE) AI Adaptive Regime - Pro is a groundbreaking TradingView strategy that delivers advanced, AI-driven trading capabilities to everyday traders. Available on TradingView (TradingView Scripts), this Pine Script strategy combines sophisticated market analysis with user-friendly features, making it a standout choice for both novice and experienced traders.
Core Functionality
The strategy is built to adapt to different market regimes—trending, ranging, volatile, or quiet—using a robust set of technical indicators, including:
Moving Averages (MA): Fast and slow EMAs to detect trend direction.
Average True Range (ATR): For dynamic stop-loss and volatility assessment.
Relative Strength Index (RSI) and MACD: Multi-timeframe confirmation of momentum and trend.
Average Directional Index (ADX): To identify trending markets.
Bollinger Bands: For assessing volatility and range conditions.
Candlestick Patterns: Recognizes patterns like bullish engulfing, hammer, and double bottoms, confirmed by volume spikes.
It generates buy and sell signals based on a scoring system that weighs these indicators, ensuring trades align with the current market environment. The strategy also includes dynamic risk management with ATR-based stops and trailing stops, as well as performance tracking to optimize future trades.
What Sets It Apart
The Dskyz (DAFE) AI Adaptive Regime - Pro distinguishes itself from other TradingView strategies through several unique features, which we compare to common alternatives below:
| Feature | Dskyz (DAFE) | Typical TradingView Strategies|
|---------|-------------|------------------------------------------------------------|
| Regime Detection | Automatically identifies and adapts to **four** market regimes | Often static or limited to trend/range detection |
| Multi‑Timeframe Analysis | Uses higher‑timeframe RSI/MACD for confirmation | Rarely incorporates multi‑timeframe data |
| Pattern Recognition | Detects candlestick patterns **with volume confirmation** | Limited or no pattern recognition |
| Dynamic Risk Management | ATR‑based stops and trailing stops | Often uses fixed stops or basic risk rules |
| Performance Tracking | Adjusts thresholds based on past performance | Typically static parameters |
| Beginner‑Friendly Presets | Aggressive, Conservative, Optimized profiles | Requires manual parameter tuning |
| Visual Cues | Color‑coded backgrounds for regimes | Basic or no visual aids |
The Dskyz strategy’s ability to integrate regime detection, multi-timeframe analysis, and user-friendly presets makes it uniquely versatile and accessible, addressing the needs of everyday traders who want professional-grade tools without the complexity.
-Key Features and Benefits
[Why It’s Ideal for Everyday Traders
⚡The Dskyz (DAFE) AI Adaptive Regime - Pro democratizes advanced trading by offering professional-grade tools in an accessible package. Unlike many TradingView strategies that require deep technical knowledge or fail in changing market conditions, this strategy simplifies complex analysis while maintaining robustness. Its presets and visual aids make it easy for beginners to start, while its adaptive features and performance tracking appeal to advanced traders seeking an edge.
🔄Limitations and Considerations
Market Dependency: Performance varies by market and timeframe. Backtesting is essential to ensure compatibility with your trading style.
Learning Curve: While presets simplify use, understanding regimes and indicators enhances effectiveness.
No Guaranteed Profits: Like all strategies, success depends on market conditions and proper execution. The Reddit discussion highlights skepticism about TradingView strategies’ universal success (Reddit Discussion).
Instrument Specificity: Optimized for futures (e.g., ES, NQ) due to fixed tick values. Test on other instruments like stocks or forex to verify compatibility.
📌Conclusion
The Dskyz (DAFE) AI Adaptive Regime - Pro is a revolutionary TradingView strategy that empowers everyday traders with advanced, AI-driven tools. Its ability to adapt to market regimes, confirm signals across timeframes, and manage risk dynamically. sets it apart from typical strategies. By offering beginner-friendly presets and visual cues, it makes sophisticated trading accessible without sacrificing power. Whether you’re a novice looking to trade smarter or a pro seeking a competitive edge, this strategy is your ticket to mastering the markets. Add it to your chart, backtest it, and join the elite traders leveraging AI to dominate. Trade like a boss today! 🚀
Use it with discipline. Use it with clarity. Trade smarter.
**I will continue to release incredible strategies and indicators until I turn this into a brand or until someone offers me a contract.
-Dskyz
VWAP + EMA Retracement Indicator SwiftEdgeVWAP + EMA Retracement Indicator
Overview
The VWAP + EMA Retracement Indicator is a powerful and visually engaging tool designed to help traders identify high-probability buy and sell opportunities in trending markets. By combining the Volume Weighted Average Price (VWAP) with two Exponential Moving Averages (EMAs) and a unique retracement-based signal logic, this indicator pinpoints moments when the price pulls back to a key zone before resuming its trend. Its modern, AI-inspired visuals and customizable features make it both intuitive and adaptable for traders of all levels.
What It Does
This indicator generates buy and sell signals based on a sophisticated yet straightforward strategy:
Buy Signals: Triggered when the price is above VWAP, has recently retraced to the zone between two EMAs (default 12 and 21 periods), and a strong bullish candle closes above both EMAs.
Sell Signals: Triggered when the price is below VWAP, has retraced to the EMA zone, and a strong bearish candle closes below both EMAs.
Signal Filtering: A customizable cooldown period ensures that only the first signal in a sequence is shown, reducing noise while preserving opportunities for new trends.
Confidence Scores: Each signal includes an AI-inspired confidence score (0-100%), calculated from candle strength and price distance to VWAP, helping traders gauge signal reliability.
The indicator’s visuals enhance decision-making with dynamic gradient lines, a highlighted retracement zone, and clear signal labels, all customizable to suit your preferences.
How It Works
The indicator integrates several components that work together to create a cohesive trading tool:
VWAP: Acts as a dynamic support/resistance level, reflecting the average price weighted by volume. It filters signals to ensure buys occur in uptrends (price above VWAP) and sells in downtrends (price below VWAP).
Dual EMAs: Two EMAs (default 12 and 21 periods) define a retracement zone where the price is likely to consolidate before continuing its trend. Signals are generated only after the price exits this zone with conviction.
Retracement Logic: The indicator looks for price pullbacks to the EMA zone within a user-defined lookback window (default 5 candles), ensuring signals align with trend continuation patterns.
Candle Strength: Signals require strong candles (bullish for buys, bearish for sells) with a minimum body size based on the Average True Range (ATR), filtering out weak or indecisive moves.
Cooldown Mechanism: A unique feature that prevents signal clutter by allowing only the first signal within a user-defined period (default 3 candles), balancing responsiveness with clarity.
Confidence Score: Combines candle body size and price distance to VWAP to assign a score, giving traders an at-a-glance measure of signal strength without needing external analysis.
These components are carefully combined to capture high-probability setups while minimizing false signals, making the indicator suitable for both short-term and swing trading.
How to Use It
Add to Chart: Apply the indicator to a 15-minute chart (recommended) or your preferred timeframe.
Customize Settings:
VWAP Source: Choose the price source (default: hlc3).
EMA Periods: Adjust the fast and slow EMA periods (default: 12 and 21).
Retracement Window: Set how many candles to look back for retracement (default: 5).
ATR Period & Body Size: Define candle strength requirements (default: 14 ATR period, 0.3 multiplier).
Cooldown Period: Control the minimum candles between signals (default: 3; set to 0 to disable).
Candle Requirements: Toggle whether signals require bullish/bearish candles or entire candle above/below EMAs.
Visuals: Enable/disable gradient colors, retracement zone, confidence scores, and choose a color scheme (Neon, Light, or Dark).
Interpret Signals:
Buy: A green "Buy" label with a confidence score appears below the candle when conditions are met.
Sell: A red "Sell" label with a confidence score appears above the candle.
Use the confidence score to prioritize higher-probability signals (e.g., above 80%).
Trade Management: Combine signals with your risk management strategy, such as setting stop-loss below the retracement zone and targeting a 1:2 risk-reward ratio.
Why It’s Unique
The VWAP + EMA Retracement Indicator stands out due to its thoughtful integration of classic indicators with modern enhancements:
Balanced Signal Filtering: The cooldown mechanism ensures clarity without missing key opportunities, unlike many indicators that overwhelm with frequent signals.
AI-Inspired Confidence: The confidence score simplifies decision-making by quantifying signal strength, mimicking advanced analytical tools in an accessible way.
Elegant Visuals: Dynamic gradients, a highlighted retracement zone, and customizable color schemes (Neon, Light, Dark) create a sleek, futuristic interface that’s both functional and visually appealing.
Flexibility: Extensive customization options let traders tailor the indicator to their style, from conservative swing trading to aggressive scalping.
Quantum Flow Navigator @DaviddTechQuantum Flow Navigator – DaviddTech
Precision Strategy Builder Powered by Adaptive Filters, Statistical Noise Reduction & Multi-Modal Confirmation
🚀 Bullish Signal : Enter when ALMA, FluxWave, and QuickSilver all confirm bullish trend, with high volume and valid noise filter state.
🔻 Bearish Signal : Enter short when all components align bearishly and filters validate the signal.
🚪 Exit : Automatically managed by dynamic SL/TP or indicator-based reversal logic.
✅ Overview & DaviddTech Methodology
Quantum Flow Navigator is an advanced, multi-component trading system engineered around the strict modular logic of the DaviddTech methodology .
It integrates every core component required for a fully rule-based and signal-driven strategy—baseline, confirmations, volume filter, exit system, and noise filter.
Designed for traders who demand structure, clarity, and data-backed decision-making on 15M, 1H, and 4H charts.
🔍 Indicator Components
Baseline: Adaptive ALMA Filter
Smooth and responsive dynamic trend detection, with momentum validation and optional filled zones for enhanced visual feedback.
Confirmation #1: FluxWave Oscillator
Developed from an enhanced Trendlio concept by @dudeowns , FluxWave uses ALMA-smoothed rate-of-change logic with configurable signal behavior.
Confirmation #2: QuickSilver Band System
Custom breakout engine that maps volatility envelopes using multi-layered deviation bands for clear confirmation of structure breaks and trend direction.
Volume Filter: Normalized Volume Energy
Innovative volume filter inspired by @ceyhun 's work. Filters trades by classifying energy into High, Normal, or Low based on normalized volume context.
Exit System: Dynamic Momentum Stop Loss
Choose from Smart Adaptive, Trailing, Stepped, Percentage, ATR, or Volatility-adjusted logic. Supports TP via risk/reward, ATR multiples, or percentage targets.
Noise Filtration: Quantum Statistical Noise Reduction
Fuses Kalman smoothing with wavelet decomposition to eliminate non-signal noise and improve trade quality and confidence.
🎨 Visual System & Dashboard
🚀/🔻/🚪 Emoji Labels : Buy, sell, and exit trades clearly marked for instant recognition.
Color-Shifting Bars : Reflect FluxWave’s trend bias in real-time.
ALMA Fill Zone : Visual trend envelope between price and ALMA baseline.
QuickSilver Bands : Volatility envelopes with graduated depth for support/resistance awareness.
SL & TP Visuals : Dynamic stop-loss and take-profit zones plotted directly on chart.
Navigator Panel : In-chart dashboard displays real-time trend status, volume energy, noise filter state, signal strength, and active position tracking.
📈 How to Trade with It
Entry Mode Selection : Choose between Combined, ALMA, FluxWave, QuickSilver, or Custom scoring logic.
Final Signals : Trigger only when confirmations align, volume energy is valid, and noise is low.
Dashboard Summary : Use real-time signal display to validate entry strength.
Timeframes : 15M–1H recommended for swing/intraday setups; 5M–15M for automation.
💡 Advanced Features
Entry Strength Scoring: Composite weight of all active components + filters.
Cooldown System: Limits excessive signals in volatile periods.
Multiple Exit Strategies: SL & TP modes with optional indicator-based exits.
Statistical Filtering: Wavelet + Kalman combination optimizes entry confidence.
Full Alert Suite: Covers entries, exits, filter triggers, volume states, and more.
🧠 Suggested Strategy Usage
Wait for full confirmation from ALMA, FluxWave, and QuickSilver.
Ensure volume energy is High and noise filter confirms trend clarity.
Use adaptive SL/TP or indicator-based exits.
Monitor dashboard for live signal strength ≥ threshold.
Use “Balanced” mode for general use; switch to “Aggressive” for tighter signals.
📝 Credits & Originality
Concept based on DaviddTech’s component-driven methodology .
FluxWave Oscillator built as an evolved version of Trendlio with full signal customization — credit @dudeowns .
Volume Energy Filter adapted from the work of @ceyhun .
Noise filtration and system architecture developed independently using Pine Script v6.
All code and logic is original, non-rehashed, and completely refactored to ensure uniqueness.
Quantum Flow Navigator fuses adaptive baselines, confirmation logic, energy-based filters, and statistical refinement into a precision signal engine—optimized for traders who value structure, clarity, and control.
AllMA Trend Radar [trade_lexx]📈 AllMA Trend Radar is your universal trend analysis tool!
📊 What is AllMA Trend Radar?
AllMA Trend Radar is a powerful indicator that uses various types of Moving Averages (MA) to analyze trends and generate trading signals. The indicator allows you to choose from more than 30 different types of moving averages and adjust their parameters to suit your trading style.
💡 The main components of the indicator
📈 Fast and slow moving averages
The indicator uses two main lines:
- Fast MA (blue line): reacts faster to price changes
- Slow MA (red line): smoother, reflects a long-term trend
The combined use of fast and slow MA allows you to get trend confirmation and entry/exit points from the market.
🔄 Wide range of moving averages
There are more than 30 types of moving averages at your disposal:
- SMA: Simple moving average
- EMA: Exponential moving average
- WMA: Weighted moving average
- DEMA: double exponential MA
- TEMA: triple exponential MA
- HMA: Hull Moving Average
- LSMA: Moving average of least squares
- JMA: Eureka Moving Average
- ALMA: Arnaud Legoux Moving Average
- ZLEMA: moving average with zero delay
- And many others!
🔍 Indicator signals
1️⃣ Fast 🆚 Slow MA signals (intersection and ratio of fast and slow MA)
Up/Down signals (intersection)
- Buy (Up) signal:
- What happens: the fast MA crosses the slow MA from bottom to top
- What does the green triangle with the "Buy" label under the candle look
like - What does it mean: a likely upward trend reversal or an uptrend strengthening
- Sell signal (Down):
- What happens: the fast MA crosses the slow MA from top to bottom
- What does it look like: a red triangle with a "Sell" mark above the candle
- What does it mean: a likely downtrend reversal or an increase in the downtrend
Greater/Less signals (ratio)
- Buy signal (Greater):
- What happens: the fast MA becomes higher than the slow MA
- What does it look like: a green triangle with a "Buy" label under the candle
- What does it mean: the formation or confirmation of an uptrend
- Sell signal (Less):
- What happens: the fast MA becomes lower than the slow MA
- What does it look like: a red triangle with a "Sell" mark above the candle
- What does it mean: the formation or confirmation of a downtrend
2️⃣ Signals ⚡️ Fast MA (fast MA and price)
Up/Down signals (intersection)
- Buy signal (Up Fast):
- What happens: the price crosses the fast MA from bottom to top
- What does it look like: a green triangle with a "Buy" label under the candle
- What does it mean: a short-term price growth signal
- Sell signal (Down Fast):
- What happens: the price crosses the fast MA from top to bottom
- What does it look like: a red triangle with a "Sell" label above the candle
- What does it mean: a short-term price drop signal
Greater/Less signals (ratio)
- Buy signal (Greater Fast):
- What happens: the price is getting higher than the fast MA
- What does it look like: a green triangle with a "Buy" label under the candle
- What does it mean: the price is above the fast MA, which indicates an upward movement
- Sell signal (Less Fast):
- What happens: the price is getting lower than the fast MA
- What does it look like: a red triangle with a "Sell" mark above the candle
- What does it mean: the price is under the fast MA, which indicates a downward movement
3️⃣ Signals 🐢 Slow MA (slow MA and price)
Up/Down signals (intersection)
- Buy signal (Up Slow):
- What happens: the price crosses the slow MA from bottom to top
- What does it look like: a green triangle with a "Buy" label under the candle
- What does it mean: a potential medium-term upward trend reversal
- Sell signal (Down Slow):
- What happens: the price crosses the slow MA from top to bottom
- What does it look like: a red triangle with a "Sell" label above the candle
- What does it mean: a potential medium-term downward trend reversal
Greater/Less signals (ratio)
- Buy signal (Greater Slow):
- What happens: the price is getting above the slow MA
- What does it look like: a green triangle with a "Buy" label under the candle
- What does it mean: the price is above the slow MA, which indicates a strong upward movement
- Sell signal (Less Slow):
- What is happening: the price is getting below the slow MA
- What does it look like: a red triangle with a "Sell" mark above the candle
- What does it mean: the price is under the slow MA, which indicates a strong downward movement
🛠 Filters to filter out false signals
1️⃣ Minimum distance between the signals
- What it does: sets the minimum number of candles between signals of the same type
- Why it is needed: it prevents the appearance of too frequent signals, especially during periods of high volatility
- How to set it up: Set a different value for each signal type (default: 3-5 bars)
- Example: if the value is 3 for Up/Down signals, after the buy signal appears, the next buy signal may appear no earlier than 3 bars later
2️⃣ Advanced indicator filters
🔍 RSI Filter
- What it does: Checks the Relative Strength Index (RSI) value before generating a signal
- Why it is needed: it helps to avoid countertrend entries and catch reversal points
- How to set up:
- For buy signals (🔋 Buy): set the RSI range, usually in the oversold zone (for example, 1-30)
- For sell signals (🪫 Sell): set the RSI range, usually in the overbought zone (for example, 70-100)
- Example: if the RSI = 25 (in the range 1-30), the buy signal will be confirmed
📊 MFI Filter (Cash Flow Index)
- What it does: analyzes volumes and the direction of price movement
- Why it is needed: confirms signals with data on the activity of cash flows
- How to set up:
- For buy signals (🔋 Buy): set the MFI range in the oversold zone (for example, 1-25)
- For sell signals (🪫 Sell): set the MFI range in the overbought zone (for example, 75-100)
- Example: if MFI = 80 (in the range of 75-100), the sell signal will be confirmed
📈 Stochastic Filter
- What it does: analyzes the position of the current price relative to the price range
- Why it is needed: confirms signals based on overbought/oversold conditions
- How to configure:
- You can configure the K Length, D Length and Smoothing parameters
- For buy signals (🔋 Buy): set the stochastic range in the oversold zone (for example, 1-20)
- For sell signals (🪫 Sell): set the stochastic range in the overbought zone (for example, 80-100)
- Example: if stochastic = 15 (is in the range of 1-20), the buy signal will be confirmed
🔌 Connecting to trading strategies
The indicator provides various connectors to connect to your trading strategies.:
1️⃣ Individual connectors for each type of signal
- 🔌Fast vs Slow Up/Down MA Signal🔌: signals for the intersection of fast and slow MA
- 🔌Fast vs Slow Greater/Less MA Signal🔌: signals of the ratio of fast and slow MA
- 🔌Fast Up/Down MA Signal🔌: signals of the intersection of price and fast MA
- 🔌Fast Greater/Less MA Signal🔌: signals of the ratio of price and fast MA
- 🔌Slow Up/Down MA Signal🔌: signals of the intersection of price and slow MA
- 🔌Slow Greater/Less MA Signal🔌: Price versus slow MA signals
2️⃣ Combined connectors
- 🔌Combined Up/Down MA Signal🔌: combines all the crossing signals (Up/Down)
- 🔌Combined Greater/Less MA Signal🔌: combines all the signals of the ratio (Greater/Less)
- 🔌Combined All MA Signals🔌: combines all signals (Up/Down and Greater/Less)
❗️ All connectors return values:
- 1: buy signal
- -1: sell signal
- 0: no signal
📚 How to start using AllMA Trend Radar
1️⃣ Selection of types of moving averages
- Add an indicator to the chart
- Select the type and period for the fast MA (default: DEMA with a period of 14)
- Select the type and period for the slow MA (default: SMA with a period of 14)
- Experiment with different types of MA to find the best combination for your trading style
2️⃣ Signal settings
- Turn on the desired signal types (Up/Down, Greater/Less)
- Set the minimum distance between the signals
- Activate and configure the necessary filters (RSI, MFI, Stochastic)
3️⃣ Checking on historical data
- Analyze how the indicator works based on historical data
- Pay attention to the accuracy of the signals and the presence of false alarms
- Adjust the settings if necessary
4️⃣ Introduction to the trading strategy
- Decide which signals will be used to enter the position.
- Determine which signals will be used to exit the position.
- Connect the indicator to your trading strategy through the appropriate connectors
🌟 Practical application examples
Scalping strategy
- Fast MA: TEMA with a period of 8
- Slow MA: EMA with a period of 21
- Active signals: Fast MA Up/Down
- Filters: RSI (range 1-40 for purchases, 60-100 for sales)
- Signal spacing: 3 bars
Strategy for day trading
- Fast MA: TEMA with a period of 10
- Slow MA: SMA with a period of 20
- Active signals: Fast MA Up/Down and Fast vs Slow Greater/Less
- Filters: MFI (range 1-25 for purchases, 75-100 for sales)
- Signal spacing: 5 bars
Swing Trading Strategy
- Fast MA: DEMA with a period of 14
- Slow MA: VWMA with a period of 30
- Active signals: Fast vs Slow Up/Down and Slow MA Greater/Less
- Filters: Stochastic (range 1-20 for purchases, 80-100 for sales)
- Signal spacing: 8 bars
A strategy for positional trading
- Fast MA: HMA with a period of 21
- Slow MA: SMA with a period of 50
- Active signals: Slow MA Up/Down and Fast vs Slow Greater/Less
- Filters: RSI and MFI at the same time
- The distance between the signals: 10 bars
💡 Tips for using AllMA Trend Radar
1. Select the types of MA for market conditions:
- For trending markets: DEMA, TEMA, HMA (fast MA)
- For sideways markets: SMA, WMA, VWMA (smoothed MA)
- For volatile markets: KAMA, AMA, VAMA (adaptive MA)
2. Combine different types of signals:
- Up/Down signals work better when moving from a sideways trend to a directional
one - Greater/Less signals are optimal for fixing a stable trend
3. Use filters effectively:
- The RSI filter works great in trending markets
- MFI filter helps to confirm the strength of volume movement
- Stochastic filter works well in lateral ranges
4. Adjust the minimum distance between the signals:
- Small values (2-3 bars) for short-term trading
- Average values (5-8 bars) for medium-term trading
- Large values (10+ bars) for long-term trading
5. Use combination connectors:
- For more reliable signals, connect the indicator through the combined connectors
💰 With the AllMA Trend Radar indicator, you get a universal trend analysis tool that can be customized for any trading style and timeframe. The combination of different types of moving averages and advanced filters allows you to significantly improve the accuracy of signals and the effectiveness of your trading strategy!
Combined EMA/Smiley & DEM System## 🔷 General Overview
This script creates an advanced technical analysis system for TradingView, combining multiple Exponential Moving Averages (EMAs), Simple Moving Averages (SMAs), dynamic Fibonacci levels, and ATR (Average True Range) analysis. It presents the results clearly through interactive, real-time tables directly on the chart.
---
## 🔹 Indicator Structure
The script consists of two main parts:
### **1. EMA & SMA Combined System with Fibonacci**
- **Purpose:**
Provides visual insights by comparing multiple EMA/SMA periods and identifying significant dynamic price levels using Fibonacci ratios around a calculated "Golden" line.
- **Components:**
- **Moving Averages (MAs)**:
- 20 EMAs (periods from 20 to 400)
- 20 SMAs (also from 20 to 400)
- **Golden Line:**
Calculated as the average of all EMAs and SMAs.
- **Dynamic Fibonacci Levels:**
Key ratios around the Golden line (0.5, 0.618, 0.786, 1.0, 1.272, 1.414, 1.618, 2.0) dynamically adjust based on market conditions.
- **Fibonacci Labels:**
Labels are shown next to Fibonacci lines, indicating their numeric value clearly on the chart.
- **Table (Top Right Corner):**
- Displays:
- **Input:** EMA/SMA periods sorted by their current average price levels.
- **AVG:** The average of corresponding EMA & SMA pairs.
- **EMA & SMA Values:** Individual EMA/SMA values clearly marked.
- **Dynamic Highlighting:** Highlights the row whose average (EMA+SMA)/2 is closest to the current price, helping identify immediate price action significance.
- **Sorting Logic:**
Each EMA/SMA pair is dynamically sorted based on their average values. Color coding (red/green) is used:
- **Green:** EMA/SMA pairs with shorter periods when their average is lower.
- **Red:** EMA/SMA pairs with longer periods when their average is lower.
- **Star (⭐):** Represents the "Golden" average clearly.
---
### **2. DEM System (Dynamic EMA/ATR Metrics)**
- **Purpose:**
Provides detailed ATR statistics to assess market volatility clearly and quickly.
- **Components:**
- **Moving Averages:**
- SMA lines: 25, 50, 100, 200.
- **Bollinger Bands:**
- Based on 20-period SMA of highs and standard deviation of lows.
- **ATR Analysis:**
- ATR calculations for multiple periods (1-day, 10, 20, 30, 40, 50).
- **ATR Premium:** Average ATR of all calculated periods, providing an overarching volatility indicator.
- **ATR Table (Bottom Right Corner):**
- Displays clearly structured ATR values and percentages relative to the current close price:
- Columns: **ATR Period**, **Value**, and **% of Close**.
- Rows: Each specific ATR (1D, 10, 20, 30, 40, 50), plus ATR premium.
- The ATR premium is highlighted in yellow to signify its importance clearly.
---
## 🔹 Key Features and Logic Explained
- **Dynamic EMA/SMA Sorting:**
The script computes the average of each EMA/SMA pair and sorts them dynamically on each bar, highlighting their relative importance visually. This allows traders to easily interpret the strength of current support/resistance levels based on moving averages.
- **Closest EMA/SMA Pair to Current Price:**
Calculates the absolute difference between the current price and all EMA/SMA averages, highlighting the closest one for quick reference.
- **Fibonacci Ratios:**
- Dynamically calculated Fibonacci levels based on the "Golden" EMA/SMA average give clear visual guidance for potential targets, supports, and resistances.
- Labels are continuously updated and placed next to levels for clarity.
- **ATR Volatility Analysis:**
- Provides immediate insight into market volatility with absolute and relative (percentage-based) ATR values.
- ATR premium summarizes volatility across multiple timeframes clearly.
---
## 🔹 Practical Use Case:
- Traders can quickly identify support/resistance and critical price zones through EMA/SMA and Fibonacci combinations.
- Useful in assessing immediate volatility, guiding stop-loss and take-profit levels through detailed ATR metrics.
- The dynamic highlighting in tables provides intuitive, real-time decision support for active traders.
---
## 🔹 How to Use this Script:
1. **Adjust EMA & SMA Lengths** from indicator settings if different periods are preferred.
2. **Monitor dynamic Fibonacci levels** around the "Golden" average to identify possible reversal or continuation points.
3. **Check EMA/SMA table:** Rows highlighted indicate immediate significance concerning current market price.
4. **ATR table:** Use volatility metrics for better risk management.
---
## 🔷 Conclusion
This advanced Pine Script indicator efficiently combines multiple EMAs, SMAs, dynamic Fibonacci retracement levels, and volatility analysis using ATR into a comprehensive real-time analytical tool, enhancing traders' decision-making capabilities by providing clear and actionable insights directly on the TradingView chart.
Rogue ORB PRORogue ORB Pro is a precision-engineered Opening Range Breakout (ORB) indicator built for active intraday traders who need real signals, not noise.
This tool identifies high-probability breakout entries from the opening range, enhanced with optional ATR-based stop loss levels, deviation targets, cooldown filters, and a relative volume gate to filter weak setups.
🔍 Key Features:
Opening Range High/Low: Drawn from a user-defined time window and locked for the day
Deviations: Automatically plots target zones above and below the OR range (e.g. 1, 2 deviations)
Pre-Market Levels: Automatically draws pre market high and low lines at the end of pre market session
Buy/Sell Signals: Triggered on breakout of the OR High/Low with configurable breakout logic (touch or close)
ATR Stop Loss Line: Dynamically drawn at a fixed ATR distance from breakout candle, with optional SL label
Cooldown Period: Prevents back-to-back signals by enforcing a user-defined bar delay between entries, can help with overtrading
Volume Filter: Optional relative volume filter that requires breakout candles to exceed a custom volume threshold
VWAP Overlay: Visual VWAP for directional bias and confluence
Oil/gas ratio MAOil/Gas Ratio-Based Equivalent Price
This indicator calculates the gas-equivalent price based on the current oil price and a defined oil/gas ratio. It helps identify relative overvaluation or undervaluation of natural gas compared to oil.
Features:
- Choose between a static or dynamic (SMA-based) oil/gas ratio
- Displays the fair value of gas derived from oil prices
- Works with any oil ticker symbol (e.g. BRENT, USOIL, etc.)
Useful for traders analyzing intermarket relationships and looking for relative value signals between energy commodities.
Liquidity Sweep with EMAThis Pine Script indicator helps traders identify potential market reversals based on liquidity sweeps, where the price moves through the previous candle's low or high and then closes above or below the previous candle's wick. These are often seen as significant market moves or liquidity grabs before a potential reversal or continuation.
The indicator is also equipped with an EMA (Exponential Moving Average) as an optional visual aid to give traders a sense of the prevailing trend, though it is not used as part of the signal generation logic.
Key Features:
Liquidity Sweep Detection:
Bullish Sweep: Triggered when the current candle sweeps below the low of the previous candle and then closes above the high of the previous candle. This indicates a potential market reversal to the upside after the liquidity sweep.
Bearish Sweep: Triggered when the current candle sweeps above the high of the previous candle and then closes below the low of the previous candle. This indicates a potential market reversal to the downside after the liquidity sweep.
EMA:
The EMA (50) is plotted on the chart for visual trend guidance. While it is not used to confirm the signals, it can help traders see if the market is in a general uptrend or downtrend.
Signal Presentation:
Buy Signal: The indicator will plot a green upward arrow below the candle when a bullish liquidity sweep is detected.
Sell Signal: The indicator will plot a red downward arrow above the candle when a bearish liquidity sweep is detected.
Timeframe Filter:
The indicator only generates signals on the following timeframes: 30-minute, 1-hour, 4-hour, and Daily. This helps to ensure the sweeps are significant and likely to result in meaningful price moves.
Alerts:
Alerts can be set up for both bullish and bearish sweep signals, so traders can be notified when these events occur.
Customizable:
EMA Length: The length of the Exponential Moving Average (EMA) can be adjusted. By default, it is set to 50, but you can modify this to fit your trading strategy.
Show EMA Option: You can toggle whether or not to display the EMA line on the chart.
How It Works:
The indicator looks for price action patterns where the current candle sweeps through the high or low of the previous candle and closes beyond the previous wick.
These patterns are often seen as potential traps, where the price initially moves in one direction (sweeping the liquidity) and then quickly reverses, making them important for traders who want to catch reversals or breakouts after a liquidity sweep.
The EMA (50) gives a general trend direction but doesn't directly affect the trade signals. It serves as a visual reference for trend analysis.
Potential Use Cases:
Reversal Trading: Traders can use this indicator to catch reversals after a liquidity sweep. The green upward arrows may indicate a bullish reversal, while the red downward arrows may indicate a bearish reversal.
Trend Trading: The EMA can help traders gauge the overall market trend. If the price is above the EMA, the market may be in an uptrend, and traders may focus on bullish sweeps. Conversely, if the price is below the EMA, the market may be in a downtrend, and traders may focus on bearish sweeps.
Confirmation with Other Indicators: Although the EMA is not used to confirm signals in this script, it can be combined with other indicators (like RSI, Volume, or MACD) to enhance the accuracy of your trades.
Final Thoughts:
This script is designed to identify liquidity sweeps and price reversals based on price action alone, without relying on complex indicators. The optional EMA serves as a helpful tool for understanding the overall market trend. It’s ideal for traders looking to spot potential reversal points after significant price sweeps and is suitable for multiple timeframes (30m, 1h, 4h, Daily).
You can use this description to help potential users understand the functionality of your indicator when publishing it on TradingView or selling it as an invite-only script. Let me know if you need any adjustments or further details!
Composite Scaled EMA LevelsComposite Scaled EMA Levels Indicator
This TradingView Pine Script indicator calculates a “composite EMA” that compares the closing price of the current asset with that of the XU100 index and scales the EMA values to the XU100 level. It then visualizes these computed levels as horizontal lines on the chart with corresponding labels.
Key Components:
Inputs and Data Retrieval:
Length Input: The user defines a parameter length (default is 10) which determines over how many bars the horizontal line is drawn.
Data Collection:
The daily closing price of the current symbol (current_close) is retrieved using request.security().
The daily closing price of the XU100 index (xu100) is also retrieved.
A ratio is computed as current_close / xu100. This ratio serves as the basis for calculating the composite EMAs.
EMA Calculations:
The indicator computes Exponential Moving Averages (EMAs) on the ratio for specific periods.
In the provided version, the script calculates EMAs for three periods (34, 55, and 233), though you can easily expand this to other periods if needed.
Each computed EMA (for instance, EMA34, EMA55, EMA233) is then scaled by multiplying it with the XU100 index’s close, converting it to a price level that is meaningful on the chart.
Drawing Horizontal Lines:
Instead of using the standard plot() function, the script uses line.new() to draw horizontal lines representing the scaled EMA values over the last “length” bars.
Before drawing new lines, any existing lines and labels are deleted to ensure that only the most current values are shown.
Adding Labels to Lines:
The script creates a label for each EMA using label.new(), placing the label at the current bar (i.e., the rightmost position on the chart) using label.style_label_left so that the text appears to the right of the line.
The label displays the name of the composite EMA (e.g., "Composite EMA 34") along with its current scaled value.
Visualization:
The horizontal lines and labels provide a visual reference for the composite EMA levels. These lines help traders see critical support/resistance levels derived from the relationship between the current asset and the XU100 index.
Colors are assigned for clarity (for example, the EMA lines in this version use green).
Summary:
The Composite Scaled EMA Levels indicator is designed to help traders analyze the relationship between an asset’s price and the broader market index (XU100) by calculating a ratio and then applying EMAs on that ratio. By scaling these EMAs back to price levels and displaying them as horizontal lines with clear labels on the chart, the indicator offers a visual tool to assess trend direction and potential support or resistance levels. This can assist in making informed trading decisions based on composite trend analysis.
MTF RSI & SMA Crossover [OB/OS Filtered Signals]MTF RSI & SMA Crossover
This custom indicator combines the power of Multi-Timeframe (MTF) RSI, Simple Moving Average (SMA), and overbought/oversold (OB/OS) conditions to provide precise buy and sell signals based on the crossovers of the RSI and its SMA. The indicator includes the following features:
MTF RSI: The Relative Strength Index (RSI) is calculated on a customizable timeframe, giving traders the ability to analyze price momentum across different timeframes.
SMA of RSI: The RSI is smoothed using a Simple Moving Average (SMA), helping to filter out market noise and identify clearer trend reversals.
Overbought/Oversold Filter: Signals are only triggered when the RSI has been in an overbought (above 70) or oversold (below 30) condition, improving the reliability of potential trend reversals.
Buy/Sell Signals:
Buy signals occur when the RSI crosses above its SMA after being oversold, indicating potential upward momentum.
Sell signals occur when the RSI crosses below its SMA after being overbought, indicating potential downward momentum.
Customizable Label Colors: Choose your own colors for the "BUY" and "SELL" labels to match your chart's design and preferences.
Alerts: Set alerts for buy and sell signals, ensuring you don't miss a potential trade.
This indicator is ideal for traders who want to capture trend reversals and momentum shifts while filtering out false signals by using overbought and oversold conditions. Customize the settings to suit your trading style and strategy.
Trap Zone 2 minTrap Zone 2 Min — Visual Detection of Trap and Expansion Zones
This indicator is designed to clearly identify key price zones on lower timeframes, particularly the 2-minute chart. It's ideal for scalpers and intraday traders looking for structured, high-probability setups.
Trap Zone (No Trade Zone)
A central shaded area where trading is discouraged.
Marks potential liquidity traps or manipulation zones.
Calculated using recent highs, lows, and moving averages (MA20 and MA200).
Zones + and -
Positioned two times the size of an EB (Elephant Bar) above and below the trap zone.
Represent the first expansion level.
Useful for identifying potential long or short entries based on price breakout direction.
Zones ++ and --
Extend from the first + or - level to the next line outward.
Represent a second expansion layer, often aligning with price continuation or reaction zones.
Helpful for profit-taking or adjusting risk.
Zones +++ and ---
The most extreme levels plotted.
Serve as final take-profit areas or potential reversal zones.
Additional Features
Optional display of MA20 and MA200.
Configurable ADR (Average Daily Range) labels.
Full visual customization for better chart integration.
Best For
Scalpers and intraday traders.
Identifying and reacting to structured market zones.
Mapping price expansions and potential reversal points.
ScalpSwing Pro SetupScript Overview
This script is a multi-tool setup designed for both scalping (1m–5m) and swing trading (1H–4H–Daily). It combines the power of trend-following , momentum , and mean-reversion tools:
What’s Included in the Script
1. EMA Indicators (20, 50, 200)
- EMA 20 (blue) : Short-term trend
- EMA 50 (orange) : Medium-term trend
- EMA 200 (red) : Long-term trend
- Use:
- EMA 20 crossing above 50 → bullish trend
- EMA 20 crossing below 50 → bearish trend
- Price above 200 EMA = uptrend bias
2. VWAP (Volume Weighted Average Price)
- Shows the average price weighted by volume
- Best used in intraday (1m to 15m timeframes)
- Use:
- Price bouncing from VWAP = reversion trade
- Price far from VWAP = likely pullback incoming
3. RSI (14) + Key Levels
- Shows momentum and overbought/oversold zones
- Levels:
- 70 = Overbought (potential sell)
- 30 = Oversold (potential buy)
- 50 = Trend confirmation
- Use:
- RSI 30–50 in uptrend = dip buying zone
- RSI 70–50 in downtrend = pullback selling zone
4. MACD Crossovers
- Standard MACD with histogram & cross alerts
- Shows trend momentum shifts
- Green triangle = Bullish MACD crossover
- Red triangle = Bearish MACD crossover
- Use:
- Confirm swing trades with MACD crossover
- Combine with RSI divergence
5. Buy & Sell Signal Logic
BUY SIGNAL triggers when:
- EMA 20 crosses above EMA 50
- RSI is between 50 and 70 (momentum bullish, not overbought)
SELL SIGNAL triggers when:
- EMA 20 crosses below EMA 50
- RSI is between 30 and 50 (bearish momentum, not oversold)
These signals appear as:
- BUY : Green label below the candle
- SELL : Red label above the candle
How to Trade with It
For Scalping (1m–5m) :
- Focus on EMA crosses near VWAP
- Confirm with RSI between 50–70 (buy) or 50–30 (sell)
- Use MACD triangle as added confluence
For Swing (1H–4H–Daily) :
- Look for EMA 20–50 cross + price above EMA 200
- Confirm trend with MACD and RSI
- Trade breakout or pullback depending on structure
RSI in pane and 3 EMAs on chartCustom RSI in Pane + 3 EMAs on Chart — with Optional RSI Divergence Detection
Combines RSI in a separate pane with 3 EMAs on the chart and optional RSI-based divergence detection. Useful for analyzing both momentum and trend structure.
Features
RSI Pane
Custom RSI calculation (not built-in ta.rsi) with adjustable source and length
Overlay optional moving average (SMA, EMA, SMMA/RMA, WMA, VWMA, or Bollinger Bands) Overbought/oversold gradient fill for visual clarity (70 / 30 zones)
Midline (50) for neutral RSI territory
RSI Divergence Detection
Optional: toggle on/off with one input
Regular Bullish Divergence : Price makes a lower low, RSI makes a higher low
Regular Bearish Divergence : Price makes a higher high, RSI makes a lower high
Customizable lookback for pivot detection
Visual markers and labels plotted on RSI
Built-in alert conditions for both divergence types
3 EMA Trend Indicators on Price Chart
Three customizable EMAs (default: 20, 50, 200)
Color-coded and clearly plotted on main chart
Use to determine short/mid/long-term trend bias
No repainting or smoothing artifacts
Why use this script?
Gives a full view of trend + momentum without cluttering the main price chart, and it helps confirm entries and exits by observing RSI behavior alongside EMAs. The optional divergence detection can act as a signal for potential exhaustion or reversal (not entry signals on their own). It is a Good fit for traders who use RSI zones, divergences, and EMA structure in their decision-making, both for intra-day and swing trades (where it performs best).
How to use
Add this script to your chart. EMAs will appear on the main price chart; RSI and divergence will appear in a separate pane.
Adjust RSI and MA settings to fit your trading style (e.g., fast RSI for scalping, slower for swing)
Enable "Show Divergence" if you want visual alerts and markers
Use alerts to get notified when a divergence occurs without watching the chart
Always check the divergences on different time frames to validate the setup, and do not consider them valid on small time frames (<15 minutes).
Built for traders who want both momentum and trend context in a single tool — without clutter, repainting, or noise. I created this script to streamline my own analysis and avoid switching between multiple indicators. It's not meant to be a "signal generator" but a visual assistant for making better decisions. If you find it useful or have feedback, feel free to reach out.
Win-Loss Streak PlotterWin-Loss Streak Plotter
This indicator tracks the win/loss streaks of moving average crossovers (using simple moving averages for illustration purposes). It calculates the price change after each crossover, marking each as a win (green) or loss (red). The win rate is shown separately.
Inputs:
Source: Price series (default: open)
Fast MA: Fast moving average (default: open)
Slow MA: Slow moving average (default: open)
Total Crosses to Analyze: Number of crossovers to track
Crosses per Row: Number of crossovers per row in the table
Output:
A table displays each crossover’s result (win/loss).
A separate win rate table shows the percentage of wins.
Suggestions are always welcomed!
ES1! vs ZB1! Exponentially Weighted CorrelationES1! vs ZB1! Exponentially Weighted Correlation
This indicator calculates and visualizes the exponentially weighted correlation between the S&P 500 E-mini futures (ES1!) and the 30-Year U.S. Treasury Bond futures (ZB1!) over a user-defined lookback period. By using an exponential moving average (EMA) approach, it emphasizes recent price movements, providing a dynamic view of the relationship between these two key financial instruments.
Features:
- Customizable Inputs: Adjust the lookback length (default: 60) and alpha (default: 0.1) to fine-tune the sensitivity of the correlation calculation.
- Exponentially Weighted Correlation: Measures the strength and direction of the relationship between ES1! and ZB1! prices, with more weight given to recent data.
- Visual Clarity: Displays correlation as colored bars (green for positive, red for negative) for quick interpretation, with reference lines at 0, +1, and -1 for context.
- Non-Overlay Design: Plotted in a separate panel below the chart to avoid cluttering price data.
How It Works:
The indicator fetches closing prices for ES1! and ZB1!, applies an EMA to smooth the data, and computes the exponentially weighted covariance and variances. The correlation is then derived and plotted as a histogram, helping traders identify whether the two markets are moving together (positive correlation), in opposite directions (negative correlation), or independently.
Use Cases:
- Market Analysis: Gauge the relationship between equity and bond markets to inform trading strategies.
- Risk Management: Monitor correlation shifts to adjust portfolio exposure.
- Intermarket Insights: Identify trends or divergences in the stock-bond dynamic for macroeconomic analysis.
Ideal for traders and analysts tracking intermarket relationships, this indicator offers a clear, responsive tool for understanding ES1! and ZB1! correlation in real-time.
Webby's Market OrderThis is visual representation of Webby's Market Order.
When three consecutive lows are above 21 EMA, Uptrend expectation is natural.
When three highs are below 21 EMA, Downtrend expectation is natural.
Alert Conditions can be set when uptrend and down trend are expected.
Use this indicator with IXIC or SPY or major indices.
This is set at three lows/Highs above 21 EMA as looked by Mike Webster.