MAD Supertrend [Alpha Extract]A sophisticated SuperTrend implementation that replaces traditional ATR calculations with Mean Absolute Deviation methodology for adaptive volatility measurement and band construction. Utilizing SMA baseline with MAD-based deviation bands and optional adaptive factor adjustments, this indicator delivers institutional-grade trend detection with strength-based filtering and dynamic visual feedback. The system's MAD approach provides superior noise reduction compared to ATR while maintaining responsiveness to genuine volatility changes, combined with momentum-based strength calculations for high-conviction signal generation.
🔶 Advanced MAD-Based Band Construction
Implements Mean Absolute Deviation calculation as volatility proxy, measuring absolute price deviations from mean and smoothing for stable band generation without ATR dependency. The system calculates SMA baseline, computes MAD from configurable lookback period, applies factor multipliers to create upper and lower bands, then implements classic SuperTrend ratcheting logic where bands only adjust when price violates previous levels or calculations warrant updates.
// Core MAD SuperTrend Framework
SMA_Value = ta.sma(src, SMA_Length)
Mean = ta.sma(src, MAD_Length)
Abs_Deviation = abs(src - Mean)
MAD_Value = ta.sma(Abs_Deviation, MAD_Length)
// Band Construction with Ratcheting
Upper_Band = SMA_Value + MAD_Factor * MAD_Value
Lower_Band = SMA_Value - MAD_Factor * MAD_Value
// Ratcheting logic prevents premature band adjustments
🔶 Adaptive Factor Adjustment Engine
Features optional adaptive multiplier system that modulates MAD factor based on normalized MAD magnitude relative to recent extremes, creating bands that automatically expand during high-volatility regimes and contract during consolidation. The system applies min-max normalization to MAD values over configurable lookback, multiplies by adaptation parameter, and adds to base factor for dynamic volatility sensitivity without manual recalibration.
🔶 Momentum-Based Strength Filter
Implements sophisticated strength calculation measuring price momentum relative to baseline divided by volatility-adjusted MAD bands, producing normalized 0-1 strength scores with exponential smoothing. The system calculates distance from SMA baseline, normalizes by MAD-derived band width, and applies configurable minimum threshold requiring sufficient momentum before trend signals activate, filtering weak or choppy market conditions.
🔶 SuperTrend Direction Logic
Utilizes classic SuperTrend methodology adapted for MAD bands where trend direction flips on opposite band violations with state persistence until confirmation. The system tracks whether price closes above upper band (bearish flip to bullish) or below lower band (bullish flip to bearish), maintains directional state until opposing violation occurs, and generates binary +1/-1 trend signals suitable for systematic position management.
🔶 Intelligent Candle Sticking System
Provides advanced line positioning option that anchors SuperTrend line to candle wicks or bodies rather than pure calculation values for enhanced visual clarity. The system supports two modes: Wick (positions at high/low extremes based on trend direction) and Body (constrains line between calculation and candle extremes), creating cleaner chart presentation while maintaining mathematical integrity of underlying signals.
🔶 Dynamic Gradient Visualization Framework
Implements color intensity modulation based on smoothed strength calculations, transitioning from muted to vivid hues as momentum conviction increases. The system applies gradient interpolation using strength ratio, creating visual feedback where strong trending moves display intense colors while weak or consolidating conditions show faded tones across trend line, channel bands, and candle coloring for immediate regime assessment.
🔶 MAD Channel Architecture
Features volatility-adjusted channel bands centered on baseline or candle-stuck line with configurable multiplier for support/resistance visualization. The system calculates upper and lower bounds using MAD values scaled by adaptive factors and channel multipliers, applies dynamic transparency based on trend strength, and creates filled regions that intensify during strong trends and fade during weak conditions.
🔶 Multi-Layer Glow Effect System
Provides sophisticated line rendering with triple-layer plot system creating glow effect through progressively wider and more transparent outer layers. The system plots core trend line at specified width with full color intensity, adds inner glow layer at +2 width with moderate transparency, and outer glow at +4 width with higher transparency, creating visual depth and emphasis without cluttering chart space.
🔶 Strength-Based State Management
Implements intelligent trend state logic requiring both directional signal and minimum strength threshold breach before confirming trend transitions. The system calculates raw SuperTrend direction, evaluates smoothed strength against configurable minimum, generates filtered trend state that can be bullish (+1), bearish (-1), or neutral (0), and maintains state persistence using hold logic that prevents oscillation during ambiguous conditions.
🔶 Comprehensive Alert Integration
Generates trend flip alerts when filtered state transitions from bearish to bullish or bullish to bearish with full confirmation requirements satisfied. The system detects state changes through comparison with previous bar, triggers single alert per transition rather than continuous notifications, and provides customizable message templates for automated trading system integration or manual notification preferences.
🔶 Performance Optimization Architecture
Utilizes efficient calculation methods with null value handling, nz() functions preventing errors during initialization bars, and optimized gradient calculations. The system includes intelligent state persistence minimizing recalculation overhead, streamlined MAD computation avoiding redundant mean calculations, and smooth visual updates maintaining consistent performance across extended historical periods.
This indicator delivers sophisticated SuperTrend analysis through Mean Absolute Deviation methodology providing superior statistical properties compared to traditional ATR-based approaches. MAD calculations offer more robust volatility measurement resistant to extreme outliers while maintaining sensitivity to genuine market regime changes. The system's adaptive factor adjustment, momentum-based strength filtering, and dynamic visual feedback make it essential for traders seeking reliable trend-following signals with reduced false breakouts during choppy conditions. The combination of MAD bands, candle-sticking options, gradient strength visualization, and comprehensive filtering creates institutional-grade trend detection suitable for systematic approaches across cryptocurrency, forex, and equity markets with clear entry/exit signals and comprehensive alert capabilities.
무빙 애버리지
Trinity 5-8-13 EMA RibbonThis is a simple little script that is based on the 5-8-13 scalping or day trading strategy, the ribbon color will flip based on the candle to EMA direction. Use this in conjunction with a higher time frame EMA as well as something like a 200 EMA or VWAP for trend direction. The indicator will give you the current candle bias.
Adaptive ZigZag Context v1 (Stable)Adaptive ZigZag Context v1 (Stable) is a versatile swing structure indicator that adaptively detects pivot highs and lows while providing higher timeframe context. It helps traders visualize market structure, trend bias, and potential reversal points with stable signals.
Key Features:
Detects swing highs and lows adaptively using a configurable pivot leg length.
Draws ZigZag lines connecting confirmed pivots for clear market structure visualization.
Highlights higher timeframe trend bias using EMA and background color (green for bullish, red for bearish).
Usage:
Analyze market swings and identify potential reversal zones.
Combine with other indicators for trend confirmation.
Useful for multi-timeframe analysis with higher timeframe EMA context.
Important Notes:
This indicator does not provide performance guarantees.
Past behavior does not imply future results.
Traders are encouraged to use this tool alongside other analysis techniques and risk management strategies.
200W SMA Dynamic Extension Bands (MTF, Auto Asset)Summary
200W SMA Dynamic Extension Bands is a multi-timeframe TradingView indicator that plots extension bands (multiples) around the 200-week simple moving average. It’s designed to work on any chart timeframe (1m → 1D → 1W) while anchoring the bands to the latest confirmed weekly data, so the long-term reference is consistent and non-repainting across timeframes.
This is a macro “valuation/temperature gauge” style tool: it helps you quickly see when the price is cheap vs. the 200W mean and when it is extended/expensive.
What it plots
The indicator always computes:
200-week SMA (weekly)
Band m2
Band m3
Band m4
Bands are defined as:
Bandk(t)=SMA200W(t)⋅mk
Where the multipliers mk are chosen automatically depending on the asset type (or manually via input).
Key features
Works on any timeframe: weekly SMA is fetched via request.security(..., "W", ...).
Non-repainting weekly anchor: uses barmerge.lookahead_off to avoid peeking into future weekly bars.
Auto asset presets:
Crypto: wider extensions (bigger cycles)
Gold: moderate extensions
Equities: tighter than crypto
FX: very tight extensions
Futures: moderate fallback
Zone coloring (optional):
Cheap zone (below 1×)
Fair zone (1× → m2)
Hot zone (m2 → m3)
Expensive zone (m3 → m4)
Info table (optional): shows selected preset, current multiple, and % extension vs 200W SMA.
Alerts (optional): “entered cheap” and “entered expensive” style triggers.
Presets (default multipliers)
These are intentionally conservative templates (tune to your market):
Crypto: 1.0,1.5,2.0,3.0
Gold: 1.0,1.2,1.5,2.0
Equities: 1.0,1.15,1.30,1.60
FX: 1.0,1.05,1.10,1.20
Futures: 1.0,1.25,1.50,2.00
Auto mode uses syminfo.type plus a simple heuristic for Gold tickers containing XAU / GOLD (because some platforms classify XAUUSD as forex).
How to use (practical)
Macro context / cycle temperature
Price below 1× (200W SMA): historically “cheap zone” for highly cyclical assets (especially BTC).
Price above m3: often “expensive/extended” and higher risk of mean reversion.
Not a standalone trading system
Use with trend confirmation (market structure), volume, and risk management.
Extensions can persist in strong trends—treat bands as regime context, not precise reversal points.
Settings you can change
SMA Length (Weeks): default 200
Band preset: Auto / Crypto / Gold / Equities / FX / Futures
Toggle:
Zone fills
Info table
Alerts
Included alertconditions:
Cross below 1× (entered cheap zone)
Cross above m3 (entered expensive zone)
High level guideline:
Green Zone: BUY (Below 1.0× - Undervalued)
Yellow Zone: HOLD (1.0× - 1.5× - Fair Value)
Orange Zone: CAUTION (1.5× - 2.0× - Getting Hot)
Red Zone: SELL (2.0× - 3.0× - Overvalued)
Notes / limitations
The “cheap/expensive” zones are heuristics. They do not guarantee future returns.
Auto classification is best-effort; if your symbol is unusual, set the preset manually.
For newly listed assets with limited weekly history, the 200W SMA may be na until enough data exists.
Big Trend Catcher: Quad-Gate & VCP & ATR trailing Swing TradeThe Strategy Philosophy
This is designed for Daily Charts to capture the large chunks if not all of a primary trend. It focuses on the "VCP" (Volatility Contraction Pattern), combined with high-grade momentum filtering.
1. How VCP (The Quiet Zone) is Calculated
The script identifies "Volatility Contraction" by measuring the Bollinger Band Width (BBW).
* The Math: It calculates the standard BBW: $(Upper Band - Lower Band) / Mid Band$.
* The "Quiet" Threshold: It compares the current width to its own 50-period Simple Moving Average.
* The Signal: When the current width is narrower than the 50-period average, the stock is in a "Quiet Zone" (represented by the blue background). This indicates energy is coiling for a potential breakout.
2. How Rate of Change (ROC) is Calculated
Unlike a standard ROC, this "Wizard" version uses a smoothed momentum filter to reduce whipsaws:
* Raw ROC: First, it calculates the raw percentage change over 15 bars: $100 x (Close / Close(15) - 1).
* Smoothing: This raw value is then smoothed using a 10-period EMA.
* The Gate: The ROC Gate only turns green when this smoothed value is greater or equal to 0, ensuring the stock has genuine upward velocity before you enter.
3. What the Indicators on the Chart Show
* Yellow Line (20 EMA): Your "Tactical Line." It tracks short-term momentum and acts as a trigger for Phoenix re-entries.
* Blue/Gray Line (100 EMA): Your "Regime Filter." It turns Blue when the trend slope is positive and Gray when negative.
* Thin Gray Outer Bands: These are Bollinger Bands set at 3 Standard Deviations from the 100 EMA. They mark extreme "Climax Zones" where price is statistically overextended.
* Stepped Red/Green Line (ATR Stop): The "Iron Floor." It uses a 20-period ATR with a 3.0 multiplier and an HHV (Highest High Value) lookback to ensure the stop only moves up, never down.
* Yellow Crosses (Gate Wait): These small icons appear above the bars when a signal has been detected but one or more "Wizard Gates" (such as the ROC or 100 EMA Slope) are not yet satisfied, signifying the strategy is waiting for full confirmation.
4. How to Trade This Strategy
* Step 1: The Setup: Look for the Blue Background on the daily chart, signifying a Volatility Contraction.
* Step 2: The Entry: An Initial Entry (Lime Triangle) fires when the price breaks out of the Quiet Zone with a volume spike. This volume must be greater than 1.3 times the 20-period Simple Moving Average of volume to confirm significant buying interest. An entry only occurs when all Quad-Gates (ROC, EMA Slope, Price > ATR) are satisfied.
* Step 3: Pyramiding: If the trend gains "Velocity" (price > 10% from entry), the script will signal a second unit to maximize gains during runaway moves.
* Step 4: The Exit: Sell the entire position if the price closes below the ATR Trailing Stop (Trend Death) or if the 100 EMA trend turns down.
5. The Phoenix Re-entry
If you are stopped out but the stock immediately recovers above the 20 EMA within 10 bars, a Phoenix Entry (Orange Triangle) will fire. This allows you to catch "Power Resumptions" where the initial shakeout was a bear trap.
EMA 9, 20, 30, 200 (Buy Trend Filter Only)EMA 9, 20, 30, 200 (Buy Trend Filter Only) simple ema crossing analysis
ColorFlow EMA📊 ColorFlow EMA — Trend Flow & Bias Indicator
🔹 What This Indicator Does
ColorFlow EMA is a clean, visual trend-flow indicator designed to show directional bias and momentum state at a glance.
It uses two exponential moving averages:
Fast EMA (default: 10)
Slow EMA (default: 20)
The area between the EMAs is color-shaded to clearly display whether price is in a bullish or bearish flow.
🎨 Visual Logic
🔵 Blue shading → Bullish flow
(Fast EMA above Slow EMA)
🔴 Red shading → Bearish flow
(Fast EMA below Slow EMA)
Optional crossover markers can be enabled for visual confirmation when EMA alignment changes.
🧠 How to Use ColorFlow EMA
This indicator is not a standalone strategy and is not intended for signal-chasing.
It is best used as a context and bias filter alongside:
Price action
Market structure (HH/HL, LH/LL)
Support & resistance or supply & demand zones
Pullbacks vs premium/discount
Typical use cases:
Favor longs when the flow is blue
Favor shorts when the flow is red
Avoid forcing trades when EMAs are tangled or flat
Wait for pullbacks into structure instead of chasing price
⚠️ Important Notes
EMA crossovers alone do not guarantee profitable trades
Market conditions, structure, and location always matter
Works best in trending or transitioning markets
Not designed for ranging/choppy environments without context
⚙️ Customization
EMA lengths can be adjusted
Crossover markers can be toggled on/off
Designed to stay visually clean and uncluttered
🎯 Who This Indicator Is For
Traders who prioritize price action over indicators
Intraday traders (forex, indices, ETFs, stocks)
Traders who want clarity, not noise
📝 Final Thought
ColorFlow EMA answers one simple question:
“Should I be looking for longs or shorts here?”
Use it for bias, not prediction.
Amir Predicta V4Crypto Perps (SAFE) Predict 1hr time frame with dashboard for both signal entry as well as dashboard for trend
EMA Buy/Sell & Smart Zones(5Min TF only)### **Indicator Title:**
**EMA Buy/Sell & Smart Zones**
---
### **Description:**
**EMA Buy/Sell & Smart Zones** is a specialized intraday trading tool designed to combine trend analysis with precise market structure zones. This script utilizes a custom tracking algorithm to identify the **specific candle** that formed the previous session's high or low, allowing it to plot accurate Supply and Demand zones for the current trading day.
This indicator has been rigorously tested on the **Nifty Index** and is optimized for use on the **5-minute timeframe**.
### **Key Features**
**1. Smart Session Wick Zones ("True Wick" Logic)**
The indicator automatically scans every candle of the previous session to locate the exact price action that formed the day's extremes.
* **Smart High Zone:** Identifies the specific candle that made yesterday's High and plots a zone from that High down to that candle's Open or Close (based on body direction).
* **Smart Low Zone:** Identifies the specific candle that made yesterday's Low and plots a zone from that Low up to that candle's Open or Close.
* **Close Range:** Highlights the High-Low range of the very last candle of the previous session to show the closing sentiment.
*All zones automatically stop extending at the end of the current session, ensuring the chart remains clean and historically accurate.*
**2. EMA Trend System**
The script plots three key Exponential Moving Averages to define market direction:
* **EMA 21:** Captures short-term momentum.
* **EMA 63:** Defines the medium-term trend.
* **EMA 1575:** Establishes the long-term baseline.
**3. Buy/Sell Signals**
Clear signals are generated on the chart based on specific criteria:
* **BUY Signal:** Generated when a green candle closes above the EMA 21 and EMA 63.
* **SELL Signal:** Generated when a red candle closes below the EMA 21 and EMA 63.
* *Note: The logic includes a filter to alternate signals (Buy -> Sell -> Buy), preventing clutter during choppy markets.*
### **How to Use**
* **Recommended Timeframe:** **5 Minutes**.
* **Recommended Markets:** Indices (Nifty, Bank Nifty) and high-volume stocks.
* **Workflow:**
* Use the **Smart Zones** (Red/Green boxes) to identify potential rejection areas or breakout targets.
* Use the **Buy/Sell Labels** as confirmation triggers when price is reacting near these zones or trending strongly above/below the EMAs.
### **Settings & Customization**
* **Visibility Control:** Toggle each box type (High, Low, Close) and text labels on or off individually.
* **Color Customization:** Fully adjustable colors for all EMAs, Zone Backgrounds, Borders, and Text Labels to suit your chart theme.
* **Label Size:** Adjust the text size of the zone labels directly from the settings menu.
---
**Disclaimer:** This tool is for educational purposes and should be used to assist your analysis. Always manage your risk appropriately.
Trinity Multi-Timeframe MA TrendUser Guide: Trinity Multi-Timeframe MA Trend - 10 MAs Indicator
Welcome to the Trinity Multi-Timeframe MA Trend indicator! This is a versatile TradingView tool designed for traders who rely on moving averages to gauge trend direction across multiple timeframes. It supports up to 10 customizable moving averages (MAs), displays their trend directions in a compact dashboard, plots the MAs on the chart with color-coded trend indications, and optionally fills the areas between consecutive MAs for visual clarity. The indicator is built to help you quickly assess alignment between short-term and long-term trends, making it ideal for multi-timeframe analysis in strategies like trend following, swing trading, or confirming entry/exit points.
The core idea is to show whether each MA is in an uptrend (price above the MA's previous value) or downtrend (price below), not only on the current chart timeframe but also on up to 5 higher timeframes. This allows you to spot trend convergence or divergence at a glance, reducing the need to switch charts manually. The indicator is fully customizable, so you can tailor it to your preferred lengths, types, and visuals without cluttering your chart.
#### Key Features
- **Multi-Timeframe Dashboard**: A resizable and repositionable table that shows trend directions (↑ for up, ↓ for down) for each enabled MA across 5 user-defined timeframes. The cells are color-coded (green for up, red for down) with subtle background shading for easy reading.
- **Customizable Moving Averages**: Up to 10 MAs, each with independent length, type (EMA, SMA, or HMA), visibility, and transparency settings. You can enable/disable individual MAs to focus on specific ones.
- **Trend-Based Coloring**: Lines and fills change color based on the trend direction of the MA (green for uptrend, red for downtrend).
- **Background Fills**: Optional fills between consecutive MAs, colored according to the faster MA's trend, to highlight crossovers or trend strength visually.
- **Direction Change Arrows**: Small up/down arrows appear on the chart when an MA changes trend direction on the current timeframe, helping spot potential reversals.
- **Dynamic and Lightweight**: The dashboard adjusts automatically if you disable MAs (rows are hidden), and the indicator won't disappear from the chart even if all plots are turned off.
- **No Repainting Option**: Uses `lookahead_on` for security calls, so trends from higher timeframes are consistent but may repaint in realtime (standard for MTF indicators).
This indicator is particularly useful for traders using Fibonacci-based lengths (like your defaults: 5, 8, 13, 21, 34, 50, 100, 144, 200, 244), which align with natural market cycles. It's flexible for any asset class, from stocks and forex to crypto.
#### How the Indicator Works
The indicator calculates 10 moving averages on the current chart timeframe. For each MA, it determines the trend direction by comparing the current value to its value two bars ago (a simple slope check). It then fetches the same trend calculation from 5 higher timeframes using `request.security`, allowing you to see if the trend is aligned across scales.
The dashboard summarizes this in a grid:
- Rows: Each enabled MA (labeled as "Type Length", e.g., "EMA 5").
- Columns: The 5 timeframes (labeled with converted names, e.g., "5m" for 5-minute, "1D" for daily).
- Cells: ↑ (uptrend, green) or ↓ (downtrend, red), with background shading for emphasis.
On the chart:
- MAs are plotted as lines with trend colors and user-set transparency.
- Fills (if enabled) shade the area between MAs, inheriting the color from the faster MA's trend.
- Arrows appear above/below bars when an MA's trend changes on the current timeframe.
#### Setting Up the Indicator
Add the indicator to your chart in TradingView, then customize via the Inputs tab. The inputs are grouped for ease:
- **Timeframes Group**: Set the 5 higher timeframes for MTF analysis (defaults: 5m, 15m, 1h, 4h, 1D). Use standard TradingView notation like "15" for 15 minutes or "D" for daily.
- **Moving Averages Group**: Adjust lengths and types for each of the 10 MAs. Start with the Fibonacci defaults, but experiment (e.g., shorter for scalping, longer for investing).
- **Visibility Group**: Toggle "Show MA#" to enable/disable individual lines on the chart. Disabling hides the row in the dashboard too.
- **Background Fills Group**: Toggle fills between MAs. These are great for visualizing ribbon-like setups but can clutter busy charts—turn off if not needed.
- **Colors Group**: Set the uptrend (default lime) and downtrend (default red) colors for lines, fills, and dashboard cells.
- **Transparency Group**: Adjust opacity for each MA line (0 = fully opaque/solid, 100 = fully transparent/invisible). Defaults start low for visibility and increase for slower MAs to reduce clutter.
- **Dashboard Group**: Choose position (e.g., "Top Right") and size (e.g., "Normal") for the table. Resize to fit your screen.
After customizing, apply and refresh the chart if needed.
#### Interpreting the Dashboard
The dashboard is the heart of the indicator—use it to confirm trend alignment:
- **Strong Uptrend Signal**: Most cells in a row (or column) show ↑ in green, indicating the MA is upward on multiple timeframes.
- **Strong Downtrend Signal**: Mostly ↓ in red.
- **Divergence**: Mixed ↑/↓ across timeframes suggests caution (e.g., short-term up but long-term down could mean a pullback).
- **Trend Flip**: Watch for rows where the current timeframe cell changes—combine with arrows on the chart for entries.
For example, if you're on a 5m chart and the dashboard shows ↑ on all timeframes for your fast MAs (e.g., MA1-MA3), it's a good buy signal in an uptrend strategy.
#### Using the Chart Plots and Fills
- **MA Lines**: Each enabled MA is plotted with its trend color. Use transparency to layer them without overwhelming the price action—faster MAs (low transparency) stand out, slower ones (high transparency) fade into the background.
- **Fills**: These highlight the space between MAs. In an uptrend, green fills expanding mean strengthening momentum. In a downtrend, red fills contracting could signal a squeeze or reversal. Disable fills if you prefer clean lines.
- **Arrows**: Up arrow (↑) means the MA turned bullish; down (↓) means bearish. These are only on the current timeframe and can be used for alerts (e.g., set TradingView alerts on crossover conditions).
To avoid double lines, ensure no other indicators are plotting similar MAs. If you disable all "Show MA#" toggles, the chart should be clean, but the dashboard remains.
#### Customization and Advanced Usage
- **Strategy Integration**: Use the dashboard for confluence. For example, enter long only when 80% of cells are ↑. Pair with oscillators like RSI for overbought/oversold filters.
- **Scalping vs. Swing**: For short-term trading, focus on fast MAs (1–5) and lower timeframes. For long-term, emphasize slow MAs (6–10) and higher timeframes.
- **HMA vs. EMA/SMA**: HMA is smoother for noisy markets; EMA for responsiveness; SMA for simplicity. Test combinations.
- **Transparency Tips**: Start with low values (0–30) for key MAs to make them prominent. Increase for others to layer without clutter.
- **Dashboard Tips**: Position in "Top Right" for quick glances. Use "Small" size on mobile or crowded screens. If the table is too wide, reduce timeframes.
- **Performance Notes**: With 10 MAs and 5 timeframes, it uses 5 security calls—efficient but may lag on very old devices. Disable unused MAs to optimize.
- **Alerts**: Set alerts on trend changes, e.g., "MA1 trend up" via TradingView's alert setup on the indicator.
#### Troubleshooting
- **No Dashboard**: Ensure at least one MA is enabled and the chart has enough bars (zoom out if needed).
- **Double Lines**: Check for overlapping indicators or duplicates. Reload the chart or TradingView.
- **Repainting**: Higher timeframe trends may repaint in realtime—use for confirmation, not sole signals.
- **Transparency Not Working**: Adjust sliders in Inputs; values above 80 make lines faint. Test on a white background chart if using dark mode.
This indicator is inspired by multi-timeframe trend analysis tools like BigBeluga's original, with these modifications for transparency, fills, extra MA lines, more MA selections and dynamic table.
Original script: Multi-Timeframe Trend Analysis
All credit to the original author: www.tradingview.com
Modifications by 34EMATRADER
Trend & Trigger (Ordered Legend)Description:
Overview This script implements a "Dual Timeframe" swing trading strategy designed for Daily charts. It separates the "Decision" (Trend) from the "Timing" (Momentum) by combining classic moving average logic found in the works of John J. Murphy and Dr. Alexander Elder.
The Strategy Components
1. The Landscape (Trend Filter)
200 SMA (Black Line): Defines the major market structure.
Rule: If Price > 200 SMA, the trend is Bullish (Longs Only). If Price < 200 SMA, the trend is Bearish (Shorts Only).
50 SMA (Blue Line): Represents the intermediate trend.
Usage: In a healthy uptrend, price often pulls back to bounce off the 50 SMA. It serves as a key level for placing Stop Losses.
2. The Trigger (Momentum Entry)
9 EMA (Green Line) & 20 EMA (Red Line):
These lines act as the "timing belt." We wait for a pullback in price to resolve itself before entering.
BUY Signal (Green Triangle): Appears when the 9 EMA crosses ABOVE the 20 EMA AND the Price is above the 200 SMA. This confirms momentum is returning in the direction of the major trend.
SHORT Signal (Red Triangle): Appears when the 9 EMA crosses BELOW the 20 EMA AND the Price is below the 200 SMA.
Best Practices for Use
Timeframe: Optimized for Daily (D) charts.
The "Value" Zone: The best signals occur when the price pulls back near the 50 SMA or 20 EMA and then triggers a crossover. Avoid taking signals when the price is already far extended (vertical) from the 50 SMA.
Stop Loss: A common technique is to place the initial stop loss below the 50 SMA or the most recent swing low.
Source Material
Technical Analysis of the Financial Markets (John J. Murphy) - Concepts of the "Golden Cross" and major trend filtering.
Trading for a Living (Dr. Alexander Elder) - Concepts of "Triple Screen" trading (using a slow trend filter and a fast trigger).
Apex Wallet - Lorentzian Classification: Adaptive Signal SuiteOverview The Apex Wallet Lorentzian Classification is a high-performance signal engine that utilizes an adaptive multi-feature approach to identify high-probability entry points. It synthesizes five distinct technical features—RSI, CCI, ADX, MFI, and ROC—to calculate a weighted trend bias.
Dynamic Adaptation The core strength of this indicator is its ability to automatically recalibrate its internal periods based on your selected Trading Mode.
Scalping: Uses ultra-fast periods (e.g., RSI 7, ADX 10) for quick reaction on 1m to 5m charts.
Day-Trading: Balanced settings (e.g., RSI 14, ADX 14) optimized for 15m to 1h timeframes.
Swing-Trading: Smooth, long-term filters (e.g., RSI 21, ADX 20) to capture major market shifts.
Logic & Signal Flow
Feature Extraction: The script calculates five momentum and volatility features using the current close price.
Signal Summation: Each feature contributes to a global signal score based on established technical thresholds.
EMA Smoothing: The raw signal is processed through an EMA filter to eliminate market noise and false breakouts.
Execution: Clear BUY and SELL labels are printed directly on the chart when the smoothed score crosses specific conviction levels.
Key Features:
Zero-Configuration: No need to manually adjust lengths; simply pick your trading style.
Clean Visuals: High-fidelity labels (BUY/SELL) with integrated alert conditions for automation.
Prop-Firm Ready: Ideal for traders needing fast confirmation for high-conviction trades.
TradeChillOut Ma trend uj1.ema 5 high
2.ema 5 low
3.ema 13 high
4.ema 13 low
5.kama close 10 5 55
6.hma 89
7.hma 150
8.hma 300
OI: Simple BandOI: Simple Band (Open Source)
OI: Simple Band is a very simple, open-source overlay that draws a two-line moving-average band and fills the space between them to highlight trend bias and momentum shifts at a glance.
What it plots
EMA (Exponential Moving Average) using the selected length
SMMA (Smoothed Moving Average) using the same length
A ribbon fill between the two:
Green when EMA > SMMA (bullish bias)
Red when EMA < SMMA (bearish bias)
Why use two different MAs with the same length?
Even with the same length, these two averages react differently:
EMA weights recent prices more heavily, so it responds faster to changes.
SMMA is designed to be steadier and slower, filtering more noise.
Using the same length keeps the comparison fair (same smoothing window) while still giving you a “fast vs slow response” relationship. The distance and relationship between them becomes a simple way to see:
Momentum / pressure: When EMA pulls away from SMMA, price is moving with enough force to overcome smoothing.
Compression: When they converge, momentum is fading and conditions often look more “balanced.”
State changes: Crossovers flip the ribbon colour and can be used as a context shift (trend/bias filter), not a standalone entry/exit rule.
Inputs
Moving average band (length): Controls both EMA and SMMA smoothing.
SMMA Source: Chooses the data used for the SMMA calculation (EMA is calculated on close).
Notes
This is intentionally minimal: no higher-timeframe requests, no security() calls, no signals — just a clean visual band.
Like all moving averages, it updates on the live candle and will settle on bar close.
Monthly Weekly Daily ATR Calculation A weekly options trading script showing optimal levels using daily and weekly ATR ranges and stop loss. (Open ± ATR)
ACHT EMA Cross Pullback Strategy with HTF Filter, RSI SignalsADVANCED INDICATOR FOR TRADING USING EMA CROSS PULLBACK STRATEGY
✨ MAIN FEATURES:
• 📈 Signals on pullback after EMA9/EMA20 crossover
• 🔍 Multi-level signal filtering
• 🕒 Multi-timeframe analysis (HTF filter)
• 🛡️ Trend indicator protection
• 📊 Compact information panel
🎯 MAIN SIGNALS:
1️⃣ EMA CROSS + PULLBACK
• EMA9 crosses EMA20 up/down
• Price pullback to EMA9 after crossover
• EMA200 filter (bullish/bearish trend)
2️⃣ RSI SIGNALS IN HTF ZONES
• RSI crossing its SMA
• Works only in HTF zones
• "First signal only" option in zone
🛡️ INDICATOR FILTERS:
• ✅ SuperTrend - main trend identification
• ✅ MACD - additional trend confirmation
• ✅ RSI - overbought/oversold filter
• ✅ HTF filter - higher timeframe analysis
⚙️ CUSTOMIZATION OPTIONS:
• Adjustable periods for all indicators
• Enable/disable each filter
• RSI level settings
• HTF filter timeframe selection
• Signal visualization options
📱 INFORMATION PANEL:
• Compact table with key metrics
• Status of all filters and indicators
• Visual HTF zone indicators
• Emoji for quick perception
🚨 ALERT SYSTEM:
• Alerts on main signals
• Alerts on HTF zone entry
• Alerts on RSI signals
• Customizable trigger conditions
📈 USAGE RECOMMENDATIONS:
1. Wait for EMA9 and EMA20 crossover
2. Look for price pullback to EMA9
3. Check all filter compliance
4. Ensure HTF zone presence
5. Use RSI signals as supplement
⚠️ RISKS AND LIMITATIONS:
• Indicator doesn't guarantee profit
• Always use stop-losses
• Test strategy on demo account
• Adapt parameters to your trading style
Minervini Trend Template Screener (v5)This script is a screening tool based on Mark Minervini’s “Trend Template.”
It is designed to identify stocks that are in a strong, institutional-quality uptrend.
It checks whether:
Price is above the 50-day, 150-day, and 200-day moving averages
Moving averages are aligned 50 > 150 > 200, with the 200-day MA trending upward
Price is at least 30% above the 52-week low
Price is within 25% of the 52-week high
The stock shows strong relative performance vs a benchmark (e.g., SPY)
Only stocks that pass all conditions are highlighted, helping to focus on
high-quality trend leaders favored by momentum and growth investors.
このスクリプトは、**マーク・ミネルビニの「Trend Template(トレンド・テンプレート)」**に基づいて、
**強い上昇トレンドにある銘柄だけを自動で抽出(スクリーニング)**するためのものです。
主に以下を確認しています:
株価が 50日・150日・200日移動平均線の上 にある
50日 > 150日 > 200日 の並びで、200日線も上向き
株価が 52週安値から30%以上上昇している
株価が 52週高値から25%以内に位置している
ベンチマーク(例:SPY)と比べて 相対的に強い値動きをしている
すべての条件を満たした銘柄にだけシグナルを出し、
**「機関投資家が買いやすい、教科書的な強トレンド銘柄」**を見つける目的のスクリプトです。
FRVP VA Zones + MACD + EMA Ribbon {A37Amna5633} emas, frvp with selectable coulours in the setting, and swtch on/off lines on the chart in the setting with macd chart
Trinity 4 EMA MTF IndicatorThis is a 5mins scalping indicator based on the daily, 1hr, 15mins and 5 mins TF. Go long or short when all EMA are aligned.
EMA values and timeframe can be customized
EMA colors can also be customized
OI: Simple Trend BGOI: Simple Trend BG (Open Source)
OI: Simple Trend BG is a very simple, open-source overlay for traders who follow a basic rule: only trade in the direction of a moving-average stack (often on a higher timeframe).
It plots a 3-SMMA stack on your current chart and optionally colours the chart background based on whether the secondary timeframe is cleanly stacked bullish or bearish.
What it does
Plots three SMMAs (Wilder / RMA smoothing) on the current timeframe:
Fast / Mid / Slow (defaults: 21, 50, 200)
Checks the same three SMMAs on a secondary timeframe (selectable)
Colours the background when the HTF stack is clearly aligned:
Green when Fast > Mid > Slow (bullish stack)
Red when Fast < Mid < Slow (bearish stack)
No background when the stack is mixed/neutral
Why it’s useful
If your trading plan is simply “only take longs when the MA stack is bullish and shorts when it’s bearish”, this script makes that rule obvious at a glance.
Instead of constantly checking whether the averages are in order (especially on a higher timeframe), you get a clean background bias filter while still seeing the MAs on your trading timeframe.
Inputs
Secondary timeframe: The timeframe used for the background bias check
Fast/Mid/Slow SMMA lengths: Controls the stack
Optional display toggles: show/hide MA plots and background shading
Notes
This is intentionally minimal: no signals, no entries/exits, no alerts — just a clear visual filter.
Like all moving-average tools, the most recent bar updates in real time and settles on close.
Weekly EMA Squeeze (Bullish + Bearish)Purpose
The Weekly EMA Squeeze indicator identifies periods where price is compressing tightly around a cluster of weekly EMAs and then flags when that compression resolves with directional bias. It is designed to surface high-timeframe inflection points where trends are most likely to begin or meaningfully change.
This indicator operates entirely on weekly data, even when viewed on lower timeframes.
________________________________________
Core Components
1. Weekly EMA Cluster
• Uses three weekly EMAs (fast / mid / slow)
• Compression is defined by:
o Tight EMA spread
o Reduced weekly volatility (ATR contraction)
• Represents balance and indecision at a higher timeframe
2. Bullish Weekly EMA Squeeze
Triggered when:
• EMAs are tightly compressed
• Price is holding above or within the EMA cluster
• EMA slopes flatten or turn upward (optional filter)
• Optional requirement: weekly close above EMA cluster
Displayed as:
• Green upward triangles
• Green vertical shaded band marking the squeeze event window
3. Bearish Weekly EMA Squeeze
Triggered when:
• EMAs are tightly compressed
• Price is holding below or within the EMA cluster
• EMA slopes flatten or turn downward (optional filter)
• Optional requirement: weekly close below EMA cluster
Displayed as:
• Red downward triangles
• Red vertical shaded band marking the squeeze event window
4. Vertical Shaded Event Bands
• Each squeeze event (bull or bear) is visually marked with a vertical shaded region
• Shading appears on every qualifying event, including consecutive ones
• Purpose: clearly identify when the market entered a compressed, directional decision state
________________________________________
What the Indicator Is Signaling
• Compression + directional bias, not immediate breakouts
• Transition points between:
o Range → trend
o Trend → reversal
o Trend → re-acceleration after consolidation
This indicator does not attempt to predict magnitude — it identifies timing and regime change risk.
________________________________________
How to Use It
Best used for:
• High-timeframe bias setting
• Filtering lower-timeframe signals
• Identifying when to stop fading price
• Recognizing when volatility expansion is likely
Typical interpretations:
• Bullish squeeze → bias shifts upward; favor long exposure
• Bearish squeeze → bias shifts downward; favor defensive or short exposure
• Multiple squeezes in same direction → trend reinforcement
• Rapid bull ↔ bear flips → higher-timeframe indecision
________________________________________
What It Is Not
• Not an entry trigger by itself
• Not a momentum oscillator
• Not a replacement for breakout confirmation
This indicator answers:
“Is the weekly market coiling, and in which direction is pressure building?”
Chestodor's MA MatrixDominate any market with precision using Chestodor's MA Matrix — the most flexible and powerful Multi-Timeframe Moving Averages indicator on TradingView. Built for serious traders who demand total control, this tool lets you create your own personalized MA "matrix" with up to 5 independent moving averages, each locked to its own timeframe, type, and settings.
Key Features:
- 5 Fully Independent MAs: Set unique length, type (SMA or EMA), and individual timeframe (1m to monthly) for each.
- Enable/Disable Toggle: Instantly show or hide any MA to declutter your view.
- Custom End-of-Line Labels: Personalized text (e.g., "Daily 200 EMA" or "21W EMA") that sticks perfectly to the end of each MA line, just below for maximum visibility.
- 5 Customizable Crossover Alerts: Configure up to 5 separate alerts for any MA pair — get notified on bullish or bearish crossovers with clear, custom messages.
- Pro-Level Efficiency: Accurate higher-TF data via request.security, conditional plotting, and no repainting.
How to Use:
Add to your chart and customize inputs (length, type, timeframe, color, label text).
Toggle MAs on/off as needed.
Set alerts by selecting pairs in the 5 slots and enabling them.
Watch live labels update at the chart's right edge for instant identification.
VWMA Cross Buy SignalCore Components & Logic
1. The Entry Engine (VWMA + Filters)
The strategy triggers a long signal when a Volume Weighted Moving Average (VWMA) crossover occurs.
Unlike a standard Simple Moving Average, the VWMA gives more weight to bars with higher volume. This ensures the indicator responds faster to "Smart Money" moves and slower to low-volume noise.
It uses a secondary Trend Filter (defaulting to the 200 EMA). By only buying when the price is above this line, the indicator forces you to stay on the right side of the primary market trend.
It requires volume to be higher than its recent average (e.g., 1.1× or 10% higher). This prevents entries on weak, low-conviction price moves.
2. The Dynamic Exit System
You have two distinct ways to manage your risk and targets, toggleable in the settings:
ATR Based (Volatility Adjusted): It calculates the Average True Range (ATR) to determine how volatile the stock is. By setting your Stop Loss at 2.0×ATR, you avoid getting "shaken out" by normal daily price fluctuations. The Take Profit is set at 4.4×ATR to capture large trend extensions.
Fixed % (Static): A more rigid approach where you set a hard percentage target (e.g., 10% gain / 5% loss).
3. The Performance Analytics Table
The grey minimalist table in the bottom-right corner uses cumulative percentage-based math to show:
Realized RRR: The actual Reward-to-Risk ratio based on your closed trades.
Break-Even Win Rate: The minimum win rate you need to stay profitable with your current RRR. It uses the formula:
BE WR=1+RRR1
Current Win Rate: Highlighted in Green if you are beating the Break-Even rate, or Red if the strategy is currently losing money on that specific stock.
Max Drawdown %: The most important metric for risk. It shows the largest peak-to-trough decline in your equity curve, letting you know how much losing streak can hurt your equity.
Strategic Use Case
This indicator is optimized for Stock Screening. When you flip through your watchlist, the table updates instantly.
If you see a stock with a high Win Rate and a Max Drawdown under 10%, you have found a ticker where the VWMA crossover logic is highly compatible with that stock's specific volatility. If the Win Rate cell is Red, you know the strategy is "un-tuned" for that asset and needs adjustment.






















