Dynamic EMA📌 Script Title: Dynamic EMA by Timeframe & Color
🔍 Purpose
This script automatically plots a single Exponential Moving Average (EMA) that adapts based on the current chart timeframe, making it ideal for multi-timeframe traders who want to keep their charts clean and focused. It also changes the color of the EMA to visually reinforce which EMA is active.
⚙️ How It Works
The script checks which timeframe you're currently on and:
Selects the corresponding EMA length
Plots that EMA on your chart
Colors the EMA based on its timeframe to help you quickly identify which one you're using
Here’s the timeframe-to-EMA mapping used:
Timeframe EMA Used EMA Color
3-Day EMA 7 White
Daily EMA 21 Blue
4H EMA 50 Green
1H EMA 100 Orange
15-Min EMA 200 Red
Other EMA 21 Gray (Default)
🧠 Why This Is Useful
Clarity & Focus
Instead of plotting multiple EMAs for all timeframes and cluttering your chart, this script shows only the one most relevant to your current view.
Multi-Timeframe Efficiency
If you're a trader who shifts between long-term and short-term views (like 3D → Daily → 4H → 15m), the EMA automatically adjusts itself — no need to manually reconfigure settings.
Color Coding for Visual Recognition
Each timeframe's EMA has a distinct color, so you can recognize which one is in play without even reading the label.
✅ How to Use Effectively
Switch timeframes in TradingView and observe how the EMA and its color update automatically.
The script works best on:
3D
Daily
4H
1H
15m
Any other timeframe will use EMA 21 with a gray color as a fallback.
Use with Trend Analysis: This EMA can serve as:
A trend filter (price above = bullish, below = bearish)
A dynamic support/resistance guide
Combine with Price Action: Watch how price reacts to the current EMA (e.g., bounces, rejections, crossovers).
Use in Confluence: Combine this with candlestick patterns, volume, or other indicators for higher-confidence entries.
Medie mobili
Intraday Trading Hit and Run# Strategy Overview
This is a short-term trading system designed for quick entries/exits (intraday). It uses multiple technical indicators to identify momentum trades in the direction of the trend, with built-in risk management through trailing stops.
# Main Components
1. Trend Filter
Uses two EMAs (10-period "fast" blue line and 100-period "slow" red line)
Only trades when:
Long: Price AND fast EMA are above slow EMA
Short: Price AND fast EMA are below slow EMA
2. Main Signal
////Stochastic Oscillator (14-period):
Buy when %K line crosses above %D line
Sell when %K crosses below %D
////Trend Strength Check
Smoothed ADX indicator (5-period EMA of ADX):
Requires ADX value ≥ 25 to confirm strong trend
3. Confirmation using Volume Filter (Optional)
Checks if current volume is 1.5× greater than 20-period average volume
# Entry Rules
A trade is only taken when:
All 3 indicators agree (EMA trend, Stochastic momentum, ADX strength)
Volume filter is satisfied (if enabled)
# Exit Rules
1. Emergency Exit:
Close long if price drops below fast EMA
Close short if price rises above fast EMA
2. Trailing Stop:
Actively protects profits by moving stop-loss:
Maintains 0.1% distance from highest price (longs) or lowest price (shorts)
# Risk Management
Only use 10% of account per trade
Includes 0.04% commission cost in calculations
All trades monitored with trailing stops
# How It Operates
The strategy looks for strong, high-volume momentum moves in the direction of the established trend (as determined by EMAs). It jumps in quickly ("hit") when conditions align, then protects gains with an automatic trailing stop ("run"). Designed for fast markets where trends develop rapidly.
You can use it on 15m, 1h or 4h
Moving Average Convergence Divergenceindicator(title="Moving Average Convergence Divergence", shorttitle="MACD+", timeframe="", timeframe_gaps=true)
// === Input Parameters ===
fast_length = input(title = "Fast Length", defval = 12)
slow_length = input(title = "Slow Length", defval = 26)
src = input(title = "Source", defval = close)
signal_length = input.int(title = "Signal Smoothing", minval = 1, maxval = 50, defval = 9, display = display.data_window)
sma_source = input.string(title = "Oscillator MA Type", defval = "EMA", options = , display = display.data_window)
sma_signal = input.string(title = "Signal Line MA Type", defval = "EMA", options = , display = display.data_window)
// === MACD Calculation ===
fast_ma = sma_source == "SMA" ? ta.sma(src, fast_length) : ta.ema(src, fast_length)
slow_ma = sma_source == "SMA" ? ta.sma(src, slow_length) : ta.ema(src, slow_length)
macd = fast_ma - slow_ma
signal = sma_signal == "SMA" ? ta.sma(macd, signal_length) : ta.ema(macd, signal_length)
hist = macd - signal
// === Alerts ===
alertcondition(hist >= 0 and hist < 0, title = 'Rising to falling', message = 'The MACD histogram switched from a rising to falling state')
alertcondition(hist <= 0 and hist > 0, title = 'Falling to rising', message = 'The MACD histogram switched from a falling to rising state')
// === Plots ===
hline(0, "Zero Line", color = color.new(#787B86, 50))
plot(hist, title = "Histogram", style = plot.style_columns, color = (hist >= 0 ? (hist < hist ? #26A69A : #B2DFDB) : (hist < hist ? #FFCDD2 : #FF5252)))
// MACD 線顏色根據是否高於 0 自動切換
macd_color = macd >= 0 ? color.green : color.red
plot(macd, title = "MACD", color = macd_color)
plot(signal, title = "Signal", color = #FF6D00)
SMA Strategy with Re-Entry Signal (v6 Style)Uses 5 Simple Moving Averages: SMA 10, 20, 30, 60, and 250.
Uptrend Condition:
An uptrend is defined when the closing price is above the 30-day SMA (SMA30).
Re-entry Signal Condition:
A re-entry signal is triggered when, during an uptrend, the closing price crosses above the 20-day SMA (SMA20).
Background Color Logic:
Green: Indicates an active uptrend (potential holding zone).
Red: Indicates the price has fallen below SMA30 (uptrend may be broken, increased risk).
Signal Display:
Re-entry signals are marked with an “↑” symbol below the candlestick.
All 5 SMAs (SMA10, SMA20, SMA30, SMA60, SMA250) are plotted for visual reference.
SIR Crypto Ultimate Package 2.0Updated version of SIR CRYPTO INDICATOR that detects downtrends, uptrends and help you make decisions faster
Buy/Sell Ei - Premium Edition (Fixed Momentum)**📈 Buy/Sell Ei Indicator - Smart Trading System with Price Pattern Detection 📉**
**🔍 What is it?**
The **Buy/Sell Ei** indicator is a professional tool designed to identify **buy and sell signals** based on a combination of **candlestick patterns** and **moving averages**. With high accuracy, it pinpoints optimal entry and exit points in **both bullish and bearish trends**, making it suitable for forex pairs, stocks, and cryptocurrencies.
---
### **🌟 Key Features:**
✅ **Advanced Candlestick Pattern Detection**
✅ **Momentum Filter (Customizable consecutive candle count)**
✅ **Live Trade Mode (Instant signals for active trading)**
✅ **Dual MA Support (Fast & Slow MA with multiple types: SMA, EMA, WMA, VWMA)**
✅ **Date Filter (Focus on specific trading periods)**
✅ **Win/Loss Tracking (Performance analytics with success rate)**
---
### **🚀 Why Choose Buy/Sell Ei?**
✔ **Precision:** Reduces false signals with strict pattern rules.
✔ **Flexibility:** Works in both live trading and backtesting modes.
✔ **User-Friendly:** Clear labels and alerts for easy decision-making.
✔ **Adaptive:** Compatible with all timeframes (M1 to Monthly).
---
### **🛠 How It Works:**
1. **Trend Confirmation:** Uses MAs to filter trades in the trend’s direction.
2. **Pattern Recognition:** Detects "Ready to Buy/Sell" and confirmed signals.
3. **Momentum Check:** Optional filter for consecutive bullish/bearish candles.
4. **Live Alerts:** Labels appear instantly in Live Trade Mode.
---
### **📊 Ideal For:**
- **Day Traders** (Scalping & Intraday)
- **Swing Traders** (Medium-term setups)
- **Technical Analysts** (Backtesting strategies)
**🔧 Designed by Sahar Chadri | Optimized for TradingView**
**🎯 Trade Smarter, Not Harder!**
---
Developered By Alireza Eivazkhani 🚀
Buy/Sell Ei - Premium Edition (Fixed Momentum)**📈 Buy/Sell Ei Indicator - Smart Trading System with Price Pattern Detection 📉**
**🔍 What is it?**
The **Buy/Sell Ei** indicator is a professional tool designed to identify **buy and sell signals** based on a combination of **candlestick patterns** and **moving averages**. With high accuracy, it pinpoints optimal entry and exit points in **both bullish and bearish trends**, making it suitable for forex pairs, stocks, and cryptocurrencies.
---
### **🌟 Key Features:**
✅ **Advanced Candlestick Pattern Detection**
✅ **Momentum Filter (Customizable consecutive candle count)**
✅ **Live Trade Mode (Instant signals for active trading)**
✅ **Dual MA Support (Fast & Slow MA with multiple types: SMA, EMA, WMA, VWMA)**
✅ **Date Filter (Focus on specific trading periods)**
✅ **Win/Loss Tracking (Performance analytics with success rate)**
---
### **🚀 Why Choose Buy/Sell Ei?**
✔ **Precision:** Reduces false signals with strict pattern rules.
✔ **Flexibility:** Works in both live trading and backtesting modes.
✔ **User-Friendly:** Clear labels and alerts for easy decision-making.
✔ **Adaptive:** Compatible with all timeframes (M1 to Monthly).
---
### **🛠 How It Works:**
1. **Trend Confirmation:** Uses MAs to filter trades in the trend’s direction.
2. **Pattern Recognition:** Detects "Ready to Buy/Sell" and confirmed signals.
3. **Momentum Check:** Optional filter for consecutive bullish/bearish candles.
4. **Live Alerts:** Labels appear instantly in Live Trade Mode.
---
### **📊 Ideal For:**
- **Day Traders** (Scalping & Intraday)
- **Swing Traders** (Medium-term setups)
- **Technical Analysts** (Backtesting strategies)
**🔧 Designed by Sahar Chadri | Optimized for TradingView**
**🎯 Trade Smarter, Not Harder!**
EMA Trend with MACD-Based Bar Coloring (Customized)This indicator blends trend-following EMAs with MACD-based momentum signals to provide a visually intuitive view of market conditions. It's designed for traders who value clean, color-coded charts and want to quickly assess both trend direction and overbought/oversold momentum.
🔍 Key Features:
Multi-EMA Trend Visualization:
Includes four Exponential Moving Averages (EMAs):
Fast (9)
Medium (21)
Slow (50)
Long (89)
Each EMA is dynamically color-coded based on its slope—green for bullish, red for bearish, and gray for neutral—to help identify the trend strength and alignment at a glance.
MACD-Based Bar Coloring:
Candlesticks are colored based on MACD's relationship to its Bollinger Bands:
Green bars signal strong bullish momentum (MACD > Upper Band)
Red bars signal strong bearish momentum (MACD < Lower Band)
Gray bars reflect neutral conditions
Compact Visual Dashboard:
A clean, top-right table displays your current EMA and MACD settings, helping you track parameter configurations without opening the settings menu.
✅ Best Used For:
Identifying trend alignment across short- to medium-term timeframes
Filtering entries based on trend strength and MACD overextension
Enhancing discretion-based or rule-based strategies with visual confirmation
Huntwood PVSRA Candles with 34 EMA WavePVSRA + Wave Indicator (Volume + Structure + Momentum)
This custom indicator blends PVSRA (Price, Volume, S&R Analysis) with wave-based structure tracking to help identify smart money activity, volume surges, and wave patterns in real time.
It highlights:
Volume spikes at key zones
Wave counts & structure shifts
Potential market maker traps & trend setups
Ideal for traders who want a visual edge combining volume-based clues with wave rhythm for better entry/exit decisions.
RSI RMI📈 RSI RMI Momentum Zones with Dynamic Range MA
This indicator combines RSI and MFI into a hybrid momentum reading (RSI-MFI) to identify potential LONG and SHORT entries based on breakout conditions.
🔍 Key Features:
RSI-MFI Calculation: Smoothed momentum detection using RSI and Money Flow Index average.
Dynamic Range Weighted MA: Custom RWMA (Range Weighted Moving Average) that adapts to price volatility.
Momentum Shift Labels: Auto-printed LONG and SHORT labels when trend momentum flips.
Color-Coded Bars: Green for bullish momentum, red for bearish.
Optional Range Band Visualization for trend context.
This tool is useful for traders looking to visually identify momentum breakouts and trend shifts with custom logic that filters out weak signals.
🔔 Add it to your chart and follow for more unique indicators!
IMPULSE SCALPER VENUS IIMPULSE SCALPER VENUS I is a high-performance real-time scalping tool designed for binary and forex traders. It combines impulse candle logic, RSI strength, EMA trend validation, and news avoidance filtering to deliver sharp buy/sell signals with precision.
✅ Impulse Candle Detection
✅ EMA Trend + RSI Momentum Confirmation
✅ High-Impact News Blocking (Red Zones)
✅ Cooldown Between Signals
✅ Mobile Alerts + Pop-Up Ready
✅ Real-Time BUY/SELL Labels
Ideal for 1–5 minute scalping on major forex pairs, indices, and binary platforms. Works best during high volume market sessions.
EMA Trend Strength MeterThis indicator will leverage the EMA as basis to indentify value of Strength of trend
McGinley Dynamic Channel with Directional ShadingA Pine Script indicator that creates a 20-period McGinley Dynamic channel:
The upper band is the 20-period of the high.
The lower band is the 20-period of the low.
The channel is shaded.
The McGinley Dynamic is a smoothing algorithm designed to follow price more closely than traditional moving averages while adapting to market speed. The fill changes between green and red depending on whether the McGinley midline is rising or falling.
EMA Crossover with Shading
A Pine Script indicator that shows a crossover between a short EMA and a long EMA, with green shading when the short EMA is above the long EMA and red shading when it's below.
TradersFriendCandles v2
TradersFriendCandles
A fully customizable candle‑color and banding indicator built on percentile + ATR, with optional EMA vs. ALMA trend filtering and higher‑timeframe support.
Key Features
Dynamic Percentile Center Line
Compute any Nth percentile over M bars (default 20th over 15) to serve as a reference “mid‑price” level.
ATR‑Based Bands
Envelope that percentile line with upper/lower bands at X × ATR (default 1×), plus an extended upper band at 3.5× ATR.
Higher‑Timeframe Mode
Plot bands based on a higher timeframe (e.g. daily bands on a 15m chart) so you can gauge macro support/resistance in micro timeframes.
Custom‑Color Candles
5 user‑editable colors for:
Strong bullish
Light bullish
Neutral
Light bearish
Strong bearish
Optional EMA vs. ALMA Trend Filter
When enabled, candles simply turn “bull” or “bear” based on fast EMA crossing above/below slow ALMA.
Border‑Only Coloring
Keep candle bodies transparent and color only the border & wick.
Live Plot Labels & Track Price
All lines carry titles and can display current values directly on the price scale.
Alerts
Strong Bull Breakout (price stays above upper band)
Strong Bear Breakdown (price closes below lower band)
EMA/ALMA crossovers
Inputs & Customization
Percentile level & lookback length
ATR length, multiplier, opacity
Fast EMA length, ALMA parameters (offset, length, sigma)
Toggle bands, lines, custom candles, higher‑timeframe mode
Pick your own colors via color‑picker inputs
Use TradersFriendCandles to visualize momentum shifts, dynamic support/resistance, and trend strength all in one overlay. Perfect for pinpointing breakouts, breakdowns, and filtering noise with adjustable sensitivity.
Candle % High/Low Bar + HL Order + MA by Barty&PitPapcioWhat does the indicator show?
The "Candle % High/Low Bar + HL Order + MA by Barty&PitPapcio" indicator displays the percentage deviation of each candle’s high and low relative to its open price. The zero line represents the candle’s open — bars above zero show upward movement from the open (to high), bars below zero show downward movement (to low).
Additionally, the indicator plots a dot above or below each bar indicating which came first during the candle — the high or the low — based on data from a lower timeframe two steps below the current chart (for example, on a 1-hour chart it uses 15-minute data).
Finally, the indicator calculates and plots a user-selectable moving average (EMA, SMA, or WMA) of these "first high or low" signals, helping identify trends whether the first move is more often upwards or downwards.
Where do the data come from?
Percentage values are calculated directly from the current chart’s candles:
highPerc=(High−Open)/Open×100%,
lowPerc=(Low−Open)/Open×100%
The timing of the first high or low for each candle is retrieved from a lower timeframe, stepping down two levels from the current timeframe (e.g. from 1H to 15 min), providing better precision in detecting the order of highs and lows that may be blurred on higher timeframes.
Additional features:
Full customization of colors for bars, dots, zero line, grid, and thicknesses.
Background grid with adjustable scale and style.
Safety checks for missing lower timeframe data.
A moving average smoothing the sequence of first high/low signals to reveal directional tendencies.
Suggested strategy for technical analysis support
Identify dominant candle direction: If the dot often appears above the bar (first high), it indicates buying pressure; if below (first low), selling pressure dominates.
Use percentage deviations: Large percent bars indicate heightened volatility and potential reversal points.
Moving average on order signals: The EMA of high/low first signals smooths the noise, showing the dominant trend in the sequence of price moves, useful for filtering other signals.
Combine with other tools: This indicator can act as a directional filter on multiple timeframes, synergizing well with momentum indicators, RSI, or support/resistance levels to confirm move strength.
Lots of love, Bartosz
CANX MA Crossover© CanxStixTrader
Moving average crossover systems measure drift in the market. They are great strategies for time-limited traders. KEEP IT SIMPLE
This strategy works both for buys and sells using the reaction line to guide your position against the reactions.
HOW TO USE THE INDICATOR
1) Choose your market and timeframe.
2) Choose the length.
3) Choose the multiplier.
4) Choose if the strategy is long-only or bidirectional (longs & shorts).
TIPS
The strategy works best in bullish markets as that is the primary direction that market such as stocks, indexes and metals like to move.
- Increase the multiplier to reduce whipsaws
- Increase the length to take fewer trades
- Decrease the length to take more trades
- Try a Long-Only strategy to see if that performs better.
The base set up when you load the indicator is for the 1 minute chart on gold. We found that it also works well on the US Indexes. For other markets you may need to change the length and multiplier to suit the market and back test its results.
10/20MA pullback by Black200000Original Multi-Timeframe Pullback Indicator with Real-Time Alerts (Closed Source)
This script is a unique, practical tool for identifying and visualizing pullback opportunities on stocks.
It’s specifically engineered to generate pullback alerts in real time even while you are viewing other timeframes—a feature rarely available in open-source alternatives.
• What makes this script unique?
- Specialized Pullback Logic (10/20 EMA):
The indicator detects valid pullbacks based on price interaction with the 10 or 20 EMA, with advanced logic that differentiates between:
1. Touch and close above the EMA
2. Touch and close below the EMA
3. Touch one EMA and close above the other (for advanced filtering)
- Multi-Timeframe Engine:
The script is optimized for both standard and non-standard timeframes (including 6m), and is capable of generating pullback alerts even if you are currently viewing a different timeframe chart (such as 1m, 15m, H1, or daily).
You will never miss a pullback signal just because you are on another chart timeframe.
- Clean, Non-Repetitive Visuals:
All signals are displayed on a single, dedicated reference line below price—never on every price bar—so your chart remains easy to read even when tracking multiple stocks.
- True Originality:
The logic, signal timing, and alert functionality are not adapted from any open-source code.
Real-time multi-timeframe pullback alerting is unique to this indicator.
• How the indicator works
- On every new bar, the script checks for custom pullback conditions using 10 and 20 EMA interactions, regardless of your current viewing timeframe.
- When your criteria are met, a visual marker is plotted and an alert is triggered in real time, ensuring you can act immediately—even if you’re reviewing the market from a different angle.
• Why closed source?
- The script’s logic, visual engine, and especially the cross-timeframe alerting mechanism are original, developed independently for active intraday traders.
- No part of the code is copied or replicated from open-source repositories.
- To maintain the uniqueness and effectiveness of the strategy, the script is published as closed source, in full compliance with TradingView’s House Rules.
• How to use
1. Add the indicator to any chart.
2. The script automatically monitors all interactions with the 10 and 20 EMA using advanced pullback logic.
3. Set your alert for pullback signals.
4. Trade or scan other timeframes with confidence, knowing you’ll be notified as soon as a pullback forms on your chosen anchor timeframe.
If you have questions about the logic or features, contact me via TradingView DM.
Backtest: EMA + CPR + Volume + SL/TargetBacktest Strategy — EMA + CPR + Volume + SL/Target
Buy & Sell signals: Plotted on chart
Volume Spike Filter: Volume > 20-day average
Stop-Loss: 1.5% below entry price
Target: 3% above entry price (can be adjusted)
Backtest mode: Tracks performance
Works on all stocks (Futures or Equity)
Futures Strategy: EMA + CPR + RSI + Volume + AlertsBuy when:
20 EMA crosses above 50 EMA
Price is above CPR
RSI is in acceptable zone (optional)
Volume is above average
📉 Sell when:
20 EMA crosses below 50 EMA
Price is below CPR
RSI is in acceptable zone (optional)
Volume is above average