Weighted CCI Oscillator [SeerQuant]Weighted CCI Oscillator (WCCI)
The Weighted CCI Oscillator (WCCI) is an enhanced CCI-style deviation oscillator that builds on the classic Commodity Channel Index framework by introducing adaptive weighting and configurable smoothing. By dynamically scaling deviation based on a selected market “weight” (Volume, Momentum, Volatility, or Reversion Factor), WCCI helps trend strength and regime shifts stand out more clearly, while still retaining the familiar CCI-style structure and ±200 extreme zones.
⚙️ How It Works
WCCI starts by calculating a baseline (your chosen moving average type) of the selected CCI source (Typical Price / HLC3, or a custom input source). It then measures how far price deviates from that baseline, and applies an adaptive weight to that deviation based on your selected weighting method.
The weighting is normalized for stability so it remains usable across different assets and changing regimes, then clamped to prevent abnormal spikes from distorting the oscillator. The weighted deviation is normalized by a weighted mean absolute deviation term (using the standard CCI constant k), producing a CCI-like oscillator that responds differently depending on the “state” of the market.
Trend logic is defined using a neutral zone around the 0 midline: bullish when WCCI holds above (0 + Neutral Zone), bearish when it holds below (0 - Neutral Zone), and neutral while it remains inside that band. A smoothed WCCI line is also provided for cleaner confirmation.
✨ Customizable Settings
WCCI is designed to be tuned without overcomplication. You can choose the CCI source mode (Typical Price / HLC3 or Input Source), set the calculation length, and apply smoothing using your preferred moving average type (SMA, EMA, RMA, HMA, DEMA, TEMA, etc.).
The weighting method is the key differentiator:
Volume weighting emphasizes participation and activity.
Momentum weighting emphasizes impulse and directional pressure.
Volatility weighting emphasizes expansion/contraction phases.
Reversion Factor weighting responds inversely to variance, biasing toward mean-reversion conditions.
On the style side, you can select a preset colour scheme (Default/Modern/Cool/Monochrome) or enable custom bull/bear/neutral colours. Candle coloring is optional, and you can choose whether candles follow the raw WCCI or the smoothed WCCI.
🚀 Features and Benefits
WCCI provides a CCI-style oscillator that adapts to market conditions instead of treating every regime the same. The weighting engine helps meaningful moves stand out when conditions justify it, while the neutral-zone framework reduces noise and improves readability compared to relying purely on midline flips. With flexible smoothing, clean state transitions, optional candle coloring, and clear ±200 extreme markers, WCCI works well as a trend filter, confirmation layer, or regime signal alongside other systems.
📜 Disclaimer
This indicator is for educational purposes only and does not constitute financial advice. Past performance does not guarantee future results. Always consult a licensed financial advisor before making trading decisions. Use at your own risk.
المتوسطات المتحركة
Volatility Momentum Suite | Lyro RSVolatility Momentum Suite is an advanced momentum and volatility-based oscillator designed to deliver a complete view of trend strength, acceleration, and market extremes in a single pane. By combining rate-of-change smoothing, adaptive moving averages, standard deviation bands, and momentum acceleration, the indicator provides clear structural insight into trend continuation, exhaustion, and potential reversals.
Built with multiple display and signal modes, it adapts seamlessly to both trend-following and mean-reversion workflows while maintaining strong visual clarity.
Key Features
Momentum Core (Smoothed RoC)
The foundation of the indicator is a Rate of Change (RoC) calculation applied to a selectable price source. This RoC is smoothed using one of 14+ moving average types, including EMA, HMA, KAMA, FRAMA, JMA, and more, allowing precise control over responsiveness versus smoothness.
Standard Deviation Bands
Dynamic deviation bands are calculated around the smoothed momentum line using rolling standard deviation. Two band layers are plotted:
Inner bands for early expansion signals
Outer bands for extreme conditions
These bands adapt automatically to volatility, highlighting momentum expansions, compressions, and exhaustion zones.
Momentum Acceleration
A dedicated acceleration line measures the momentum of momentum itself. This helps identify:
Early trend ignition
Momentum deceleration before reversals
Continuation strength during expansions
Acceleration smoothing and MA type are fully configurable.
Multi-Mode Signal System
Trend Mode
Colors momentum and price according to position above or below the zero line, emphasizing directional bias and trend continuation.
Heikin Ashi Candles Mode
Applies Heikin Ashi logic directly to the momentum series, filtering noise and revealing smoother trend transitions through candle structure.
Extremes Mode
Detects statistically extreme momentum conditions beyond outer deviation bands. Signals are only confirmed after a Heikin Ashi momentum flip, reducing premature reversal entries.
Histogram Mode
Displays the difference between momentum and its signal line as a histogram, useful for divergence spotting and momentum shifts.
Histogram & Signal Line
An EMA signal line is applied to the smoothed momentum, producing a histogram that visually tracks momentum expansion, contraction, and directional changes with adaptive coloring.
Visual Customization
Choose from multiple predefined color palettes:
Classic
Mystic
Accented
Royal
Or define your own bullish and bearish colors.
Additional visual features include:
Momentum-colored candles
Heikin Ashi momentum candles
Band shading and fills
Optional zero-line reference
Integrated Status Table
A built-in table summarizes the real-time state of:
Trend bias
Heikin Ashi momentum direction
Extreme overbought / oversold conditions
This allows rapid decision-making without needing to interpret every visual element manually.
How It Works
Momentum Calculation
Computes Rate of Change on the selected source and smooths it using the chosen moving average.
Volatility Structure
Builds adaptive deviation bands from rolling standard deviation of the momentum line.
Acceleration Layer
Measures the rate of momentum change to detect early shifts in strength.
Mode-Dependent Logic
Trend mode focuses on directional bias
HA mode smooths momentum structure
Extremes mode filters reversals using volatility and HA confirmation
Histogram mode emphasizes momentum differentials
Signals & Alerts
Automatic alerts trigger on:
Momentum crossing above or below zero
Heikin Ashi momentum flips
Confirmed overbought and oversold extremes
Practical Use
Trend Confirmation: Sustained momentum above zero with expanding bands supports trend continuation.
Reversal Identification: Momentum pushing beyond outer bands followed by HA confirmation often precedes reversals.
Momentum Quality: Acceleration helps distinguish strong breakouts from weakening moves.
Multi-Timeframe Alignment: Use higher timeframes for bias and lower timeframes for precision entries using the same indicator.
Customization
Adjust RoC length and smoothing for sensitivity
Tune band length and multipliers for volatility conditions
Select display and signal modes based on strategy type
Fully customize colors to match your chart environment
⚠️ Disclaimer
This indicator is a technical analysis tool and does not guarantee results. It should be used alongside other forms of analysis and proper risk management. The author assumes no responsibility for trading decisions made using this indicator.
XAUUSD Pro Strategy //@version=5
indicator("XAUUSD RR Buy Sell Indicator", overlay=true, max_labels_count=500, max_boxes_count=100)
// ===== INPUT =====
rr = input.float(2.0, "Risk Reward", step=0.1)
sl_pips = input.int(300, "Stop Loss (points)")
show_boxes = input.bool(true, "Show Entry SL TP Box")
// ===== EMA =====
ema9 = ta.ema(close, 9)
ema50 = ta.ema(close, 50)
ema200 = ta.ema(close, 200)
plot(ema9, color=color.yellow)
plot(ema50, color=color.blue)
plot(ema200,color=color.red)
// ===== TREND =====
bull = ema50 > ema200
bear = ema50 < ema200
// ===== ENTRY CONDITIONS =====
buyCond = bull and close > ema9 and close < ema9
sellCond = bear and close < ema9 and close > ema9
// ===== PRICE CALC =====
buyEntry = close
buySL = buyEntry - sl_pips * syminfo.mintick
buyTP = buyEntry + (buyEntry - buySL) * rr
sellEntry = close
sellSL = sellEntry + sl_pips * syminfo.mintick
sellTP = sellEntry - (sellSL - sellEntry) * rr
// ===== DRAW =====
if buyCond
label.new(bar_index, low, "BUY", style=label.style_label_up, color=color.green, textcolor=color.white)
if show_boxes
box.new(bar_index, buyEntry, bar_index + 5, buySL, bgcolor=color.new(color.red,80))
box.new(bar_index, buyTP, bar_index + 5, buyEntry, bgcolor=color.new(color.green,80))
if sellCond
label.new(bar_index, high, "SELL", style=label.style_label_down, color=color.red, textcolor=color.white)
if show_boxes
box.new(bar_index, sellSL, bar_index + 5, sellEntry, bgcolor=color.new(color.red,80))
box.new(bar_index, sellEntry, bar_index + 5, sellTP, bgcolor=color.new(color.green,80))
SuperTrend - With Exits & Trade ZonesSuperTrend - With Exits & Trade Zones
Overview
An advanced trend-following indicator that combines pivot points with the SuperTrend methodology to create a complete trading system with entry signals, exit signals, and visual trade zones. This indicator adapts to market structure rather than just price action, providing more reliable trend identification.
What Makes This Unique
Unlike standard SuperTrend indicators that use moving averages, this version:
Uses actual pivot points to calculate a dynamic center line
Provides multiple entry mode options for different trading styles
Shows clear exit signals (both trailing stop and take profit)
Color-codes the entire chart into trade zones (Long, Short, No Trade)
Eliminates guesswork about when to enter, exit, and stay out
Features
📊 Core Indicator Components
Pivot Point Detection: Identifies local highs and lows in price structure
Dynamic Center Line: Weighted calculation using detected pivot points
ATR-Based Bands: Volatility-adjusted upper and lower bands
Trailing Stop Line: Adaptive stop-loss that follows the trend
🎯 Entry Signals
Four entry modes to match your trading style:
Immediate Mode ⚡
Signals right when the trailing stop breaks
Fastest entries for aggressive traders
Best for strong trending markets
Aggressive Mode 🔥 (Recommended)
Signals when price closes beyond break candle OR opens beyond it
Balanced speed and confirmation
Good for most market conditions
Balanced Mode ⚖️
Requires entire candle to close beyond break level
Moderate confirmation
Reduces false breakouts
Conservative Mode 🛡️
Waits for candle to open AND stay completely beyond break level
Highest confirmation, slowest entries
Best for choppy markets
🚪 Exit Signals
Three exit strategies:
Trailing Stop
Exits when price crosses back through the trailing stop line
Lets profits run in trending markets
Protects gains when trend weakens
Take Profit %
Exits at predetermined profit target
Locks in gains at specific percentage
Good for range-bound markets
Both
Uses whichever exit comes first
Combines profit protection with trend following
Recommended for most traders
🎨 Visual Trade Zones
Color-coded backgrounds eliminate confusion:
🟢 Light Green: Active LONG position
🔴 Light Red: Active SHORT position
⚫ Gray: NO TRADE ZONE (between exit and next signal)
📍 Additional Visual Elements
Diamond markers: Show when trailing stop is first broken
BUY/SELL labels: Clear entry signals in green/red
EXIT markers: Gray X for stop loss, Orange X (TP) for take profit
Pivot points: Optional display of detected highs/lows (H/L markers)
Support/Resistance: Optional circles at pivot levels
Settings & Parameters
Basic Settings
Pivot Point Period (default: 2)
Controls sensitivity of pivot detection
Lower = more pivots detected (more responsive)
Higher = fewer pivots (more stable)
ATR Factor (default: 3)
Distance multiplier for trailing stop bands
Lower = tighter stops (more signals, earlier exits)
Higher = wider stops (fewer signals, longer trades)
ATR Period (default: 10)
Lookback period for volatility calculation
Affects how quickly bands adapt to volatility changes
Entry Configuration
Entry Mode: Select from Immediate/Aggressive/Balanced/Conservative
Determines how quickly the indicator generates signals after a trend break
Exit Configuration
Exit Method: Choose Trailing Stop, Take Profit %, or Both
Take Profit % (default: 2%)
Set your profit target as percentage of entry price
Adjust based on volatility and timeframe
Display Options
Show Buy/Sell Labels: Toggle entry signal labels
Show Exit Signals: Toggle exit markers
Show Break Candles: Toggle diamond markers on trend breaks
Show Pivot Points: Display H/L markers at pivot points
Show PP Center Line: Display the dynamic center line
Show Support/Resistance: Display circles at S/R levels
How to Use
For Swing Traders
Set Entry Mode to "Balanced" or "Conservative"
Use "Both" exit method with 3-5% take profit
Enable all visual elements for complete market picture
Trade only in direction of colored zones
For Day Traders
Set Entry Mode to "Aggressive" or "Immediate"
Use "Trailing Stop" exit method to catch intraday trends
Lower ATR Factor to 2-2.5 for tighter stops
Watch for quick signals in the first 2 hours of trading
For Position Traders
Use higher timeframes (Daily/Weekly)
Set Entry Mode to "Conservative"
Increase Take Profit % to 5-10%
Use larger ATR Factor (4-5) for wider stops
General Trading Rules
✅ DO: Enter on BUY/SELL signals (green/red backgrounds)
✅ DO: Exit on EXIT/TP markers
❌ DON'T: Enter during gray NO TRADE ZONE
❌ DON'T: Counter-trend trade against the colored zone
Alerts
Set up the following alerts for automated trading notifications:
Buy Signal: Triggers when long entry conditions are met
Sell Signal: Triggers when short entry conditions are met
Exit Long: Triggers when long position should be closed
Exit Short: Triggers when short position should be closed
Trailing Stop Broken: Triggers on initial trend change
Best Practices
Timeframe Selection
1-5 min: Scalping (use Immediate/Aggressive mode)
15-60 min: Day trading (use Aggressive/Balanced mode)
4H-Daily: Swing trading (use Balanced/Conservative mode)
Weekly: Position trading (use Conservative mode)
Risk Management
Always use the EXIT signals - don't hold through gray zones
Position size based on distance to trailing stop
Never risk more than 1-2% per trade
Consider wider stops on higher timeframes
Market Conditions
Trending markets: Use Aggressive mode, Trailing Stop exits
Ranging markets: Use Conservative mode, Take Profit exits
High volatility: Increase ATR Factor, use Both exits
Low volatility: Decrease ATR Factor for tighter stops
Technical Details
Calculation Method
Detect pivot highs and lows using specified period
Calculate weighted center line: (previous_center × 2 + new_pivot) / 3
Calculate bands: Upper = Center - (ATR Factor × ATR), Lower = Center + (ATR Factor × ATR)
Determine trend based on price position relative to bands
Trail stop line follows the active trend direction
Signal Logic
Entry signals generated based on selected confirmation mode
Position tracking maintains state from entry to exit
Exit signals calculated from both trailing stop and take profit levels
Trade zones update in real-time based on position state
Limitations & Considerations
Works best in trending markets; may generate false signals in tight ranges
Not a holy grail - should be used with proper risk management
Past performance does not guarantee future results
Recommended to backtest on your specific instrument and timeframe
Consider combining with volume analysis or other indicators for confirmation
Version History
v1.0: Initial release with entry signals and confirmation modes
v1.1: Added exit signals (trailing stop and take profit)
v1.2: Added color-coded trade zones (Long/Short/No Trade)
Credits
Original Pivot Point SuperTrend concept by LonesomeTheBlue
Modified with exit signals and trade zone visualization
License
Mozilla Public License 2.0
Example Setups
Conservative Swing Trading
Pivot Point Period: 2
ATR Factor: 3
ATR Period: 10
Entry Mode: Conservative
Exit Method: Both
Take Profit %: 4%
Aggressive Day Trading
Pivot Point Period: 2
ATR Factor: 2.5
ATR Period: 10
Entry Mode: Aggressive
Exit Method: Trailing Stop
Position Trading
Pivot Point Period: 3
ATR Factor: 4
ATR Period: 14
Entry Mode: Balanced
Exit Method: Both
Take Profit %: 8%
Disclaimer: This indicator is for educational purposes only. Trading involves substantial risk. Always do your own research and never trade with money you cannot afford to lose.
Universal Adaptive Tracking🙏🏻 Behold, this is UAT (Universal Adaptive Tracker) , with less words imma proceed how it compares with alternatives:
^^ comparison with non-adaptive quadratic regression (purple line), that has higher overshoots, less precision
^^ comparison with JMA and its adaptive gain. JMA’s gain is heavily limited, while UAT’s negative and positive gains are soft-saturated with p-order Möbius transform
This drop is inspired by, dedicated to, and made will all love towards Jurik Research , who retired in October 2k21. When some1 steps out, some1 has to step in, and that time it’s me (again xd). But there’s some history u gotta know:
Some history u gotta know:
In ~2008 dudes from forexfactory reverse engineered Jurik Moving Average
In late 1990s dudes from Jurik Research approximated the best possible adaptive tracking filter for evolution of prices via engineering miracles
Today in 2k26, me I'm gonna present to you the real mathematical objects/entities behind JMA top-edge engineered approximates. You will prolly be even more happy now then all the dem together back then.
Why all this?
When we talk about object tracking stuff, e.g. air defense, drones, missiles, projectiles, prices, etc, it all comes down to adaptive control and (Position & Velocity & Acceleration) aka PVA state space models (the real stuff many of you count as DSP ).
Why? Cuz while position (P) : (mean), or position & velocity (PV) : (linear regression) are stable enough in dem own ways, Position & Velocity & Acceleration (PVA) : (quadratic regression+) require adaptivity do be stable. And real world stuff needs PVA, due to non-linearity for starters.
So that’s why. If your goal is Really smoothing and no lag, u gotta go there. I see a lot of folks are crazy with it and want it, so here is it, for y’all. And good news, this is perfect for your favorite Moving Windows.
How to use it
The upper study:
The final filter (main state): just as you use other fast smoothers, MAs, etc, you know better than me here
You can also turn in volatility bands in script’s style settings, these do not require any adjustments
Finally, you can turn on, in the same place, separate trackers each based on negative and positive volatility exclusively. When both are almost equal, that indicates stability & persistence in markets. May sound like it’s nothing important, but I've never seen anything like it before. Also, if you'd allow your our inner mental gym hero gloriously arise, you can argue that these 2 separate trackers represent 2 fair prices (one for sellers, one for buyers). All better then 1 imaginary fair price for both (forget about it)
The lower study:
The lower study: you can analyze streams of upward of downward volatilities separately. This is incredibly powerful
You can also turn these off and turn on neg & pos intensities, and use them as trend detector, when each or both cross 1.5 (naturally neutral) threshold.
^^ Upper study with expected typical and maximum volatility bands turned On
...
The method explained
What you got in the end is non-linear, adaptive, lighting fast when needed and slow when required price tracking. All built upon real math entities/objects, not a brilliantly engineered approximation of them. No parameters to optimize, data tells it all.
... It all starts from a process model, in our cause this is...
MFPM (Mechanical Feedback Price Model)
Doesn’t make gaussian assumptions like most quant mainstream tech, accepts that innovations are Laplace “at best”, relies in L inf and L0 spaces.
I created this model neither trynna fit non-fitting ARMA / variants, nor trynna be silly assuming that price state evolution and markets are random.
Theory behind it: if no new volume comes, then price evolution would be simply guided by the feedback based on previous trading activity, pushing prices towards the midrange between 2 latest datapoints, being the main force behind so called “pullbacks” and reason why most pullbacks end just a bit past 50% of a move.
This is the Real mechanical feedback based mean reversion, that is always there in the markets no matter what, think of it as a background process that is always there, and fresh new volume deviates prices away from it. Btw, this can also be expressed as AR2 with both phis = 0.5 .
Then I separate positive and negative innovations from this model and process them separately, reflecting the asymmetry between buy and sell forces, smth that most forget. Both of these follow exponential distribution . Each stream has its own memory so here we use recursive operators . We track maximum innovations (differences between real and expected datapoints) with exponentially decaying damping factor, and keep tracking typical innovation, with the same factor.
Then we calculate what’s called in lovely audio engineering as “ crest factor ”, the difference is we don’t do RMS and stuff. But hey again we work with laplace innovations, so we keep things in L0 and L inf spirit. Then we go a couple of steps further, making this crest factor truly relative (resolution agnostic), and then, most importantly, we apply a natural saturation on it based on p-order Möbius transform, but not with arbitrary p and L, but guided by informational limits of the data. These final "intensity" parameters are what we need next to make our object tracking adaptive.
Extended Beta(2, 2) Window
This is imo the main part of this. Looking at tapering windows in DSP and how wavelets are made from derivatives of PDF functions of probability distributions, I figured that why use just one derivative? That made me come up with Universal Moving Average , that combines PDF and CDF of Beta(2, 2) distribution . And that is fine for P (position) tracking model.
Here we need PVA (position & velocity & acceleration). We can realize that everything starts from PDF, and by adding derivatives and anti-derivatives of it as factors of final window weights, we can create smth truly unique, a weightset that is non-arbitrary and naturally provides response alike quadratic regression does, But, naturally smoothed.
Why do I consider this a discovery, a primordial math object? Because x^2 itself and Beta(2, 2) based on it are the only primitives, esp out of all these dozens of DSP tapering windows, that provide you a finite amount of derivatives. You can keep differentiating Hann window until the kingdom f come, while Welch window aka Beta(2, 2) has a natural stopping point, because the 3rd derivative is 0, so we can’t use it. Symmetrically, we do 2 steps up from PDF, getting 1st and second anti-derivatives. What’s lovely, symmetrically, 3rd antiderivative even tho exist, it stops making any sense. 2nd one still makes sense, it’s smth like “potential” of probability distribution, not really discussed in mainstream open access sources.
Finally, the last part is to introduce adaptivity using these intensity exponents we’ve calculated with MFPM. We do 2 separate trackers, one using the negative intensity exponent, another one uses positive intensity exponent.
And at the end, even tho using both together is cool, the final state estimate is calculated simply as the state which intensity has higher.
^^ impulse response of our final kernel with fixed (non adaptive) intensity exponents: 1 (blue) and 2 (red). You see it's all about phase
…
And that’s all folks.
…
Actually no …
Last, not least, is the ability to add additional innovation weight to the kernel:
^^ Weighting by innovations “On”. Provides incredible tracking precision, paid with smoothness. I think this screenshot, showing what happened after the gap, and how the tracker managed to react, explains it all.
...
Live Long and Prosper, all good TradingView
∞
EMA Crossover - Premium Context ReversalEMA Crossover – Premium Context Reversal
(Generated by trade-pilot.app Builder)
🔍 What This Indicator Does
EMA Crossover – Premium Context Reversal is a high-precision, event-based trading indicator built to detect rare and high-quality market reversals instead of flooding the chart with signals. It focuses on smart liquidity behavior, market structure, and trend context to highlight only meaningful opportunities.
🧠 Core Logic
The indicator first identifies validated swing highs and swing lows, then waits for a liquidity sweep — a brief price break above or below structure that immediately fails. A trade signal is generated only after a strong reversal candle confirms rejection back into structure, ensuring the move is real and not random noise.
📊 Context & Filtering
To improve accuracy and avoid weak counter-trend setups, every signal is filtered using:
EMA trend context (price position relative to the main trend EMA)
Optional VWAP filter for intraday market bias
Minimum candle body strength to confirm momentum
Signals that do not align with the broader context are automatically ignored.
⏱ Signal Control & Precision
The indicator includes a strict cooldown mechanism, allowing only one premium signal per structure, preventing repeated entries on the same move. This keeps the chart clean, readable, and focused on true market events rather than continuous conditions.
🎯 Visual Design
Sma
Large, clear “PREMIUM L an“P label
Clean EM
The result is a p opt
prnt.sc
SMC Structure [PickMyTrade]Concept & Methodology
This strategy is an implementation of Smart Money Concepts (SMC) logic combined with structured risk management rules. The purpose of the script is to demonstrate how market structure analysis and position sizing logic can be applied in a systematic, rule-based approach.
The design emphasizes consistency, trade management, and controlled risk rather than signal frequency.
How It Works
1. Market Structure Detection
The strategy evaluates market structure using swing points:
Swings are identified using pivot highs and lows with a configurable lookback period.
Break of Structure (BOS) is detected when price breaks a prior swing level, indicating a potential structural shift or continuation.
Order Blocks are identified after a valid BOS and represent the candle range associated with the structure break.
2. Entry Logic
After a valid structure break, the strategy waits for price to retrace into the identified Order Block zone. Optional filters can be enabled to refine entries:
Trend Filter: Uses the 50 EMA to align trades with directional bias.
Volatility Filter: Uses ATR to avoid low-volatility conditions.
Candle Confirmation: Requires a directional candle within the Order Block area.
3. Risk Management Logic
Risk is handled through predefined and configurable rules:
Dynamic Position Sizing: Position size is calculated based on a fixed percentage of account equity and the distance to the stop loss.
Multiple Take-Profit Levels (optional):
TP1 at a fixed risk-to-reward ratio.
TP2 with an optional trailing stop mechanism.
Stop loss placement is derived from structure-based levels.
Settings Guide
Risk and Position Sizing: Controls the percentage of equity risked per trade.
Filters: Enable or disable trend, volatility, and confirmation logic.
Display Options: Toggle structure points, order blocks, and trade labels.
Strategy Explanation (Code Overview)
The script defines realistic strategy properties such as commission, margin, and pyramiding limits to improve backtesting accuracy.
Market structure is identified using pivot-based swing detection, with BOS logic tracking the most recent swing levels. Order Blocks are derived from candles preceding valid structure breaks.
Trade execution occurs only when no active position is present. Entry conditions require price interaction with a valid Order Block and confirmation from enabled filters. Position size is calculated dynamically based on risk settings.
Exit management supports partial exits at predefined risk-to-reward levels, with optional trailing stop logic for remaining position size.
A statistics panel is displayed on the chart to summarize current settings and account information. This panel is informational only and does not affect strategy logic or results.
Disclaimer
This strategy is provided for educational and analytical purposes only. It does not constitute financial or investment advice. Past performance does not guarantee future results. Users should independently evaluate and backtest the strategy on their own instruments and timeframes before using it for any trading decisions.
RVE v3 Retracement Validity EngineCore Philosophy
RVE v2 only gives signals when ALL of the following align:
Higher-Timeframe Trend Alignment
Trades only in the direction of the HTF trend (default: 4H EMA filter)
No counter-trend noise
Real Retracement Location (Not Extension)
Price must pull back into the EMA20–EMA50 zone
Filters fake “grazes” — requires meaningful interaction with the zone
Controlled Pullback (No Panic Candles)
Uses ATR + candle body + wick analysis
Filters out:
Panic momentum candles
Chaotic liquidity sweeps
Over-extended retracements
Close-Based Confirmation (Execution Discipline)
No signals mid-candle
Entry only after reclaim of EMA levels
⚙️ Entry Modes (Important)
🟢 AGGRESSIVE (Recommended for Retracement Traders)
Triggers on EMA9 reclaim after zone touch
Earlier entries
Best for traders who struggle with late entries
🔵 SAFE
Requires reclaim of EMA9 + EMA20
Fewer signals
Higher confirmation, later entry
🧠 Smart Filters Included
✅ HTF trend filter (lookahead-safe)
✅ ATR-adaptive pullback control
✅ Optional 2-bar zone confirmation
✅ Anti-chop cooldown (prevents signal spam)
✅ Optional key-level reclaim gate
✅ ATR-buffered SL guide (zone + structure)
(xauusd Pro scalper)2.0telegram-https://t.me/+9naxXqkQICs4MTI9
//@version=5
indicator("xauusd Pro scalper)", overlay=true, max_lines_count=500, max_labels_count=500, max_boxes_count=500)
// -----------------------------------------------------------------------------
// 1. INPUTS
// -----------------------------------------------------------------------------
grp_engine = "Signal Engine"
mode = input.string("Swing", "Mode", options= , group=grp_engine)
sens = input.float(3.0, "Sensitivity", group=grp_engine)
period = input.int(10, "Period", group=grp_engine)
grp_trade = "Trade Management"
sl_mult = input.float(1.5, "Stop Loss (ATR Multiplier)", step=0.1, group=grp_trade)
rr_ratio = input.float(2.0, "Risk/Reward Ratio (1:X)", group=grp_trade)
grp_trc = "Filters"
use_trc = input.bool(true, "Use Trend Filter (TRC)?", group=grp_trc)
adx_thres = input.int(20, "ADX Threshold", group=grp_trc)
grp_vis = "Visuals"
show_table = input.bool(true, "Show Dashboard", group=grp_vis)
// -----------------------------------------------------------------------------
// 2. CALCULATIONS
// -----------------------------------------------------------------------------
global_atr = ta.atr(14)
mult = mode == "Swing" ? sens : sens * 0.5
len = mode == "Swing" ? period : period / 2
= ta.supertrend(mult, len)
// TRC Filter
= ta.dmi(14, 14)
is_trending = adx > adx_thres
filter_ok = use_trc ? is_trending : true
// Raw Signals
buy_raw = ta.crossover(close, supertrend) and filter_ok
sell_raw = ta.crossunder(close, supertrend) and filter_ok
// -----------------------------------------------------------------------------
// 3. TRADE LOGIC (ONE TRADE AT A TIME)
// -----------------------------------------------------------------------------
// State Variables
var bool in_trade = false
var string trade_dir = na
var float trade_entry = 0.0
var float trade_sl = 0.0
var float trade_tp = 0.0
// Visual Reference Variables
var box box_tp = na
var box box_sl = na
var line line_entry = na
// Signal Triggers for Plotting
bool signal_buy_trigger = false
bool signal_sell_trigger = false
// --- CHECK FOR EXIT FIRST (TP/SL HIT) ---
if in_trade
if trade_dir == "long"
// Check Buy Exits
if high >= trade_tp
label.new(bar_index, high, "TP Hit 🎯", color=color.green, textcolor=color.white, style=label.style_label_down, size=size.small)
in_trade := false // Reset
box.set_right(box_tp, bar_index)
box.set_right(box_sl, bar_index)
line.set_x2(line_entry, bar_index)
else if low <= trade_sl
label.new(bar_index, low, "SL Hit ❌", color=color.red, textcolor=color.white, style=label.style_label_up, size=size.small)
in_trade := false // Reset
box.set_right(box_tp, bar_index)
box.set_right(box_sl, bar_index)
line.set_x2(line_entry, bar_index)
else
// Still Running: Extend Boxes
box.set_right(box_tp, bar_index + 1)
box.set_right(box_sl, bar_index + 1)
line.set_x2(line_entry, bar_index + 1)
else if trade_dir == "short"
// Check Sell Exits
if low <= trade_tp
label.new(bar_index, low, "TP Hit 🎯", color=color.green, textcolor=color.white, style=label.style_label_up, size=size.small)
in_trade := false // Reset
box.set_right(box_tp, bar_index)
box.set_right(box_sl, bar_index)
line.set_x2(line_entry, bar_index)
else if high >= trade_sl
label.new(bar_index, high, "SL Hit ❌", color=color.red, textcolor=color.white, style=label.style_label_down, size=size.small)
in_trade := false // Reset
box.set_right(box_tp, bar_index)
box.set_right(box_sl, bar_index)
line.set_x2(line_entry, bar_index)
else
// Still Running: Extend Boxes
box.set_right(box_tp, bar_index + 1)
box.set_right(box_sl, bar_index + 1)
line.set_x2(line_entry, bar_index + 1)
// --- CHECK FOR NEW ENTRY (Only if NOT in trade) ---
// Valid Signals
valid_buy = buy_raw and not in_trade
valid_sell = sell_raw and not in_trade
if valid_buy
in_trade := true
trade_dir := "long"
trade_entry := close
float sl_dist = global_atr * sl_mult
trade_sl := close - sl_dist
trade_tp := close + (sl_dist * rr_ratio)
// Set trigger for plotting outside loop
signal_buy_trigger := true
// Draw Visuals
box_tp := box.new(bar_index, trade_tp, bar_index + 1, trade_entry, bgcolor=color.new(color.green, 85), border_color=color.new(color.green, 50))
box_sl := box.new(bar_index, trade_entry, bar_index + 1, trade_sl, bgcolor=color.new(color.red, 85), border_color=color.new(color.red, 50))
line_entry := line.new(bar_index, trade_entry, bar_index + 1, trade_entry, color=color.blue, width=2)
if valid_sell
in_trade := true
trade_dir := "short"
trade_entry := close
float sl_dist = global_atr * sl_mult
trade_sl := close + sl_dist
trade_tp := close - (sl_dist * rr_ratio)
// Set trigger for plotting outside loop
signal_sell_trigger := true
// Draw Visuals
box_tp := box.new(bar_index, trade_entry, bar_index + 1, trade_tp, bgcolor=color.new(color.green, 85), border_color=color.new(color.green, 50))
box_sl := box.new(bar_index, trade_sl, bar_index + 1, trade_entry, bgcolor=color.new(color.red, 85), border_color=color.new(color.red, 50))
line_entry := line.new(bar_index, trade_entry, bar_index + 1, trade_entry, color=color.blue, width=2)
// -----------------------------------------------------------------------------
// 4. PLOTTING (MUST BE OUTSIDE IF BLOCKS)
// -----------------------------------------------------------------------------
plotshape(signal_buy_trigger, title="Buy", text="BUY", style=shape.labelup, location=location.belowbar, color=color.green, textcolor=color.white, size=size.small)
plotshape(signal_sell_trigger, title="Sell", text="SELL", style=shape.labeldown, location=location.abovebar, color=color.red, textcolor=color.white, size=size.small)
// -----------------------------------------------------------------------------
// 5. DASHBOARD
// -----------------------------------------------------------------------------
if show_table
var tbl = table.new(position.top_right, 2, 3, bgcolor=color.new(color.black, 50))
table.cell(tbl, 0, 0, "Trade Status", text_color=color.white, bgcolor=color.gray)
// Show if we are in a trade or waiting
status_text = in_trade ? (trade_dir == "long" ? "RUNNING (BUY)" : "RUNNING (SELL)") : "SEARCHING..."
status_bg = in_trade ? (trade_dir == "long" ? color.green : color.red) : color.gray
table.cell(tbl, 0, 1, status_text, bgcolor=status_bg, text_color=color.white, width=12)
table.cell(tbl, 0, 2, "Market Trend", text_color=color.white)
table.cell(tbl, 1, 2, is_trending ? "STRONG" : "SIDEWAYS", bgcolor=is_trending ? color.blue : color.gray, text_color=color.white)
Multi-Pair EMA 200 Backgroundsimple indicator that shows when price is above/below EMA200 on 2 pairs. you can change EMA settings
Thuonggsclap- Preferred indicator: 5m wave, mainly using Scalps
- MA9: timing for entry
- EMA34: short-term trend (scalp)
- EMA89: medium-term trend
- EMA200: major trend / noise filter
👉 Suggestions:
- Only BUY when price > EMA34 & EMA89
- Avoid SELL when price is still above EMA200
Detector Original MTF Globaldetector muy chevere
correa come back
en estos momentos no tengo ganas de escribir
5EMA + Volume Spikes + Ultra Fast Scalp V3Description
This indicator combines 5 EMAs, volume spike detection, and an ultra-fast scalping system designed for short-term trading.
The scalping logic uses a fixed + ATR hybrid price deviation, filtered by RSI and CCI to capture extreme overbought/oversold conditions while avoiding overheated zones.
It also includes previous day levels (high, low, body high/low) extended into the current session for clear intraday reference.
Optimized for fast scalping and momentum fades on lower timeframes.
ZION Trend Strike [wjdtks255]🚀 ZION Trend Strike
This is an advanced trend-following signal indicator designed to work in perfect harmony with the ZION Momentum Flow. It filters market noise and provides precise entry/exit points based on momentum synergy.
Key Features:
Trend Strike Signals: Provides clear BUY/SELL labels when price action aligns with momentum energy.
Dynamic Trend Guide: A color-switching EMA line that helps you visualize the current trend direction at a glance.
Synergy Optimization: Best used as a set with ZION Momentum Flow to avoid false breakouts.
Multilingual Input: Easy-to-use settings menu with both English and Korean labels.
Gemini Trend & Momentum Synergy (With Sound Alerts)** هذا المؤشر لا يعمل ك محلل تداول بديل لكنه يستخدم لمعرفة الاتجاه العام و مناطق الدخول والخروج لطفا ..
خطوة مهمة جداً: كيف تفعل الصوت؟ 🔊
الكود وحده لا يصدر صوتاً، هو فقط يرسل "إشارة" للمنصة. لكي تسمع الصوت، عليك اتباع الخطوات التالية في TradingView بعد حفظ الكود:
1. اضغط على أيقونة "الساعة" (Alerts) في القائمة الجانبية اليمنى، أو اضغط Alt + A.
2. اضغط على زر Create Alert.
3. في خانة Condition، اختر اسم المؤشر: Gemini Trend & Momentum....
سيكون لديك خياران الآن:
الخيار السهل: اختر "Any alert() function call". هذا سيفعل التنبيه تلقائياً لأي إشارة شراء أو بيع يطلقها الكود.
الخيار المخصص: اختر Gemini Buy Alert أو Gemini Sell Alert إذا كنت تريد تنبيهاً لاتجاه واحد فقط.
الأهم: اذهب لتبويب Notifications وتأكد من وضع علامة صح (✅) على Play Sound.
اضغط Create.
Here is the translation of the text, organized exactly as requested:
**Please Note: This indicator does not serve as a replacement for a trading analyst; rather, it is used to identify the general trend as well as potential entry and exit zones.**
**Very Important Step: How to Enable Sound Alerts? 🔊**
The code alone does not generate sound; it merely sends a "signal" to the platform. To hear audio alerts, you must follow these steps in TradingView after saving the code:
1. Click the **"Clock" icon (Alerts)** in the right-hand sidebar, or press `Alt + A`.
2. Click the **Create Alert** button.
3. In the **Condition** field, select the indicator name: `Gemini Trend & Momentum...`.
4. You will now have two options:
* **The Easy Option:** Select **"Any alert() function call"**. This automatically activates the alert for any Buy or Sell signal triggered by the code.
* **The Custom Option:** Select `Gemini Buy Alert` or `Gemini Sell Alert` if you only want alerts for a specific direction.
5. **Most Importantly:** Go to the **Notifications** tab and ensure the **Play Sound** box is checked (✅).
6. Click **Create**.
---
**Would you like me to translate the installation instructions or the strategy logic as well?**
Resonance Alpha: Energy AccumulatorResonance Alpha: Energy Accumulator
1. System Overview (Trilogy Framework)
The Resonance Alpha: Energy Accumulator is the final component of the "Resonance Alpha" trilogy. It provides the macroscopic "Fear Volume" analysis to confirm large-scale trend reversals.
Core Panic Matrix: Bottom zone identification via resonance.
Momentum Decay: Timing confirmation via DVOL Delta and RSI.
Energy Accumulator: Long-term exhaustion tracking via DVOL CVD (Cumulative Volume Delta).
2. Design Philosophy
While Delta measures speed, Energy Accumulator (CVD) measures total mass. By accumulating every change in the DVOL index, this module creates an "Energy Profile" of institutional hedging. It answers the ultimate cold fact: "Have the institutions bought enough insurance to cover the crash?" When the price continues to fall but the Cumulative Energy (CVD) stops rising, it reveals a massive Bullish Divergence—the institutional sell-side pressure is exhausted.
3. Visual Logic & Usage
Energy Area (Red/Green):
Area above SMA (Red): Panic energy is aggressively piling up. The market is in a heavy hedging phase.
Area below SMA (Green): Panic energy is dissipating. Institutions are letting go of their hedges, typically preceding a recovery.
White Trend Line (CVD SMA): Represents the "Gravity" of market fear. When the CVD curve crosses below this line, the macro-panic has officially peaked.
Key Signal: Look for "Energy Crossover". When the Energy Accumulator turns green while the Core Panic Matrix shows orange bars, the probability of a major reversal is at its highest.
4. Technical Requirements
Data Requirement: Powered by DERIBIT:DVOL.
Strategic Use: This is a high-timeframe confirmation tool. It excels at identifying the end of deep corrections and bear market capitulations.
Resonance Alpha: 能量累积器 (Energy Accumulator)
1. 系统概览(三位一体架构)
Resonance Alpha: Energy Accumulator 是“Resonance Alpha”系列的最终组件。它提供了宏观的“恐惧总量”分析,用于确认大级别的趋势反转。
核心恐慌矩阵: 通过共振识别底部区间。
动能衰竭仪: 通过 DVOL Delta 和 RSI 进行择时确认。
能量累积器: 通过 DVOL CVD(累积成交量差值)追踪长期的恐慌枯竭。
2. 设计思路
如果说 Delta(动能)测量的是速度,那么 能量累积器 (CVD) 测量的则是质量。 通过累加 DVOL 指数的每一次变动,本模块创建了机构对冲行为的“能量画像”。它回答了最终的冷酷事实:“机构买入的保险总量是否已经足以覆盖这次崩溃?” 当价格继续下跌,但累积能量(CVD)停止增长时,它揭示了一个巨大的看涨背离——机构的避险买盘已经枯竭。
3. 视觉逻辑与使用指南
能量面积图 (红/绿):
均线之上 (红色):恐慌能量正在激进堆积。市场处于沉重的对冲阶段。
均线之下 (绿色):恐慌能量正在消散。机构正在撤回对冲头寸,这通常发生在市场复苏之前。
白色趋势线 (CVD SMA):代表市场恐惧的“引力中心”。当 CVD 曲线跌破此线时,宏观恐慌正式见顶。
核心信号:寻找 “能量交叉”。当能量累积器转绿,而核心恐慌矩阵仍显示橙色柱子时,重大反转的概率达到最高。
4. 技术要求与实战价值
数据要求:由 DERIBIT:DVOL 数据驱动。
战略用途:这是一个大周期确认工具。它擅长识别深度回调的终点以及熊市末期的割肉底部。
Resonance Alpha 系列已全部完成。 这套系统现在已经具备了从“区间识别”到“精准择时”再到“能量确认”的完整逻辑。
Ripster EMA Clouds with MTFCredits & Origins:
This script is a modification of the widely popular EMA Clouds system originally created by @Ripster47. Full credit goes to him for the strategy and original concept. This version simply adds a quality-of-life feature for traders who use multi-timeframe analysis.
What is this Indicator?
The Ripster EMA Clouds system uses overlapping Exponential Moving Averages (EMAs) to visualize trends, momentum, and dynamic support/resistance zones. The "clouds" differ in color to indicate bullish or bearish trends, acting as a visual guide for keeping you on the right side of the trade.
What is New in This Version? (MTF Capability)
The standard version of this indicator calculates EMAs based on your current chart timeframe. If you switch from a 10-minute chart to a 1-minute chart, the clouds change completely.
I have added a "Fixed Timeframe" variable/input that allows you to "lock" the clouds to a specific timeframe, regardless of what chart you are viewing.
Why is this useful? This allows for true Multi-Timeframe (MTF) scalping.
Example: You can set the clouds to look at the 10-minute trend (identifying major support levels) but execute your entries on a 1-minute chart.
The clouds will remain locked to the 10-minute data, giving you the "big picture" view while you trade the micro-movements.
How to Use
Open the indicator settings.
Go to the Inputs tab.
Find the "Fixed Timeframe" option at the top.
Leave Empty (Default): The indicator behaves exactly like the original (adjusts to your chart).
Select a Timeframe (e.g., 10 Minutes): The clouds will lock to the 10-minute EMAs, even if you switch your chart to 1-minute or 5-seconds.
Note on Visuals When viewing Higher Timeframe (HTF) clouds on a Lower Timeframe (LTF) chart, the clouds will appear to have a "stepped" or "ladder-like" appearance. This is normal and accurate. It represents the single EMA value holding constant for that entire higher-timeframe period. This helps you see the true support level rather than a smoothed, repainted line.
Auto S/R Zones + EMA + VWAP StrategyStrategy Overview
This strategy combines Auto Support & Resistance Zones, Exponential Moving Average (EMA), and VWAP to identify high-probability trade setups using market structure, trend direction, and institutional price levels.
The goal is to trade only when price aligns with key zones, trend bias, and volume-weighted price, reducing false signals and emotional decision-making.
Indicators Used
Auto Support & Resistance Zones – Identifies key institutional price zones automatically
EMA – Determines trend direction and momentum
VWAP – Confirms institutional bias and fair value
Market Bias Rules
Bullish Bias
Price is above the EMA
Price is above VWAP
Bearish Bias
Price is below the EMA
Price is below VWAP
Trades are taken only in the direction of the confirmed bias.
Scalping EMA + Fixed Range Volume Profile (Stable)//@version=5
indicator("Scalping EMA + Fixed Range Volume Profile (Stable)", overlay=true)
// =========================
// EMA SETTINGS
// =========================
ema9 = ta.ema(close, 9)
ema15 = ta.ema(close, 15)
ema21 = ta.ema(close, 21)
plot(ema9, "EMA 9", color=color.yellow, linewidth=2)
plot(ema15, "EMA 15", color=color.orange, linewidth=2)
plot(ema21, "EMA 21", color=color.red, linewidth=2)
// =========================
// FIXED RANGE SETTINGS
// =========================
rangeBars = input.int(100, "Fixed Range Bars", minval=20, maxval=500)
rangeHigh = ta.highest(high, rangeBars)
rangeLow = ta.lowest(low, rangeBars)
// =========================
// SAFETY CHECK
// =========================
bins = 24
rangeSize = rangeHigh - rangeLow
validRange = rangeSize > 0
step = validRange ? rangeSize / bins : na
// =========================
// VOLUME PROFILE
// =========================
var float volBins = array.new_float(bins, 0.0)
// Reset bins
if validRange
for i = 0 to bins - 1
array.set(volBins, i, 0)
// Fill bins
if validRange
for i = 0 to rangeBars - 1
price = hlc3
idx = int((price - rangeLow) / step)
if idx < 0
idx := 0
if idx > bins - 1
idx := bins - 1
array.set(volBins, idx, array.get(volBins, idx) + volume )
// =========================
// POC
// =========================
pocIndex = validRange ? array.indexof(volBins, array.max(volBins)) : na
pocPrice = validRange ? rangeLow + (pocIndex + 0.5) * step : na
// =========================
// VALUE AREA (70%)
// =========================
float vah = na
float val = na
if validRange
totalVol = array.sum(volBins)
targetVol = totalVol * 0.7
float cumVol = array.get(volBins, pocIndex)
int lowVA = pocIndex
int highVA = pocIndex
while cumVol < targetVol and (lowVA > 0 or highVA < bins - 1)
leftVol = lowVA > 0 ? array.get(volBins, lowVA - 1) : 0
rightVol = highVA < bins - 1 ? array.get(volBins, highVA + 1) : 0
if rightVol > leftVol and highVA < bins - 1
highVA += 1
cumVol += rightVol
else if lowVA > 0
lowVA -= 1
cumVol += leftVol
vah := rangeLow + (highVA + 1) * step
val := rangeLow + lowVA * step
// =========================
// PLOTS
// =========================
plot(pocPrice, "POC", color=color.blue, linewidth=2)
plot(vah, "VAH", color=color.green, linewidth=1)
plot(val, "VAL", color=color.green, linewidth=1)
8 EMA. 21 EMA. VWAP This trio is popular for momentum, scalping, and trend-following on 1m–15m charts (stocks, futures, indices).
1. Trend & Bias Filter
• Overall bullish when: Price > VWAP and 8 EMA > 21 EMA
• Overall bearish when: Price < VWAP and 8 EMA < 21 EMA
VWAP adds volume context — many ignore EMA signals against the VWAP side.
2. Crossover Signals (Primary Entries)
• Bullish crossover: 8 EMA crosses above 21 EMA → potential long (especially if price is already above VWAP)
• Bearish crossover: 8 EMA crosses below 21 EMA → potential short (especially if price is below VWAP)
VWAP confirmation reduces whipsaws: only take longs above VWAP, shorts below it.
3. Pullback / Retest Entries (Higher Probability)
• In an uptrend (price > VWAP, 8 > 21): Wait for dips to the 8 EMA (or sometimes 21 EMA) → buy the bounce.
• In a downtrend: Wait for rallies to the 8 EMA → short the rejection.
VWAP often acts as a magnet or pivot — price gravitating toward it can signal mean-reversion trades.
XAUUSD Bullish Continuation Strategy v2 EMA Pullback Breakout This strategy is designed to trade XAUUSD (Gold) using a bullish continuation model based on trend structure and pullback breakouts.
The system uses a 200 EMA trend filter to identify the dominant market direction and waits for price to retrace before entering on breakout confirmation — allowing entries in high-probability continuation zones.
The strategy adapts dynamically to price action and works across all XAUUSD broker feeds without relying on fixed price levels.
🔍 Strategy Logic
✔ Trade only in bullish trend (price above 200 EMA)
✔ Wait for pullback toward EMA
✔ Enter on breakout of recent highs
✔ Stop loss placed below recent swing low
✔ Take profit based on Risk/Reward ratio
⚙️ Key Features
• Dynamic price action entries
• Auto stop-loss & take-profit
• Works on any XAUUSD broker
• Produces full Strategy Tester reports
• Optimized for 1H timeframe
📌 Recommended Settings
Symbol: XAUUSD
Timeframe: 1H
Trend Filter: EMA 200
Risk/Reward: 1:2 or higher
📈 Market Bias
Trend-following bullish continuation system designed for strong gold markets.
1M Weighted Deepsage ScreenerThis indicator applies the same core decision logic used by Deepsage AI to determine real-time market consensus on lower timeframes.
It combines multiple market dimensions into a single weighted score and classifies conditions as Strong Buy, Buy, Neutral, Sell, or Strong Sell.
All calculations are performed on the current chart timeframe (typically 1-minute), making the indicator highly responsive and well-suited for scalping and short-term market analysis.
Its purpose is not precise entries, but to reveal what the majority of signals are aligned with at any given moment.






















