EvoTrend-X Indicator — Evolutionary Trend Learner ExperimentalEvoTrend-X Indicator — Evolutionary Trend Learner
NOTE: This is an experimental Pine Script v6 port of a Python prototype. Pine wasn’t the original research language, so there may be small quirks—your feedback and bug reports are very welcome. The model is non-repainting, MTF-safe (lookahead_off + gaps_on), and features an adaptive (fitness-based) candidate selector, confidence gating, and a volatility filter.
⸻
What it is
EvoTrend-X is adaptive trend indicator that learns which moving-average length best fits the current market. It maintains a small “population” of fast EMA candidates, rewards those that align with price momentum, and continuously selects the best performer. Signals are gated by a multi-factor Confidence score (fitness, strength vs. ATR, MTF agreement) and a volatility filter (ATR%). You get a clean Fast/Slow pair (for the currently best candidate), optional HTF filter, a fitness ribbon for transparency, and a themed info panel with a one-glance STATUS readout.
Core outputs
• Selected Fast/Slow EMAs (auto-chosen from candidates via fitness learning)
• Spread cross (Fast – Slow) → visual BUY/SELL markers + alert hooks
• Confidence % (0–100): Fitness ⊕ Distance vs. ATR ⊕ MTF agreement
• Gates: Trend regime (Kaufman ER), Volatility (ATR%), MTF filter (optional)
• Candidate Fitness Ribbon: shows which lengths the learner currently prefers
• Export plot: hidden series “EvoTrend-X Export (spread)” for downstream use
⸻
Why it’s different
• Evolutionary learning (on-chart): Each candidate EMA length gets rewarded if its slope matches price change and penalized otherwise, with a gentle decay so the model forgets stale regimes. The best fitness wins the right to define the displayed Fast/Slow pair.
• Confidence gate: Signals don’t light up unless multiple conditions concur: learned fitness, spread strength vs. volatility, and (optionally) higher-timeframe trend.
• Volatility awareness: ATR% filter blocks low-energy environments that cause death-by-a-thousand-whipsaws. Your “why no signal?” answer is always visible in the STATUS.
• Preset discipline, Custom freedom: Presets set reasonable baselines for FX, equities, and crypto; Custom exposes all knobs and honors your inputs one-to-one.
• Non-repainting rigor: All MTF calls use lookahead_off + gaps_on. Decisions use confirmed bars. No forward refs. No conditional ta.* pitfalls.
⸻
Presets (and what they do)
• FX 1H (Conservative): Medium candidates, slightly higher MinConf, modest ATR% floor. Good for macro sessions and cleaner swings.
• FX 15m (Active): Shorter candidates, looser MinConf, higher ATR% floor. Designed for intraday velocity and decisive sessions.
• Equities 1D: Longer candidates, gentler volatility floor. Suits index/large-cap trend waves.
• Crypto 1H: Mid-short candidates, higher ATR% floor for 24/7 chop, stronger MinConf to avoid noise.
• Custom: Your inputs are used directly (no override). Ideal for systematic tuning or bespoke assets.
⸻
How the learning works (at a glance)
1. Candidates: A small set of fast EMA lengths (e.g., 8/12/16/20/26/34). Slow = Fast × multiplier (default ×2.0).
2. Reward/decay: If price change and the candidate’s Fast slope agree (both up or both down), its fitness increases; otherwise decreases. A decay constant slowly forgets the distant past.
3. Selection: The candidate with highest fitness defines the displayed Fast/Slow pair.
4. Signal engine: Crosses of the spread (Fast − Slow) across zero mark potential regime shifts. A Confidence score and gates decide whether to surface them.
⸻
Controls & what they mean
Learning / Regime
• Slow length = Fast ×: scales the Slow EMA relative to each Fast candidate. Larger multiplier = smoother regime detection, fewer whipsaws.
• ER length / threshold: Kaufman Efficiency Ratio; above threshold = “Trending” background.
• Learning step, Decay: Larger step reacts faster to new behavior; decay sets how quickly the past is forgotten.
Confidence / Volatility gate
• Min Confidence (%): Minimum score to show signals (and fire alerts). Raising it filters noise; lowering it increases frequency.
• ATR length: The ATR window for both the ATR% filter and strength normalization. Shorter = faster, but choppier.
• Min ATR% (percent): ATR as a percentage of price. If ATR% < Min ATR% → status shows BLOCK: low vola.
MTF Trend Filter
• Use HTF filter / Timeframe / Fast & Slow: HTF Fast>Slow for longs, Fast threshold; exit when spread flips or Confidence decays below your comfort zone.
2) FX index/majors, 15m (active intraday)
• Preset: FX 15m (Active).
• Gate: MinConf 60–70; Min ATR% 0.15–0.30.
• Flow: Focus on session opens (LDN/NY). The ribbon should heat up on shorter candidates before valid crosses appear—good early warning.
3) SPY / Index futures, 1D (positioning)
• Preset: Equities 1D.
• Gate: MinConf 55–65; Min ATR% 0.05–0.12.
• Flow: Use spread crosses as regime flags; add timing from price structure. For adds, wait for ER to remain trending across several bars.
4) BTCUSD, 1H (24/7)
• Preset: Crypto 1H.
• Gate: MinConf 70–80; Min ATR% 0.20–0.35.
• Flow: Crypto chops—volatility filter is your friend. When ribbon and HTF OK agree, favor continuation entries; otherwise stand down.
⸻
Reading the Info Panel (and fixing “no signals”)
The panel is your self-diagnostic:
• HTF OK? False means the higher-timeframe EMAs disagree with your intended side.
• Regime: If “Chop”, ER < threshold. Consider raising the threshold or waiting.
• Confidence: Heat-colored; if below MinConf, the gate blocks signals.
• ATR% vs. Min ATR%: If ATR% < Min ATR%, status shows BLOCK: low vola.
• STATUS (composite):
• BLOCK: low vola → increase Min ATR% down (i.e., allow lower vol) or wait for expansion.
• BLOCK: HTF filter → disable HTF or align with the HTF tide.
• BLOCK: confidence → lower MinConf slightly or wait for stronger alignment.
• OK → you’ll see markers on valid crosses.
⸻
Alerts
Two static alert hooks:
• BUY cross — spread crosses up and all gates (ER, Vol, MTF, Confidence) are open.
• SELL cross — mirror of the above.
Create them once from “Add Alert” → choose the condition by name.
⸻
Exporting to other scripts
In your other Pine indicators/strategies, add an input.source and select EvoTrend-X → “EvoTrend-X Export (spread)”. Common uses:
• Build a rule: only trade when exported spread > 0 (trend filter).
• Combine with your oscillator: oscillator oversold and spread > 0 → buy bias.
⸻
Best practices
• Let it learn: Keep Learning step moderate (0.4–0.6) and Decay close to 1.0 (e.g., 0.99–0.997) for smooth regime memory.
• Respect volatility: Tune Min ATR% by asset and timeframe. FX 1H ≈ 0.10–0.20; crypto 1H ≈ 0.20–0.35; equities 1D ≈ 0.05–0.12.
• MTF discipline: HTF filter removes lots of “almost” trades. If you prefer aggressive entries, turn it off and rely more on Confidence.
• Confidence as throttle:
• 40–60%: exploratory; expect more signals.
• 60–75%: balanced; good daily driver.
• 75–90%: selective; catch the clean stuff.
• 90–100%: only A-setups; patient mode.
• Watch the ribbon: When shorter candidates heat up before a cross, momentum is forming. If long candidates dominate, you’re in a slower trend cycle.
⸻
Non-repainting & safety notes
• All request.security() calls use lookahead=barmerge.lookahead_off, gaps=barmerge.gaps_on.
• No forward references; decisions rely on confirmed bar data.
• EMA lengths are simple ints (no series-length errors).
• Confidence components are computed every bar (no conditional ta.* traps).
⸻
Limitations & tips
• Chop happens: ER helps, but sideways microstructure can still flicker—use Confidence + Vol filter as brakes.
• Presets ≠ oracle: They’re sensible baselines; always tune MinConf and Min ATR% to your venue and session.
• Theme “Auto”: Pine cannot read chart theme; “Auto” defaults to a Dark-friendly palette.
⸻
Publisher’s Screenshots Checklist
1) FX swing — EURUSD 1H
• Preset: FX 1H (Conservative)
• Params: MinConf=70, ATR Len=14, Min ATR%=0.12, MTF ON (TF=4H, 20/50)
• Show: Clear BUY cross, STATUS=OK, green regime background; Fitness Ribbon visible.
2) FX intraday — GBPUSD 15m
• Preset: FX 15m (Active)
• Params: MinConf=60, ATR Len=14, Min ATR%=0.20, MTF ON (TF=60m)
• Show: SELL cross near London session open. HTF lines enabled (translucent).
• Caption: “GBPUSD 15m • Active session sell with MTF alignment.”
3) Indices — SPY 1D
• Preset: Equities 1D
• Params: MinConf=60, ATR Len=14, Min ATR%=0.08, MTF ON (TF=1W, 20/50)
• Show: Longer trend run after BUY cross; regime shading shows persistence.
• Caption: “SPY 1D • Trend run after BUY cross; weekly filter aligned.”
4) Crypto — BINANCE:BTCUSDT 1H
• Preset: Crypto 1H
• Params: MinConf=75, ATR Len=14, Min ATR%=0.25, MTF ON (TF=4H)
• Show: BUY cross + quick follow-through; Ribbon warming (reds/yellows → greens).
• Caption: “BTCUSDT 1H • Momentum break with high confidence and ribbon turning.”
Moving Averages
Daily EMA (10/20/50/100/200)Pure Edition
Regardless of the current time period, the daily EMA is always displayed.
純享版
不管目前是什麼時間區段
一律顯示日線級別的ema
RSI with Multiple MAs + Slope Alerts 5,9,34,55RSI with Multiple MAs + Slope Alerts 5,9,34,55
Stacking Alerts Available
Moving Averages with Alerts: 9, 21, 51, 100, 144, 200---
This indicator plots six configurable moving averages (MA) with options for EMA, SMA, RCI, HMA, and Pivô Boss types. It highlights key crossover points, especially monitoring the 9-period MA for crosses with others. Users can enable alerts for these crossovers, as well as set custom alerts between any two selected MAs. Additionally, the indicator marks the important crossovers of the 51 and 200 MAs on the chart with an “X”. This helps traders identify trend changes and potential entry or exit points efficiently.
---
Median + Tendência + ATR (Yehuda Nahmias)📊 Median + Trend + ATR (By Yehuda Nahmias)
🚀 The indicator that combines Simplicity, Accuracy, and Risk Management
This script brings together three key pillars of professional trading:
✅ Dynamic Median → captures price midpoints and highlights reversal and breakout zones.
✅ Trend Filter (EMA) → ensures signals are aligned with the main market direction.
✅ Smart ADX + ATR → confirm trend strength and automatically calculate Stop Loss and Take Profit based on volatility.
🔔 How it works:
Buy/Sell Arrows: automatically appear when price crosses the median under valid trend and strength conditions (ADX).
Automatic Stops and Targets: SL and TP levels are plotted using ATR, ready for effective risk management.
3 Signal Modes:
🛡️ Conservative → fewer trades, stronger filtering.
⚖️ Standard → balance between frequency and accuracy.
⚡ Aggressive → more trades, captures shorter moves.
💡 Key Benefits:
Clear visuals: colored candles + BUY/SELL arrows.
Built-in risk management: position size is calculated based on % of equity.
Flexible: works on any asset (Forex, Crypto, Indices, Stocks).
🔑 Private access only.
If you’d like to use this strategy on your charts, contact me via my TradingView profile.
👉 Turn your analysis into objective signals and gain more confidence in your entries and exits!
NQ Scalping System (1-Min Optimized) — StrategyNQ Scalping System — What this does (in plain English)
You’re buying pullbacks in an uptrend and selling pullbacks in a downtrend.
Trend = EMA89. Entries lean on EMA8/EMA21 touches + a StochRSI reset & cross so you’re not chasing candles. Optional Volume and MACD filters keep you out of weak moves. A time window avoids dead markets and the first noisy minute.
Long setup
Price above EMA89 (trend up)
Price pulls back to EMA8 (or EMA21 if fallback is on) by at least your Min Pullback (NQ points)
StochRSI resets to oversold and %K crosses up %D
(Optional) Volume thrust and MACD momentum confirm
Within your session window
Short = mirror image.
Exits you control
Stop/Target: ATR-based (adaptive) or fixed scalp points
Trailing stop: only arms after price moves your way by X points, then trails by your offset
Early exit options: StochRSI fade, EMA break, trend break, or opposite divergence
Quick scalp: grab a few points or bail after X bars if nothing happens
Reality check
This is a rules → orders system. It will not match eyeballed indicator labels. Fills, gaps, and trail behavior are real. That’s the point.
How I’d run it (defaults that won’t waste your time)
Use ATR stops/targets by default
EMA21 fallback = ON (you’ll miss fewer good pullbacks)
MACD filter = ON when choppy; OFF when trends are clean
Volume multiplier: start modest, bump it up if you get chopped
Session: keep RTH (e.g., 09:30–15:45 ET) and skip the first minute
Quick presets for higher timeframes
Use these as starting points and then nudge to taste.
5-Minute (intraday swings)
OB/OS: 80 / 20
Volume Multiplier: 1.3
MACD: 8 / 21 / 5
ATR Stop× / Target×: 1.8–2.2 / 2.5–3.0
Min Pullback: 1.0–1.5 pts
Quick Scalp: 6–10 pts, Bars: 12–20
Trailing: Activation 6–8 pts, Offset 3–4 pts
Divergence: Hidden ON, MTF OFF
15-Minute (session legs)
OB/OS: 85 / 15
Volume Multiplier: 1.4
MACD: 8 / 21 / 5
ATR Stop× / Target×: 2.0–2.5 / 3.0–4.0
Min Pullback: 1.5–2.5 pts
Quick Scalp: 12–18 pts, Bars: 16–30
Trailing: Activation 10–14 pts, Offset 5–6 pts
Divergence: Hidden ON, MTF ON (LTF = 5m)
30-Minute (bigger intraday trends)
OB/OS: 88 / 12
Volume Multiplier: 1.5
MACD: 12 / 26 / 9 (or 8 / 21 / 5 if you want faster)
ATR Stop× / Target×: 2.2–2.8 / 3.5–5.0
Min Pullback: 2.5–4.0 pts
Quick Scalp: 18–28 pts, Bars: 20–40
Trailing: Activation 16–24 pts, Offset 6–8 pts
Divergence: Hidden ON, MTF ON (LTF = 5m or 15m)
1-Hour (multi-hour swings)
OB/OS: 90 / 10
Volume Multiplier: 1.6–1.8
MACD: 12 / 26 / 9
ATR Stop× / Target×: 2.5–3.5 / 4.0–6.0
Min Pullback: 4–7 pts
Quick Scalp: 30–50 pts, Bars: 24–60
Trailing: Activation 28–40 pts, Offset 10–15 pts
Divergence: Hidden ON, MTF ON (LTF = 15m)
Tuning tips (read this)
Getting chopped? Raise Min Pullback, raise Volume Multiplier, leave MACD ON, and narrow your session.
Missing moves? Turn EMA21 fallback ON, lower Volume Multiplier, relax OB/OS (e.g., 75/25 on 5m).
Flat days? Use Quick Scalp and a tighter Trail Activation to lock gains.
Daniel.Yer BB EntryMy BB entry strategy.
need to improve a little the code, but for start, its look very good.
also need to check the statistic in 3 and 5 min range.
Great Job :)
Golden Cross Master Filter by Carlos ChavezForget noisy Golden/Death Cross signals.
This is the **Golden Cross Master Filter** – built for traders who demand institutional-level confirmation.
✅ Exact EMA cross points with circle markers
✅ ATR / ADX / DI+ / DI- / Volume filters
✅ Gap% detection
✅ Visual OK/X dashboard
✅ Instant BUY/SELL labels & ready-to-use alerts
Cut the noise. Trade only the strongest crosses. 🚀
Golden Cross Master Filter is a professional tool to detect Golden and Death Crosses with institutional-grade filtering.
🚀 Features:
- ✅ ATR / ADX / DI+/DI- / Volume conditions
- ✅ Gap% detection (daily gap between yesterday’s close and today’s open)
- ✅ Visual dashboard with OK/X status
- ✅ Exact circle markers at EMA cross points
- ✅ Ready-to-use BUY/SELL labels when filters are confirmed
- ✅ Built-in alerts for easy automation
This indicator is designed for intraday and swing traders who rely on EMA crosses but want to eliminate false signals.
It works across multiple timeframes (10m, 1h, 4h, Daily) and adapts to different trading styles.
Whether you trade CALLs/PUTs or just want stronger confirmation for Golden/Death Crosses, this filter helps you focus only on high-probability setups.
MTF EMA Smooth Indicator By : KaizenotradingPHThis indicator script can display three different timeframe MTF EMA indicators simultaneously. The special thing of this script is that it has smoothing feature that can smooth the MTF EMA but only in minutes and hours timeframe (script limitation). You can enable the anti repainting as well which reference the previous bar. These features are useful for customize strategies scripts to avoid repainting. Additionally, this script have customizable length for the three MTF EMA indicators.
Ichimoku x SMA by withearthIt shows a signal when the price passes through the Ichimoku Cloud and crosses the 120-day moving average.
It was designed with the expectation that it would be effective on the daily chart.
GQT - Weekly MAs on Any TFPlot the weekly 200SMA, 50SMA, 20SMA, and 21EMA on lower timeframes like 5m, 1h, 4h, etc.
Momentum Moving Averages | MisinkoMasterThe Momentum Moving Averages (MMA) indicator blends multiple moving averages into a single momentum-scoring framework, helping traders identify whether market conditions are favoring upside momentum or downside momentum.
By comparing faster, more adaptive moving averages (DEMA, TEMA, ALMA, HMA) against a baseline EMA, the MMA produces a cumulative score that reflects the prevailing strength and direction of the trend.
🔎 Methodology
Moving Averages Used
EMA (Exponential Moving Average) → Baseline reference.
DEMA (Double Exponential Moving Average) → Reacts faster than EMA.
TEMA (Triple Exponential Moving Average) → Even faster, reduces lag further.
ALMA (Arnaud Legoux Moving Average) → Smooth but adaptive, with adjustable σ and offset.
HMA (Hull Moving Average) → Very responsive, reduces lag, ideal for momentum shifts.
Scoring System
Each comparison is made against the EMA baseline:
If another MA is above EMA → +1 point.
If another MA is below EMA → -1 point.
The total score reflects overall momentum:
Positive score → Bullish bias.
Negative score → Bearish bias.
Trend Logic
Bullish Signal → When the score crosses above 0.1.
Bearish Signal → When the score crosses below -0.1.
Neutral or sideways trends are identified when the score remains between thresholds.
📈 Visualization
All five moving averages are plotted on the chart.
Colors adapt to the current score:
Cyan (Bullish bias) → Positive momentum.
Magenta (Bearish bias) → Negative momentum.
Overlapping fills between MAs highlight zones of convergence/divergence, making momentum shifts visually clear.
⚡ Features
Adjustable length parameter for all MAs.
Adjustable ALMA parameters (sigma and offset).
Cumulative momentum score system to filter false signals.
Works across all markets (crypto, forex, stocks, indices).
Overlay design for direct chart integration.
✅ Use Cases
Trend Confirmation → Ensure alignment with market momentum.
Momentum Shifts → Spot when faster MAs consistently outperform the baseline EMA.
Entry & Exit Filter → Avoid trades when the score is neutral or indecisive.
Divergence Visualizer → Filled zones make it easier to see when MAs begin separating or converging.
Low History Required → Unlike most For Loops, this script does not require that much history, making it less lagging and more responsive
⚠️ Limitations
Works best in trending conditions; performance decreases in sideways/choppy ranges.
Sensitivity of signals depends on chosen length and ALMA settings.
Should not be used as a standalone buy/sell system—combine with volume, structure, or higher timeframe analysis.
Advanced Trend & Volatility Indicator (VWAP & EMA360)Bollinger band with adjustable NO TRADE tool. green buy and red sell signals for 20 moving average added 360 moving average for micro trading. Has VWAP and additional EMA defaulted to 9 (adjust to your style). For confluence use this along with an RSI over bought and over sold WMA with similar green buy and red sell signals.
6 EMAThis indicator allows you to set up 6 EMAs.
By default, the EMAs are based on the candle's closing price.
The default values are 7, 20, 60, 120, 200, and 400, and you can toggle each EMA on or off as needed.
Volume ProportionOANDA:XAUUSD This indicator uses the circulation of buy and sell volume, calculated proportionally.
We believe that when buy volume becomes excessive, sell positions will begin to be opened. These sell positions must be significant enough to cause the price to pause or decline.
Similarly, when sell volume becomes excessive, buy positions will begin to be opened. These buy positions must be significant enough to cause the price to pause or rise.
When a trigger occurs on either side, we believe that the price is in a significant zone where a change in direction for both the buy and sell sides is likely to happen. In the event of a trigger, if the candlestick's delta volume still favors the opposite side, it is possible that the price may not genuinely rise or fall.
Enjoy this indicator.
Natural Linear Regression Curves (Jim Sloman's Ocean Theory)Liner Regression Curves using the logic of Jim Sloman's Natural Moving Average automatic adaptation.
Coded by AI.
Natural Moving Averages (Jim Sloman's Ocean Theory)Natural Moving Averages invented by Jim Sloman.
Code copied by IA from the TradeStation code.
Includes the Fast and the Regular NMAs.
Jim Sloman invented Ocean Theory and the NMA is its building block.
EMA50 + SR Boxes + VP Right + ATR + SL% + Entries + SentimentThis indicator combines several pro-grade building blocks to read the market at a glance:
EMA50 as a trend filter.
Smart Support/Resistance zones (rectangles) detected where price has touched multiple times.
“U / Inverted U” markers (confirmed pivots).
Optional Buy/Sell signals: only when a U appears inside a support zone with price above the EMA50 (buy), or an inverted U inside a resistance zone with price below the EMA50 (sell).
Simplified right-side Volume Profile (with a special Forex fallback if volume isn’t usable).
ATR & SL%: displays current ATR and an SL% based on ATR(100) Daily / Close × 100, attached to the latest candle.
Moving Averages Trend FilterA filter to determine the trend using moving averages.
Plotted as text on a different panel.
Different outputs:
- Bullish Trend
- Bearish Trend
- Sideways
You can use up to 4 MAs. Fill in the inputs in order, be it the first being the fastest and the last being the slowest.
You can change between EMAs and SMAs. You can activate/deactivate the MAs to be used as a filter and choose them .
There's an option of minimum bars to define the trend.
**If the pane is mixed with the indicators, move it below using right click.
Entry Signals (Long/Short)The indicator visualizes precise entry signals for long and short setups directly on the price chart. Long is marked with a green triangle-up, short with a red triangle-down. To contextualize trend structure, the Fast EMA (5) is plotted in black and the Slow EMA (20) in blue (line width 1). Signals print only at bar close for reproducible execution. Applicable across all timeframes—ideal for top-down analysis from the 195-minute chart through daily to weekly.