Moving Averages
Astro's EMAScript Description – "Astro's EMA fill"
This TradingView indicator plots four Exponential Moving Averages (EMAs) and uses shaded fill areas to visually highlight bullish or bearish crossovers between two EMA pairs.
🔍 Key Features:
4 EMAs plotted:
EMA 1 (default 14) — Fast
EMA 2 (default 50) — Slow
EMA 3 (default 100) — Medium-Term
EMA 4 (default 200) — Long-Term
Shaded Fill Areas:
Area between EMA 1 & EMA 2 is filled green when EMA 1 is above EMA 2 (bullish), red when below (bearish).
Area between EMA 3 & EMA 4 is filled with the same logic, representing longer-term momentum.
Customizable Settings:
All EMA lengths and the price source are user-editable.
Transparent shading helps keep the chart clean while showing trend strength/direction.
📈 Use Case:
This tool helps you visually confirm:
Short-term vs long-term trend alignment
Trend strength and crossover points
Potential support/resistance zones formed by EMAs
Perfect for traders using multi-timeframe moving average confluence strategies or trend-based systems.
Let me know if you want to add:
Alerts when crossovers happen
Background color changes based on trend alignment
Toggle checkboxes for hiding individual EMAs or fills
Simple MA AI Strategy + All Pattern Recognition (Reversed)just try m1 chart only 111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
EMA 52W 65-80% Down ShiftShifted EMA 52W. Useful in identifying the low points of medium- and long-term trends on altcoins. EMA 52 W - Annual Trend A 65-75% downward shift relative to the current position potentially indicates deep drawdowns for most investor participants and can serve as an approximate zone for a medium-term rebound or trend reversal.
Trend System - Bands (H4)A band indicator on the h4 timeframe designed to assist with catchig h4 trend moves
Multi EMA with Smoothing & BBMulti EMA with Smoothing & BB
────────────────────────────
This script overlays **four exponential moving averages**—fully adjustable (defaults 20/30/40/50)—to give an instant read on trend direction via “EMA stacking.”
• When the faster lines (short lengths) sit above the slower ones, the market is in up-trend alignment; the opposite stack signals down-trend momentum.
┌─ Optional Smoothing Engine
│ The 4th EMA (slowest) can be run through a second moving-average filter to cut noise:
│ ─ SMA ─ EMA ─ SMMA/RMA ─ WMA ─ VWMA ─ None
│ You choose both the type and length (default 14).
│ This smoothed line often acts as dynamic support/resistance for pull-back entries.
└───────────────────────────
┌─ Built-in Bollinger Bands
│ If you pick **“SMA + Bollinger Bands,”** the script wraps the smoothed EMA with upper/lower bands using a user-set standard-deviation multiplier (default 2.0).
│ • Band expansion ⇒ rising volatility / breakout potential.
│ • Band contraction ⇒ consolidation / squeeze conditions.
└───────────────────────────
Extra Utilities
• **Offset** (±500 bars) lets you shift every plot forward or backward—handy for visual back-testing or screenshot aesthetics.
• Selectable data *source* (close, HLC3, etc.) for compatibility with custom feeds.
• Transparent BB fill improves chart readability without hiding price.
Typical Uses
1. **Trend Confirmation** – Trade only in the direction of a clean EMA stack.
2. **Dynamic Stops/Targets** – Trail stops along the smoothed EMA or take profit at opposite BB.
3. **Volatility Filter** – Enter breakout strategies only when BB width begins to widen.
Parameter Summary
• EMA Lengths: 1–500 (defaults 20 | 30 | 40 | 50)
• Smoothing Type: None / SMA / EMA / SMMA / WMA / VWMA / SMA + BB
• Smoothing Length: 1–500 (default 14)
• BB StdDev: 0.001–50 (default 2.0)
• Offset: -500…+500 bars
No repainting – all values calculated on fully closed candles.
Script written in Pine Script v6. Use at your own discretion; not financial advice.
Moving Average ExponentialThis indicator plots 8 Exponential Moving Averages (EMAs) with customizable lengths: 20, 25, 30, 35, 40, 45, 50, and 55. It also includes optional smoothing using various moving average types (SMA, EMA, WMA, etc.) and an optional Bollinger Bands overlay based on the EMA. It helps identify trend direction, momentum, and potential reversal zones.
EMA Trend Screener//@version=5
indicator("EMA Trend Screener", shorttitle="ETS", format=format.inherit)
// EMA Calculations
ema10 = ta.ema(close, 10)
ema20 = ta.ema(close, 20)
ema50 = ta.ema(close, 50)
ema100 = ta.ema(close, 100)
ema200 = ta.ema(close, 200)
// RSI Calculations
rsi_daily = ta.rsi(close, 14)
rsi_weekly = request.security(syminfo.tickerid, "1W", ta.rsi(close, 14))
// Core Conditions with 99% thresholds
price_above_10ema = close > (ema10 * 0.99)
ema10_above_20 = ema10 > (ema20 * 0.99)
ema20_above_50 = ema20 > (ema50 * 0.99)
ema50_above_100 = ema50 > (ema100 * 0.99)
ema100_above_200 = ema100 > (ema200 * 0.99)
// RSI Conditions
rsi_daily_bullish = rsi_daily > 50
rsi_weekly_bullish = rsi_weekly > 50
// EMA Spread Calculation
ema_max = math.max(ema10, math.max(ema20, math.max(ema50, math.max(ema100, ema200))))
ema_min = math.min(ema10, math.min(ema20, math.min(ema50, math.min(ema100, ema200))))
ema_spread_pct = (ema_max / ema_min - 1) * 100
// Price to 20 EMA Distance
price_to_20ema_pct = (close / ema20 - 1) * 100
// Additional Conditions
ema_spread_ok = ema_spread_pct < 10
price_to_20ema_ok = price_to_20ema_pct < 10
ema200_positive = ema200 > 0
// Final Signal Calculation
all_conditions_met = price_above_10ema and ema10_above_20 and ema20_above_50 and
ema50_above_100 and ema100_above_200 and rsi_daily_bullish and
rsi_weekly_bullish and ema_spread_ok and price_to_20ema_ok and ema200_positive
// SCREENER OUTPUT - This is the key for premium screener
// Return 1 for stocks meeting criteria, 0 for those that don't
screener_signal = all_conditions_met ? 1 : 0
// Plot the screener signal (this will be the column value)
plot(screener_signal, title="EMA Trend Signal", display=display.none)
// Additional screener columns you can add
plot(rsi_daily, title="RSI Daily", display=display.none)
plot(rsi_weekly, title="RSI Weekly", display=display.none)
plot(ema_spread_pct, title="EMA Spread %", display=display.none)
plot(price_to_20ema_pct, title="Price to 20EMA %", display=display.none)
// Screener-friendly outputs for individual conditions
plot(price_above_10ema ? 1 : 0, title="Price > 10EMA", display=display.none)
plot(ema10_above_20 ? 1 : 0, title="10EMA > 20EMA", display=display.none)
plot(ema20_above_50 ? 1 : 0, title="20EMA > 50EMA", display=display.none)
plot(ema50_above_100 ? 1 : 0, title="50EMA > 100EMA", display=display.none)
plot(ema100_above_200 ? 1 : 0, title="100EMA > 200EMA", display=display.none)
// Market cap condition (note: market cap data may not be available in all cases)
// You'll need to set this in the main screener interface
// Performance 3Y condition
// This also needs to be set in the main screener interface as it's fundamental data
Multi EMA ComboMuliti EMA Combo
You dont have a paid TradingView plan, and cant put 6 diffrent EMAS on the Chart?
No problem! With the Multi EMA Combo Indicator you got the most important EMAS in one Indicator ( 9, 20, 50, 100, 200, 800 ).
Made by Esc0.
EMA x4📌 Indicator: EMA x4
Author:
Script Type: Overlay (draws on price chart)
Language: Pine Script™ v6
License: Mozilla Public License 2.0
📖 Overview
EMA x4 is a minimalist technical indicator designed to display four customizable Exponential Moving Averages (EMAs) directly on the chart. It offers a clear view of short-, medium-, long-, and extra-long-term trends to support trend-following and momentum-based trading strategies.
This tool is ideal for traders who rely on moving average crossovers, dynamic support/resistance, or need to confirm market bias with multiple time-frame alignment.
⚙️ Input Parameters
Users can modify each EMA's length to match their strategy preferences:
Short EMA: Fastest EMA for short-term by default its value is 35
Middle EMA: Medium-term EMA by default its value is 75
Large EMA: Long-term EMA by default its value is 100
XL - EMA: Extra-long-term trend filter by default its value is 200
📊 Visual Representation
The script plots each EMA using distinct colors and consistent line thickness:
EMA1: Color Blue Short-term EMA (35)
EMA2: Color Orange Mid-term EMA (75)
EMA3: Color Green Long-term EMA (100)
EMA4: Color Red Extra-long-term EMA (200)
All lines are rendered with a linewidth of 2 for enhanced visibility on any chart.
🧠 Typical Use Cases
Trend Identification: Watch for the EMAs stacking in order (e.g., EMA1 above EMA2, etc.) to confirm bullish or bearish trends.
Crossover Signals: Look for EMA crossovers to generate entry/exit signals.
Support & Resistance: EMAs often act as dynamic zones of support/resistance during trending markets.
Multi-timeframe Confirmation: Combine this overlay with higher timeframe charts to confirm trend alignment.
✅ Key Benefits
Fully customizable EMA lengths for all trading styles.
Clean design, ideal for visually-driven traders.
Lightweight code – no lag or performance impact.
Can be used in confluence with other indicators or strategies.
🚀 How to Use
Add the indicator to any TradingView chart.
Configure the EMA lengths based on your preference (swing, day trading, long-term).
Analyze price interactions with the EMAs and look for confluences or crossovers.
5 EMAs 200, 55, 50, 21, 9This indicator combines 5 EMAs
200 EMA => shows larger trend
9 EMA => fast
21 => medium, Fibonacci number
50 => Slow, Fibonacci number
55 => Slow, frequently used in the market
when the 9 crossed 21 to the upside, signals uptrend
when 21 crosses 55 => stronger uptrend
when the 9 crossed 21 to the downside, signals downtrend
when 21 crosses 55 => stronger downtrend
SMA & EMA Combo (10/20/50/200)How This Works
Inputs: Four separate input fields let you adjust each moving average’s period from the indicator’s settings panel.
Calculation: Uses ta.sma for SMAs and ta.ema for EMAs, both calculated on the close price.
Plotting: Each moving average is plotted with a distinct color and label for clarity.
How to Use
Open TradingView, go to the Pine Script editor.
Paste the code above.
Add the script to your chart.
You’ll see four lines: 10 SMA (purple), 20 SMA (green), 50 EMA (red), 200 EMA (blue). You can adjust the periods in the indicator’s settings.
CHN TAB# CHN TAB - Technical Analysis Bot
## Overview
The TAB (Technical Analysis Bot) indicator is a comprehensive trading signal system that combines Simple Moving Average (SMA) crossovers with MACD momentum analysis to identify high-probability entry and exit points. This indicator provides both immediate and delayed signal detection with built-in risk management through automatic Take Profit (TP) and Stop Loss (SL) calculations.
## Key Features
- **Dual Signal Detection**: Combines SMA(50) price action with MACD momentum
- **Smart Signal Timing**: Offers both immediate and delayed signal recognition
- **Automatic Risk Management**: Calculates TP and SL levels using ATR (Average True Range)
- **Visual Feedback**: Color-coded candles and filled zones for easy identification
- **Comprehensive Alerts**: Three distinct alert conditions for different trading needs
## How It Works
### Buy Signals
**Immediate Buy Signal:**
- Price crosses above SMA(50) (open < SMA50 and close > SMA50)
- MACD crosses above zero line simultaneously
**Delayed Buy Signal:**
- Previous candle crossed above SMA(50)
- Previous MACD was ≤ 0, current MACD > 0
- Current candle remains above SMA(50)
### Sell Signals
**Immediate Sell Signal:**
- Price crosses below SMA(50) (open > SMA50 and close < SMA50)
- MACD crosses below zero line simultaneously
**Delayed Sell Signal:**
- Previous candle crossed below SMA(50)
- Previous MACD was ≥ 0, current MACD < 0
- Current candle remains below SMA(50)
### Risk Management
- **Take Profit**: Entry price ± 1.0 × ATR(14)
- **Stop Loss**: Entry price ± 1.5 × ATR(14)
- **Risk-Reward Ratio**: Automatic 1:1.5 setup
## Visual Elements
- **Green Candles**: Buy signal triggered
- **Red Candles**: Sell signal triggered
- **Orange Line**: Entry price level (displayed for 10 bars)
- **Green Fill**: Take profit zone
- **Red Fill**: Stop loss zone
## Alert System
1. **TAB Buy Signal**: Triggers only on buy signals
2. **TAB Sell Signal**: Triggers only on sell signals
3. **TAB Buy & Sell Signal**: Triggers on any signal (buy or sell)
## Best Practices
- Use on trending markets for better signal quality
- Combine with higher timeframe analysis for confirmation
- Consider market volatility when interpreting ATR-based levels
- Backtest on your preferred timeframes before live trading
## Technical Parameters
- **SMA Period**: 50
- **MACD Settings**: 12, 26, 9 (Fast, Slow, Signal)
- **ATR Period**: 14
- **Signal Display**: 10 bars duration
## Timeframe Recommendations
- Works on all timeframes
- Best performance on 15M, 1H, and 4H charts
- Higher timeframes provide more reliable signals
## Risk Disclaimer
This indicator is for educational and informational purposes only. Trading involves substantial risk of loss and is not suitable for all investors. Past performance does not guarantee future results. Always conduct your own analysis and consider your risk tolerance before making trading decisions.
---
**Version**: 6.0
**Overlay**: Yes
**Category**: Trend Following, Momentum
**Suitable For**: Forex, Stocks, Crypto, Commodities
BB + SMA5 반전 신호 (중복 방지 + 알림)This is an indicator that generates a sell signal when the 5sma reverses downward within the Bollinger Band.
Fixed Market Path Predictionthis indicator is a line that is used to predict the way the market moves, if you combine it with my other indicator its better, go check it out.
Zero Lag Trend Strategy (MTF)🧠 Strategy Overview
The Zero Lag Trend Signals Strategy (MTF) is a high-precision, multi-timeframe trend-following system designed for traders seeking early trend entries and intelligent exits. Built around ZLEMA-based signal detection, based on the original indicator Zero Lag Trend Signals (MTF) from AlgoAlpha, now built as a strategy with several improvements for Exit Criteria include RR, ATR Stop Loss, Trailing stop loss, etc. See below.
This momentum strategy works much better for higher timeframes, typically 4 hours or higher. This particular combination only contains 57 trades because this captures larger trend moves. The dataset contains realistic commission and slippage. You can try to run this on a smaller timeframe, but you will need to try different combinations of length, band multiplier, risk-reward ratios, and other stop loss criteria.
🔍 Key Components
1️⃣ ZLEMA Trend Engine
ZLEMA (Zero-Lag EMA) forms the foundation of the trend signal system.
Detects bullish and bearish momentum by analyzing price action crossing custom ZLEMA bands.
Optional confirmation using 5-bar ZLEMA slope filters (up/down trends) ensures high-conviction entries.
2️⃣ Volatility-Based Signal Bands
Dynamic bands are calculated using ATR (volatility) stretched over 3× period length.
These bands define entry zones (outside the bands) and trend strength.
Price crossing above/below the bands triggers trend change detection.
3️⃣ Entry Logic
Primary long entries occur when price crosses above the upper ZLEMA band.
Short entries (optional) trigger on downside cross under the lower band.
Re-entry logic allows continuation trades during strong trends.
Filters include date range, ZLEMA confirmation, and previous position state.
4️⃣ Exit Logic & Risk Management
Supports multiple customizable exit mechanisms:
🔺 Stop-Loss & Take-Profit
ATR-Based SL/TP: Uses ATR multipliers to dynamically set levels based on volatility.
Fixed Risk-Reward TP: Targets profit based on predefined RR ratios.
Break-Even Logic: Automatically moves SL to entry once a threshold RR is hit.
EMA Exit: Optional trailing exit based on price vs. short EMA.
🔀 Trailing Stop
Follows price action using a trailing ATR-based buffer that tightens with trend movement.
🔁 Trend-Based Exit
Automatically closes positions when the detected trend reverses.
5️⃣ Multi-Option Trade Filtering
Enable/disable short trades, ZLEMA confirmations, re-entries, etc.
Time-based backtesting filters for isolating performance within custom periods.
6️⃣ Visual Feedback & Annotations
Trend shading overlays: Green for bullish, red for bearish zones.
Up/Down triangle markers show when ZLEMA is rising/falling for 5 bars.
Stop-loss, TP, trailing lines drawn dynamically on the chart.
Floating stats table displays live performance (PnL, win %, GOA, drawdown, etc.).
Trade log labels annotate closed trades with entry/exit, duration, and reason.
7️⃣ CSV Export Integration
Seamless export of trade data including:
Entry/exit prices
Bars held
Encoded exit reasons
Enables post-processing or integration with external optimizers.
⚙️ Configurable Parameters
All key elements are customizable:
Entry band length and multiplier
ATR lengths, multipliers, TP/SL, trailing stop, break-even
Profit target RR ratio
Toggle switches for confirmations, trade types, and exit methods
Moving Average RespectSimple script that looks at the 10 SMA, 21 EMA & 50 SMA moving averages and looks back to see which one price respects the most. Provides the moving averages and a table to show which of those are respected within a definable proximity (editable).
Sarjana Crypto TrendMaster + EMA 20/50/100/200It combines moving averages, a custom SuperTrend, and Heikin Ashi smoothing to help you spot trend direction and filter clean buy/sell signals.
This tool doesn’t predict — it reacts smartly to trend changes.
It's ideal for traders who want clear, filtered signals backed by trend logic and EMAs.
Trend Blend
Trend blend is my new indicator. I use it to identify my bias when trading and filter out fake setups that are going in the wrong direction.
Trend blend utilises the 9 EMA (Red), 21 EMA (Black), and if you trade futures or Bitcoin, you can also use the VWAP (Blue).
There is also a table at the top right that displays the chart time frame bias
I prefer to use the 1-hour time frame for bias and execute the trades on 5-minute charts, mainly, and sometimes on the 1-minute for a smaller stoploss.
Here's an example of the trade I took during the London session on XAU/USD
1 hour bias was Bearish
Price broke out of the range
I waited for the London session to open, where I ended up taking a short on the 5-minute time frame as we broke out of the pre-London range
Entry was at the Fair Value Gap (5-minute bias was also Bearish as price traded into the FVG)
Stoploss was at the last high
Take Profit was the next major support level
Another set that I like to trade with the Trend blend is when price is trending bullish and price trades inside the 9 and 21 EMA, and there is a bullish candle closer above the 9 EMA with Stoploss below the low of the bullish candle and Take profit between 1-2 Risk to Reward
Same when there's a bearish trend, I wait for price to trade inside the 9 and 21 EMA, and I'll take sells when a bearish candle closes below the 9 EMA.
This setup works best in strong trends, or it can be used to enter a trade on a pullback or to scale into an existing trade.
PulseMA + MADescription
The PulseMA + MA indicator is an analytical tool that combines the analysis of the price relationship to a base Exponential Moving Average (EMA) with a smoothed Simple Moving Average (SMA) of this relationship. The indicator helps traders identify the direction and momentum of market trends and generates entry signals, displaying data as lines below the price chart.
Key Features
PulseMA: Calculates trend momentum by multiplying the number of consecutive candles above or below the base EMA by the slope of this average. The number of candles determines trend strength (positive for an uptrend, negative for a downtrend), while the EMA slope reflects the rate of change of the average. The PulseMA value is scaled by multiplying by 100.
Smoothed Average (PulseMA MA): Adds a smoothed SMA, facilitating the identification of long-term changes in market momentum.
Dynamic Colors: The PulseMA line changes color based on the price position relative to the base EMA (green for price above, red for price below).
Zero Line: Indicates the area where the price is close to the base EMA.
Applications
The PulseMA + MA indicator is designed for traders and technical analysts who aim to:
Analyze the direction and momentum of market trends, particularly with higher PulseMA Length values (e.g., 100), which provide a less sensitive EMA for longer-term trends.
Generate entry signals based on the PulseMA color change or the crossover of PulseMA with PulseMA MA.
Anticipate potential price reversals to the zero line when PulseMA is significantly distant from it, which may indicate market overextension.
How to Use
Add the Indicator to the Chart: Search for "PulseMA + MA" in the indicator library and add it to your chart.
Adjust Parameters:
PulseMA Length: Length of the base EMA (default: 50).
PulseMA Smoothing Length: Length of the smoothed SMA (default: 20).
Interpretation:
Green PulseMA Line: Price is above the base EMA, suggesting an uptrend.
Red PulseMA Line: Price is below the base EMA, indicating a downtrend.
PulseMA Color Change: May signal an entry point (recommended to wait for 2 candles to reduce noise).
PulseMA Crossing PulseMA MA from Below: May indicate a buy signal in an uptrend.
Zero Line: Indicates the area where the price is close to the base EMA.
Significant Deviation of PulseMA from the Zero Line: Suggests a potential price reversal to the zero line, indicating possible market overextension.
Notes
The indicator generates trend signals and can be used to independently identify entry points, e.g., on PulseMA color changes (waiting 2 candles is recommended to reduce noise) or when PulseMA crosses PulseMA MA from below.
In sideways markets, it is advisable to use the indicator with a volatility filter to limit false signals.
Adjusting the lengths of the averages to suit the specific instrument can improve signal accuracy.
GMMA with Distance TableThis is a combination of
1. Moving averages 20, 50, 100 and 200.
2. Table showing-
-Distances of the CMP from these moving averages,
-Distance from 52 week high and recent swing high
-Monthly, weekly and annual returns.
Multi-Indicator Trend-Following Strategy v7This strategy is a trend-following system that combines multiple technical indicators into a single, optimized indicator to help identify high-probability Buy and Sell opportunities while maintaining a clean and uncluttered chart.
✅ How It Works:
This script utilizes a combination of Exponential Moving Averages (EMAs), Relative Strength Index (RSI), Volume, MACD, and Average True Range (ATR) to determine trade entries and exits.
🟢 Buy Conditions:
Trend Crossover Entry:
A Buy signal is generated when the Fast EMA crosses above the Slow EMA, indicating a potential bullish trend.
Oversold Reversal Entry:
Alternatively, a Buy is triggered when:
The Slow EMA is significantly below the Fast EMA (oversold market behavior),
The current price is well below the Fast EMA,
A volume spike occurs, suggesting a possible reversal.
🔴 Sell Conditions:
Trend Crossover Exit:
A Sell signal is generated when the Fast EMA crosses below the Slow EMA, indicating a bearish shift.
Overbought Reversal Exit:
A Sell is triggered when:
The Slow EMA is above the Fast EMA by a wide margin,
The price is well above the Fast EMA,
A volume spike suggests downward reversal pressure.
📏 Risk Management:
Uses ATR-based stop-loss and take-profit levels to dynamically manage risk per trade.
Includes adjustable input options for ATR multipliers, moving average lengths, volume filters, and more.
🧩 Why Use This Strategy?
Rather than juggling multiple indicators manually, this script combines and simplifies them into a single, convenient strategy. It’s ideal for traders who want:
Clean visual signals,
Robust entry/exit logic backed by volume and trend behavior,
A modular and customizable setup for testing and optimization.
⚠️ Disclaimer: This script is for educational and informational purposes only. It does not constitute financial advice. Always backtest strategies thoroughly and use proper risk management when trading live.
Erik_ORB+Sky_DBB+RSI_Swing+MA&VWAP-v5Erik_ORB + SkyArrow_Dynamic Bollinger Band + RSI Swing Indicator + SMA & EMA & VWAP (with timeframe restriction) MAGA STITCHED Ver.