GEOFF LONG/SHORT ENTRY + STOP + TP / FINALIZED + ALERT / EMA
This professional-grade scalper is engineered specifically for the Micro E-mini S&P 500 (MES) and focuses exclusively on high-probability "A+" setups. By stripping away secondary noise, the indicator identifies surgical entries where momentum, trend, and institutional value converge.
### THE "PERFECT SETUP" LOGIC (4-LAYER FILTER)
To ensure the highest strike rate, a trade is only triggered when all four of the following conditions align:
1. TREND: 8 EMA crossing the 21 EMA (Short-term momentum shift).
2. VALUE: Price must be above VWAP for Longs or below VWAP for Shorts (Institutional bias).
3. MOMENTUM: RSI must be > 55 for Longs or < 45 for Shorts (Confirming the "Flush").
4. VOLATILITY: The entry candle must close outside the EMA spread to confirm strength.
### KEY FEATURES
* IRON-CLAD ANCHORING: Uses Pine Script v6 'chart.point' math to mathematically weld boxes and labels to the price bars. Drawings will NOT drift or lag when zooming or panning.
* DYNAMIC RISK CALCULATOR: Automatically calculates Take Profit and Stop Loss levels based on your input points. It displays the real-time dollar gain/loss ($5 per point for MES) directly on the chart.
* SURGICAL VISUALS: Features a 3-label system (Entry Price, Target Price, and Stop Price) positioned externally to keep the candlestick price action clear and visible.
* COLOR-SYNC LOGIC: Intuitively designed so that the Profit Target is ALWAYS Lime/Green and the Risk/Stop is ALWAYS Red, regardless of whether you are in a Long or Short position.
* INTEGRATED ALERTS: Includes built-in alert conditions for "Perfect Long" and "Perfect Short" to sync with phone or browser notifications.
### BEST USED ON:
Optimized for the 1m, 2m, and 5m timeframes for MES Futures.
Экспоненциальное скользящее среднее (EMA)
Kalman Exponential SuperTrendThe Kalman Exponential SuperTrend is a new, smoother & superior version of the famous "SuperTrend". Using Kalman smoothing, a concept from the EMA (Exponential Moving Average), this script leverages the best out of each and combines it into a single indicator.
How does it work?
First, we need to calculate the Kalman smoothed source. This is a kind of complex calculation, so you need to study it if you want to know how it works precisely. It smooths the source of the SuperTrend, which helps us smooth the SuperTrend.
Then, we calculate "a" where:
n = user defined ATR length
a = 2/(n+1)
Now we calculate the ATR over "n" period. Classical calculation, nothing changed here.
Now we calculate the SuperTrend using the Kalman smoothed source & ATR where:
kalman = kalman smoothed source
ATR = Average True Range
m = Factor chosen by user.
Upper Band = kalman + ATR * m
Lower Band = kalman - ATR * m
Now we just smooth it a bit further using the "a" and a concept from the EMA.
u1 = Upper Band a bar ago
l1 = Lower Band a bar ago
u = Upper Band
l = Lower Band
Upper = u1 * (1-a) + u * a
Lower = l1 * (1-a) + u * a
When the classical (not Kalman) source crosses above the Upper, it indicates an uptrend. When it crosses below the Lower, it indicates a downtrend.
Methodology & Concepts
When I took a look at the classical SuperTrend => It was just far too slow, and if I made it faster it was noisy as hell. So I decided I would try to make up for it.
I tried the gaussian, bilateral filter, but then I tried kalman and that worked the best, so I added it. Now it was still too noisy and unconsistent, so I revisited my knowledge of concepts and picked the one from the EMA, and it kinda solved it.
In the core of the indicator, all it does is combine them in a really simple way, but if you go more deeply you see how it fits the puzzlé really well.
It is not about trying out random things´=> but about seeking what it is missing and trying to lessen its bad side.
That is the entire point of this indicator => Offer a unique approach to the SuperTrend type, that lessen the bad sides of it.
I also added different plotting types, this is so everyone can find their favorite
Enjoy Gs!
Thanks @BackQuant for making a open source Kalman code <3
The Systemtable viewed bullish/bearish indicator. uses 9 & 20 ema crossings along with macd & rsi to identify the bullish/bearish trend. ability to toggle vwaps + emas.
Goal to consolidate the various indicators for users that don't pay for premium ++
VIOP Scalping - ATR SNIPERVIOP Scalping – ATR SNIPER is a momentum-based scalping strategy designed to capture short, high-probability moves while keeping risk strictly defined using ATR-based stop-loss and fixed risk/reward targets. The strategy trades only when trend direction, momentum, and strength are aligned.
This script is provided for educational and testing purposes only. It does not guarantee profitability and must be used with proper risk management.
Core Idea
Trade in the direction of the dominant trend, confirm momentum acceleration, and manage risk using ATR-based dynamic stops and targets.
How the Strategy Works
The main trend is defined using a Weighted Moving Average (WMA).
Momentum is measured by the distance and direction between a fast EMA and a slow EMA.
Trend strength is confirmed using ADX.
RSI is used as a filter to avoid weak or overextended market conditions.
Entries are blocked during a predefined no-trade time window to avoid high-noise periods.
Long Entry Conditions
Fast EMA is above Slow EMA and the EMA difference is greater than the minimum threshold.
EMA momentum is increasing compared to the previous bar.
RSI is within the user-defined long range.
Current close is higher than the previous close.
ADX is above the minimum strength threshold.
Price is above the WMA trend line.
The current bar is not inside the no-trade session.
Short Entry Conditions
Fast EMA is below Slow EMA and the EMA difference is below the negative threshold.
Bearish EMA momentum is increasing.
RSI is within the user-defined short range.
Current close is lower than the previous close.
ADX is above the minimum strength threshold.
Price is below the WMA trend line.
The current bar is not inside the no-trade session.
Risk Management – ATR Sniper Logic
Stop-loss distance is calculated as ATR multiplied by the ATR Multiplier.
Take-profit distance is calculated using the defined Risk/Reward ratio.
Stop-loss and take-profit levels are dynamically calculated per trade.
Only one position can be open at any given time.
What You See on the Chart
Weighted Moving Average (WMA) trend line.
Fast EMA and Slow EMA lines.
Dynamic stop-loss line during active trades.
Dynamic take-profit line during active trades.
Recommended Use
Intraday scalping on VİOP instruments.
Momentum-based short-term trading.
Traders who prefer rule-based systems with strict risk control.
Always backtest and forward-test on your own instruments and timeframes before using this strategy in live markets.
MACD Standard DeviationThe MACD Standard Deviation is a new trend following tool, designed to be smoother & more accurate
Benefits
- High BINANCE:BNBUSDT performance
- Fast entries with less noise
- Simple calculation
The Idea
The idea is simple - get a MACD that is less noisy. This would increase the accuracy and make it a more reliable tool.
How is works
It works by calculating the MACD and calculating the Standard Deviation of the MACD and add it as "bands". This adjusts the MACD to be more accurate and to be able to reduce false signals.
Enjoy Gs!
EMA 200 Trend [Scalping-Algo]📊 EMA 200 TREND COLOR INDICATOR
// ════════════════════════════════════════════
//
// This indicator plots the 200 EMA with dynamic color changes based on the
// current market trend. Super simple, super clean!
//
// 🟢 GREEN = Bullish trend (price above EMA + EMA rising)
// 🔴 RED = Bearish trend (price below EMA + EMA falling)
// ⚪ GRAY = Neutral/consolidation
//
// ✨ FEATURES:
// • Clean visual representation of trend direction
// • Customizable colors to match your chart style
// • Optional background highlighting
// • Works on any timeframe
//
// 📈 HOW TO USE:
// • Look for price staying above green EMA for long entries
// • Look for price staying below red EMA for short entries
// • Gray color = wait for confirmation
//
// 💡 TIP: Works great with other indicators for confluence!
//
// If you found this useful, drop a like! 👍
// Happy trading! 🚀
════════════════════════════════════════════
VIOP Scalping - OriginalVIOP Scalping – Original is a rule-based scalping strategy ported from an original C# logic set. It aims to trade only when trend direction, momentum, and trend strength align, then manages the position using fixed take-profit/stop-loss percentages with an optional trailing mechanism to protect gains during favorable moves.
This strategy is provided for educational and backtesting purposes only. It is not financial advice and does not guarantee profitability. Always test thoroughly before any live usage.
Core Concept
Follow the dominant WMA trend, confirm momentum with EMA separation, filter conditions with RSI + ADX, then exit using fixed TP/SL with trailing behavior after a defined profit threshold.
How the Strategy Works
Trend Direction is defined by WMA: above WMA = long bias, below WMA = short bias.
Momentum is measured via Fast EMA vs Slow EMA and the EMA difference.
Trend Strength is confirmed using ADX (must exceed a threshold).
RSI filters trades to avoid entering when momentum is likely overextended or weak.
A no-trade session blocks entries during a predefined time window (default 09:30–10:05).
Exit logic uses fixed percent TP/SL, with an optional trailing mechanism that activates after a profit threshold.
Inputs and Settings
Trend and Indicator Settings
Main Trend WMA: Determines directional bias (price above = long, price below = short).
Fast EMA / Slow EMA: Used to measure momentum and directional separation.
RSI Period: Filters entries based on RSI range constraints.
ADX Period: Measures trend strength (must exceed threshold to allow entries).
Threshold Settings
EMA Difference Threshold: Minimum EMA separation required to validate momentum.
ADX Threshold: Minimum ADX required to confirm trend strength.
RSI Long Ceiling: RSI must remain below this value for long entries.
RSI Short Floor: RSI must remain above this value for short entries.
Risk Management Settings
Take Profit %: Default TP distance in percent.
Strong Trend Take Profit %: Higher TP used when a “strong trend” condition is detected.
Stop Loss %: Fixed SL distance in percent.
Trailing Activation %: Profit threshold at which trailing starts.
Trailing Distance %: Trailing offset distance used once trailing is active.
Time Filter
No-Trade Hours: Default session is 09:30–10:05. During this window, the strategy does not open new trades.
Entry Logic
No-Trade Time Filter
If the current bar falls inside the no-trade session, entries are blocked.
Long Entry Conditions
Price is above the WMA trend line.
EMA difference is positive and greater than the EMA Difference Threshold.
EMA momentum is increasing (current EMA diff > previous EMA diff).
RSI is within the defined range (RSI > 48 and RSI < RSI Long Ceiling).
Close is higher than the previous close.
ADX is above the ADX Threshold.
Short Entry Conditions
Price is below the WMA trend line.
EMA difference is negative and lower than -EMA Difference Threshold.
Bearish momentum is increasing (current EMA diff < previous EMA diff).
RSI is within the defined range (RSI < 52 and RSI > RSI Short Floor).
Close is lower than the previous close.
ADX is above the ADX Threshold.
Strong Trend Logic (Dynamic TP Selection)
If price is far from the WMA (absolute distance > 20 points) AND EMA separation is strong (absolute EMA diff > 1.5 points), the strategy treats the environment as a strong trend.
In strong trend mode, the strategy uses “Strong Trend Take Profit %” instead of the default “Take Profit %”.
Exit Management (TP/SL + Trailing)
The strategy uses fixed percentage-based TP and SL levels.
Trailing logic is enabled via strategy.exit and activates only after price moves in profit by the defined Trailing Activation %.
Once activated, trailing follows price using the defined Trailing Distance % offset.
This is designed to secure partial gains during extended moves while still allowing room for continuation.
What You See on the Chart
WMA Trend Line (Main Trend Filter).
Fast EMA and Slow EMA (Momentum Confirmation).
Strategy entry/exit markers generated by TradingView.
Recommended Use
Scalping systems that rely on trend-following and momentum confirmation.
Markets where ADX filtering helps avoid choppy conditions.
Traders who want a simple, parameter-driven TP/SL system with trailing after confirmation.
Important Notes
The no-trade session depends on your chart/session settings. Ensure your symbol/session configuration matches your intended market hours.
Percent-based exits scale with price; results will vary across instruments and volatility regimes.
Always validate behavior using bar replay, forward testing, and realistic commission/slippage assumptions.
W/D/4HR OTE Aligner (V6) - Alerts This indicator is a multi-timeframe (MTF) alignment and Optimal Trade Entry (OTE) alert tool designed for discretionary manual trading on the 15-minute timeframe.
Here is a description of its core functionality:
W/D/4HR OTE Aligner (V6) - Alerts
This custom TradingView indicator assists manual traders by identifying high-probability trading setups that meet specific structural and momentum criteria across multiple timeframes. It does not place trades automatically but generates a "Trade Signal" used for setting up reliable alerts.
Key Features:
Multi-Timeframe Bias Confirmation: The indicator uses a 50-period Exponential Moving Average (EMA) to confirm that the Weekly, Daily, and 4-Hour timeframes are all aligned in the same direction (all above for bullish, all below for bearish). This provides a strong directional bias.
OTE Zone Identification: It dynamically calculates recent swing highs and lows on the 4-hour chart (using reliable pivot detection) and highlights the Optimal Trade Entry (OTE) zone, typically centered around the 0.618 Fibonacci Retracement level.
15-Minute Entry Signal: Once price enters the OTE zone within the aligned trend direction, the indicator looks for a confirmation entry signal on the 15-minute chart, specifically a 9-period EMA crossing the 20-period EMA.
Manual Alert System: A transparent "Trade Signal" plot provides the trigger source for a manual TradingView alert, notifying the user exactly when all criteria are met for a potential long or short trade entry.
This indicator is a tool for finding precise entry points within dominant, confirmed trends.
for clarity i built this using Google AI to help with being away from the charts it reflects how i wish to progress on my journey so any tips or feed back with me much appreciated
JRockets MACDThis is my favorite indicator, that I use as one of my conformations before entering a trade in the 15M timeframe This MACD is tailor made by me to work efficient, consistent, and effectively. I back tested tons of times, it helps if you're entering too early, late and even get faked out. The MACD is by far my favorite and one and only indicator, and here's why. The MACD contains 2 EMA lines where it gives me a signal on when to buy or sell. If the Blue line crosses the red line on the bottom of the indicator its giving buy signals as long as the blue line stays on top, and when the red line crosses the blue line on top of the indicator its giving sell signals as long as the redline stay on top. Be sure to pay attention to the candle stick patterns as well and has to be around key levels. What makes this a better signal as well, the MACD has a built-in momentum hologram, some see it as overbought/undersold, or volume indicator. By combining the momentum hologram with your buy/sell ema will prevent you from entering a trade in the wrong area. The momentum hologram is almost self-explanatory, when there is buying pressure, the hologram turns blue, the darker the blue the stronger the momentum as well as the length of the hologram, once is start losing momentum it starts to turn to a lighter blue. Eventually a light red to a solid red showing momentum for a strong sell, this works vice versa. Combing all that at once and built instincts it becomes very effective. You can also use the EMA signals as divergence, but I don't really trade with divergence but could possibly give you conformation. Using the MACD is like having 3-4 indicators in one with all of them working fluent together. I have the MACD locked on the 15M timeframe because that's where it works more accurately. You can make the EMA lines a bit thicker to be easier to see. I would change the MACD visible for the 15M timeframe only or 1M to 1H timeframe. I hope this indicator helps you, as it did for me. You can simply click add on your charts on the top left to get this free indicator. Peace out and enjoy! Be sure to share, this indicator with your friends as it may help someone out.
Evil's Two Legged IndicatorA pullback strategy indicator designed for scalping. This attempts to Identify classic 2-leg pullback patterns and filters out signals during choppy market conditions for better signals.
How It Works:
The indicator detects when price forms two pullback legs (swing lows in an uptrend or swing highs in a downtrend) near key support/resistance zones, then signals when reversal confirmation occurs. Equal-level pullbacks (double bottoms/tops) are marked as stronger signals.
Features:
Channel Options: Donchian (default), Linear Regression, or ATR Bands
Configurable EMA: For trend confirmation (default 21)
Adjustable Leg Detection: Swing lookback period for different timeframes
Equal Level Detection: Highlights stronger setups where both legs terminate at similar prices
Three Chop Filters (can be combined):
ADX Filter — suppresses signals when ADX is below threshold (default 25)
EMA Slope Filter — suppresses signals when EMA is flat
Chop Index Filter — suppresses signals when Chop Index indicates ranging conditions
Signal Types:
Standard signals: 2-leg pullback detected with trend confirmation
Strong signals (highlighted): 2-leg pullback with equal highs/lows — higher probability setup
Recommended Use:
Best suited for scalping on 1-5 minute chart. Designed for 1.5:1 risk/reward setups.
Settings Guide:
Increase "Swing Lookback" for fewer, higher-quality signals
Adjust "Equal Level Threshold" to fine-tune what counts as a double bottom/top
Enable/disable chop filters based on your market and timeframe
Use "Show Strong Signals Only" to filter for highest conviction setups
Auto Trendline using Liquidity Sweeps By Vachaspati JhaThis auto trendline systime uses Liquidity sweep points to draw, making them extremely reliable- price action respects these trendlines.
You can choose different pivot numbers for Green and Red lines to suit market condition. For instance in uptrend green line pivot number can be 2 or higher and Red line pivot number can be 1 for pullback opportunities.
Momentum Trend & Ignition DashboardDescription
Rationale & Originality Traders often struggle with chart clutter, needing separate indicators for Moving Averages, Volume anomalies, and Fundamental stats (like 52-week highs or Float). This script solves this problem by creating a unified "Momentum Dashboard." It is not just a collection of averages; it is a purpose-built tool for Breakout and Trend Following strategies (such as CAN SLIM or VCP).
The uniqueness of this script lies in its "Confluence Logic": it allows a trader to instantly validate a setup by checking three pillars simultaneously without changing tabs:
Trend: Are the key MAs (20, 50, 100, 200) stacked correctly?
Ignition: Is there a "Power Play" (Big Price Move + Heavy Volume) occurring right now?
Stats: Is the stock near its 52-week high, and does it have a supportive Up/Down Volume Ratio?
How It Works (Detailed Calculations)
1. Custom Trend Ribbon (4x MA Mix):
The script plots 4 independent Moving Averages.
Innovation: Unlike standard inputs, each MA can be individually toggled between SMA (Simple) or EMA (Exponential). This allows traders to mix "Fast" trend lines (e.g., 10 or 20 EMA) with "Slow" institutional lines (e.g., 50 or 200 SMA) in one overlay.
2. "Purple Dot" Ignition Detection:
This features a custom detection algorithm for "Ignition Bars."
Logic: It compares the current candle's Close to the previous Close. If the move exceeds a user-defined threshold (default 5%) AND the Volume exceeds a fixed liquidity threshold (default 500k), a Purple Dot is plotted.
This filters out "low volume drift" and highlights true institutional participation.
3. Relative Volume (RVol) Engine:
Calculates the ratio of Current Volume to the 50-period SMA of Volume.
Visuals: If the ratio exceeds the user threshold (e.g., 1.5x average), the dashboard highlights the data, and optionally the chart bars, alerting the trader to unusual activity.
4. Statistical Dashboard (Data Panel):
Using request.security, the panel fetches daily timeframe data regardless of the chart view.
52-Week & 13-Week H/L: Calculates the percentage distance from these key levels to gauge overhead supply.
U/D Ratio: Calculates the sum of volume on "Up Days" vs. "Down Days" over 50 periods. A value > 1.0 suggests institutional accumulation.
Float %: (Stocks Only) Fetches financial data to show the percentage of shares available for trading.
How to Use This Script
This script is designed for Trend Following and Breakout Trading:
The Setup: Use the Data Panel to find stocks with a U/D Ratio > 1.0 and price within 15% of the 52-Week High.
The Trend: Ensure price is above the MA 2 (set to 50 SMA) and MA 4 (set to 200 SMA) to confirm a Stage 2 uptrend.
The Trigger: Watch for the Purple Dot.
If a Purple Dot appears as price breaks out of a consolidation (base), it confirms institutional buying.
Use the RVol panel to confirm that volume is at least 1.5x normal levels.
Risk Management: Use the MA 1 (set to 20 EMA) as a trailing stop-loss during strong trends.
Settings & Configuration
MAs: Fully adjustable Length and Type (SMA/EMA).
Big Move (Purple Dot): Adjust the % Move based on asset volatility (e.g., use 3% for Large Caps, 10% for Crypto).
Table: The data panel is fully dynamic. You can toggle specific rows (like Float or SMA distance) On/Off to save screen space, and position it anywhere on the chart.
Credits & References
The concept of Relative Volume (RVol) and U/D Ratio is derived from standard Volume Analysis used by William O'Neil.
The "Big Move" combined with Volume thresholds is based on standard Volume Spread Analysis (VSA) concepts regarding "Effort vs. Result."
Financial data fetch (Float) utilizes TradingView's built-in financial() library.
Trend Table by DNDFXTrend Table is the latest version released in 2026. Initially, this feature was integrated into the CTR indicator. However, due to technical issues that caused errors in the main indicator, Trend Table was separated and developed as a standalone indicator to ensure stability and allow it to operate without interfering with the main system.
The Trend Table indicator is designed to provide a clear overview of market trend direction across multiple timeframes in a single, concise display. The timeframes included are M1, M3, M5, M10, M15, M30, H1, H4, and Daily. With this separation, users can monitor trend conditions from lower to higher timeframes more efficiently, consistently, and reliably.
EMA Slope - RSI Indicator# EMA Slope - RSI Indicator
## Script Description (for Publishing Page)
**EMA Slope - RSI Indicator** combines normalized EMA slope momentum analysis with RSI divergence detection and momentum comparison to create a visual signal indicator with five distinct signal types. The indicator's originality lies in its unique "No Trade Zone" (NTZ) concept applied to slope momentum, combined with centered RSI format for direct comparison, and multiple complementary signal methods that work together to identify both trend-following and reversal opportunities across different market conditions.
**Core Concept - EMA Slope Normalization:** Calculates rate of change of long MA (default 160 EMA) by comparing current value to N bars ago (default 3 bars). Raw slope difference normalized to -100 to +100 scale using 500-bar rolling range: normalizedSlope = 100 * (longMA - longMA ) / (highest(maDF, 500) - lowest(maDF, 500)). Creates consistent momentum oscillator comparable across price levels and timeframes.
**No Trade Zone (NTZ) Logic:** NTZ (±8 default) creates neutral zone where slope momentum is too weak for reliable signals. Indicator only triggers NTZ Cross signals when slope crosses out of threshold zone, ensuring signals occur only when momentum is sufficiently strong.
**Centered RSI Format (RSI-50):** Traditional RSI (0-100 range) difficult to compare with slope. This indicator uses centered RSI = (RSI - 50), creating -50 to +50 range zero-centered on same scale as normalized slope. Enables direct visual and mathematical comparison between RSI and slope momentum, enabling Slope-RSI exhaustion detection and RSI-Slope Oscillator signals.
**Component Integration:** Five signal types target different market conditions. NTZ Cross and Acceleration target trend-following when momentum strong. RSI Divergence and Slope-RSI Divergence target reversals when price/momentum diverge. RSI-Slope Oscillator targets momentum alignment when RSI and slope converge. Multi-method approach provides signals across trending, reversing, and ranging markets.
### 📊 Technical Calculations
**Slope Normalization:** maDF = longMA - longMA , normalized: maDf = 100 * maDF / (highest(maDF, 500) - lowest(maDF, 500)), ranges -100 to +100.
**Acceleration Detection:** maAcce = abs(maDf - maDf ) * smoothBars * 2, normalized: maAcc = 50 * maAcce / highest(maAcce, 200). Values above threshold (35 display, 40 signals) indicate sudden momentum shifts. Visualized as colored circles: cyan (bullish), red (bearish).
**RSI Calculation:** rsi = sma(rsi(source, length), smoothing), centered: cRsi = rsi - 50 (ranges -50 to +50). Smoothed using SMA (default 3 bars) to reduce noise.
**RSI Divergence:** Uses pivot high/low detection on smoothed RSI. Pivot lookback = 16 - sensitivityInput (inverse: sensitivity 6 = 10-bar lookback, sensitivity 10 = 6-bar lookback). Compares price pivots (actual high/low including wicks) against RSI pivots. Bullish: priceLowerLow AND rsiHigherLow. Bearish: priceHigherHigh AND rsiLowerHigh. Stores multiple previous pivots (default 8 max) for comparison.
**Slope-RSI Exhaustion:** Compares normalized slope against centered RSI on same scale. Bearish: slope accelerating up (delta > 0, slope > NTZ) BUT RSI declining (cRsi < cRsi AND cRsi < cRsi ). Bullish: slope accelerating down (delta < 0, slope < -NTZ) BUT RSI rising. Gap threshold (default 10.0 points) filters noise. Visualized with dashed lines and gap labels.
**RSI-Slope Oscillator:** State machine tracks cross events (rsiSlopeCrossUp = cRsi > maDf AND cRsi <= maDf ), waits for confirmation: both RSI and slope heading same direction. Long: RSI crosses above slope AND both heading UP. Short: RSI crosses below slope AND both heading DOWN. Useful for range-bound markets.
**Stretch Filter:** maPercentDiff = (longMA - shortMA) / shortMA * 100. Blocks long signals if longMA > shortMA by threshold (overextended up). Blocks short signals if shortMA > longMA by threshold (overextended down). Default 0.45% prevents signals when MAs too far apart.
**Delta Calculation:** Measures change in normalized slope between bars. Timeframe mode: compares current confirmed slope with previous confirmed (more reliable, slight delay). Standard mode: compares current with previous bar (faster, may use unconfirmed). Minimum threshold (default 3.4) filters weak momentum changes.
**Trailing Stop (Blackflag FTS Swingarm):** Uses Wilder's MA of true range. Modified mode: trueRange = max(HiLo, HRef, LRef) with enhanced gap handling. Unmodified: standard true range. Trailing stop calculated based on ATR factor and price trend direction. Separate settings for divergence signals (wider stops, grace periods).
### 🚀 Signal Types and Conditions
**1. NTZ Cross Signals:** Long: Slope crosses above +NTZ (default +8) AND positive delta ≥ threshold (default 3.4) AND stretch filter allows AND optional trend confirmation (short MA > long MA). Short: Slope crosses below -NTZ AND negative delta ≥ threshold AND filters allow. Exit: Slope re-enters NTZ OR reverses direction for confirmation bars OR trailing stop.
**2. Acceleration Signals:** Long: Acceleration ≥ threshold (default 40) AND slope above NTZ AND positive delta sufficient AND filters allow. Short: Acceleration ≥ threshold AND slope below -NTZ AND negative delta sufficient AND filters allow. Visual: Colored circles (cyan bullish, red bearish). Works independently to catch sudden momentum bursts.
**3. RSI Divergence Signals:** Bullish: Price lower low while smoothed RSI higher low, detected via pivot comparison (default up to 8 pivots). Bearish: Price higher high while RSI lower high. Optional Slope-RSI confirmation. Visual: Purple lines (bearish), lime lines (bullish). Exit: Divergence-specific trailing stop (wider ATR, grace period).
**4. Slope-RSI Divergence Signals:** Bullish: Slope accelerating down (negative delta, slope < -NTZ) BUT RSI rising over lookback AND gap exceeds threshold (default 10.0 points). Bearish: Slope accelerating up (positive delta, slope > NTZ) BUT RSI declining AND gap exceeds threshold. Visual: Orange triangles (bullish exhaustion), yellow triangles (bearish exhaustion) with dashed lines. Exit: Divergence-specific trailing stop.
**5. RSI-Slope Oscillator Signals:** Long: RSI crosses above slope AND both heading upward. Short: RSI crosses below slope AND both heading downward. State machine tracks cross then confirms direction. Exit: Opposite oscillator condition (allows reversal) OR trailing stop after grace period.
### 📖 How to Use
**Adding to Chart:** TradingView → Indicators → Search "EMA Slope - RSI Indicator" → Add (displays in separate pane below price).
**Visual Elements:** Colored area = normalized EMA slope (Green = bullish above NTZ, Red = bearish below -NTZ, Gray = NTZ zone). Blue line = Centered RSI (-50 to +50). Colored circles = Acceleration (Cyan = bullish, Red = bearish). Green triangles (↑) = Long signals (bottom). Red triangles (↓) = Short signals (top). Orange X = Exit signals. Dashed lines = NTZ boundaries. Purple/Lime lines = RSI divergences. Orange/Yellow triangles = Slope-RSI exhaustion. Table (top-right) = Current Slope, RSI, Gap values.
**Parameter Configuration:** MA Settings: Short 40 (stretch filter), Long 160 (slope), Types: SMA/EMA/DEMA/TEMA/WMA/VWMA/SMWMA/SWMA/HMA. Ratios: 20/80 (fast), 40/160 (standard), 50/200 (slow). Core: NTZ Threshold 8 (5-6 more signals, 10-12 stronger), Min Delta 3.4 (5-10 stronger, 1-3 sensitive), Max Stretch 0.45% (0.3% conservative, 1.0% permissive, 0 disable), Use Timeframe Delta true (confirmed bar vs previous bar). RSI: Length 14, Smoothing 3, Source close. Divergence: Sensitivity 6 (higher = more sensitive, 6 = 10-bar lookback, 10 = 6-bar lookback), Max Peaks 8 (2-15 range), Show Divergences true. Slope-RSI: Lookback 4 (2-10, higher = conservative), Min Gap 10.0 pts (0-100, higher = strong only, 0 disable), Show Exhaustion true. Signal Enables: NTZ Cross true, Acceleration true, RSI Divergence false, Slope-RSI Divergence true, RSI-Slope Oscillator true, Require Slope-RSI Confirmation false. Exit: Confirmation Bars 4 (0-10, 0 immediate, 2-4 filters false), Show Trailing Stop true, Trail Type Modified/Unmodified, ATR Period 10, ATR Factor 4.0 (2-3 tight, 4 standard, 5-6 wide), Divergence Grace 3 bars, Divergence ATR 4.0 (recommend 5-8), Oscillator Grace 3 bars, Oscillator ATR 4.0.
**Alerts:** Right-click indicator pane → Add Alert → Choose condition (Long/Short Entry/Exit) → Configure notifications.
**Interpreting Signals:** Trending Markets: Focus NTZ Cross and Acceleration, higher NTZ (10-12) for stronger signals, use trend confirmation. Reversal Opportunities: Enable RSI Divergence and Slope-RSI Divergence, look for exhaustion markers and divergence lines, use wider stops. Range-Bound: Enable RSI-Slope Oscillator, signals when RSI and slope align, allows position reversal. Multi-Timeframe: Higher TF for trend, lower TF for timing, stronger when aligned. Market Adjustments: Crypto 20/80 MA, NTZ 6-7, Delta 4-5 | Forex 40/160 MA, NTZ 8, Delta 3.4 | Stocks 50/200 MA, NTZ 10-12, Delta 2-3.
### 📈 Use Cases
Day Trading (5m-15m, fast MAs 20/80), Swing Trading (1h-4h, standard 40/160), Position Trading (4h-Daily, slow 50/200), Trend Following (NTZ Cross/Acceleration in trends), Reversal Trading (RSI Divergence/Slope-RSI at reversals), Range Trading (RSI-Slope Oscillator in choppy markets), Momentum Analysis (Centered RSI and normalized slope comparison), Trend Exhaustion Detection (Slope-RSI exhaustion markers).
### ⚠️ Important Disclaimer
**THIS IS NOT FINANCIAL ADVICE**
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. No guarantee of accuracy - signals may be false. Not professional financial advice - consult a qualified advisor. Use only as part of comprehensive analysis. Always use proper risk management. Combine with other analysis techniques before making trading decisions. Indicator signals don't guarantee profitable trades. You are solely responsible for trading decisions and risk management. By using this indicator, you acknowledge understanding the risks and that you use it at your own risk. Never invest more than you can afford to lose. Works on all markets: Crypto, Forex, Stocks, Commodities, Futures
## Short Description (for Script Header - 200-300 chars)
Visual signal indicator combining normalized EMA slope momentum (No Trade Zone concept) with centered RSI format for direct comparison. Five signal types: NTZ momentum crosses, acceleration bursts, price-RSI divergences, slope-RSI exhaustion reversals, and RSI-slope oscillator alignment. Includes stretch filter, exit confirmation bars, and trailing stop exits with separate settings per signal type.
## Tags (for Publishing)
EMA, Moving Average, Slope, Momentum, No Trade Zone, NTZ, Indicator, Technical Analysis, RSI, Relative Strength Index, Centered RSI, RSI-50, Divergence, Slope-RSI, Exhaustion, RSI-Slope Oscillator, Normalized Comparison, Stretch Filter, Trend Confirmation, Exit Confirmation, Trailing Stop, Alerts, Signals, Visual Signals, Entry Signals, Exit Signals, Crypto, Forex, Stocks, Futures, Swing Trading, Day Trading, Reversal Trading, Range Trading, Momentum Analysis
## Category
**Indicators** → **Momentum**
Zero Lag Moving Average Convergence Divergence (ZLMACD) [EVAI]Zero Lag Moving Average Convergence Divergence (ZLMACD)
ZLMACD is a MACD-style momentum oscillator that keeps the standard MACD structure while adding a practical “zero-lag” option through ZLEMA. It is intended for traders who like the familiar MACD workflow but want an oscillator that can respond earlier during transitions without turning into an overly noisy trigger.
The indicator plots the MACD line, the signal line, and the histogram around a zero baseline. If you already understand MACD, you already understand how to read this. The difference is that you can choose whether the oscillator and signal are driven by EMA, SMA, or ZLEMA, which changes the responsiveness and smoothness of the indicator.
Default behavior
This script defaults to the preset mode “ZLEMA osc + EMA signal.” In this configuration, the fast and slow oscillator averages are computed using ZLEMA, while the signal line remains an EMA of the MACD line. The reason for this mix is simple: ZLEMA tends to reduce lag in the oscillator, while EMA on the signal line helps keep crossovers readable and avoids excessive micro-signals.
In practice, this default preset often behaves like a “faster MACD” that still feels like MACD. It can highlight momentum turns earlier than a traditional EMA MACD while keeping the signal line stable enough to use for timing and confirmation.
Custom mode and MA selection
If you switch Mode to “Custom,” the indicator will use your selected moving average types for both the oscillator and the signal line. In Custom mode, the oscillator type applies to both fast and slow averages, and the signal type applies to the smoothing of the MACD line.
If you are in the default preset mode, the custom MA dropdowns will not change the calculations. This is intentional: the preset locks the MA types so the default behavior remains consistent and reproducible across charts and users.
Reading the indicator
The histogram reflects the distance between the MACD line and the signal line. When the histogram is above zero, the MACD line is above the signal line and momentum is biased upward; when it is below zero, the MACD line is below the signal line and momentum is biased downward. Changes in histogram height help visualize strengthening versus weakening momentum, while the zero baseline provides regime context by indicating whether the fast average is above or below the slow average.
Crossovers between MACD and signal behave exactly as they do in standard MACD, but the timing and “feel” will vary depending on the MA choices. ZLEMA on the oscillator typically makes turns appear earlier; SMA typically smooths more but can be slower; EMA tends to be the balanced baseline.
Alerts
Two alert conditions are included to detect histogram polarity shifts. One triggers when the histogram switches from non-negative to negative, and the other triggers when it switches from non-positive to positive. These are useful if you want simple notifications for momentum regime flips without staring at the chart continuously.
Notes
This indicator is provided for informational and educational purposes only and is not financial advice. Always test settings per instrument and timeframe and use risk management.
Tabla de EMA's y TimeframesGraphic and permanent representation of the trend of an action/CFD/stock/crypto, directly related to the technical analysis of its EMA's.
EMA and Dow Theory Strategies V2 DOGE Current Optimum Value
📘 Overview
These are the current optimal values for DOGE.
They are intended for use on the 2‑hour timeframe.
This script requires complex configuration, but there is an optimal set of values somewhere.
Here, I’m sharing the settings that I personally use at the moment.
Turning Take Profit off can lead to higher profits, but it also increases risks such as a lower win rate.
With Take Profit on, you can adjust the settings by increasing the values.
I have been trading using Dow Theory for many years.
Trading with Dow Theory and EMA has been my main strategy.
Although it has been profitable, I have long struggled with its low win rate.
The issue lies in the immaturity of the exit strategy, and I’m currently experimenting to see if I can solve that.
In V2, I added three take‑profit lines, securing 30% of the profit at each level to ensure a minimum level of gain.
Additionally, when the trend weakens, half of the position is closed.
In all scenarios, the remaining position is held until the trend reverses.
The system provides precise entries, adaptive exits, and highly visual guidance that helps traders understand trend structure at a glance.
🧠 Key Features
🔹 1. Dual‑EMA Trend Logic (Symbol + External Index)
Both the chart symbol and an external index (OTHERS.D) are evaluated using fast/slow EMAs to determine correlation‑based trend bias.
🔹 2. Dow Theory Swing Detection (Real‑time)
The script identifies swing highs/lows and updates trend direction when price breaks them. This creates a structural trend model that reacts faster than EMAs alone.
🔹 3. Gradient Trend Zones (Visual Trend Strength)
When trend is up or down, the area between price and the latest swing level is filled with a multi‑step gradient. This makes trend strength and distance-to-structure visually intuitive.
🔹 4. Higher‑Timeframe Swing Trend (htfTrend)
Swing highs/lows from a higher timeframe (e.g., 4H) are plotted to show macro structure. Used only for visual context, not for filtering entries.
🔹 5. RSI‑Based Entry Protection
RSI prevents entries during extreme overbought/oversold conditions.
🔹 6. Dynamic Exit System
Includes:
Custom stop‑loss (%)
Partial take‑profit (TP1/TP2/TP3)
Automatic scale‑out when trend color weakens
“Color‑change lockout” to prevent immediate re‑entry
Real‑time PnL tracking and labels
🔹 7. Alerts for All Key Events
Entry, stop‑loss, partial exits, and trend‑change exits all generate structured JSON alerts.
🔹 8. Visual PnL Labels & Equity Tracking
PnL for the latest trade is displayed directly on the chart, including scale‑out adjustments.
⚙️ Input Parameters
Parameter Description
Fast EMA / Slow EMA EMAs used for symbol trend detection
Index Fast / Slow EMA EMAs applied to external index
StopLoss (%) Custom stop‑loss threshold
Scale‑Out % Portion to exit when trend color weakens
RSI Period / Levels Overbought/oversold filters
Swing Detection Length Bars used to detect swing highs/lows
Stats Display Position of statistics table
🧭 About htfTrend (Higher Timeframe Trend)
The higher‑timeframe swing trend is displayed visually but not used for entry logic.
Why? Strict HTF filtering reduces trade frequency and often removes profitable setups. By keeping it visual‑only, traders retain flexibility while still benefiting from macro structure awareness.
Use it as a contextual guide, not a constraint.
📘 概要
DOGEの現在の最適値です。
2時間足での使用を想定しています。
このスクリプトは複雑な設定が必要ですが、どこかに最適値が存在します。
今回は現在私が個人的に使っている設定値の公開です。
Take ProfitをOFFにするとさらなる利益が望めますが、勝率が下がるなどのリスクが上がります。
ONにした状態で数値を上げることによって調整することが可能です。
私はダウ理論を使ったトレードを長年続けてきました。
ダウ理論とEMAを使ったトレードが私の主力です。
しかし利益は出るものの、長年その勝率の低さに悩んでいました。
問題は出口戦略が未熟なためで、現在はそれらの解決ができないかと試行錯誤を続けています。
V2では3本の利益確定ラインを引き、それぞれ30%ずつ利益を確定し、最低限の利益がでるようにしました。
それ以外にはトレンドが弱まったタイミングで半分の利益確定をし、どのパターンでも残ったポジションはトレンド転換まで持ち続けます。
🧠 主な機能
🔹 1. 銘柄+外部インデックスの EMA クロス判定
対象銘柄と OTHERS.D の EMA を比較し、相関を考慮したトレンド方向を判定します。
🔹 2. ダウ理論に基づくスイング高値・安値の自動検出
スイング更新によりトレンド方向を切り替える、構造ベースのトレンド判定を採用。
🔹 3. グラデーション背景によるトレンド強度の可視化
スイングラインから現在価格までを段階的に塗り分け、 「どれだけトレンドが伸びているか」を直感的に把握できます。
🔹 4. 上位足スイングトレンド(htfTrend)の表示
4H などの上位足でのスイング高値・安値を表示し、 大局的なトレンド構造を視覚的に把握できます(ロジックには未使用)。
🔹 5. RSI による過熱・売られすぎフィルター
極端な RSI 状態でのエントリーを防止。
🔹 6. 動的イグジットシステム
カスタム損切り(%)
TP1/TP2/TP3 の段階的利確
トレンド色の弱まりによる自動スケールアウト
色変化後の再エントリー制限(waitForColorChange)
リアルタイム PnL の追跡とラベル表示
🔹 7. アラート完備(JSON 形式)
エントリー、損切り、部分利確、トレンド反転などすべてに対応。
🔹 8. 損益ラベル・統計表示
直近トレードの損益をチャート上に表示し、視覚的に把握できます。
⚙️ 設定項目
設定項目名 説明
Fast / Slow EMA 銘柄の EMA 設定
Index Fast / Slow EMA 外部インデックスの EMA 設定
損切り(%) カスタム損切りライン
部分利確割合 トレンド弱化時のスケールアウト割合
RSI 期間・水準 過熱/売られすぎフィルター
スイング検出期間 スイング高値・安値の検出に使用
統計表示位置 テーブルの表示位置
🧭 上位足トレンド(htfTrend)について
上位足スイングの更新に基づくトレンド判定を表示しますが、 エントリー条件には使用していません。
理由: 上位足を厳密にロジックへ組み込むと、トレード機会が大幅に減るためです。
本ストラテジーでは、 「大局の把握は視覚で、エントリーは柔軟に」 という設計思想を採用しています。
→ 裁量で利確判断や逆張り回避に活用できます。
Price % Distance from 52 Weeks High, and EMAs"Stop guessing how far extended the price is—measure it instantly."
As a swing trader, knowing the exact distance between the current price and your key moving averages is critical. It tells you if a stock is overextended (too far) or offering a low-risk pullback entry (near 0%).
This lightweight utility script calculates the real-time percentage distance of the closing price from three critical levels:
10 EMA (Short-term momentum)
20 EMA (Swing trend baseline)
52-Week High (Major structural resistance)
It displays this data in a single, clean Smart Label attached to the latest candle, keeping your chart clutter-free.
Key Features
📊 Instant Calculation: See exactly how far (%) the price is from the 10 EMA, 20 EMA, and 52-Week High without using a measuring tool.
🧠 Intelligent Trend Coloring: The text color changes dynamically based on the immediate trend:
🟢 Green Text: Price is ABOVE both 10 & 20 EMAs (Bullish / Buy-the-dip zone).
🔴 Red Text: Price is BELOW both 10 & 20 EMAs (Bearish / Caution).
⚪ White Text: Price is mixed/choppy (between the EMAs).
👁️ High Contrast Design: Uses a semi-transparent dark background that ensures the data is clearly visible on both Light and Dark mode charts.
How to Use for Swing Trading
Pullback Entries: In a strong uptrend (Green Text), watch for the 10 EMA or 20 EMA % value to drop near 0.0% to 0.5%. This indicates a pullback to the average—often a high-probability entry point.
Overextension Warning: If the % distance becomes unusually large (e.g., Price is +5% above the 10 EMA), the move may be overextended, signaling to tighten stops or take profit.
52-Week Breakouts: Monitor the 52W % distance. As it approaches 0.0%, the stock is challenging its yearly high, alerting you to potential breakout plays.
Settings
EMA Lengths: Fully customizable (Default: 10 & 20).
Lookback: Adjust the high lookback period (Default: 260 bars for 52 Weeks).
Position: Toggle the label to appear Above or Below the candle.
THE ELVINATORTHE ELVINATOR is my trend-following momentum indicator built on the 20 EMA, 50 EMA, and 200 EMA, designed for trading **XAUUSD during the New York session (9:30–17:00 NY time), Monday through Friday**.
**How to trade it:**
* **Trend filter:** Only take **longs above the 200 EMA** and **shorts below the 200 EMA**. This keeps trades aligned with Gold’s dominant direction.
* **Long setups:** A **20 EMA cross above the 50 EMA** signals bullish momentum. Best entries come after a pullback into the 20–50 EMA zone followed by strong continuation candles.
* **Short setups:** A **20 EMA cross below the 50 EMA** signals bearish momentum. Look for pullbacks into the EMA zone and rejection before continuation lower.
* **Timing:** Focus on NY open and high-volume moves. Avoid choppy conditions and late-session exhaustion.
* **Risk & exits:** Place stops beyond recent swings or EMA structure. Targets can be prior highs/lows or scaled with trend continuation.
THE ELVINATOR is built for **structure, patience, and disciplined execution**, allowing traders to capitalize on Gold’s volatility without chasing noise.
Simple ema and sma cross
A simple EMA and SMA cross is an indicator that uses alpha from two moving averages: SMA (simple moving average) and EMA (exponential moving average).
The point where the EMA and SMA cross is usually a good place to enter a position.
The indicator includes smoothing settings to help you find the right calibration for your trading needs.
It also marks signals with triangles for easier use and includes alerts so you never miss a cross.
Quality-Controlled Trend Strategy v2 (Expectancy Focused)This script focuses on quality control rather than curve-fitting.
No repainting, no intrabar tricks, no fake equity curves.
It uses confirmed-bar entries, ATR-based risk, and clean trend logic so backtests reflect what could actually be traded live.
If you publish scripts, this is the minimum structure worth sharing.
Why this script exists
TradingView’s public scripts are flooded with:
repainting indicators
no stop-loss logic
curve-fit entries that collapse live
strategies that look good only in hindsight
This script is intentionally boring but honest.
No repainting.
No intrabar tricks.
No fake equity curves
The goal is quality control, not hype.
What this strategy enforces
✔ Confirmed bars only
✔ Single source of truth for indicators
✔ Fixed risk structure
✔ No signal repainting
✔ Clean exits with unique IDs
✔ Works on any liquid market
Trading Logic (simple & auditable)
Trend filter
EMA 50 vs EMA 200
Entry
Pullback to EMA 50
RSI confirms momentum (not oversold/overbought)
Risk
ATR-based stop
Fixed R:R
One position at a time
This is the minimum bar for a strategy to be considered publish-worthy.
Why this helps TradingView quality
Most low-value scripts fail because they:
hide repainting logic
skip exits entirely
use inconsistent calculations
rely on hindsight candles
This strategy forces discipline:
every signal is confirmed
every trade has defined risk
behavior is repeatable across symbols & timeframes
If more scripts followed this baseline, TradingView’s public library would be far more usable.
Bar Countdown ClockBar Countdown Clock
Description:
Displays the remaining time for the current bar on the chart. The countdown label follows the previous EMA5 price to stay stable during high-volatility markets. Font size and label position are fully customizable. Works well on BTC, Gold, Forex, and other trading instruments.
How to Use:
Add the indicator to your chart.
Adjust Clock Color, Font Size, and X Offset to suit your preference.
The label will automatically track the previous EMA5 price.
The countdown updates in real-time until the current bar closes.
Tips:
Increase X Offset if the label overlaps the current bar.
For high-volatility instruments, the label remains stable by following EMA5.
EMA Length can be adjusted to change the anchor point for the label.






















