|Magical Trend Line with RSI & ADX|# 📊 Multi-Symbol RSI + ADX Trend Confirmation System
### Adaptive Multi-Layer Trend Analyzer with EMA Structure, RSI Momentum, ADX Strength & Table Dashboard
**Version:** 1.0 | **Language:** Pine Script v6 | **Author:** ask2maniish
---
## 🔍 Summary of the Script
This indicator combines **EMA trend structure**, **RSI**, and **ADX** to form a **multi-layered trend confirmation system** with rich visual cues and a live table dashboard.
---
## 🧭 1. Trend Direction System
Uses **EMA Fast**, **EMA Slow**, and **Main EMA (default 100-period)** to detect the current trend structure.
Classifies trends into 5 categories:
| Trend Type | Color | Description |
|-------------|--------|-------------|
| 🟢 Bright Green | Strong Bullish | Strong upside with momentum |
| 🟩 Green | Moderate Bullish | Controlled upward structure |
| ⚪ Gray | Sideways / Neutral | Low momentum or indecision |
| 🟧 Orange | Moderate Bearish | Controlled decline |
| 🔴 Red | Strong Bearish | Aggressive downward pressure |
---
## ⚙️ 2. RSI + ADX Momentum Filter
**RSI** detects momentum direction and exhaustion:
- RSI > 70 → Overbought (Potential reversal)
- RSI < 30 → Oversold (Potential reversal)
- RSI rising above 50 → Bullish momentum
- RSI falling below 50 → Bearish momentum
**ADX** identifies trend strength:
- ADX > 25 → Strong trend
- ADX < 25 → Weak / ranging market
✅ **Combined Logic:**
RSI defines direction, ADX confirms strength.
When both align with EMA structure, trend continuation probability increases.
---
## 📈 3. Multiple EMA Layers (7 Total)
Optionally visualize up to **7 EMAs (5, 8, 13, 21, 144-high, 144-close, 144-low)**.
Each EMA auto-colors using localized slope and RSI/ADX confluence logic.
Gives a clear view of **momentum stacking** and **trend maturity**.
---
## 📊 4. Trend Meter Table (HTF + LTF View)
A dynamic table provides both **current timeframe (LTF)** and **higher timeframe (HTF)** trend confirmation.
| Table Section | Description |
|----------------|-------------|
| **Current TF Trend** | EMA-based directional bias |
| **HTF Trend** | Optional higher timeframe confirmation |
| **RSI Status** | Momentum context |
| **ADX Strength** | Trend power |
| **Overall Bias** | Combined directional strength |
🧩 Example:
- ✅ Both LTF & HTF show Bullish → focus on longs.
- ❌ Both Bearish → focus on shorts.
- ⚪ Mixed → stand aside or scalp.
---
## 🎨 5. Background & Label System
- **Soft background shading** → shows live market bias.
- **On-chart labels** → display EMA trend, RSI/ADX values, and crossover events.
- **Color-coded EMA bands** → provide instant visual context.
---
## 🎯 How to Trade Using This Indicator
### 1️⃣ Identify Overall Market Context
Use the **Trend Meter Table** for directional bias.
- ✅ Bullish on both TFs → Focus on long setups.
- ❌ Bearish on both TFs → Focus on short setups.
- ⚪ Mixed signals → Wait for clarity or scalp only.
---
### 2️⃣ Entry Logic
**Long Setup**
- Main EMA color = 🟢 Green or Bright Green
- RSI rising above 50 (not yet overbought)
- ADX > threshold (e.g., 25)
- Price above both Fast & Slow EMA
**Short Setup**
- Main EMA color = 🟧 Orange or 🔴 Red
- RSI below 50 (not yet oversold)
- ADX > threshold
- Price below both Fast & Slow EMA
---
### 3️⃣ Exit / Reversal
- RSI enters overbought/oversold zone → take profit or tighten stop.
- Trend label shifts from “Strong” to “Moderate” → trend weakening.
- Candle closes below/above EMA cluster → exit signal.
---
### 4️⃣ Multi-Timeframe Confirmation
Always trade in the direction of **HTF bias**.
Example:
📍 On 15m → Confirm with 4H trend.
If 4H = “Strong Bullish”, only take long entries when local (15m) = bullish.
---
## ⚡ Tips
- Use with Smart Money Concepts or liquidity tools for added confluence.
- Works well for swing, intraday, and positional setups.
- Adjust RSI/ADX thresholds to match volatility regime.
---
## 📘 Disclaimer
This indicator is for **educational purposes** only and does not constitute financial advice.
Trade responsibly and use risk management at all times.
---
**© 2025 ask2maniish | Magical Trend Line with RSI & ADX**
Moving Averages
Double Weighted Moving Average (DWMA)# DWMA: Double Weighted Moving Average
## Overview and Purpose
The Double Weighted Moving Average (DWMA) is a technical indicator that applies weighted averaging twice in sequence to create a smoother signal with enhanced noise reduction. Developed in the late 1990s as an evolution of traditional weighted moving averages, the DWMA was created by quantitative analysts seeking enhanced smoothing without the excessive lag typically associated with longer period averages. By applying a weighted moving average calculation to the results of an initial weighted moving average, DWMA achieves more effective filtering while preserving important trend characteristics.
## Core Concepts
* **Cascaded filtering:** DWMA applies weighted averaging twice in sequence for enhanced smoothing and superior noise reduction
* **Linear weighting:** Uses progressively increasing weights for more recent data in both calculation passes
* **Market application:** Particularly effective for trend following strategies where noise reduction is prioritized over rapid signal response
* **Timeframe flexibility:** Works across multiple timeframes but particularly valuable on daily and weekly charts for identifying significant trends
The core innovation of DWMA is its two-stage approach that creates more effective noise filtering while minimizing the additional lag typically associated with longer-period or higher-order filters. This sequential processing creates a more refined output that balances noise reduction and signal preservation better than simply increasing the length of a standard weighted moving average.
## Common Settings and Parameters
| Parameter | Default | Function | When to Adjust |
|-----------|---------|----------|---------------|
| Length | 14 | Controls the lookback period for both WMA calculations | Increase for smoother signals in volatile markets, decrease for more responsiveness |
| Source | close | Price data used for calculation | Consider using hlc3 for a more balanced price representation |
**Pro Tip:** For trend following, use a length of 10-14 with DWMA instead of a single WMA with double the period - this provides better smoothing with less lag than simply increasing the period of a standard WMA.
## Calculation and Mathematical Foundation
**Simplified explanation:**
DWMA first calculates a weighted moving average where recent prices have more importance than older prices. Then, it applies the same weighted calculation again to the results of the first calculation, creating a smoother line that reduces market noise more effectively.
**Technical formula:**
```
DWMA is calculated by applying WMA twice:
1. First WMA calculation:
WMA₁ = (P₁ × w₁ + P₂ × w₂ + ... + Pₙ × wₙ) / (w₁ + w₂ + ... + wₙ)
2. Second WMA calculation applied to WMA₁:
DWMA = (WMA₁₁ × w₁ + WMA₁₂ × w₂ + ... + WMA₁ₙ × wₙ) / (w₁ + w₂ + ... + wₙ)
```
Where:
- Linear weights: most recent value has weight = n, second most recent has weight = n-1, etc.
- n is the period length
- Sum of weights = n(n+1)/2
**O(1) Optimization - Inline Dual WMA Architecture:**
This implementation uses an advanced O(1) algorithm with two complete inline WMA calculations. Each WMA uses the dual running sums technique:
1. **First WMA (source → wma1)**:
- Maintains buffer1, sum1, weighted_sum1
- Recurrence: `W₁_new = W₁_old - S₁_old + (n × P_new)`
- Cached denominator norm1 after warmup
2. **Second WMA (wma1 → dwma)**:
- Maintains buffer2, sum2, weighted_sum2
- Recurrence: `W₂_new = W₂_old - S₂_old + (n × WMA₁_new)`
- Cached denominator norm2 after warmup
**Implementation details:**
- Both WMAs fully integrated inline (no helper functions)
- Each maintains independent state: buffers, sums, counters, norms
- Both warm up independently from bar 1
- Performance: ~16 operations per bar regardless of period (vs ~10,000 for naive O(n²) implementation)
**Why inline architecture:**
Unlike helper functions, the inline approach makes all state variables and calculations visible in a single scope, eliminating function call overhead and making the dual-pass nature explicit. This is ideal for educational purposes and when debugging complex cascaded filters.
> 🔍 **Technical Note:** The dual-pass O(1) approach creates a filter that effectively increases smoothing without the quadratic increase in computational cost. Original O(n²) implementations required ~10,000 operations for period=100; this optimized version requires only ~16 operations, achieving a 625x speedup while maintaining exact mathematical equivalence.
## Interpretation Details
DWMA can be used in various trading strategies:
* **Trend identification:** The direction of DWMA indicates the prevailing trend
* **Signal generation:** Crossovers between price and DWMA generate trade signals, though they occur later than with single WMA
* **Support/resistance levels:** DWMA can act as dynamic support during uptrends and resistance during downtrends
* **Trend strength assessment:** Distance between price and DWMA can indicate trend strength
* **Noise filtering:** Using DWMA to filter noisy price data before applying other indicators
## Limitations and Considerations
* **Market conditions:** Less effective in choppy, sideways markets where its lag becomes a disadvantage
* **Lag factor:** More lag than single WMA due to double calculation process
* **Initialization requirement:** Requires more data points for full calculation, showing more NA values at chart start
* **Short-term trading:** May miss short-term trading opportunities due to increased smoothing
* **Complementary tools:** Best used with momentum oscillators or volume indicators for confirmation
## References
* Jurik, M. "Double Weighted Moving Averages: Theory and Applications in Algorithmic Trading Systems", Jurik Research Papers, 2004
* Ehlers, J.F. "Cycle Analytics for Traders," Wiley, 2013
Weighted Moving Average (WMA)This implementation uses O(1) algorithm that eliminates the need to loop through all period values on each bar. It also generates valid WMA values from the first bar and is not returning NA when number of bars is less than period.
## Overview and Purpose
The Weighted Moving Average (WMA) is a technical indicator that applies progressively increasing weights to more recent price data. Emerging in the early 1950s during the formative years of technical analysis, WMA gained significant adoption among professional traders through the 1970s as computational methods became more accessible. The approach was formalized in Robert Colby's 1988 "Encyclopedia of Technical Market Indicators," establishing it as a staple in technical analysis software. Unlike the Simple Moving Average (SMA) which gives equal weight to all prices, WMA assigns greater importance to recent prices, creating a more responsive indicator that reacts faster to price changes while still providing effective noise filtering.
## Core Concepts
* **Linear weighting:** WMA applies progressively increasing weights to more recent price data, creating a recency bias that improves responsiveness
* **Market application:** Particularly effective for identifying trend changes earlier than SMA while maintaining better noise filtering than faster-responding averages like EMA
* **Timeframe flexibility:** Works effectively across all timeframes, with appropriate period adjustments for different trading horizons
The core innovation of WMA is its linear weighting scheme, which strikes a balance between the equal-weight approach of SMA and the exponential decay of EMA. This creates an intuitive and effective compromise that prioritizes recent data while maintaining a finite lookback period, making it particularly valuable for traders seeking to reduce lag without excessive sensitivity to price fluctuations.
## Common Settings and Parameters
| Parameter | Default | Function | When to Adjust |
|-----------|---------|----------|---------------|
| Length | 14 | Controls the lookback period | Increase for smoother signals in volatile markets, decrease for responsiveness |
| Source | close | Price data used for calculation | Consider using hlc3 for a more balanced price representation |
**Pro Tip:** For most trading applications, using a WMA with period N provides better responsiveness than an SMA with the same period, while generating fewer whipsaws than an EMA with comparable responsiveness.
## Calculation and Mathematical Foundation
**Simplified explanation:**
WMA calculates a weighted average of prices where the most recent price receives the highest weight, and each progressively older price receives one unit less weight. For example, in a 5-period WMA, the most recent price gets a weight of 5, the next most recent a weight of 4, and so on, with the oldest price getting a weight of 1.
**Technical formula:**
```
WMA = (P₁ × w₁ + P₂ × w₂ + ... + Pₙ × wₙ) / (w₁ + w₂ + ... + wₙ)
```
Where:
- Linear weights: most recent value has weight = n, second most recent has weight = n-1, etc.
- The sum of weights for a period n is calculated as: n(n+1)/2
- For example, for a 5-period WMA, the sum of weights is 5(5+1)/2 = 15
**O(1) Optimization - Dual Running Sums:**
The key insight is maintaining two running sums:
1. **Unweighted sum (S)**: Simple sum of all values in the window
2. **Weighted sum (W)**: Sum of all weighted values
The recurrence relation for a full window is:
```
W_new = W_old - S_old + (n × P_new)
```
This works because when all weights decrement by 1 (as the window slides), it's mathematically equivalent to subtracting the entire unweighted sum. The implementation:
- **During warmup**: Accumulates both sums as the window fills, computing denominator each bar
- **After warmup**: Uses cached denominator (constant at n(n+1)/2), updates both sums in constant time
- **Performance**: ~8 operations per bar regardless of period, vs ~100+ for naive O(n) implementation
> 🔍 **Technical Note:** Unlike EMA which theoretically considers all historical data (with diminishing influence), WMA has a finite memory, completely dropping prices that fall outside its lookback window. This creates a cleaner break from outdated market conditions. The O(1) optimization achieves 12-25x speedup over naive implementations while maintaining exact mathematical equivalence.
## Interpretation Details
WMA can be used in various trading strategies:
* **Trend identification:** The direction of WMA indicates the prevailing trend with greater responsiveness than SMA
* **Signal generation:** Crossovers between price and WMA generate trade signals earlier than with SMA
* **Support/resistance levels:** WMA can act as dynamic support during uptrends and resistance during downtrends
* **Moving average crossovers:** When a shorter-period WMA crosses above a longer-period WMA, it signals a potential uptrend (and vice versa)
* **Trend strength assessment:** Distance between price and WMA can indicate trend strength
## Limitations and Considerations
* **Market conditions:** Still suboptimal in highly volatile or sideways markets where enhanced responsiveness may generate false signals
* **Lag factor:** While less than SMA, still introduces some lag in signal generation
* **Abrupt window exit:** The oldest price suddenly drops out of calculation when leaving the window, potentially causing small jumps
* **Step changes:** Linear weighting creates discrete steps in influence rather than a smooth decay
* **Complementary tools:** Best used with volume indicators and momentum oscillators for confirmation
## References
* Colby, Robert W. "The Encyclopedia of Technical Market Indicators." McGraw-Hill, 2002
* Murphy, John J. "Technical Analysis of the Financial Markets." New York Institute of Finance, 1999
* Kaufman, Perry J. "Trading Systems and Methods." Wiley, 2013
Iriza4 -DAX EMA+HULL+ADX TP40 SL205 MIN SKALP. Additional filters improve accuracy: the strategy blocks trades after too many consecutive bullish or bearish candles (streak filter) and ignores signals when price is too far from the EMA (measured by ATR distance).
Each position uses a fixed risk-to-reward ratio of 1 : 2 with clear stop-loss and take-profit targets, without partial exits or breakevens. The goal is to identify clean pullbacks inside strong trends and filter out late or exhausted entries
Empire OS Trading Fully Automated Prop Firm Ready💎 Prop-Firm-Ready Momentum System v3 — The Gold-Mine Algorithm 💎
Engineered for the same standards that top prop firms demand — minimal drawdown, consistent equity growth, and precision-based execution. This isn’t a basic indicator; it’s a refined momentum engine built for traders who scale capital and manage risk like professionals.
Performance Snapshot
• Profit Factor 2.26 • Win Rate 33 % • Max Drawdown 0.9 % • Total P/L + $447 • W/L Ratio 4.6 : 1
Stress-tested on Gold (XAUUSD) across live-market conditions, it stays composed under volatility and delivers structured, data-driven consistency.
⚡ See it. Test it. Scale it.
Built for prop-firm precision — from $10 K to $300 K and beyond.
Simple Moving Average (SMA)## Overview and Purpose
The Simple Moving Average (SMA) is one of the most fundamental and widely used technical indicators in financial analysis. It calculates the arithmetic mean of a selected range of prices over a specified number of periods. Developed in the early days of technical analysis, the SMA provides traders with a straightforward method to identify trends by smoothing price data and filtering out short-term fluctuations. Due to its simplicity and effectiveness, it remains a cornerstone indicator that forms the basis for numerous other technical analysis tools.
## What’s Different in this Implementation
- **Constant streaming update:**
On each bar we:
1) subtract the value leaving the window,
2) add the new value,
3) divide by the number of valid samples (early) or by `period` (once full).
- **Deterministic lag, same as textbook SMA:**
Once full, lag is `(period - 1)/2` bars—identical to the classic SMA. You just **don’t lose the first `period-1` bars** to `na`.
- **Large windows without penalty:**
Complexity is constant per tick; memory is bounded by `period`. Very long SMAs stay cheap.
## Behavior on Early Bars
- **Bars < period:** returns the arithmetic mean of **available** samples.
Example (period = 10): bar #3 is the average of the first 3 inputs—not `na`.
- **Bars ≥ period:** behaves exactly like standard SMA over a fixed-length window.
> Implication: Crosses and signals can appear earlier than with `ta.sma()` because you’re not suppressing the first `period-1` bars.
## When to Prefer This
- Backtests needing early bars: You want signals and state from the very first bars.
- High-frequency or very long SMAs: O(1) updates avoid per-bar CPU spikes.
- Memory-tight scripts: Single circular buffer; no large temp arrays per tick.
## Caveats & Tips
Backtest comparability: If you previously relied on na gating from ta.sma(), add your own warm-up guard (e.g., only trade after bar_index >= period-1) for apples-to-apples.
Missing data: The function treats the current bar via nz(source); adjust if you need strict NA propagation.
Window semantics: After warm-up, results match the textbook SMA window; early bars are a partial-window mean by design.
## Math Notes
Running-sum update:
sum_t = sum_{t-1} - oldest + newest
SMA_t = sum_t / k where k = min(#valid_samples, period)
Lag (full window): (period - 1) / 2 bars.
## References
- Edwards & Magee, Technical Analysis of Stock Trends
- Murphy, Technical Analysis of the Financial Markets
RSI +WMA+ MA + Div SETUPRSI +WMA+ MA + Div SETUP
Индикатор объединяет анализ RSI, скользящих средних RSI (EMA/WMA), дивергенций, автоматические уровни поддержки/сопротивления на RSI, «лестницу цен» для целевых уровней RSI и фильтр тренда со старшего таймфрейма (HTF).
Точки входа формируются строго в месте пересечения RSI с заданным уровнем после выполнения выбранного сетапа. Поддержан режим «без повторов до смены направления».
Что показывает
Линии RSI, EMA(9) от RSI и WMA(45) от RSI.
Фон панели: бычий/медвежий/нейтральный режим импульса RSI (по соотношению EMA и WMA и наклону WMA).
Маркеры ▲/▼ — смена фазы импульса RSI (не торговые сигналы).
Дивергенции (регулярные): Bull/Bear с метками.
Auto SnR на RSI: динамические уровни поддержки/сопротивления по экстремумам RSI.
WMA SnR points: точки ретеста WMA на RSI.
Лестница цен: оценка цены, при которой RSI достигнет выбранных уровней.
HTF-линия: WMA(45) от RSI на старшем ТФ (по желанию).
Торговые сигналы (BUY/SELL)
Сигналы строятся в окне осциллятора RSI ровно в точке кросса:
BUY: (по выбранному сетапу) + пересечение RSI↑ заданного уровня (по умолчанию 40) + (опционально) выполнен HTF-фильтр.
SELL: (по выбранному сетапу) + пересечение RSI↓ заданного уровня (по умолчанию 60) + (опционально) выполнен HTF-фильтр.
Сетапы входа (переключатель)
Setup 1: Div + Cross — требуется подтверждённая дивергенция (Bull/Bear) и кросс RSI уровня в пределах заданного «окна» баров.
Setup 2: Cross only — только кросс RSI уровня, без требования дивергенции.
HTF-фильтр тренда
Расчёт WMA(45) от RSI на настраиваемом HTF (M, H1=60, H4=240, D и т. д.).
Разрешение Лонга, если HTF_WMA45 ≥ L-уровня (например, 50).
Разрешение Шорта, если HTF_WMA45 ≤ S-уровня.
Опция «Только после закрытия HTF-свечи» исключает перерисовку фильтра до закрытия старшего бара.
Основные настройки
RSI Length, Source.
EMA Length / WMA Length (для линий на RSI).
Визуальные уровни RSI (Up/Down) и подсветка фона.
Divergence: пороги показа (RSI ≤ X / ≥ Y), метки.
Price ladder: список целевых уровней RSI и «шаг» вывода цен.
Auto SnR: три окна lookback, цвета линий.
WMA SnR: чувствительность к ретестам WMA.
Entries: выбор сетапа, окно после дивергенции, уровни для Лонга/Шорта (по умолчанию 40/60), «ставить метку по фактическому RSI», без повторов.
HTF Filter: вкл/выкл, ТФ, уровни для Лонга/Шорта, «только по закрытию», показать HTF-линию.
Алерты
BUY: HTF ok + Setup OK + RSI cross up
SELL: HTF ok + Setup OK + RSI cross down
Сообщения алертов — константные строки (совместимы с Pine).
Перерисовка
Локальные сигналы ставятся на закрытии бара кросса RSI — не перерисовываются.
Дивергенции используют pivot-логику (подтверждаются через lookback) — метка появляется после подтверждения.
HTF-фильтр без перерисовки при включённой опции «Только после закрытия HTF-свечи».
Пример использования
H1 фильтр ≥ 50, M5 Setup 1: дождитесь Bull-дивергенции на M5, затем кросса RSI↑40 в течение N баров — получите BUY.
Для входов без дивергенций выберите Setup 2.
English Description
RSI +WMA+ MA + Div SETUP
All-in-one RSI toolkit: native RSI, RSI-based EMA/WMA, divergence detection, automatic RSI Support/Resistance, price ladder (target prices for chosen RSI levels), and a configurable Higher-Timeframe (HTF) trend filter.
Entry markers are printed exactly at the RSI level cross once the selected setup conditions are met. Includes a No-Repeat option to avoid duplicate signals.
Visuals
RSI, EMA(9) of RSI, WMA(45) of RSI.
Background shading for bull/bear/neutral RSI impulse phases (EMA vs WMA and WMA slope).
▲/▼ phase-change markers (context only, not trade signals).
Regular Bull/Bear divergences with optional labels.
Auto RSI SnR lines from RSI extremes.
WMA SnR points (RSI retests of WMA).
Price ladder: estimated price to reach given RSI levels.
Optional HTF line: WMA(45) of RSI calculated on a higher timeframe.
Trade Signals (BUY/SELL)
Signals plot in the RSI pane at the cross point:
BUY: selected setup satisfied + RSI crosses up the chosen level (default 40) + optional HTF filter passes.
SELL: selected setup satisfied + RSI crosses down the chosen level (default 60) + optional HTF filter passes.
Entry Setups (selector)
Setup 1: Div + Cross — requires a confirmed Bull/Bear divergence and an RSI level cross within a user-defined bar window.
Setup 2: Cross only — RSI level cross only (no divergence required).
HTF Trend Filter
Computes WMA(45) of RSI on a configurable higher timeframe (e.g., 60=H1, 240=H4, D, etc.).
Long allowed if HTF_WMA45 ≥ Long threshold (e.g., 50).
Short allowed if HTF_WMA45 ≤ Short threshold.
“Close-only” option ensures the HTF filter updates only after the HTF bar closes (no repaint).
Key Inputs
RSI length/source; EMA/WMA lengths.
Visual RSI up/down levels & background shading.
Divergence thresholds (RSI ≤ / ≥), labels.
Price ladder: target RSI levels & label spacing.
Auto SnR: three lookback windows, colors.
WMA SnR: retest sensitivity.
Entries: setup selector, divergence window, Long/Short levels (40/60 by default), “mark at actual RSI value”, no-repeat.
HTF Filter: enable, timeframe, Long/Short thresholds, close-only, show HTF line.
Alerts
BUY: HTF ok + Setup OK + RSI cross up
SELL: HTF ok + Setup OK + RSI cross down
Alert messages are constant strings (Pine-compatible).
Repaint Notes
LTF entry signals are placed at bar close when the cross occurs — no repaint.
Divergences rely on pivots; labels plot after confirmation.
HTF filter does not repaint when Close-only is enabled.
Example
H1 filter ≥ 50, M5 Setup 1: wait for a Bull divergence on M5 and an RSI cross up 40 within N bars — you’ll get a BUY.
Choose Setup 2 for cross-only entries.
ATR Money Line Bands V2The "ATR Money Line Bands V2" is a clever TradingView overlay designed for trend identification with volatility-aware bands, evolving from basic ATR envelopes.
Reasoning Behind Construction: The core idea is to blend a smoothed trend line with dynamic volatility bands for reliable signals in varying markets. The "Money Line" uses linear regression (ta.linreg) on closes over a length (default 16) instead of a moving average, as it fits data via least-squares for a cleaner, forward-projected trend without lag artifacts. ATR (default 12-period) powers the bands because it measures true range volatility better than std dev in gappy assets like crypto/stocks—bands offset from the Money Line by ATR * multiplier (default 1.5). A dynamic multiplier (boosts by ~33% on spikes > prior ATR * 1.3) prevents tight bands from false breakouts during surges. Trend detection checks slope against an ATR-scaled tolerance (default 0.15) to ignore noise, labeling bull/bear/neutral—avoiding whipsaws in flats.
Properties: It's an overlay with a colored Money Line (green bull, red bear, yellow neutral) and invisible bands (toggle to show gray lines) filled semi-transparently matching trend for visual pop. Dynamic adaptation makes bands widen/contract intelligently. An info table (positionable, e.g., top_right) displays real-time values: Money Line, bands, ATR, trend—great for quick scans. Limits history (2000 bars) and labels (500) for efficiency.
Tips for Usage: Apply to any timeframe/asset; defaults suit medium-term (e.g., daily stocks). Watch color flips: green for longs (enter on pullbacks to lower band), red for shorts (vice versa), yellow to sit out. Use bands as S/R—breakouts signal momentum, squeezes impending vol. Tweak length for sensitivity (shorter for intraday), multiplier for width (higher for trends), tolerance for fewer neutrals. Pair with volume/RSI for confirmation; backtest to optimize. In choppy markets, disable dynamic mult to avoid over-expansion. Overall, it's adaptive and visual—helps trend-follow without overcomplicating.
Eesan Day & Swing Trading Indicator🧭 Eesan Day & Swing Trading Indicator
🔍 Overview
The Eesan Day & Swing Trading Indicator is an all-in-one trend, momentum, and volatility tool designed for active traders who want clean, reliable signals for both day trading and swing trading.
It automatically detects buy and sell signals based on moving averages, RSI, and ATR — giving traders clear visual guidance on when to enter or exit trades.
⚙️ How It Works
This indicator combines three powerful concepts:
Trend Detection (EMA Crossovers)
Fast EMA (20) and Slow EMA (50) identify trend direction.
When the Fast EMA crosses above the Slow EMA → BUY Signal
When the Fast EMA crosses below the Slow EMA → SELL Signal
Momentum Confirmation (RSI Filter)
RSI ensures signals align with market momentum.
Avoids chasing overbought or oversold conditions.
Volatility Visualization (ATR Bands)
ATR Bands show potential price expansion zones.
Helps manage risk and visualize support/resistance.
🧠 Signal Logic
BUY → Fast EMA crosses above Slow EMA and RSI is below Overbought (70).
SELL → Fast EMA crosses below Slow EMA and RSI is above Oversold (30).
The background color changes with market trend:
🟩 Green = Bullish Trend
🟥 Red = Bearish Trend
📈 Visual Elements
Green & Red Triangles: Buy and Sell signal markers.
Colored EMAs: Reflect trend direction in real time.
ATR Bands: Show upper and lower price expansion zones.
Background Color: Indicates the dominant market trend.
⚡ Alerts
You’ll get alerts when:
✅ A BUY signal appears → “Eesan Indicator: BUY on @ ”
❌ A SELL signal appears → “Eesan Indicator: SELL on @ ”
Set alerts on the chart using “Condition → Eesan Day & Swing Trading Indicator → Buy Alert / Sell Alert.”
🧩 Best Used For
Intraday and Swing Trading
Stocks, Crypto, Forex, and Indexes
Works on all timeframes (15m, 1H, 4H, 1D recommended)
⚠️ Note
This tool is for educational and analytical purposes only.
Always confirm signals with your trading plan and proper risk management.
👤 Created by
Eesan — blending simplicity, clarity, and precision to empower traders.
EMA and SMI Long / Short SignalsDescription:
This indicator combines several proven market mechanisms into a clearly structured system suitable for both swing traders and trend followers.
It helps to better classify market phases, identify entry and exit signals, and objectively measure trend strength.
The foundation is the 21 EMA, around which an ATR channel is drawn. This shows whether the current price is overextended or underextended (similar to Bollinger Bands, but based on volatility).
In addition, SMI-based momentum signals, volume spikes, 52-week high/low levels, and Wyckoff climax events are visualized.
The goal: clear, technically grounded decisions on trend direction, momentum, and market extremes.
Disclaimer
The information and publications are not intended to constitute, and do not represent, financial, investment, trading, or any other form of advice or recommendation provided or endorsed by TradingView.
Please refer to the Terms of Use for more information.
Malama's MTF MA Alignment ScannerMalama's Multi-Timeframe Moving Average Alignment Scanner (MTF MA Scanner) is an overlay indicator designed to simplify trend analysis by evaluating the alignment of multiple moving averages (MAs) across user-defined timeframes. It scans for bullish (MAs stacked ascending), bearish (descending), or mixed/neutral configurations, incorporating a VWAP (Volume Weighted Average Price) filter to contextualize price position relative to volume-based equilibrium. The result is a compact dashboard table summarizing signals from up to three timeframes, helping traders spot confluence for entries or reversals without manually switching charts. This tool draws from classic MA ribbon concepts but adds flexible MA types, dynamic sorting, and an overall trend score for quicker multi-TF insights.
Core Mechanics
The indicator processes data in layers to detect alignment and bias:
Moving Average Calculation: Supports five customizable MAs per timeframe, with types including Simple (SMA), Exponential (EMA), Double Exponential (DEMA for reduced lag), Smoothed (SMMA), or Butterworth 2-Pole filter (a low-lag recursive smoother approximating Ehlers' design for cleaner signals). Defaults use EMAs at lengths 6, 9, 21, 56, and 200—shorter for fast trends, longer for structure. Users enable/disable each independently.
Alignment Detection: For enabled MAs, it dynamically sorts them by length (shortest first) and checks their relative order: All ascending (shortest MA > longest) signals "Bullish" (uptrend strength); all descending signals "Bearish" (downtrend); otherwise "Mixed" or "Neutral" (if <2 MAs). This avoids bias from unsorted plots.
VWAP Integration: Computes session-anchored VWAP (daily/weekly/monthly) as a volume-weighted mean, classifying price as "Above" (bullish bias) or "Below" (bearish) to filter alignments—e.g., bullish MA stack above VWAP strengthens longs.
Multi-Timeframe Aggregation: Pulls MA and VWAP data from up to three timeframes (e.g., current, 5m, 15m) using secure requests without lookahead bias. It consolidates into a table: Per-TF rows show alignment status (with icons: ✅ Bullish, ❌ Bearish, ⚠️ Mixed, ➖ Neutral), VWAP icon/status (📈 Above, 📉 Below), current price, and optional MA values (e.g., "9 EMA: 1.2345").
Overall Summary: Counts bullish/bearish TFs for a net score (e.g., 2/3 bullish = "Weak Bullish"), highlighting confluence in the final row.
This setup emphasizes regime detection: Aligned short-term MAs confirm momentum, while longer ones validate structure, all filtered by VWAP for volume context.
Why This Adds Value & Originality
Standard MA crossovers or ribbons often clutter charts or require manual TF switches, leading to analysis fatigue. Here, the mashup of diverse MA types (e.g., lag-reduced DEMA with smooth Butterworth) into a sortable alignment check creates a "trend thermometer" that's adaptable—e.g., EMAs for responsiveness in forex, SMAs for stocks. The VWAP layer adds a fair-value anchor absent in pure MA tools, while the dashboard condenses MTF data into one glanceable view with a net score, reducing cognitive load. It's not a simple merge: Dynamic UDT-based sorting ensures consistent evaluation regardless of user tweaks, and optional value display aids precise level targeting. This makes it uniquely practical for confluence trading, evolving basic alignment into a scannable system without repainting risks.
How to Use
Setup: Add to your chart (overlay=true). In inputs: Enable TFs (e.g., 1H for structure, 15m/5m for entries); customize MAs (e.g., switch to DEMA for volatile crypto); set VWAP anchor (Daily for intraday). Toggle table position/size and chart plots.
Interpret the Dashboard (top-right default):
Per-TF Rows: Green cells for Bullish (long bias); red for Bearish (short); orange for Mixed (caution); gray for Neutral/low data. Check VWAP for confirmation—e.g., Bullish + Above = strong buy setup.
MA Values Column (if enabled): Lists current levels (e.g., "21 EMA: 4500.50") for support/resistance pulls.
Overall Row: "Strong Bullish" (all green) for aggressive longs; "Weak" variants for scaled entries. Score like "2/3" shows TF agreement.
Trading Application: On a 1H chart, look for 3/3 Bullish with price above VWAP for longs—enter on pullback to shortest MA. Use alerts (e.g., "All Timeframes Bullish") for notifications. Best on liquid assets (e.g., EURUSD, SPX) across 15m-4H. Combine with price action for edges.
Customization Tips: Disable unused MAs to declutter; test Butterworth on noisy data for smoother aligns.
Limitations & Disclaimer
Alignments lag by MA lengths and TF resolutions, so they're directional filters—not precise entries (pair with candlesticks). VWAP resets on anchors, potentially skewing mid-session. In sideways markets, "Mixed" dominates—avoid forcing trades. No built-in risk management; backtest on your symbols (e.g., via Strategy Tester) to validate. Results use historical data without guarantees—markets evolve. Not financial advice; trade at your own risk. For feedback, comment publicly.1.1s
Advanced Order Blocks - Z-Score DetectionThis advanced Pine Script indicator identifies high-probability order blocks using statistical Z-score analysis combined with trend filtering.Key Features:
-Z-Score Detection: Identifies institutional order blocks by detecting abnormal price movements using statistical deviation analysis
-Smart Zone Mapping: Automatically draws and manages bullish/bearish order block zones with customizable colors and transparency
-EMA Trend Filter: 750-period EMA filter ensures signals align with the dominant trend (bullish signals above EMA, bearish below)
-Rejection Signals: Detects when price bounces off order block zones, indicating strong support/resistance
-Zone Management: Automatic zone extension, mitigation detection, and age-based expiration
-Overlap Prevention: Optional setting to avoid cluttered charts by preventing overlapping zones
-Fully Customizable: Adjustable Z-score threshold, lookback periods, colors, and rejection sensitivity
How It Works:
The indicator calculates the Z-score of price changes to identify impulse moves. When an abnormal move occurs (beyond the threshold), it marks the preceding consolidation zone as an order block where institutions likely placed their orders. The EMA filter ensures you only trade in the direction of the overall trend.Perfect for swing traders and institutional-style trading on any timeframe.
Adaptive Trend SelectorThe Adaptive Trend Selector is a comprehensive trend-following tool designed to automatically identify the optimal moving average crossover strategy. It features adjustable parameters and an integrated backtester that delivers institutional-grade insights into the recommended strategy. The model continuously adapts to new data in real time by evaluating multiple moving average combinations, determining the best performing lengths, and presenting the backtest results in a clear, color-coded table that benchmarks performance against the buy-and-hold strategy.
At its core, the model systematically backtests a wide range of moving average combinations to identify the configuration that maximizes the selected optimization metric. Users can choose to optimize for absolute returns or risk-adjusted returns using the Sharpe, Sortino, or Calmar ratios. Alternatively, users can enable manual optimization to test custom fast and slow moving average lengths and view the corresponding backtest results. The label displays the Compounded Annual Growth Rate (CAGR) of the strategy, with the buy-and-hold CAGR in parentheses for comparison. The table presents the backtest results based on the fast and slow lengths displayed at the top:
Sharpe = CAGR per unit of standard deviation.
Sortino = CAGR per unit of downside deviation.
Calmar = CAGR relative to maximum drawdown.
Max DD = Largest peak-to-trough decline in value.
Beta (β) = Return sensitivity relative to buy-and-hold.
Alpha (α) = Excess annualized risk-adjusted returns.
Win Rate = Ratio of profitable trades to total trades.
Profit Factor = Total gross profit per unit of losses.
Expectancy = Average expected return per trade.
Trades/Year = Average number of trades per year.
This indicator is designed with flexibility in mind, enabling users to specify the start date of the backtesting period and the preferred moving average strategy. Supported strategies include the Exponential Moving Average (EMA), Simple Moving Average (SMA), Wilder’s Moving Average (RMA), Weighted Moving Average (WMA), and Volume-Weighted Moving Average (VWMA). To minimize overfitting, users can define constraints such as a minimum and maximum number of trades per year, as well as an optional optimization margin that prioritizes longer, more robust combinations by requiring shorter-length strategies to exceed this threshold. The table follows an intuitive color logic that enables quick performance comparison against buy-and-hold (B&H):
Sharpe = Green indicates better than B&H, while red indicates worse.
Sortino = Green indicates better than B&H, while red indicates worse.
Calmar = Green indicates better than B&H, while red indicates worse.
Max DD = Green indicates better than B&H, while red indicates worse.
Beta (β) = Green indicates better than B&H, while red indicates worse.
Alpha (α) = Green indicates above 0%, while red indicates below 0%.
Win Rate = Green indicates above 50%, while red indicates below 50%.
Profit Factor = Green indicates above 2, while red indicates below 1.
Expectancy = Green indicates above 0%, while red indicates below 0%.
In summary, the Adaptive Trend Selector is a powerful tool designed to help investors make data-driven decisions when selecting moving average crossover strategies. By optimizing for risk-adjusted returns, investors can confidently identify the best lengths using institutional-grade metrics. While results are based on the selected historical period, users should be mindful of potential overfitting, as past results may not persist under future market conditions. Since the model recalibrates to incorporate new data, the recommended lengths may evolve over time.
Better DEMAThe Better DEMA is a new tool designed to recreate the classical moving average DEMA, into a smoother, more reliable tool. Combining many methodologies, this script offers users a unique insight into market behavior.
How does it work?
First, to get a smoother signal, we need to calculate the Gaussian filter. A Gaussian filter is a smoothing filter that reduces noise and detail by averaging data with weights following a Gaussian (bell-shaped) curve.
Now that we have the source, we will calculate the following:
n2 = n/2 (half of the user defined length)
a = 2/(1+n)
ns
Now that we have that out of the way, it is time to get into the core.
Now we calculate 2 EMAs:
slow EMA => EMA over n
fast EMA => EMA over n2 period
Rather then now doing this:
DEMA = fast EMA * 2 - slow EMA
I found this to be better:
DEMA = slow EMA * (1-a) + fast EMA * a
As a last touch I took a little something from the HMA, and used a EMA with period of √n to smooth the entire the thing.
The Trend condition at base is the following (but feel free to FAFO with it):
Long = dema > dema yesterday and dema < src
Short = dema < dema yesterday and dema > src
Methodology
While the DEMA is an amazing tool used in many great indicators, it can be far too noisy.
This made me test out many filters, out of which the Gaussian performed best.
Then I tried out the non subtractive approach and that worked too, as it made it smoother.
Compacting on all I learned and smoothing it bit by bit, I think I can say this is worth looking into :).
Use cases:
Following Trends => classic, effective :)
Smoothing sources for other indicators => if done well enough, could be useful :)
Easy trend visualization => Added extra options for that.
Strategy development => Yes
Another good thing is it does not a high lookback period, so it should be better and less overfit.
That is all for today Gs,
Have fun and enjoy!
Frankator BBRSI🧭Strategy Description of Frankator BBRSI: Bollinger Bands + RSI Signal (only on 5 min chart)
Overview
This indicator combines Bollinger Bands and the Relative Strength Index (RSI) to identify potential overbought and oversold market conditions.
It generates buy and sell signals when the price reaches extreme levels confirmed by RSI momentum — helping traders anticipate potential reversals or continuation setups.
📊 How It Works
Bollinger Bands
The script plots three lines:
Upper Band: SMA + (Standard Deviation × Multiplier)
Basis (Middle Band): Simple Moving Average (SMA)
Lower Band: SMA - (Standard Deviation × Multiplier)
When the price touches or breaks the upper band, it may indicate an overbought market.
When the price touches or drops below the lower band, it may indicate an oversold market.
RSI Confirmation
RSI measures momentum to confirm whether the market is truly overbought or oversold.
Default RSI levels:
Overbought: RSI > 70
Oversold: RSI < 30
Signal Conditions
Buy Signal:
Price closes at or below the lower Bollinger Band
RSI < 30 (oversold)
A green triangle appears below the candle
Sell Signal:
Price closes at or above the upper Bollinger Band
RSI > 70 (overbought)
A red triangle appears above the candle
Alerts
You can set TradingView alerts for automatic notifications when either a Buy or Sell condition is met.
Go to “Add Alert” → “Condition” → Choose this indicator → Select Buy/Sell Signal, or Any alert for both alerts.
⚠️ Disclaimer
This indicator is a technical analysis tool, not a guarantee of future performance. Always use proper risk management and confirm signals with other indicators or price patterns before entering trades.
Custom Symbol Chart Overlay [ T W K ] :Custom Symbol Chart Overlay indicator for all types of Trading View account Users ❗
This Indicator has specially designed for apply Custom Symbol / Script on chart, in addition to current Live Chart symbol.
**No need for separate chart layout ( available for Paid Trading View users only! )
▫️▷ : # Indicator have settings for fetch the different Chart types (ex - Heikin-Ashi / standard) data and have the input for this.
all you need is to just select the Chart type. This setting allows user to apply different types of chart on single layout screen.
✔ (ex 1:- Standard current chart of BTCUSD ( SPOT ) with Custom Heikin-Ashi chart of BTCUSD ( PERPETUAL futures ).
✔ (ex 2:- Standard current chart of XAUUSD ( CFDs ) with Custom Standard chart of XAUUSD ( CFDs ) with MA / BB / ST input.
▫️▷ : It has 3 Moving average Lines, Bollinger Bands, and Super Trend input. (*Note:- all Inputs are customizable)
▫️▷ : # Indicator have ⏰ Alerts for automation trading ( #algo ) : Super Trend (3 conditions)
Usage:- This Indicator is helpful for apply Multiple symbols of different chart types on single layout screen.
Compatible with All Devices (Laptop / Mobile / Tablet / PC).
✅ HOW TO GET ACCESS :
Add to favorite and enjoy the true Trading View's sprit of community growth, without any limitations.
🔆If you like any of my Invite-Only indicators , kindly DM and let me know!
⚠ RISK DISCLAIMER :
All content provided by "@TradeWithKeshhav" is for informational & educational purposes only.
It does not constitute any financial advice or a solicitation to buy or sell any securities of any type. All investments / trading involve risks. Past performance does not guarantee future results / returns.
Regards :
Team @TradeWithKeshhav
Happy trading and investing!
THAIT Moving Averages Tight within # ATR EMA SMA convergence
THAIT(tight) indicator is a powerful tool for identifying moving average convergence in price action. This indicator plots four user-defined moving averages (EMA or SMA). It highlights moments when the MAs converge within a user specified number of ATRs, adjusted by the 14-period ATR, signaling potential trend shifts or consolidation.
A convergence is flagged when MA1 is the maximum, the spread between MAs is tight, and the price is above MA1, excluding cases where the longest MA (MA4) is the highest. The indicator alerts and visually marks convergence zones with a shaded green background, making it ideal for traders seeking precise entry or exit points.
One For All Strategy by Anson🏆 Exclusive Indicator: One For All Strategy
.
📈 Works for stocks, forex, crypto, indices
📈 Easy to use, real-time alerts, no repaint
📈 No grid, no martingale, no hedging
📈 One position at a time
.
One For All Strategy by Anson
A multi-indicator TradingView strategy designed to identify long and short trading opportunities by combining trend-following and momentum signals, paired with risk management rules to guide entries and exits.
.
Core Logic & Key Indicator:
X Moving Average: A proprietary adaptive moving average that adjusts its responsiveness to price changes based on market volatility. It uses an efficiency ratio to modify its smoothing behavior—adapting to whether the market is trending or ranging. Users can toggle a setting to let this ratio dynamically adjust the indicator’s sensitivity or use a fixed smoothing factor.
.
Entry Conditions:
.
Long Entry: Triggered when momentum signals strength, price action aligns with a broader upward trend, the X MA indicates short-term upward momentum, and a minimum number of bars have passed since the last trade (to prevent overtrading).
.
Short Entry: Triggered when momentum signals weakness, price action aligns with a broader downward trend, the X MA indicates short-term downward momentum, and a minimum number of bars have passed since the last trade.
.
Exit Conditions:
.
Trailing Stop: Activates after a position has been open for a set number of bars (to avoid premature exits). A trailing stop—based on a percentage of the entry price—locks in profits as the trade moves favorably, adjusting dynamically to protect gains.
.
Additional Features:
Visualisation: Overlays the X MA (orange line) and price (semi-transparent blue) on the chart for clear signal tracking.
.
See the author's instructions on the right to learn how to get access to the strategy.
MLA - Money Line Approximation with Shaded Bands V2The MLA Bands indicator (Money Line Approximation with Shaded Bands) is a user-friendly TradingView tool designed to help traders spot trend changes and potential entry/exit points in volatile markets like stocks, crypto, or forex. At its core, it blends two exponential moving averages (EMAs)—a short one (default 8 periods) for quick price reactions and a long one (default 24 periods) for smoother trends—into a single "Money Line." This line is a weighted average (default 60% short EMA), acting like a dynamic trend guide that changes color: green for bullish, red for bearish, and yellow for neutral.
Its main purpose is to simplify trend identification while filtering out noise. It uses RSI (default 12 periods) to confirm momentum—avoiding overbought buys or oversold sells—and adds ATR-based bands (volatility measure) around the Money Line for visual "shaded zones." These bands fill green during uptrends or pink during downtrends, highlighting momentum strength and potential support/resistance areas anchored to recent price action.
Functionally, it generates buy/sell alerts on trend flips: a "BUY" label (with optional close price) appears below bars when shifting bullish, and "SELL" above for bearish. An optional volume confirmation filter (using a 20-period SMA and threshold multiplier) ensures signals align with rising volume, reducing false positives in choppy markets.
Tips for usage:
Customize EMA periods for your timeframe (shorter for scalping, longer for swings).
Enable volume confirmation for high-liquidity assets; disable for low-volume ones to avoid missing signals.
Combine with support/resistance levels or candlestick patterns for better accuracy.
Adjust ATR multiplier (default 1.0) to widen/tighten bands in volatile vs. stable markets.
Test on historical data; it's not foolproof—always use stop-losses and risk management.
Toggle shades off for cleaner charts; show EMAs for debugging.
Overall, it's a versatile trend-following aid that promotes disciplined trading by visualizing conviction behind moves.
KIMSHA AIODescription
The KIMSHA AIO is a comprehensive overlay indicator designed for swing and position traders. It merges three distinct and powerful trading strategies into a single, cohesive tool to identify high-probability setups in stocks that are in confirmed uptrends.
What the Indicator Does:
Combines Three Strategies: Integrates a multi-scanner breakout system, a mean-reversion model, and a multi-year breakout tool into one indicator.
Main Modules
Signals Module:
1. Features six unique scanner signals (CS1-CS6) to identify a variety of bullish consolidation patterns.
2. Includes a full trade management framework with RVC (Red Volume Candle), PBP (Post Breakout Pivot Entry), and ISL (Initial Stop Loss) levels.
3. Identifies powerful Episodic Pivot (EP) and EP Entry (EPE) signals for stocks showing exceptional strength.
Reversal Module:
1. A mean-reversion strategy that primarily uses Bollinger Bands to find oversold conditions.
2. Provides a three-stage signal process: RA (Reversal Setup), Entry 1, and Entry 2 to time entries from a potential bottom.
Multi-Year Breakout (MYBO) Module:
1. Automatically identifies and plots historical, multi-year resistance and support levels.
2. Generates a clear signal when the price breaks out above these significant long-term levels.
Advanced Alerts: Features a highly customizable alert system that can be timed to trigger either on the bar's close or at a specific time of day, allowing for end-of-day style notifications.
How to Best Use It:
This indicator is most powerful when used with a systematic, rules-based approach. The core principle is to use long-term moving averages to define the trend and then use the indicator's signals to time entries within that trend.
The Foundation (Trend Filter): The most important rule is to only consider long setups on stocks where the 150-day SMA is above the 200-day EMA, and the 150-day SMA is sloping upwards. This keeps you aligned with the primary uptrend.
Strategy 1: The Momentum Breakout (PBP Entry)
1. Confirm the stock meets the primary trend filter rules.
2. Wait for an AIO setup signal (Super, Pls Buy, etc.) to draw a PBP line.
3. Enter when the price crosses above the PBP line or wait for a pull back after the price has crossed the PBP line.
Strategy 2: The Mean Reversion (RA Entry)
1. Confirm the stock meets the primary trend filter rules.
2. Wait for an "RA" (Reversal Setup) signal to appear on the chart.
3. Enter on the "ENTRY 1" (Risky Entry) or "ENTRY 2" signal (Safer Entry) or wait for a pull back after "ENTRY 1" or "ENTRY 2" signal.
Strategy 3: Multi-Year Breakout (MYBO) :
1. A breakout triangle (orange or fuchsia) appears below the candle, signaling a close above the "Recent High" (Orange) or "Older High" (Fuchsia).
2. Recent High refers to the highest price the stock has reached in last 12 months. Breaking above the "Recent High" is a sign of strong current demand.
3. Older High refers to the highest price the stock reached in a more distant, historical period - the period between 5 years ago and 1 year ago. Breaking above the "Older High" is a sign of VERY strong demand as it has broken a historic high.
4. Wait for a breakout triangle to appear on the chart.
5. Enter on the high of the candle marked with a breakout triangle or wait for a pull back after that signal.
Customize Your View: Use the "Inputs" tab to enable/disable the modules you want to focus on and configure the alerts you want to receive. Use the "Style" tab to hide any visual elements you don't need to keep your chart clean.
Word of Caution: Some signals based on higher timeframes (Monthly, Weekly, 3-Hour) may appear mid-period and could change before the higher timeframe bar closes, due to the settings used for accurate chart alignment.
Momentum Breakout Filter + ATR ZonesMomentum Breakout Filter + ATR Zones - User Guide
What This Indicator Does
This indicator helps you with your MACD + volume momentum strategy by:
Filtering out fake breakouts - Shows ⚠️ warnings when breakouts lack confirmation
Showing clear entry signals - 🚀 LONG and 🔻 SHORT labels when all conditions align
Automatic stop loss & profit targets - Based on ATR (Average True Range)
Visual trend confirmation - Background color + EMA alignment
Signal Types
🚀 LONG Entry Signal (Green Label)
Appears when ALL conditions met:
✅ MACD crosses above signal line
✅ Volume > 1.5× average
✅ Price > EMA 9 > EMA 21 > EMA 200 (bullish trend)
✅ Price closes above recent 20-bar high
🔻 SHORT Entry Signal (Red Label)
Appears when ALL conditions met:
✅ MACD crosses below signal line
✅ Volume > 1.5× average
✅ Price < EMA 9 < EMA 21 < EMA 200 (bearish trend)
✅ Price closes below recent 20-bar low
⚠️ FAKE Breakout Warning (Orange Label)
Appears when price breaks high/low BUT lacks confirmation:
❌ Low volume (below 1.5× average), OR
❌ Wick break only (didn't close through level), OR
❌ MACD not aligned with direction
Hover over the warning label to see what's missing!
ATR Stop Loss & Targets
When you get a signal, colored lines automatically appear:
Long Position
Red solid line = Stop Loss (Entry - 1.5×ATR)
Green dashed lines = Profit Targets:
Target 1: Entry + 2×ATR
Target 2: Entry + 3×ATR
Target 3: Entry + 4×ATR
Short Position
Red solid line = Stop Loss (Entry + 1.5×ATR)
Green dashed lines = Profit Targets:
Target 1: Entry - 2×ATR
Target 2: Entry - 3×ATR
Target 3: Entry - 4×ATR
The lines move with each bar until you exit the position.
Chart Elements
Moving Averages
Blue line = EMA 9 (fast)
Orange line = EMA 21 (medium)
White line = EMA 200 (trend filter)
Volume
Yellow bars = High volume (above threshold)
Gray bars = Normal volume
Background Color
Light green = Bullish trend (all EMAs aligned up)
Light red = Bearish trend (all EMAs aligned down)
No color = Neutral/mixed
MACD (Bottom Pane)
Green/Red columns = MACD Histogram
Blue line = MACD Line
Orange line = Signal Line
Info Dashboard (Bottom Right)
ItemWhat It ShowsVolumeCurrent volume vs average (✓ HIGH or ✗ Low)MACDDirection (BULLISH or BEARISH)TrendEMA alignment (BULL, BEAR, or NEUTRAL)ATRCurrent ATR value in dollarsPositionCurrent position (LONG, SHORT, or NONE)R:RRisk-to-Reward ratio (shows when in position)
How To Use It
Basic Workflow
Wait for setup
Watch for MACD to approach signal line
Volume should be building
Price should be near EMA structure
Get confirmation
Wait for 🚀 LONG or 🔻 SHORT label
Check dashboard shows "✓ HIGH" volume
Verify trend is aligned (green or red background)
Enter the trade
Enter when signal appears
Note your stop loss (red line)
Note your targets (green dashed lines)
Manage the trade
Exit at first target for partial profit
Move stop to breakeven
Trail remaining position
What To Avoid
❌ Don't trade when you see:
⚠️ FAKE labels (wait for confirmation)
Neutral background (no clear trend)
"✗ Low" volume in dashboard
MACD and Trend not aligned
Settings You Can Adjust
Volume Sensitivity
High Volume Threshold: Default 1.5×
Increase to 2.0× for cleaner signals (fewer trades)
Decrease to 1.2× for more signals (more trades)
Fake Breakout Filters
You can toggle these ON/OFF:
Volume Confirmation: Requires high volume
Close Through: Requires candle close, not just wick
MACD Alignment: Requires MACD direction match
Tip: Turn all three ON for highest quality signals
ATR Stop/Target Multipliers
Default settings (conservative):
Stop Loss: 1.5×ATR
Target 1: 2×ATR (1.33:1 R:R)
Target 2: 3×ATR (2:1 R:R)
Target 3: 4×ATR (2.67:1 R:R)
Aggressive traders might use:
Stop Loss: 1.0×ATR
Target 1: 2×ATR (2:1 R:R)
Target 2: 4×ATR (4:1 R:R)
Conservative traders might use:
Stop Loss: 2.0×ATR
Target 1: 3×ATR (1.5:1 R:R)
Target 2: 5×ATR (2.5:1 R:R)
Example Trade Scenarios
Scenario 1: Perfect Long Setup ✅
Stock consolidating near EMA 21
MACD curling up toward signal line
Volume bar turns yellow (high volume)
🚀 LONG label appears
Red stop line and green target lines appear
Result: High probability trade
Scenario 2: Fake Breakout Avoided ✅
Price breaks above resistance
Volume is normal (gray bar)
⚠️ FAKE label appears (hover shows "Low volume")
No entry signal
Price falls back below breakout level
Result: Avoided losing trade
Scenario 3: Premature Entry ❌
MACD crosses up
Volume is high
BUT trend is NEUTRAL (no background color)
No signal appears (trend filter blocks it)
Result: Avoided choppy/sideways market
Quick Reference
Entry Checklist
🚀 or 🔻 label on chart
Dashboard shows "✓ HIGH" volume
Dashboard shows aligned MACD + Trend
Colored background (green or red)
ATR lines visible
No ⚠️ FAKE warning
Exit Strategy
Target 1 (2×ATR): Take 50% profit, move stop to breakeven
Target 2 (3×ATR): Take 25% profit, trail stop
Target 3 (4×ATR): Take remaining profit or trail aggressively
Stop Loss: Exit entire position if hit
Alerts
Set up these alerts:
Long Entry: Fires when 🚀 LONG signal appears
Short Entry: Fires when 🔻 SHORT signal appears
Fake Breakout Warning: Fires when ⚠️ appears (optional)
Tips for Success
Use on 5-minute charts for day trading momentum plays
Only trade high volume stocks ($5-20 range works best)
Wait for full confirmation - don't jump early
Respect the stop loss - it's calculated based on volatility
Scale out at targets - don't hold for home runs
Avoid trading first 15 minutes - let market settle
Best during 10am-11am and 2pm-3pm - peak momentum times
Common Questions
Q: Why didn't I get a signal even though MACD crossed?
A: All conditions must be met - check dashboard for what's missing (likely volume or trend alignment)
Q: Can I use this on any timeframe?
A: Yes, but it's designed for 5-15 minute charts. On daily charts, adjust ATR multipliers higher.
Q: The stop loss seems too tight, can I widen it?
A: Yes, increase "Stop Loss (×ATR)" from 1.5 to 2.0 or 2.5 in settings.
Q: I keep seeing FAKE warnings but price keeps going - what gives?
A: The filter is conservative. You can disable some filters in settings, but expect more false signals.
Q: Can I use this for swing trading?
A: Yes, but use larger timeframes (1H or 4H) and adjust ATR multipliers up (3× for stops, 6-9× for targets).






















