CHiLo — Custom HiLo (SMA/EMA, Activator, Shading, Auto-Decimals)CHiLo is a clean Hi/Lo trend read with SMA/EMA options, a HiLo vs. HiLo Activator mode, optional band shading , and a right-side HiLo marker with automatic decimals based on the symbol. Optional Buy/Sell labels mark state flips. Inspired by the broader trend-following literature and practitioners; in Brazil, educator Hulisses “Tio Huli” Dias is a notable voice popularizing trend following.
What it does
CHiLo plots a Hi/Lo state with two modes:
HiLo (classic high/low bands)
HiLo Activator (activator-style behavior)
It includes:
SMA/EMA selection
Optional shading between Hi/Lo bands
Optional Buy/Sell labels on state flips
HiLo marker (auto-decimals from the symbol’s tick size)
Goal: deliver a fast, visual trend context that you can pair with your own risk rules and confirmations.
How to use
Add the indicator and choose Mode (HiLo / Activator) and MA type (SMA/EMA).
Tune Period (and Offset if needed). Higher = smoother (fewer flips); lower = more responsive.
Toggle Shading to emphasize the envelope.
Toggle Buy/Sell labels if you want flip markers.
Use the HiLo marker on the right to read the current level (auto-formatted).
Inputs (quick reference)
Period / Offset — sensitivity vs. delay.
Type — HiLo or HiLo Activator.
MA Type — SMA (steadier) or EMA (snappier).
HiLo Style — Points or Line.
Shading & Transparency — highlight the band area.
Buy/Sell Labels — on/off.
HiLo Marker — size and horizontal offset (decimals automatic).
Notes & credits
Educational use only; not financial advice.
For best results, combine with position sizing, stops, and regime filters.
Đường Trung bình trượt
Merged Strategy with $1 TP (Avg Price)Merged Strategy with $1 TP (Avg Price)" is a custom Pine Script that combines moving average signals with an averaging technique. It opens trades based on MA crossovers, manages multiple entries, and automatically sets a fixed $1 take-profit target calculated on the average entry price. The strategy is designed for scalpers who want small, consistent gains without using stop-loss.
xTrader 20/200 EMA Wave Ribbon🔹 20/200 EMA Wave Ribbon
This indicator expands on the classic 20/200 moving average crossover by turning it into a momentum-aware ribbon. Instead of only showing where two lines cross, it highlights trend bias and momentum strength together in a visual form that adapts across timeframes.
🔑 How It Works
Fast / Slow MAs: Calculates a fast MA (default 20) and a slow MA (default 200). Traders can choose the MA type (EMA, SMA, WMA, RMA).
Bias: When the fast MA is above the slow MA, the ribbon turns 🟢 green (bullish). When it is below, the ribbon turns 🔴 red (bearish).
Wave Ribbon: A band is plotted around the fast MA. Its width comes from a user-defined percent of price, optionally scaled by ATR volatility so the ribbon stays meaningful on both 5m and 1D charts.
MACD-style intensity: Ribbon color adjusts with the separation between fast and slow MAs. Strong expansion makes the ribbon brighter and thicker; contraction makes it softer and thinner. This gives the same “growing and fading” feel traders know from MACD histograms.
Noise Control: Persistence settings can require several bars of agreement before a bias flip is confirmed, reducing whipsaws.
Signals: Optional markers and alerts trigger on bullish and bearish crosses.
📈 Practical Use
Bright, widening ribbon → trend is accelerating; continuation bias is strong.
Dimming ribbon → momentum is weakening; consider scaling out or tightening risk.
Color flip → regime change; possible entry/exit depending on confirmation settings.
Timeframe scaling → ensures ribbon width adapts to volatility, so interpretation is consistent across intraday and higher-timeframe charts.
⚡ What Makes It Different
Unlike open-source EMA cross scripts that only mark crosses:
✅ Plots a dynamic ribbon around the fast MA instead of shading the whole chart.
✅ Uses ATR-based auto-scaling to stay useful on all timeframes.
✅ Applies MACD-style intensity mapping to show not just bias, but trend strength and momentum shifts.
✅ Includes MA type selection (EMA, SMA, WMA, RMA) and persistence logic for confirmation.
⚠️ Disclaimer: This script is for educational and analytical purposes only. It is not financial advice. Always do your own research and use proper risk management before trading.
MC RSI + Stoch (multi-level bands)This indicator combines RSI and Stochastic Oscillator into a single panel for easier market analysis. It is designed for traders who want both momentum context and precise timing, with multiple reference levels for better decision-making.
🔧 Features
RSI (Relative Strength Index) with adjustable length (default 14).
Stochastic Oscillator (default 18, 9, 5) with smoothing applied to %K.
Both oscillators plotted in the same scale (0–100) for clear comparison.
Custom horizontal levels:
10 & 90 (purple)
20 & 80 (teal)
30 & 70 (blue)
40 & 60 (gray)
50 midline (red) for balance point reference.
Optional shaded band between 20–80 for quick visualization of momentum extremes.
Toggle switches to show/hide RSI or Stochastic independently.
🎯 How to Use
RSI gives the overall momentum strength.
Stochastic provides faster entry/exit signals by showing short-term momentum shifts.
Use the multi-level bands to identify different market conditions:
10/90 = Extreme exhaustion zones.
20/80 = Overbought/oversold boundaries.
30/70 = Secondary confirmation levels.
40/60 = Neutral momentum bands.
50 = Midline equilibrium.
ORB Pro w/ Filters + Debug Overlay Update with Reason box fixThis indicator is designed to highlight high-probability reversal setups for intraday traders.
It focuses on the cleanest, most reliable candlestick reversal patterns and combines them with trend, VWAP/EMA confluence, and a time-based filter to reduce noise.
🛠️ How It Works
The script scans each bar for well-known reversal signals:
Doji Reversal – small body, long wicks showing indecision.
Hammer / Shooting Star – long wick ≥ 2× body, showing exhaustion.
Engulfing Reversal – full body engulf of the prior candle.
Additional filters include:
✅ VWAP/EMA Confluence (optional) – confirms reversals near key intraday levels.
✅ Time Window (default 9:30–10:30 NY) – avoids false signals later in the session.
✅ Trend Exhaustion Check – requires a short-term directional push before reversal.
✅ Signal Cooldown – limits to one clean signal per move.
When conditions align, the script plots:
🟢 “Bull Rev” label below the bar for bullish reversals.
🔴 “Bear Rev” label above the bar for bearish reversals.
⚙️ Recommended Settings
For the tightest, most reliable signals:
Doji Body % → 25–30
Hammer Wick Multiple → 2.0
Confluence Tolerance % → 0.2–0.3
Time Filter → ON (9:30–10:30 NY)
VWAP/EMA Filter → ON
Cooldown Bars → 10–15
These settings minimize false positives and focus on the strongest reversals.
📈 Use Case
This tool is best for:
Intraday traders (stocks, ETFs, futures, crypto).
Traders who use Opening Range Breakout (ORB) or similar systems but want a secondary tool for catching reversals.
Anyone looking to filter out weak reversal patterns and focus on textbook setups.
⚠️ Disclaimer
This script is for educational purposes only and should not be considered financial advice. Always test in simulation/paper trading before applying live
🚀 Catch textbook reversals with confidence.
This indicator filters out noise and only plots high-probability reversal signals based on proven candlestick patterns + VWAP/EMA confluence.
🔥 Key Features:
✅ Detects Doji, Hammer/Shooting Star, and Engulfing Reversals
✅ VWAP & EMA confluence filter (optional)
✅ Time window filter (default 9:30–10:30 NY for max edge)
✅ Signal cooldown to avoid clutter
✅ Clean chart labels + alert conditions
🎯 Who’s It For?
Day traders who want precision reversal entries
ORB traders looking for secondary setups
Intraday scalpers who value quality over quantity
👉 Designed for traders who want fewer, cleaner, higher-probability signals.
⚠️ Not financial advice. For educational use only
_____
🎯 ORB SET-UP DESCRIPTIONS:
🔧 Exact settings I’d recommend (to avoid that mess):
requireClose = true
requireRetest = true with retestPct = 0.2%
minRangePct = 0.3%, maxRangePct = 1.5%
volumeFilter = true, volumeLength = 20
trendFilter = true, emaLength = 20
cooldownBars = 6 (on 5m chart → 30 minutes)
🔑 ORB Range Settings
Default sweet spot: 0.2% – 0.3%
→ This usually balances enough signals with reduced false breakouts.
High volatility days (CPI, FOMC, big gaps): 0.3% – 0.5%
→ Prevents fake outs.
Low volatility days (tight overnight range, slow open): 0.15% – 0.2%
→ Keeps you from sitting on hands all day.
📌 Filters you already added help you avoid noise
EMA alignment
Volume confirmation
Optional stop/target logic
This means you don’t have to shrink the box to 0.1% — the filters will keep you in higher-probability trades
✅ Why You Might NOT See a Signal
Check box for reason signal to turn it off, updated coloring so that candles are more visable.
ORB Box Too Wide
If the opening range is large, price has to move much further to trigger a clean breakout.
Wide box = fewer signals (but higher quality).
No Clean Break + Hold
Script waits for a candle to break above/below ORB and close strong enough.
A wick poke doesn’t count.
VWAP / EMA Filter Not Aligned
If price breaks but VWAP/EMA trend filter disagrees → no signal.
Keeps you out of fake moves against the trend.
Confirmation Candle Missing (if enabled)
Even if price breaks, the script may want the next bar to confirm direction before signaling.
Cooldown / One-Signal-Per-Break Rule
Some filters prevent back-to-back spam signals.
Only the first clean setup is alerted.
Cruces EMA5/20 y EMA20/50 - Triángulos y Etiquetasdescribe los cruces alcistas o bajistas de la EMA5 y EMA20 asi como de la EMA20 y EMA50
MTF-- K FOSU FX (1M, 1W, 1D)Quickly identify Weekly, Monthly, and Daily bias for stronger confluence
LSMAsThis indicator calculates and plots two Least Squares Moving Averages (LSMA) based on different lengths and a Smoothed Moving Average (SMMA) of the longer LSMA.
Inputs
lengthA : Period length for the first, longer LSMA.
lengthB : Period length for the second, shorter LSMA.
signAl : Signal period used in SMMA smoothing.
Calculations
LSMA-A and LSMA-B : Calculates the linear regression (least squares) of source over lengthA and lengthB respectively, with no offset. These represent two LSMAs, one slow and one fast.
SMMA : This is a smoothed moving average of the longer LSMA (LSMA-A).
Purpose
This indicator helps traders identify trend directions and momentum by using two least squares regression lines of different lengths to capture short- and long-term trends in price. The SMMA smoothing of the longer LSMA may be used as a signal or confirmation line to reduce noise and produce smoother signals.
It generates buy and sell signals based on the intersection of the LSMA-A and SMMA. If the LSMA-A crosses the SMMA upwards, a BUY signal is generated; if it crosses the SMMA downwards, a SELL signal is generated.
The LSMA-B, which is short-term, can be used for wave analysis. When a peak forms, a high is observed on the chart, and when a valley forms, a low is observed. This allows us to determine whether the wave is rising or falling.
Summary
Two LSMAs are calculated: one slow (lengthA), one fast (lengthB).
A smoothed moving average (SMMA) of the slow LSMA is computed using the signal length (signAl).
All three curves are overlaid on the price chart for visual trend and momentum analysis.
Michael's EMA - 1h on 5mMichael's EMA - 1h You can use this indicator on all time frame and be able to see the H4 Bands, that help you with less layout and better view
GM
Michael's EMA - 15m on 5mMichael's EMA - 15m on 5m You can use this indicator on all time frame and be able to see the H4 Bands, that help you with less layout and better view
GM
Michael's EMA - 4h on 5mH4 Michael's EMA on all TF, You can use this indicator on all time frame and be able to see the H4 Bands, that help you with less layout and better view
GM
Simple MA Crossover - TradicatorsSimple MA Crossover is a beginner-friendly indicator that visualizes moving average crossovers to help identify potential trend shifts. It uses two simple moving averages (SMA):
A Fast Moving Average (short-term)
A Slow Moving Average (long-term)
When the fast MA crosses above the slow MA, a green BUY label appears below the candle. When the fast MA crosses below the slow MA, a red SELL label appears above the candle.
These crossovers can be used as basic signals to suggest potential trend continuation or reversal points. The indicator works on all timeframes and can be used with various assets.
📌 This script is for educational and illustrative purposes only and should not be considered financial advice. Use it in conjunction with your own research, trading strategy, and risk management practices.
Add the Indicator
Open any chart on TradingView
Click on the Indicators tab
Search for “Simple MA Crossover” and add it to your chart
How It Works
The script plots two colored lines:
Orange Line: Fast Moving Average (default 9-period)
Blue Line: Slow Moving Average (default 21-period)
When the orange line crosses above the blue line → a BUY signal is printed
When the orange line crosses below the blue line → a SELL signal is printed
Customization
You can change the lengths of the moving averages in the settings to match your style
Works on any chart — crypto, stocks, forex, etc.
Try different timeframes (15min, 1H, 4H, Daily) to see what suits your strategy best
Reminder
Always test the indicator on a demo account before using it in live trading
Combine this tool with your own technical/fundamental analysis
No indicator guarantees profits or prevents losses
Strategy Selector 101🚀 Strategy Selector - The Ultimate Multi-Strategy Trading Arsenal
Unleash the Power of Three Elite Trading Systems in One Revolutionary Indicator!
Stop juggling multiple indicators and cluttering your charts. This game-changing tool delivers three battle-tested strategies with surgical precision, allowing you to dominate any market condition with the flip of a switch.
⚡ THREE POWERHOUSE INSTRUMENTS:
🎯 R25 Strategy - The PRECISION TOOL!
Laser-focused trend analysis merged with higher timeframe support/resistance zones and surgical percentage levels. Features intelligent weekly range mapping with automatic box generation and precise retracement calculations. Perfect for traders who need confluence between trend direction and key mathematical levels. Watch price respect your levels with uncanny accuracy as you pick off high-probability setups at exact percentage points.
💎 D4 Strategy - The PROFESSIONAL'S INSTRUMENT!
Dual-timeframe powerhouse featuring both daily AND weekly support/resistance mapping that evolves with price action. Includes dynamic line tracking that changes colour when price raids key levels, plus comprehensive box management across multiple timeframes. Experience institutional-level confluence with automatic daily range detection and higher timeframe zone projection. Perfect for swing traders who demand multi-timeframe precision.
⚔️ River Only Strategy - The PURIST'S SOLUTION!
Stripped-down trend mastery delivering pure Smart River analysis without any support/resistance distractions. Features advanced break-of-structure detection across multiple swing timeframes, trend change alerts, and crystal-clear directional signals. Perfect for day traders and scalpers who want clean charts with laser-focused trend identification. Pure price action excellence at your fingertips.
🔥 UNIVERSAL FEATURES (ALL STRATEGIES):
Smart River technology that reads market sentiment with dynamic colour coding
Lightning-fast break of structure alerts across multiple swing point timeframes
Multi-timeframe swing analysis with automatic pivot detection
Intelligent trend change alert system with customizable notifications
Professional daily trend analysis table with real-time status updates
Military-grade precision with automatic box and line clean-up
Zero-conflict guarantee - one strategy active, maximum focus, devastating results
💰 TRADING TRANSFORMATION AWAITS:
Whether you're scalping minutes or swinging weeks, this indicator adapts to YOUR style. Choose your tool, activate your strategy, and watch as the markets reveal their secrets through proven mathematical analysis and institutional-grade logic.
Ready to trade like the pros? Your competition is already using advanced tools - don't get left behind.
Transform confusion into clarity. Turn signals into profits. Make every trade count.
Dual EMA (EMA Average)Simple EMA visual with 2 EMAs + Average
Includes:
2 EMAs with timeframe settings
EMA Midline - an average of EMAs
shaded space between EMA lines
Ripster EMA Cloud A+ Setup + Exit Plan + Buy/Sell TriggersUsing the Ripster Cloud Method, a conditional system that helps with entries and exits
MAxRSI Signals [KedArc Quant]Description:
MAxRSI Indicator Marks LONG/SHORT signals from a Moving Average crossover and (optionally) confirms them with RSI. Includes repaint-safe confirmation, optional higher-timeframe (HTF) smoothing, bar coloring, and alert conditions.
Why combine MA + RSI
* The MA crossover is the primary trend signal (fast trend vs slow trend).
* RSI is a gate, not a second, separate signal. A crossover only becomes a trade signal if momentum agrees (e.g., RSI ≥ level for LONG, ≤ level for SHORT). This reduces weak crosses in ranging markets.
* The parts are integrated in one rule: *Crossover AND RSI condition (if enabled)* → plot signal/alert. No duplicated outputs or unrelated indicators.
How it works (logic)
* MA types: SMA / EMA / WMA / HMA (HMA is built via WMA of `len/2` and `len`, then WMA with `sqrt(len)`).
* Signals:
* LONG when *Fast MA crosses above Slow MA* and (if enabled) *RSI ≥ Long Min*.
* SHORT when *Fast MA crosses below Slow MA* and (if enabled) *RSI ≤ Short Max*.
* Repaint-safe (optional): confirms crosses on closed bars to avoid intrabar repaint.
* HTF (optional): computes MA/RSI on a higher timeframe to smooth noise on lower charts.
* Alerts: crossover alerts + state-flip (bull↔bear) alerts.
How to use (step-by-step)
1. Add to chart. Set MA Type, Fast and Slow (keep Fast < Slow).
2. Turn Use RSI Filter ON for confirmation (default: RSI 14 with 50/50 levels).
3. (Optional) Turn Repaint-Safe ON for close-confirmed signals.
4. (Optional) Turn HTF ON (e.g., 60 = 1h) for smoother signals on low TFs.
5. Enable alerts: pick “MAxRSI Long/Short” or “Bullish/Bearish State”.
Timeframe guidance
* Intraday (1–15m): EMA 9–20 fast vs EMA 50 slow, RSI filter at 50/50.
* Swing (1h–D): EMA 20 fast vs EMA 200 slow, RSI 50/50 (55/45 for stricter).
What makes it original
* Repaint-safe cross confirmation (previous-bar check) for reliable signals/alerts.
* HTF gating (doesn’t compute both branches) for speed and clarity.
* Warning-free MA helper (precomputes SMA/EMA/WMA/HMA each bar), HMA built from built-ins only.
* State-flip alerts and optional RSI overlay on price pane.
Built-ins used
`ta.sma`, `ta.ema`, `ta.wma`, (HMA built from these), `ta.rsi`, `ta.crossover`, `ta.crossunder`, `request.security`, `plot`, `plotshape`, `barcolor`, `alertcondition`, `input.*`, `math.*`.
Note: Indicator only (no orders). Test settings per symbol. Not financial advice.
⚠️ Disclaimer
This script is provided for educational purposes only.
Past performance does not guarantee future results.
Trading involves risk, and users should exercise caution and use proper risk management when applying this strategy.
Anrazzi - EMAs/ATR - 1.0.2Description:
The Anrazzi - EMAs/ATR indicator is a versatile tool for technical traders looking to monitor multiple moving averages alongside the Average True Range (ATR) on any chart. Designed for simplicity and customization, it allows traders to visualize up to six moving averages with configurable type, color, and length, while keeping real-time volatility information via ATR directly on the chart.
This indicator is perfect for spotting trends, identifying support/resistance zones, and gauging market volatility for intraday or swing trading strategies.
Key Features:
Supports up to six independent moving averages (MA1 → MA6)
Each MA is fully customizable:
Enable/disable individually
Type: EMA or SMA
Length
Color
ATR Display:
Custom timeframe
Color and position configurable
Adjustable multiplier
Compact and organized settings for easy configuration
Lightweight and efficient code for smooth chart performance
Watermark
Inputs / Settings:
MA Options: MA1 → MA6 (Enable/Disable, Type, Length, Color)
Additional Settings: ATR (Enable, Timeframe, Color, Multiplier)
How to Use:
Enable the moving averages you want to track
Configure type, length, and color for each MA
Enable ATR if needed and adjust settings
Watch MAs plotted dynamically and ATR in bottom-right corner
Recommended For:
Day traders and swing traders
Trend-following strategies
Volatility analysis and breakout detection
Traders needing a compact multi-MA dashboard
Dynamic EMA Stack Support & ResistanceEvery trader needs reliable support and resistance — but static zones and lagging indicators won't cut it in fast-moving markets. This script combines a Fibonacci-based 5-EMA stacking system and left/right pivots that create dynamic support & resistance logic to uncover real-time structural shifts & momentum zones that actually adapt to price action. This isn’t just a mashup — it’s a complete built-from-the-ground-up support & resistance engine designed for scalpers, intraday traders, and trend followers alike.
🧠 🧠 🧠What It Does🧠 🧠 🧠
This script uses two powerful engines working in sync:
1️⃣ EMA Stack (5-EMA Framework)
Built on Fibonacci-based lengths: 5, 8, 13, 21, 34, (configurable) this stack identifies:
🔹 Bullish Stack: EMAs aligned from fastest to slowest (uptrend confirmation)
🔹 Bearish Stack: EMAs aligned inversely (downtrend confirmation)
🟡 Narrowing Zones: When EMAs compress within ATR thresholds → possible breakout or reversal zone
🎯 Labels identify key transitions like:
✅"Begin Bear Trend?"
✅"Uptrend SPRT"
✅"RES?" (resistance test)
2️⃣ Pivot-Based Projection Engine
Using classic Left/Right Bar pivot logic, the script:
📌 Detects early-stage swing highs/lows before full confirmation
📈 Projects horizontal S/R lines that adapt to market structure
🔁 Keeps lines active until a new pivot replaces them
🧩 Syncs beautifully with EMA stack for confluence zones
🎯🎯🎯Key Features for Traders🎯🎯🎯
✅ Trend Detection
→ EMA order reveals real-time bias (bullish, bearish, compression)
✅ Dynamic S/R Zones
→ Historical support/resistance levels auto-draw and extend
✅ Smart Labeling
→ “SPRT”, “RES”, and “Trend?” labels for live context + testing logic
✅ Custom Candle Coloring
→ Choose from Bar Color or Full Candle Overlay modes
✅ Scalper & Swing Compatible
→ Use fast confirmations for scalping or stack consistency for longer trends
⚙️⚙️⚙️How to Use⚙️⚙️⚙️
✅Use Top/Bottom (trend state) Line Colors to quickly read trend conditions.
✅Use Pivot-based support/resistance projections to anticipate where price might pause or reverse.
✅Watch for yellow/blue zones to prepare for volatility shifts/reversals.
✅Combine with volume or momentum indicators for added confirmation.
📐📐📐Customization Options📐📐📐
✅EMA lengths (5, 8, 13, 21, 34) — fully configurable - try 21,34,55, 89, 144 for longer term trend states
✅Left/Right bar pivot settings (default: 21/5)
✅Label size, visibility, and color themes
✅Toggle line and label visibility for clean layouts
✅“Max Bars Back” to control how deep history is scanned safely
🛠🛠🛠Built-In Safeguards🛠🛠🛠
✅ATR-based filters to stabilize compression logic
✅Guarded lookback (max_bars_back) to avoid runtime errors
✅Works on any asset, any timeframe
🏁🏁🏁Final Word🏁🏁🏁
This script is not just a visual tool, it’s a complete trend and structure framework. Whether you're looking for clean trend alignment, dynamic support/resistance, or early warning labels, this system is tuned to help you react with confidence — not hindsight.
Rembember, no single indicator should be used in isolation. For best results, combine it with price action analysis, higher-timeframe context, and complementary tools like trendlines, moving averages etc Use it as part of a well-rounded trading approach to confirm setups — not to define them alone.
💡💡💡Turn logic into clarity. Structure into trades. And uncertainty into confidence.💡💡💡
Dynamic EMA x VWAP AlertsDynamic EMA × VWAP Alerts generates buy and sell signals only when an EMA crossover happens in a meaningful VWAP (or standard deviation band) context. By combining classic EMA logic with flexible VWAP anchors (Daily, Weekly, Rolling) and optional advanced filters (ATR, Relative Volume, Deviation, Distance, Time Windows) to trim noise further, the script creates location-aware, filterable alerts rather than “everywhere” crosses. The value for trading and originality here lies in the integration of one or multiple anchors, band gating, combinator logic, and advanced regime filters. It’s designed for use across multiple instruments and timeframes, where EMA/VWAP context is relevant. It can run quietly in the background while you focus on price action and your own S/R levels.
What it does (quick take)
Detects EMA crossovers (double or optional triple) and evaluates them in VWAP context.
Plots Buy/Sell markers only when all chosen conditions are met.
Clean UX: keep all or parts of the engine visible or hide everything and let alerts run based on the silent engine behind your own S/R levels in an uncluttered, practical chart, as illustrated below.
Engine illustration: All selected engines visible
Practical use case: Same snapshot sequence as above but all selected engines invisible
Swing examples (beyond intraday)
Signals-only (clean value view):
Signals + your own S/R lines:
EMA selection (choose your playbook)
Defaults: Fast 9, Medium 21 (common intraday combo).
Modes: Double Cross — Fast vs Medium.
Triple Cross (optional) — adds a Slow EMA trend filter (enable Slow > 0).
Ranges: you can set each EMA 0–200 (0 = hidden/off)
Visuals are optional; you can display or hide each EMA line
EMA cross footprints (optional): Helps you assess trend continuation or change.
Use your own strategy: switch to 9/50, 20/50, 50/200, or whatever EMA set you trust for your instrument/timeframe.
VWAP Selection (the context engine)
Daily VWAP – resets each chart day (00:00–23:59). Typical fit: scalpers and fast intraday decision points.
Weekly VWAP – resets at the start of the calendar week. Typical fit: intraday with higher-timeframe context (aligns day trades with weekly bias).
Rolling VWAP – an adjustable VWMA-based rolling anchor (not session-reset), used as a flexible context reference Typical fit: multi-day swings when you want a flexible anchor that adapts across sessions.
Standard deviation bands (σ ±1/±2/±3) available for each anchor and help you express the “how far from fair value” idea.
Why VWAP matters: it’s a running, volume-weighted anchor where strong moves relative to VWAP and its bands help frame mean-reversion vs. trend-continuation risk. Evaluating crosses relative to VWAP/±σ reduces “everywhere” noise and helps frame potential setups.
How alerts are decided
An alert triggers only when:
Your selected EMA crossover occurs, and
Your chosen VWAP gate(s) and any filters pass. (Computed on bar close to avoid mid-bar noise)
Signals and alerts do not repaint; alerts evaluate and fire once per bar close.
Alert gates (Single / AND / OR)
Select one VWAP source or combine two (e.g., Daily + Weekly) with Single, AND, or OR logic.
Choose gate levels from VWAP or standard deviation bands (±σ). Typical long logic: price at/under VWAP or −σ. Typical short logic: price at/over VWAP or +σ.
Practical recipes:
Trend-follow: Daily AND Weekly at/above VWAP → confirms strength on two anchors.
Mean-reversion probe: Daily OR Rolling at −1σ → allows earlier fades with flexibility.
Advanced filtering: Suitable for advanced/Quant traders
During the research and development of this indicator, the EMA/VWAP cross logic was tested on historical S&P500 Futures data to explore patterns on multiple timeframes. These selected filtering indicators below showed correlation between certain market conditions and chosen indicator thresholds, helping reduce noise and lower-quality alerts. Results were research-oriented and are not predictive of future performance.
Therefore, I have built these indicator filters that run silently in the background. They let you trim noise by requiring alerts to appear only in market regimes you define. Each one constrains alert conditions; using them together helps tailor alerts to your strategy—but overly strict settings may filter out most or all alerts.
Relative Volume (RVOL): compares current volume to a baseline; ensures alerts arrive with participation instead of thin tape.
Deviation Threshold (%): controls how close the cross must be to the VWAP/σ level; tight = anchored signals, loose = more activity.
ATR Gate (+ Relative regime): keeps alerts inside a volatility regime; avoids both dead tape and chaotic spikes.
Distance Guard: requires price to be at least X ticks/% away from VWAP; useful to avoid premature signals near fair value.
Note: It’s not recommended to activate all of them at once or change the values aggressively. Unless you’ve done deeper backtesting or machine learning calibration, you can easily filter out everything. Use small thresholds at first, then adjust to your instrument once you see how each filter changes alert frequency and quality. Advanced/quant users can fine-tune freely.
Case example:
Unfiltered: Timeframe 15 min, EMA Selection 9/21, VWAP gates Rolling (250 bars) OR Weekly
Filtered: Same setup as above + activated filters:
RVOL: 100 bars, Min. RVOL 0.4
Deviation threshold (%): 0.3
ATR Length: 14
Min ATR (%): 0.05
Relative regime: Base length 2000, Min Ratio 0.85, Max Ratio 2
Under the hood
This indicator leans on TradingView built-ins (e.g., EMA, VWMA, ATR, alertcondition) to maximize speed, stability, and compatibility while we implement the custom logic (VWAP anchors, band gating, combinator gates, advanced filters, time windows). Built-ins were easy to work with and reduced edge-case bugs and kept the visuals responsive, while the design gives fine-tuning and clean visuals—so both discretionary traders and quant-minded users can shape the alerts to their strategy and workflow.
Disclaimer
The tools, scripts, and indicators presented here are provided for educational and informational purposes only. They are not financial advice and should not be interpreted as investment recommendations, trading signals, or a solicitation to buy or sell any financial instrument.
All forms of trading and investing involve risk. The past performance of any security, strategy, or market condition does not guarantee future outcomes. Users are solely responsible for their own trading and investment decisions, including evaluating their financial situation, objectives, and risk tolerance.
By using this indicator, you acknowledge that you do so at your own risk. The author accepts no liability for any direct or indirect loss or damage—including, without limitation, loss of profits—that may arise from the use of, or reliance upon, this tool.
RSI MA Cross + Divergence Signal (V2) Core Logic
RSI + Moving Average
The script calculates a standard RSI (default 14).
It then overlays a moving average (SMA/EMA/WMA, default 9).
When RSI crosses above its MA → bullish momentum.
When RSI crosses below its MA → bearish momentum.
Divergence Filter
Signals are only valid if there’s confirmed divergence:
Bullish divergence: Price makes a lower low, RSI makes a higher low.
Bearish divergence: Price makes a higher high, RSI makes a lower high.
Overbought / Oversold Filter
Optional extra:
Bullish signals only valid if RSI ≤ 30 (oversold).
Bearish signals only valid if RSI ≥ 70 (overbought).
This ensures signals happen in “stretched” conditions.
Risk & Trade Management
Entries taken only when all conditions align.
Exits can be managed with ATR stops, partial take-profits, breakeven moves, and trailing stops (we coded these in the strategy version).
Cooldown, session filters, and daily loss guard to keep risk tight.
🔹 Strengths
✅ High selectivity: Combining RSI cross + divergence + OB/OS means signals are rare but higher quality.
✅ Great at catching reversals: Divergence highlights where price may be running out of steam.
✅ Risk management baked in: ATR stops + partial exits smooth out equity curve.
✅ Works across markets: ES, FX, crypto — anywhere RSI divergences are respected.
✅ Flexible: You can loosen/tighten filters depending on aggressiveness.
🔹 Weaknesses
❌ Lag from pivots: Divergence only confirms after a few bars → you enter late sometimes.
❌ Choppy in ranges: In sideways markets, RSI divergences appear often and whipsaw.
❌ Filters reduce signals: With all filters ON (divergence + OB/OS + trend + session), signals can be very rare — may under-trade.
❌ Not standalone: Needs higher-timeframe context (trend, liquidity pools) to avoid counter-trend entries.
🔹 Best Ways to Trade It
Use Higher Timeframe Bias
Run the strategy on 15m/1H, but only trade in direction of higher timeframe trend (e.g., 4H EMA).
Example: If daily is bullish → only take bullish divergences.
Pair With Structure
Look for signals at key zones: HTF support/resistance, VWAP, or FVGs.
Divergence + RSI cross inside an FVG is a strong entry trigger.
Adjust OB/OS for Volatility
For crypto/FX: use 35/65 instead of 30/70 (markets trend harder).
For ES/S&P: 30/70 works fine.
Risk Management Is King
Use partial exits: take profit at 1R, trail rest.
Size by % of equity (we coded this into the strategy).
Avoid News Spikes
Divergences break down around CPI, NFP, Fed announcements — stay flat.
🔹 When It Shines
Trending markets that make extended pushes → clean divergences.
Reversal zones (oversold → bullish bounce, overbought → bearish fade).
Swing trading (15m–4H) — less noise than 1m/5m scalping.
🔹 When to Avoid
Low volatility chop → lots of false divergences.
During high-impact news → RSI swings wildly.
In strong one-way trends without pullbacks — divergence keeps calling tops/bottoms too early.
✅ Summary:
This is a reversal-focused RSI divergence strategy with strict filters. It’s powerful when combined with higher-timeframe bias + structure confluence, but weak if traded blindly in choppy or news-driven conditions. Best to treat it as a precision entry trigger, not a full system — layer it on top of your FVG/ORB framework for maximum edge.
Dual Best MA Strategy AnalyzerDual Best MA Strategy Analyzer (Lookback Window)
What it does
This indicator scans a range of moving-average lengths and finds the single best MA for long crossovers and the single best MA for short crossunders over a fixed lookback window. It then plots those two “winner” MAs on your chart:
Best Long MA (green): The MA length that would have made the highest total profit using a simple “price crosses above MA → long; exit on cross back below” logic.
Best Short MA (red): The MA length that would have made the highest total profit using “price crosses below MA → short; exit on cross back above.”
You can switch between SMA and EMA, set the min/max length, choose a step size, and define the lookback window used for evaluation.
How it works (brief)
For each candidate MA length between Min MA Length and Max MA Length (stepping by Step Size), the script:
Builds the MA (SMA or EMA).
Simulates a naïve crossover strategy over the last Lookback Window candles:
Long model: enter on crossover, exit on crossunder.
Short model: enter on crossunder, exit on crossover.
Sums simple P&L in price units (no compounding, no fees/slippage).
Picks the best long and best short lengths by total P&L and plots those two MAs.
Note: Long and short are evaluated independently. The script plots MAs only; it doesn’t open positions.
Inputs
Min MA Length / Max MA Length – Bounds for MA search.
Step Size – Spacing between tested lengths (e.g., 10 tests 10, 20, 30…).
Use EMA instead of SMA – Toggle average type.
Lookback Window (candles) – Number of bars used to score each MA. Needs enough history to be meaningful.
What the plots mean
Best Long MA (green): If price crosses above this line (historically), that MA length produced the best long-side results over the lookback.
Best Short MA (red): If price crosses below this line (historically), that MA length produced the best short-side results.
These lines can change over time as new bars enter the lookback window. Think of them as adaptive “what worked best recently” guides, not fixed signals.
Practical tips
Timeframe matters: Run it on the timeframe you trade; the “best” length on 1h won’t match 1m or 1D.
Step size trade-off: Smaller steps = more precision but heavier compute. Larger steps = faster scans, coarser choices.
Use with confirmation: Combine with structure, volume, or volatility filters. This is a single-factor tester.
Normalization: P&L is in raw price units. For cross-symbol comparison, consider using one symbol at a time (or adapt the script to percent P&L).
Limitations & assumptions
No fees, funding, slippage, or position sizing.
Simple “in/out” on the next crossover; no stops/targets/filters.
Results rely on lookback choice and will repaint historically as the “best” length is re-selected with new data (the plot is adaptive, not forward-fixed).
The script tests up to ~101 candidates internally (bounded by your min/max/step).
Good uses
Quickly discover a recently effective MA length for trend following.
Compare SMA vs EMA performance on your market/timeframe.
Build a playbook: note which lengths tend to win in certain regimes (trending vs choppy).
Not included (by design)
Alerts, entries/exits, or a full strategy report. It’s an analyzer/overlay.
If you want alerts, you can add simple conditions like:
ta.crossover(close, plotLongMA) for potential long interest
ta.crossunder(close, plotShortMA) for potential short interest
Changelog / Notes
v1: Initial release. Array-based scanner, SMA/EMA toggle, adaptive long/short best MA plots, user-set lookback.
Disclaimer
This is educational tooling, not financial advice. Test thoroughly and use proper risk management.
Trend ChannelThis Trend Channel is designed to simplify how traders view trends, while also keeping track of potential shifts in trends with signals. It is designed for traders that prefer less over more.
The indicator can be used for trend following, trend reversals and confirmation in combination with price or other indicators.
At the core is one EMA and a smoothed volatility based channel around it.
The purpose of the channel is to avoid false signals on trend reclaim or trend loss and instead identify trend deviations.
The indicator also incorporates long and short EMA cross-over signals to recognize possible shifts in trend without having to overlay multiple EMAs and keep the chart cleaner.
Additionally the indicator fires warnings for potential false signals on golden/death crosses with a letter "W" above/below the signal candle. Those warnings are based on the distance between price and the crossover. When the distance is above a certain threshold the indicator fires a warning that price might mean revert.
Traders can customize all inputs in the settings.






















