Real Strength Scalper Overview
A momentum-continuation scalping strategy designed for the 5-minute timeframe. It uses a single custom oscillator — the Real Strength histogram — combined with a dual SMA trend filter to capture confirmed directional moves, while a static percentage stop loss and an adaptive, regime-dependent exit logic manage open trades.
Concept and Originality
Most momentum oscillators answer either *which direction* or *how strong*, rarely both in a way that requires real conviction. The Real Strength histogram fuses three independent components into one signed value:
- Price momentum** — Rate of Change of price over N bars (provides the sign)
- Volume confirmation** — current volume divided by its moving average (amplifier)
- Trend strength** — ADX scaled around a 20 reference (amplifier)
These three are multiplied together (with a small floor to prevent the amplifiers from zeroing out the result on quiet bars) and then smoothed with an EMA. The output is an oscillator where the sign tells direction and the magnitude reflects how much *real* force is behind the move. A high histogram reading requires all three components to align — price moving, volume present, ADX confirming.
This composite differs from a standalone ROC, MACD, or volume-weighted oscillator because none of those three on their own require simultaneous confirmation across price, participation, and trend strength.
Entry Logic
A long entry requires every condition below to be true on the same bar:
- Histogram above the positive threshold (default 1.0)
- Histogram rising vs. the previous bar (no entries on a fading peak)
- ADX above the minimum level (default 14)
- DI+ greater than DI− (directional confirmation)
- Volume ratio above minimum (default 1.2× average)
- *Optional:* Fast SMA above Slow SMA (default 30/60, toggleable)
Short entries mirror these conditions on the bearish side.
Exit Logic — Regime-Dependent
The exit behavior changes based on whether the SMA trend filter still confirms the position. This is the central design choice of the strategy:
While SMA still confirms the position:
The trade exits only when the histogram crosses through zero into the opposite zone past a defined flip threshold (default ±0.8). This allows winners to ride through pullbacks and consolidations as long as the larger structure (SMA cross) still favors the trade.
After SMA reverses against the position:
The trade exits on a classic peak-drop rule — if the histogram falls 25% or more from its peak value reached during the trade, the position is closed. This protects open profits when structure breaks down.
A hard static stop loss (default 1%) is always active and overrides both exit modes if reached first. A minimum hold of 3 bars prevents premature exits caused by noise immediately after entry.
Re-Entry Lock
After a stop loss is hit, the strategy refuses to re-enter in the same direction until the histogram returns to (or crosses) zero. This prevents immediately re-entering the same momentum that just stopped the previous trade out — a common cause of consecutive losses on choppy bars.
Settings Guide
- Strength threshold (1.0):** minimum histogram magnitude required for entry. Lower values produce more trades; higher values are more selective.
- Min ADX (14):** filters out low-trending environments.
- Volume Ratio (1.2):** requires above-average participation on the entry bar.
- SMA Fast / Slow (30 / 60):** trend regime filter; can be disabled to compare baseline performance.
- Stop Loss % (1.0):** static distance from entry. Adjust per instrument volatility.
- Peak drop % (25):** how much the histogram must fall from peak to trigger peak-exit.
- Flip exit threshold (0.8):** how far the histogram must travel into the opposite zone to trigger flip-exit.
- Min bars before peak/flip (3):** protects against same-bar noise exits.
Default Properties and Backtesting Realism
- Initial capital: 100,000
- Position size: 3% of equity per trade
- Commission: 0.04%
- Slippage: 3 ticks
- Process orders on close: true
- No pyramiding
These defaults reflect realistic crypto futures conditions. Users trading other instruments or venues should adjust commission and slippage to match their broker.
Intended Use
- Built and validated on the 5-minute timeframe
- Best suited for liquid markets with consistent volume profile
- One position at a time, both long and short
- Re-tune thresholds per instrument; defaults are starting points, not optimal values for every market
Notes
Past performance does not guarantee future results. Backtest outcomes depend strongly on the chosen instrument, time range, and parameter settings. This strategy is published as an educational tool to demonstrate a composite-momentum approach with regime-dependent exits — not as a turnkey trading system. Always test with your own data and risk parameters before any live use. Strategy

Indicator

Indicator

Indicator

Indicator

Transfer EntropyTransfer Entropy
A directional information flow detector for two assets, based on Thomas Schreiber's 2000 formulation. Transfer Entropy measures how much knowing the recent past of one series reduces uncertainty about the next move of another — beyond what the second series' own past already explains. Unlike correlation, it's asymmetric: TE(Y → X) and TE(X → Y) are different quantities, so it can speak to lead-lag in a way correlation can't.
How it works
Log returns from both series are symbolized into binary up/down moves. Over a rolling window of N bars, the script estimates the joint distribution of past pairs and future moves, then computes the conditional mutual information that defines TE in bits.
To separate genuine information flow from finite-sample noise, the same calculation is repeated with the reference series circularly shifted by various offsets within the window — surrogates that preserve each series' marginal distribution but break the temporal coupling between them. The mean of those surrogate estimates is the noise floor, which gets subtracted from the raw value to produce Effective Transfer Entropy (Marschinski & Kantz, 2002).
Both directions — Y→X and X→Y — are computed every bar. The main plot is net flow: inflow minus outflow.
How to read it
The colored area is net information flow.
Above zero in cyan: the reference symbol's recent moves carry useful information about the chart symbol's next move.
Below zero in amber: the chart symbol is leading the reference.
The thinner lines on either side are the individual directional components — inflow plotted positive, outflow plotted as its negative for visual symmetry around zero.
The dotted band is the average noise floor. Flow inside the band is statistically indistinguishable from chance; flow outside it isn't. A faint background tint marks bars where net flow has cleared the band.
Inputs
Reference symbol — the second asset (Y). Information flow is measured between this and the chart symbol (X). Default AMEX:SPY.
Window length — number of triplets feeding the joint-distribution estimate. The 8-cell histogram needs many times that to stabilize; 150–300 is reasonable for most markets. Default 200.
Source — input series for the chart symbol's log returns. Default close.
Significance surrogates — number of circular-shift surrogates averaged into the noise floor. More = more stable significance test at modestly higher compute. Default 3.
Visuals — toggles for net flow, directional flows, noise floor band, glow, and regime tint, plus customizable colors for inflow, outflow, and neutral states.
Built-in alerts
Lead flip — Reference leading — net flow crosses above zero
Lead flip — Chart leading — net flow crosses below zero
Significant inflow — net flow rises above the noise floor
Significant outflow — net flow drops below the negative noise floor
Notes
Pick reference symbols with overlapping trading hours. When one series is closed and the other isn't, the closed series' price forward-fills, which shows up as a run of zero returns and biases the estimate.
The binary symbolization (up vs not-up) is intentionally crude. It's robust, requires no parameter tuning, and matches Schreiber's original formulation — but it discards magnitude. For pairs where the size of a move matters more than its direction, this measure won't capture it.
This is a diagnostic tool, not a signal generator. It tells you which side of a pair is leading.
Five years of work on a trading system left me with dozens of indicators that ultimately didn't earn a place in the final build. They're not failures — they're tools that solved problems I no longer needed solved. So instead of shelving them, I'm publishing the majority of them open-source.
If you're a discretionary trader, take what's useful. If you're a systems builder, the source is yours to dissect, modify, and improve. The best return on five years of work is for it to keep working — for someone.
If you use this script — or part of it — in your own work, please credit the original with a link back to my profile.
Note: these indicators have been updated to Pine Script v6 — some manually, some with AI assistance. Indicator

Globex Open LineGlobex Open Line
Globex Open Line is a session-based indicator that plots the opening price of the Globex session and extends it forward on the chart. It provides a clean reference level for tracking how price reacts to the start of the futures trading session.
Overview
The indicator detects the exact moment when the Globex session begins (based on a configurable time and timezone) and draws a horizontal line at the session open price. This level is then extended forward for a user-defined duration, allowing traders to monitor its influence throughout the session.
Key Features
Automatic Globex Open Detection
Identifies the first bar of the Globex session using custom time and timezone settings.
Session Open Level Projection
Draws a horizontal line at the opening price and extends it forward for a configurable number of hours.
Custom Timezone Support
Ensures accurate session alignment across different markets and instruments.
Optional Price Label
Displays the exact Globex open value directly on the chart for quick reference.
Flexible Styling
Customize line color, width, and style (solid, dashed, dotted) to match your chart layout.
Use Cases
Key Level Identification
The Globex open often acts as a reference for intraday bias and price positioning.
Support & Resistance
Monitor reactions around the open level, which can behave as dynamic support or resistance.
Session Context
Helps distinguish whether price is trading above or below the Globex open, providing directional context.
Confluence Tool
Combine with market structure, VWAP, or volume-based indicators to strengthen trade ideas.
Inputs
Globex start time (hour and minute)
Timezone selection
Line extension duration (in hours)
Label visibility toggle
Line styling options
Notes
This indicator is session-dependent and works best on intraday timeframes. Accurate timezone configuration is essential for correct alignment with the intended market session.
Summary
Globex Open Line provides a precise and customizable way to track the Globex session opening price, helping traders incorporate a widely observed reference level into their analysis. Indicator

Indicator

Aura RSP Matrix [Pineify] Pineify - Aura RSP Matrix - Relative Strength Phase Momentum
Aura RSP Matrix compares the chart symbol with a benchmark and classifies it into four relative-strength phases: Leading, Weakening, Lagging, and Improving. It shows whether relative performance is gaining or fading.
Key Features
Benchmark-relative RS Ratio and RS Momentum centered around 100.
Phase coloring for the oscillator, bars, markers, and dashboard.
Leading and Lagging labels fire only on the first bar of a new phase.
How It Works
The script requests the benchmark close on the timeframe, divides chart close by benchmark close, then normalizes the result with a WMA . This creates RS Ratio, where values above 100 show relative strength above its recent baseline.
RS Momentum compares RS Ratio with its own WMA baseline. Both series are smoothed with an EMA before phase detection. Smoothing reduces one-bar noise but adds lag.
How the Components Work Together
RS Ratio shows whether the symbol is strong or weak versus the benchmark. RS Momentum shows whether that position is improving or fading. Leading means both are above 100; Weakening means strength remains above 100 while momentum slips; Lagging means both are below 100; Improving means momentum turns up before RS Ratio confirms.
Trading Ideas and Insights
Use Leading as confluence for bullish setups, not as an automatic entry.
Watch Weakening after strong runs; it may show fading follow-through.
Use Improving to find names recovering against a benchmark.
Treat Lagging as a caution filter when stronger alternatives exist.
Signals are phase-change markers, not performance guarantees. In choppy markets the matrix can rotate around 100, and live bars may change until close.
Unique Aspects
Two-stage WMA normalization separates relative strength from relative momentum.
One four-state matrix keeps labels, bars, oscillator color, and dashboard status aligned.
The benchmark input supports market, sector, crypto pair, or cross-asset comparison.
How to Use
Add the indicator and choose a benchmark for your trading universe.
Read the phase from bar color, oscillator color, and dashboard.
Combine phases with price structure, volume, and higher-timeframe context.
Customization
Calculation Window (default: 20) - WMA normalization period. Higher is smoother; lower is faster.
Benchmark Ticker (default: SPX) - Relative strength comparison symbol.
Smoothing Factor (default: 3) - EMA smoothing after RS calculations.
Phase Colors and Toggles - Adjust colors, labels, and bar coloring.
Conclusion
Aura RSP Matrix is a relative strength context tool for rotation, watchlist filtering, and benchmark-relative trade selection. Use it with price action and risk controls, not as a standalone forecasting system. Indicator

Market Memory Average (Zeiierman)█ Overview
Market Memory Average (Zeiierman) is a similarity-based market regime tool that scans historical price behavior to identify past conditions that closely resemble the current market state.
The script compares momentum, RSI, volatility, and relative volume to build a “market memory” model. It then extracts the internal momentum of the most similar historical states and blends them into a dynamic projection line.
The result is an adaptive average that reflects how the market has historically behaved when conditions looked like this, rather than relying on fixed formulas or traditional lagging averages.
█ How It Works
⚪ Market State Encoding
The script defines the current market using momentum (ROC), RSI, volatility (ATR%), and relative volume. These features describe how the market is behaving, not just price position.
⚪ Historical Similarity Scan
Each past bar is compared to the current state using a multi-feature distance model.
Closer matches receive higher weights through exponential decay:
similarity = 100 * exp(-distance * sensitivity)
⚪ Top Match Selection
The script ranks all historical states and keeps only the most similar ones. These represent past environments that closely resemble current conditions.
⚪ Memory Momentum
From each match, the script extracts its internal momentum (ROC).
A similarity-weighted average is then calculated:
avgMomentum = weightedMomentum / totalWeight
⚪ Market Memory Average
This averaged momentum is applied to the current price to form the line:
memoryLine = close * (1 + avgMomentum / 100)
The result reflects how similar market states have historically behaved.
⚪ Historical Match Zones
Optional boxes highlight where similar conditions occurred in the past, along with their similarity strength.
█ How to Use
⚪ Market Memory Average
Bullish color → market conditions align with historically positive momentum.
Bearish color → market conditions align with historically negative momentum.
Unlike traditional averages, this line is built from the similarity-weighted momentum of past market matches. The cloud and structure dynamically adapt based on how those historical conditions behaved.
This gives the line a context-driven, memory-based approach, rather than relying on fixed calculations. The result is a dynamic reference for directional bias and regime context, grounded in how the market has behaved under similar conditions before.
⚪ Study Historical Match Zones (Example 1)
The match boxes show where similar market conditions occurred in the past, based on momentum, volatility, RSI, and volume alignment.
Each box represents a moment where the market behaved as it does now.
These zones can help:
Visualize recurring structures: See how similar conditions previously formed, such as pullbacks, bottoms, or consolidation phases within a trend.
Identify behavioral clustering: When multiple matches appear around similar types of price action, it suggests the market frequently revisits this behavior.
Understand the current environment: By comparing where those matches occurred (trend, range, recovery), you can interpret what kind of phase the market is currently in.
Build a contextual bias: If most matches come from pullbacks and recoveries (as in the example), the current state aligns more with pause → stabilize → continue behavior, rather than reversal or breakdown conditions.
These zones provide context, not prediction, helping you understand how the market is behaving relative to its own history.
⚪ Study Historical Match Zones (Example 2)
In this example, the current market state most closely aligns with these two highlighted zones.
Both matches formed during bearish conditions:
The left match shows a rejection after a strong move up, with momentum quickly flipping into a sharp drop.
The right match shows a weak bounce inside a downtrend, where the price attempted to recover but continued lower.
Looking at the current state (circled area), the price is:
Breaking down aggressively
Moving similarly to those past rejection phases
This suggests the current behavior aligns more with rejection → continuation, rather than stabilization or reversal.
█ Settings
Historical Scan Depth: Controls how far back the script searches for similar market states.
Top Similar Matches: Determines how many historical matches influence the average.
Historical Pattern Length: Sets the width of the displayed historical match zones.
Similarity Sensitivity: Controls how strict the similarity comparison is.
RSI Length: Defines the oscillator component of the market state.
ATR Length: Controls volatility measurement used in both similarity and cloud calculations.
Volume MA Length: Defines how relative volume is calculated.
Average Smoothing: Controls the responsiveness of the Market Memory Average.
Slope Detection Length: Determines how trend direction is evaluated.
Cloud Spread: Controls how far the cloud extends from the line.
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
Indicator

Indicator

Xander Ultimate Pro [Final Verified + Time Est - No NA Error]🚀 Xander Ultimate Pro
by @wijayanto_ok
The most advanced version of the Xander scalping system — now with Supply/Demand zones, EMA 200 bias filter, intelligent time estimation, and a smart recommendation engine. 100% error-free, non-repainting, and production-ready.
================================================================================
📌 OVERVIEW
================================================================================
Xander Ultimate Pro is a professional-grade Price Action trading system engineered for traders who demand precision, confirmation, and clarity. It synthesizes seven powerful analytical layers into one cohesive, visual interface:
✅ Multi-Timeframe Trend Bias using EMA 13/21/200 confluence
✅ Auto Fibonacci Retracement from confirmed swing structures
✅ Dynamic Support & Resistance with adaptive tolerance
✅ Supply/Demand Zone detection with visual box overlays
✅ Stochastic RSI + Volume confirmation for high-probability entries
✅ Smart Risk/Reward calculator with real-time ratio display
✅ Intelligent Time Estimation: "Scalp" vs "Swing" mode detection
✅ Actionable Recommendation Engine: "STRONG BUY/SELL", "WAIT", or "NO TRADE"
🎯 Best For: Timeframes 1m – 4H | Liquid assets (Forex majors, BTC/ETH, Indices, Commodities)
================================================================================
✨ KEY FEATURES
================================================================================
🔹 1. Advanced Trend Filter (Triple EMA System)
---------------------------------
• EMA Fast (13) + EMA Slow (21) + EMA 200 (Major Bias)
• Dynamic coloring with transparency:
🟢 Green = Bullish Confluence | 🔴 Red = Bearish Confluence | ⚪ Gray = Neutral/Sideways
• Adaptive label: "LT UPTREND" for daily+ timeframes, standard for lower TFs
• Sideways detection prevents low-quality entries in choppy markets
🔹 2. Auto Fibonacci Retracement
---------------------------------
• Automatically draws Fib from last confirmed Swing High/Low
• Highlights Golden Zone (0.618) as high-probability reversal area
• Directional label: "POTENSI NAIK ↗" (Bullish) or "POTENSI TURUN ↘" (Bearish)
• Non-repainting: Uses confirmed pivots only (lookback-based)
🔹 3. Dynamic Support & Resistance
---------------------------------
• Auto-detects Swing High/Low using ta.pivothigh() / ta.pivotlow()
• Horizontal dashed lines extended to current bar
• Adaptive tolerance: 0.2% for lower TFs, 0.5% for daily+ (reduces false breaks)
• Real-time line extension as new bars form
🔹 4. Supply & Demand Zone Boxes
---------------------------------
• Visual box overlays around key pivot zones
• Red box = Supply (potential sell zone) | Green box = Demand (potential buy zone)
• Configurable zone width (candles) and price tolerance
• Auto-extended 30 bars forward for proactive planning
🔹 5. Multi-Layer Entry Confirmation
---------------------------------
Component | Default Settings | Purpose
-------------------|---------------------------------|---------------------------
Stochastic RSI | RSI:14, %K:3, %D:3, OB:80, OS:20 | Momentum timing & reversals
Volume Filter | 20-period SMA comparison | Confirms institutional interest
Price Action Area | EMA zone / S/R bounce / Zone touch | Structural alignment validation
✅ BUY Signal Triggers When ALL Are True:
1. Bullish Trend (EMA13 > EMA21 AND price > EMA200)
2. Price in Buy Area (near EMA, Support, or Demand Zone)
3. StochRSI crosses UP from Oversold (<20)
4. Volume exceeds 20-period average
→ Green "BUY" triangle + green background highlight
✅ SELL Signal Triggers When ALL Are True:
1. Bearish Trend (EMA13 < EMA21 AND price < EMA200)
2. Price in Sell Area (near EMA, Resistance, or Supply Zone)
3. StochRSI crosses DOWN from Overbought (>80)
4. Volume exceeds 20-period average
→ Red "SELL" triangle + red background highlight
🔹 6. Smart Info Panel & Recommendation Engine
---------------------------------
📊 Real-Time Table (Top-Right Corner):
| Metric | Description |
|---------------|-------------|
| RECOMMENDATION| Actionable signal: "✅ STRONG BUY NOW", "⏳ WAIT MOMENTUM", "⛔ NO TRADE", etc. |
| Mode | Auto-detects: "SCALPING" (intraday) or "SWING/DAILY" (higher TF) |
| Trend | Current bias: BULLISH / BEARISH / NEUTRAL |
| Est. RR | Live Risk:Reward ratio (e.g., "1.85 : 1") |
| Next Target | Price level of nearest swing target |
| Est. Time | Projected duration: "~12 Candles (~Day)" |
🧠 Recommendation Logic:
• "✅ STRONG BUY/SELL NOW" → All entry conditions met + RR ≥ threshold
• "⏳ WAIT MOMENTUM" → Price in zone, awaiting StochRSI confirmation
• "⏳ WAIT PULLBACK" → Trend aligned, waiting for price to reach entry area
• "⛔ NO TRADE (Sideways)" → EMA confluence absent, avoid chop
• "⛔ SKIP (RR < 1:1)" → Potential reward too small vs risk
🔹 7. Intelligent Time Estimation Feature
---------------------------------
• Calculates last swing duration in candle count
• Converts to human-readable estimate based on timeframe:
- 1m–15m → "~X Candles (~Scalp)"
- 1h–12h → "~X Candles (~Day)"
- 1D+ → "~X Candles (~Swing)"
• Helps traders align position sizing and holding period expectations
🔹 8. Visual Scalping vs Swing Label
---------------------------------
• Auto-label above price action:
⚡ "POTENSI SCALPING" → Target < user-defined % threshold (default 1.0%)
🚀 "POTENSI SWING" → Target ≥ threshold
• Color-coded background for instant visual recognition
• Shows exact distance to target in percentage
🔹 9. Alert System (Production-Ready)
---------------------------------
• 🔔 "Xander BUY" → Triggers on confirmed buy signal
• 🔔 "Xander SELL" → Triggers on confirmed sell signal
• Message format: "BUY Signal | {{ticker}} | {{close}}" (customizable)
• Fully compatible with PulseWire alerts: popup, email, webhook, SMS, Discord
================================================================================
⚙️ HOW TO USE
================================================================================
🔧 Initial Setup:
1. Add script to chart with timeframe 5m, 15m, 1H, or 4H (optimal range)
2. Recommended liquid instruments:
• Forex: EURUSD, GBPUSD, USDJPY, XAUUSD
• Crypto: BTCUSDT, ETHUSDT, SOLUSDT
• Indices: US30, NAS100, SPX500, GER40
• Commodities: XAUUSD, XAGUSD, OIL
🎯 LONG Entry Protocol:
1. Confirm panel shows "BULLISH" trend + "SCALPING" or "SWING" mode
2. Wait for price to enter Buy Area:
- Pullback to EMA 13-21 zone, OR
- Bounce from green Support line, OR
- Touch of green Demand Zone box
3. Confirm signal: Green BUY triangle appears + candle closes bullish
4. Verify StochRSI: Crossed up from <20 zone
5. Confirm Volume: Current bar > 20-period average
6. Check Panel: RR ≥ 1:1.5 and Recommendation = "✅ STRONG BUY NOW"
📍 Stop Loss: 1-2 ticks below lastSwingLow or Demand Zone bottom
🎯 Take Profit:
- Conservative: lastSwingHigh / Supply Zone top
- Aggressive: Fib 0.236 or 0.382 extension
- Always respect RR target ≥ 1:1.5
🎯 SHORT Entry Protocol:
1. Confirm panel shows "BEARISH" trend + mode label
2. Wait for price to enter Sell Area:
- Pullback to EMA 13-21 zone, OR
- Rejection from red Resistance line, OR
- Touch of red Supply Zone box
3. Confirm signal: Red SELL triangle appears + candle closes bearish
4. Verify StochRSI: Crossed down from >80 zone
5. Confirm Volume: Current bar > 20-period average
6. Check Panel: RR ≥ 1:1.5 and Recommendation = "✅ STRONG SELL NOW"
📍 Stop Loss: 1-2 ticks above lastSwingHigh or Supply Zone top
🎯 Take Profit:
- Conservative: lastSwingLow / Demand Zone bottom
- Aggressive: Fib 0.236 or 0.382 extension downward
- Always respect RR target ≥ 1:1.5
⚠️ Critical Filters (Do Not Ignore):
❌ NEVER trade when Recommendation = "⛔ NO TRADE (Sideways)"
❌ SKIP any signal with Est. RR < 1:1 (visible in panel)
❌ AVOID entries 5-10 minutes before/after high-impact news (NFP, CPI, FOMC)
❌ DO NOT chase entries if price is >2% away from EMA zone (overextended)
✅ ALWAYS wait for candle CLOSE beyond signal bar for confirmation
✅ ALWAYS use hard Stop Loss — never move it against your position
✅ Consider partial profit taking at 1:1 RR, let remainder run to target
================================================================================
🔍 TECHNICAL NOTES (For Advanced Users & Developers)
================================================================================
📐 Non-Repainting Architecture:
• Pivot detection: ta.pivothigh/low with rightBars = lookback → confirmed only after N candles
• All signals trigger on bar close, not intra-candle
• NA error prevention: All swing variables initialized with "not na()" guards
• Line/box management: Old objects deleted before new creation (prevents chart clutter)
📊 Adaptive Tolerance System:
• Lower TFs (1m-1H): tolerance = close * 0.002 (0.2%)
• Higher TFs (4H+): tolerance = close * 0.005 (0.5%)
• Prevents false S/R breaks on volatile assets while maintaining sensitivity
⏱ Time Estimation Logic:
lastMoveDuration = currentSwingIndex - previousSwingIndex
→ Converted to human-readable format via timeframe.period detection
→ Case-sensitive TF matching: "1m", "5m", "1h", "4h", "1D", etc.
→ Fallback: "Calculating..." until first full swing cycle completes
🧮 Risk/Reward Calculation:
// For LONG:
risk = entry_price - lastSwingLow
reward = lastSwingHigh - entry_price
RR = reward / risk
// For SHORT:
risk = lastSwingHigh - entry_price
reward = entry_price - lastSwingLow
RR = reward / risk
• Uses close price as proxy for entry (adjust manually for precision)
• Panel displays "N/A" or "Wait Swing" until valid swings are detected
🎨 Visual Optimization:
• Max limits set: max_lines_count=500, max_labels_count=500, max_boxes_count=100
• Transparent colors (color.new(..., alpha)) prevent chart clutter
• Background highlights only on confirmed signals (no visual noise)
================================================================================
⚠️ DISCLAIMER & RISK WARNING
================================================================================
🚨 CRITICAL NOTICE: This script is an analytical and educational tool only. It does NOT constitute financial advice, guarantee profits, or replace independent trading judgment.
1. ✅ Backtest Thoroughly: Validate performance in PulseWire's bar replay mode across multiple market conditions (trending, ranging, high volatility) before live use.
2. ✅ Start Small: When going live, begin with minimal position size to verify real-world behavior matches backtest expectations.
3. ✅ Understand Limitations:
• Performs optimally in trending markets with clear structure
• May generate fewer signals (or whipsaws) in extreme sideways/choppy conditions
• News events can invalidate technical setups — always check economic calendar
4. ✅ Non-Repainting Confirmation:
• Signals appear only after candle close AND pivot confirmation
• Minor 1-candle lag on swing detection is intentional for reliability
• Do not anticipate signals — wait for full confirmation
5. ✅ Risk Management is Mandatory:
• ALWAYS use a hard Stop Loss on every trade
• Never risk more than 1-2% of account equity per trade
• Adjust position size based on SL distance, not signal strength
🔹 Trading forex, cryptocurrencies, indices, and derivatives involves substantial risk of loss and is not suitable for all investors. Past performance is not indicative of future results. Trade only with capital you can afford to lose entirely.
================================================================================
🔄 VERSION HISTORY
================================================================================
Version | Release Date | Key Updates
--------|--------------|--------------------------------------------------
1.0 | May 2026 | Initial public release: Core EMA + S/R + StochRSI + Volume + RR Table
1.1 | May 2026 | Added Supply/Demand zones, EMA 200 bias, adaptive tolerance
1.2 | May 2026 | Added Time Estimation, Smart Recommendation Engine, NA error fixes, Scalping/Swing auto-label, enhanced panel
================================================================================
💬 FEEDBACK, SUPPORT & COMMUNITY
================================================================================
• 🛠 Bug Reports: Please include screenshot + timeframe + asset name + steps to reproduce for fastest resolution.
• 💡 Feature Requests: Comment on the script page or DM @wijayanto_ok with detailed use case.
• 🤝 Collaborations: Open to integrating user-suggested indicators (with proper credit).
• 🌟 Show Support: If this tool adds value to your trading, a like, follow, or constructive review helps immensely.
📬 Preferred Contact: PulseWire DM @wijayanto_ok
================================================================================
🔖 TAGS (For Search Optimization)
================================================================================
scalping, price-action, ema, fibonacci, support-resistance, supply-demand, stochastic-rsi, volume-profile, risk-reward, swing-trading, confirmation, non-repainting, pulsewire, pine-script, indicator, strategy, auto-fib, time-estimation, recommendation-engine
================================================================================
✅ PRE-PUBLISH QUALITY CHECKLIST
================================================================================
Code compiles with zero errors or warnings in Pine Script v6
Tested on 5+ assets across Forex, Crypto, and Indices
Validated on timeframes: 5m, 15m, 1H, 4H, 1D
All user inputs have logical defaults and min/max constraints
Comprehensive inline comments for maintainability
Full risk disclaimer and educational warnings included
Alert conditions defined and tested
Zero repainting behavior confirmed via bar replay
NA/Null handling prevents runtime errors
Visual elements respect PulseWire object limits
Documentation complete, professional, and mobile-friendly
English language optimized for global PulseWire audience
================================================================================
🙏 FINAL WORDS
================================================================================
"Plan your trade, trade your plan. Consistency > Perfection."
— Xander Trading Philosophy
Thank you for trusting Xander Ultimate Pro with your market analysis.
May your entries be precise, your risk managed, and your RR always in your favor. 🎯📈
Happy Trading,
@wijayanto_ok
================================================================================
🔐 LICENSE
================================================================================
This Pine Script® code is subject to the terms of the Mozilla Public License 2.0
at mozilla.org
© 2026 wijayanto_ok. All rights reserved.
You are free to use, modify, and share this script for personal trading purposes.
Commercial redistribution or resale of the code is prohibited without explicit permission.
================================================================================ Indicator

Xander Scalping Strategy [Price Action + Confirmation]🚀 Xander Scalping Strategy
by @wijayanto_ok
A multi-confirmation scalping strategy combining trend filtering, dynamic support/resistance, Stochastic RSI momentum, and volume confirmation — with visual Risk/Reward estimation for disciplined trading.
================================================================================
📌 OVERVIEW
================================================================================
Xander Scalping Strategy is a Price Action-based trading tool designed for traders who prioritize high-probability, multi-layer confirmation before entry. It helps identify:
✅ Trend Direction using EMA 13/21 crossover
✅ Dynamic Support & Resistance from confirmed swing highs/lows
✅ Precision Entry Signals via Stochastic RSI + Volume spike confirmation
✅ Visual Risk/Reward Estimator for smarter position management
🎯 Best For: Timeframes 5m – 1H | Liquid assets (Forex majors, BTC/ETH, Indices)
================================================================================
✨ KEY FEATURES
================================================================================
🔹 1. Trend Filter (EMA 13/21)
---------------------------------
• Fast EMA (13) & Slow EMA (21) with dynamic coloring:
🟢 Green = Uptrend | 🔴 Red = Downtrend | ⚪ Gray = Sideways
• Real-time trend label in top-right corner for quick reference
🔹 2. Dynamic Support & Resistance
---------------------------------
• Auto-detects Swing High/Low using ta.pivothigh() / ta.pivotlow()
• Horizontal S/R lines extended to the right (real-time visualization)
• Updates automatically when new swings are confirmed
⚠️ Note: 1-candle lag for pivot confirmation = non-repainting logic
🔹 3. Multi-Layer Entry Confirmation
---------------------------------
Component | Settings | Purpose
-------------------|---------------------------------------|---------------------------
Stochastic RSI | RSI Len: 14, %K: 3, %D: 3, OB: 80, OS: 20 | Momentum timing & reversal signals
Volume Filter | Avg Volume (20-period) | Filters low-liquidity false signals
Price Action | Pullback to EMA zone OR bounce/reject at S/R | Confirms structural alignment
✅ BUY Signal Conditions:
1. Uptrend (EMA 13 > EMA 21)
2. Price pulls back to EMA zone OR bounces from Support
3. StochRSI crosses UP from Oversold (<20)
4. Volume > 20-period average
→ Green "BUY" arrow appears below candle
✅ SELL Signal Conditions:
1. Downtrend (EMA 13 < EMA 21)
2. Price pulls back to EMA zone OR rejects from Resistance
3. StochRSI crosses DOWN from Overbought (>80)
4. Volume > 20-period average
→ Red "SELL" arrow appears above candle
🔹 4. Visual Risk/Reward Table (Top-Right)
---------------------------------
Metric | Description
----------|--------------------------------------------------
Status | Current trend or active signal (LONG/SHORT/UPTREND/DOWNTREND)
Est. RR | Estimated Risk:Reward ratio based on latest swing levels
💡 Tip: Use RR ≥ 1:1.5 as an additional filter for higher-quality entries.
🔹 5. Alert System
---------------------------------
• 🔔 "Xander Buy Signal" — Triggered when all BUY conditions met
• 🔔 "Xander Sell Signal" — Triggered when all SELL conditions met
• Compatible with PulseWire alerts (popup, email, webhook, SMS)
================================================================================
⚙️ HOW TO USE
================================================================================
🔧 Setup:
1. Apply script to chart with timeframe 5m, 15m, or 1H
2. Recommended assets:
• Forex: EURUSD, GBPUSD, USDJPY
• Crypto: BTCUSDT, ETHUSDT
• Indices: US30, NAS100, SPX500
🎯 LONG Entry Setup:
1. Confirm "UPTREND 🟢" label is visible
2. Wait for pullback to EMA 13-21 zone OR bounce from green Support line
3. Confirm: Green BUY arrow appears + candle closes bullish
4. StochRSI: Crosses up from <20 zone
5. Volume: Bar higher than 20-period average
📍 Stop Loss: Below nearest lastSwingLow
🎯 Take Profit: Nearest lastSwingHigh OR RR target ≥1:1.5
🎯 SHORT Entry Setup:
1. Confirm "DOWNTREND 🔴" label is visible
2. Wait for pullback to EMA 13-21 zone OR rejection from red Resistance line
3. Confirm: Red SELL arrow appears + candle closes bearish
4. StochRSI: Crosses down from >80 zone
5. Volume: Bar higher than 20-period average
📍 Stop Loss: Above nearest lastSwingHigh
🎯 Take Profit: Nearest lastSwingLow OR RR target ≥1:1.5
⚠️ Recommended Filters:
❌ Avoid trading when label shows "SIDEWAYS ⚪"
❌ Skip signals with Est. RR < 1:1
❌ Avoid entries 5 min before/after high-impact news events
✅ Always confirm with candlestick patterns (pinbar, engulfing, etc.)
================================================================================
🔍 TECHNICAL NOTES (Advanced Users)
================================================================================
📐 Pivot Detection (Non-Repainting):
ph = ta.pivothigh(high, lookbackPeriod, lookbackPeriod)
pl = ta.pivotlow(low, lookbackPeriod, lookbackPeriod)
• Requires rightBars = lookbackPeriod for confirmation → NO REPAINTING
• New swing confirmed only after N candles close to the right
• Recommended: lookbackPeriod = 50 for significant swings; 20-30 for responsive signals
📊 Stochastic RSI Calculation:
rsiSource = ta.rsi(close, 14)
stoch = (rsiSource - lowestRSI) / (highestRSI - lowestRSI) * 100
%K = ta.sma(stoch, 3), %D = ta.sma(%K, 3)
• Measures relative momentum within 0–100 range
• Crosses at extremes (20/80) offer high-probability reversal signals
📈 Risk/Reward Estimation:
// For BUY:
risk = close - lastSwingLow
reward = lastSwingHigh - close
RR = reward / risk
• Uses latest confirmed swing levels as reference for SL/TP
⚠️ Estimates only — always adjust to real-time market structure
================================================================================
⚠️ DISCLAIMER & RISK WARNING
================================================================================
🚨 IMPORTANT: This script is an analytical tool only. It does NOT guarantee profits or replace sound trading judgment.
1. Backtest First: Test in demo mode for 2–4 weeks before live trading.
2. No Holy Grail: No strategy wins 100%. Manage expectations and use strict money management.
3. Market Conditions: Performs best in trending markets. May underperform in extreme sideways or news-driven volatility.
4. Non-Repainting: Signals appear only after candle close and pivot confirmation. Minor 1-candle lag on swing detection is intentional for reliability.
5. Always Use Stop Loss: Never trade without predefined risk protection.
🔹 Trading forex, crypto, and derivatives carries substantial risk of loss. Trade only with capital you can afford to lose.
================================================================================
🔄 VERSION HISTORY
================================================================================
Version | Date | Changes
--------|------------|--------------------------------------------------
1.0 | May 2026 | Initial release: EMA + S/R + StochRSI + Volume + RR Table
================================================================================
💬 FEEDBACK & SUPPORT
================================================================================
• 🛠 Found a bug? Report with screenshot + timeframe + asset for faster resolution.
• 💡 Have an improvement idea? Comment below or DM @wijayanto_ok.
• 🌟 Enjoying the script? A like/follow helps support future updates!
"Plan your trade, trade your plan. Consistency > Perfection."
— Xander Scalping Philosophy
================================================================================
🔖 TAGS (For Search Optimization)
================================================================================
scalping, price-action, ema, support-resistance, stochastic-rsi, volume, risk-reward, swing-trading, confirmation, non-repainting, pulsewire, pine-script
================================================================================
✅ PRE-PUBLISH CHECKLIST
================================================================================
Tested on 3+ assets & timeframes
All inputs have sensible defaults
Code is well-commented & structured
Risk disclaimer included
Alert conditions defined
No unwanted repainting logic
Documentation complete & professional
================================================================================
🙏 Thank you for using Xander Scalping Strategy!
Happy trading, and may your RR always be in your favor. 🎯📈
================================================================================ Indicator

Tectonic Ribbon Oscillator [JOAT]Tectonic Ribbon Oscillator
Introduction
Tectonic Ribbon Oscillator is an open-source lower-pane momentum field built from twenty lag-reduced strands. The script classifies whether momentum is in bullish expansion, bearish expansion, or twist compression by comparing the ribbon's fast, mid, and slow structure instead of relying on a single oscillator line.
The problem Tectonic solves is momentum depth. A single oscillator can show direction, but it usually hides how broad or fragile the move actually is. Tectonic exposes ribbon breadth, spread, slope, and divergence in one framework so the user can distinguish acceleration from compression.
Core Concepts
1. Multi-Strand Ribbon Construction
Each strand uses a progressively larger lookback and lag-reduced smoothing. This creates a depth field rather than a single-value oscillator.
2. Fast-Mid-Slow Spread Logic
The oscillator compares grouped ribbon averages and uses the spread to determine whether momentum is directional or twisted into compression.
3. Regime Classification
Bull, bear, and twist states are identified from the spread and held as confirmed regime transitions.
4. Divergence Validation
Price pivots and ribbon pivots are compared to identify confirmed bullish and bearish divergence without using future leaks.
5. Momentum Support Layers
Histogram and slope components add a second view of how the ribbon is accelerating or decelerating internally.
Features
Twenty-strand momentum ribbon: Progressive lookbacks create a true depth profile
Lag-reduced smoothing: Ribbon strands are stabilized without reverting to a slow classic oscillator
Twist regime detection: Compression is explicitly separated from directional impulse
Confirmed divergence logic: Bullish and bearish divergence are tracked from confirmed pivot relationships
Histogram and slope overlays: Secondary layers help gauge acceleration quality
Top-right dashboard: State, spread, slope, histogram, depth, divergence, last shift, confirmation, and breadth are reported continuously
How to Use This Indicator
Step 1: Read the regime
Bull and bear states indicate directional momentum dominance. Twist indicates compression or unstable breadth.
Step 2: Compare spread and slope
A large spread with weakening slope often indicates mature momentum. A fresh spread expansion with improving slope usually indicates earlier-cycle momentum.
Step 3: Respect divergence in context
Confirmed divergence is most useful when it appears against an already stretched ribbon state.
Indicator Limitations
Divergence is not a reversal guarantee
Twist states can persist for long periods in balanced markets
Shorter settings will react faster but can become noisy
The oscillator is a momentum context tool and should be combined with market structure or regime logic
Originality Statement
Tectonic Ribbon Oscillator is original in the way it assembles a twenty-strand lag-reduced ribbon, grouped spread classification, divergence validation, and dashboard reporting into one momentum framework rather than publishing a lightly modified RSI derivative.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice. Momentum and divergence signals can fail, especially during high-volatility structural breaks. Use independent analysis and risk management.
Indicator

Indicator

Indicator

Strategy

Price oscillator [Session Adjusted]Price Oscillator
This indicator combines directional momentum bias with dynamic volatility analysis, helping traders identify both trend direction and potential exhaustion zones.
Core Concept
The oscillator calculates the percentage deviation of price from a session-adjusted moving average (close / MA - 1).
The histogram is plotted as always-positive columns (green when price is above the MA, red when below). This design enables a clear visual comparison between momentum strength and the Bollinger Band Width (BBW).
When the colored columns cross above the BBW line, it signals an over-extended condition, often indicating a high probability of imminent correction or mean reversion.
Volatility Analysis
The blue BBW line is a key element of the indicator:
- Rising BBW (positive slope) indicates volatility expansion — typically associated with strong trending moves or breakout phases.
- Falling BBW (negative slope) indicates volatility contraction — often signaling consolidation periods or impending explosive moves.
Main Features
Adaptive Lookback Period:
Automatically adjusts based on the selected session duration (default 24 hours), providing timeframe consistency.
Flexible Smoothing:
Choose between SMA, EMA, RMA, or WMA for the reference moving average.
Dual Signal System:
Colored columns show momentum direction and strength.
BBW line reveals both the level and the direction (slope) of volatility.
Exhaustion Zones:
Crosses between momentum columns and BBW act as dynamic overbought/oversold signals.
How to Use
Directional Bias Filter: Green columns = bullish bias | Red columns = bearish bias.
Volatility Regime: Use the slope of the BBW line to distinguish between trending (expanding volatility) and consolidating (contracting volatility) environments.
Correction Signals: Watch for strong momentum columns crossing above the BBW line — this frequently precedes pullbacks or reversals.
Particularly effective on Forex pairs and European indices (DAX, CAC40, FTSEMIB, etc.) on 1H to 4H, and Daily timeframes.
Indicator

RSI & MACD MTF Station [v2c_cha]Overview
The RSI & MACD MTF Heatmap Station is a comprehensive, all-in-one momentum and trend analysis tool designed to eliminate chart clutter. Traditionally, traders relying on Multi-Timeframe (MTF) analysis must either split their screens into multiple layouts or flood their indicator panels with overlapping "spaghetti" lines. This indicator solves that problem by consolidating the Relative Strength Index (RSI) and Moving Average Convergence Divergence (MACD) across 9 different timeframes into a single, compact visual Heatmap.
Core Concepts & Calculations
This indicator relies on the standard mathematical formulas for RSI (default 14 periods) and MACD (default 12, 26, 9). However, its core value lies in how it processes and displays this data:
Non-Repainting MTF Data: All higher-timeframe data is fetched using barmerge.lookahead_off and barmerge.gaps_off to ensure strict compliance with non-repainting rules. What you see on historical bars is exactly what would have printed in real-time.
Visual Anchoring: To display both the current RSI and current MACD lines harmoniously in the same pane without skewing the scale, the MACD line is mathematically anchored to the RSI's 50-level (neutral line).
How to Read the Heatmap Dashboard
The dashboard is a 9-column by 3-row matrix located in the corner of your screen, covering timeframes from 1-minute to 1-Month.
Row 1 (RSI - Extreme Momentum): This row measures whether an asset is mathematically overbought or oversold.
🔴 Red (RSI >= 70): Overbought. The asset is extended to the upside in this specific timeframe.
🟢 Green (RSI <= 30): Oversold. The asset is extended to the downside.
⚫ Dark Gray (31-69): Neutral. The asset is flowing within normal momentum boundaries.
Row 2 (MACD - Trend Direction): This row measures the overarching trend control based on the MACD main line crossing the Zero line.
🟢 Green (MACD > 0): Bullish trend control.
🔴 Red (MACD < 0): Bearish trend control.
Practical Trading Application (Top-Down Analysis)
This tool excels at spotting high-probability continuation setups by aligning the macro-trend with micro-momentum pullbacks.
Example Setup (The Buy Dip): A trader observing a 5-minute chart looks at the dashboard. The MACD row shows Green for the 1H and 4H timeframes, indicating a strong macro bullish trend. However, the RSI row shows Green (< 30) for the 5m and 15m timeframes. This tells the trader that while the macro trend is up, there is short-term panic/oversold conditions. This alignment provides a mathematical, rules-based area to look for long entries (buying the dip) in the direction of the macro trend.
Key Features & Customization
Fully Customizable: You can change the lengths and smoothing periods for both the RSI and MACD.
Dashboard Positioning: Move the heatmap to any corner of the screen to fit your layout.
Decluttered Charting: By default, only the current timeframe's RSI and MACD lines are plotted, while all MTF data is neatly organized inside the heatmap.
Disclaimer: This indicator is for educational and analytical purposes only. It does not provide financial advice or guarantee profitable trades. Always combine momentum and trend indicators with proper risk management and price action analysis. Indicator

ADX/ MACD/ 200 EMA Strawberry Signals 🍓 Strawberry Signals 🍓
The Strawberry Signals indicator is a trend-following trading tool designed to help traders identify high-probability market entries by combining three core components:
trend direction (EMA 200), momentum (MACD), and trend strength (ADX) .
Signals are only displayed on confirmed candles to ensure stability and avoid repainting behavior.
📌 Indicator Concept
This indicator focuses on trading in the direction of the dominant trend. Instead of generating frequent signals, it filters out low-quality market conditions and only highlights setups where trend, momentum, and strength are aligned.
The goal is to reduce noise and help traders focus on clearer market structures rather than overtrading in sideways conditions.
📊 Core Components
1. EMA 200 – Trend Filter
The EMA 200 is used as the primary trend direction filter.
- Price above EMA 200 → bullish market structure
- Price below EMA 200 → bearish market structure
This ensures that signals are always aligned with the higher timeframe bias of the market.
2. MACD – Momentum Confirmation
The MACD crossover is used to confirm momentum shifts in the direction of the trend:
- Bullish signal: MACD line crosses above signal line
- Bearish signal: MACD line crosses below signal line
This helps identify moments where momentum supports the trend direction.
3. ADX – Trend Strength Filter
The ADX is used to measure whether the market is strong enough for trend trading.
Only when ADX is above the selected threshold (default: 20) will signals be allowed.
- Low ADX → weak or sideways market (no signals)
- High ADX → strong trend conditions (valid signals)
🟢 Buy Signal Conditions
Price is above the EMA 200
MACD line crosses above the signal line
ADX is above the defined threshold (trend strength confirmed)
Signal is confirmed on candle close (no intrabar signals)
🔴 Sell Signal Conditions
Price is below the EMA 200
MACD line crosses below the signal line
ADX is above the defined threshold (trend strength confirmed)
Signal is confirmed on candle close (no intrabar signals)
⚙️ Settings Overview
EMA Length: Defines the trend filter (default: 200)
MACD Settings: Controls momentum sensitivity (fast, slow, signal)
ADX Length: Smoothness of trend strength calculation
ADX Threshold: Minimum trend strength required for signals
📉 Market Conditions
This indicator performs best in trending environments where price moves directionally with momentum.
During sideways or low-volatility conditions, fewer signals will appear by design, as weak trends are filtered out.
👤 My Personal Use
This indicator is intentionally designed to produce fewer signals. Entries are only generated at the exact moment of a MACD crossover when all required conditions are aligned. I use it for XAUUSD on the 1M chart but I'm confident for it to work on different instruments.
In my personal trading, I also monitor situations where the ADX rises above the threshold after the MACD crossover. If momentum remains strong and the overall trend structure (EMA direction) is still valid, these scenarios can still offer interesting trade opportunities even if no signal was printed.
For better decision-making, I recommend displaying the MACD and ADX directly on the chart alongside this indicator. This helps to visually confirm momentum development for trading and trend strength beyond the signal itself.
⚠️ Important Notes
This indicator is designed for educational and analytical purposes.
It does not guarantee profitable trades.
Always combine signals with proper risk management and additional confirmation tools and market structure if needed.
🍓 Summary
Strawberry Signals provides a clean and structured approach to trend trading by combining multiple technical indicators into a single signal system.
It is built to reduce noise, filter weak setups, and highlight only high-quality trend-aligned opportunities directly on the chart.
Indicator

MACD + RSI + MFI + A/D by Ismael█ OVERVIEW
A 4-in-1 oscillator panel combining MACD, RSI with Bollinger Bands and
custom Buy/Sell signals, Money Flow Index (MFI), and Accumulation/Distribution.
Each module can be toggled on/off independently from a single "Toggle
Indicators" group, so the user can display only what they need instead of
loading four separate scripts.
═══════════════════════════════════════════════════════════════════════
█ ORIGINALITY
This script does not invent new math — it integrates four well-known
built-in indicators into a single pane and adds three conveniences:
- A unified toggle system to show/hide each indicator on demand.
- A custom RSI signal layer based on Bollinger Band breakouts of the
RSI itself, combined with the classic overbought/oversold zones.
- An A/D module that replicates the configuration style of the
MetaTrader 5 implementation (Tick/Real volume option and configurable
horizontal levels).
═══════════════════════════════════════════════════════════════════════
█ WHAT IT INCLUDES
▪ MACD (default: ON)
Standard MACD with configurable fast/slow lengths, signal smoothing,
and choice of SMA or EMA for both the oscillator and signal line.
Includes alerts for histogram polarity changes.
▪ RSI with Bollinger Bands and Buy/Sell signals (default: ON)
Classic RSI with optional smoothing MA (SMA, EMA, WMA, VWMA, SMMA,
or SMA + Bollinger Bands). When "SMA + Bollinger Bands" is selected:
- Buy signal: RSI closes below its lower Bollinger Band AND below 30.
- Sell signal: RSI closes above its upper Bollinger Band AND above 70.
Signals are plotted as arrows and include alert conditions.
▪ MFI (default: OFF)
Standard Money Flow Index with 80/50/20 horizontal levels.
▪ Accumulation/Distribution (default: OFF)
Classic cumulative A/D line. Configurable like the MT5 version:
- Volume mode: Real or Tick (1 per bar, useful for FX).
- 3 user-defined horizontal levels with individual visibility/color.
- Color and line width.
Includes alerts for crossovers against its own SMA(20).
═══════════════════════════════════════════════════════════════════════
█ HOW TO USE
1. Activate from "Toggle Indicators" only the modules you need.
2. RSI Buy/Sell signals are intended as confluence — not standalone
entries. They mark statistically rare conditions (extreme RSI combined
with a Bollinger Band breakout on the RSI) and should be confirmed
with price action, structure, or trend context.
3. MACD histogram polarity alerts can be paired with RSI signals.
4. The A/D line is most useful when watched for divergences against price,
not for its absolute value.
═══════════════════════════════════════════════════════════════════════
█ LIMITATIONS
- The A/D line uses cumulative values that produce very large numbers.
When combined with MACD/RSI/MFI in the same pane, auto-scale will
compress the smaller-range indicators. Workaround: right-click the
A/D plot → "Pin to scale" → assign it to a separate scale.
- "Tick" volume here is approximated as 1 per bar; Pine Script does not
expose the tick-volume data used by MetaTrader 5. For instruments with
reliable real volume, use "Real".
- RSI Buy/Sell signals only fire when the smoothing MA type is set to
"SMA + Bollinger Bands". Other MA types disable the signal layer.
- This is an aggregator/utility script. It does not predict market
direction and is not a complete trading system.
═══════════════════════════════════════════════════════════════════════
█ DISCLAIMER
This script is shared for educational purposes only and is not financial
advice. Indicator signals do not guarantee future results. Always perform
your own analysis and apply proper risk management.
═══════════════════════════════════════════════════════════════════════
█ DESCRIPCIÓN (Español)
Panel de osciladores 4-en-1 que combina MACD, RSI con Bandas de Bollinger
y señales de compra/venta, MFI y Acumulación/Distribución. Cada módulo se
activa o desactiva de forma independiente desde el grupo "Toggle
Indicators".
Incluye:
- MACD estándar con alertas de cambio de polaridad del histograma.
- RSI con MA opcional (SMA, EMA, WMA, VWMA, SMMA o SMA+BB). Cuando
se elige "SMA + Bandas de Bollinger", aparecen señales:
- Compra: RSI por debajo de la banda inferior Y menor a 30.
- Venta: RSI por encima de la banda superior Y mayor a 70.
- MFI estándar con niveles 80/50/20.
- Acumulación/Distribución estilo MT5: volumen Real/Tick, 3 niveles
horizontales configurables, color y grosor ajustables, alertas de
cruce contra su SMA(20).
Las señales del RSI son herramientas de confluencia, no entradas
automáticas. La línea A/D se interpreta principalmente por divergencias
con el precio, no por su valor absoluto. Al activar A/D junto con los
demás osciladores, conviene moverla a una escala separada (clic derecho
sobre la línea → "Fijar a escala" → escala nueva).
Este script tiene fines educativos. No constituye asesoría financiera.
█ HOW TO USE
The RSI Buy/Sell signals (with their attached alerts) are the main
actionable element of this script and can be used to anticipate potential
entries — long on Buy signals, short on Sell signals. They fire under
statistically rare conditions (RSI breaking out of its own Bollinger Band
envelope while also being in extreme oversold/overbought territory),
which often precede a reversion or a meaningful move.
However, these signals should NOT be taken as standalone entries. They
work best as an early-warning system that must be confirmed before
acting on them. Recommended workflow:
1. RSI Buy/Sell signal fires → set alert and prepare the trade idea.
2. Look at the MACD for confirmation:
- For a Buy: histogram should be turning from falling to rising,
or MACD line crossing above Signal.
- For a Sell: histogram turning from rising to falling, or MACD
line crossing below Signal.
3. Check the MFI (if enabled): values pulling back from oversold (<20)
on Buys, or pulling back from overbought (>80) on Sells, add
confluence by confirming a money-flow shift.
4. Check the A/D line for divergences with price:
- Bullish divergence (price makes lower low, A/D makes higher low)
strongly supports a Buy signal.
- Bearish divergence (price makes higher high, A/D makes lower
high) strongly supports a Sell signal.
Divergences on RSI itself against price work the same way and are
one of the most reliable confirmation tools in this panel.
5. Always combine with price-action context: trend direction on higher
timeframes, key support/resistance, and your own risk management.
In short: the RSI signals are designed to ANTICIPATE trades, not to
trigger them automatically. The other modules (MACD, MFI, A/D) and
divergence analysis exist to filter the false positives and validate
the ones worth taking.
═══════════════════════════════════════════════════════════════════════
█ CÓMO USAR (Español)
Las señales de Compra/Venta del RSI (con sus alertas configuradas) son
el elemento principal accionable de este script y pueden usarse para
anticipar entradas — largos en señales de Compra, cortos en señales de
Venta. Se activan en condiciones estadísticamente poco frecuentes
(el RSI rompe su propia envolvente de Bandas de Bollinger mientras
está en zona de sobreventa o sobrecompra extrema), que suelen preceder
una reversión o un movimiento significativo.
Sin embargo, NO deben tomarse como entradas automáticas. Funcionan
mejor como un sistema de alerta temprana que debe confirmarse antes
de operar. Flujo recomendado:
1. Se dispara la señal del RSI → preparar la idea de trade.
2. Confirmar con MACD:
- Compra: histograma pasando de bajista a alcista, o cruce
del MACD por encima de la Signal.
- Venta: histograma pasando de alcista a bajista, o cruce
del MACD por debajo de la Signal.
3. Confirmar con MFI (si está activo): valores saliendo de
sobreventa (<20) en Compras o saliendo de sobrecompra (>80)
en Ventas indican un cambio en el flujo de dinero.
4. Buscar divergencias en la línea A/D contra el precio:
- Divergencia alcista (precio hace mínimo más bajo, A/D hace
mínimo más alto) refuerza una señal de Compra.
- Divergencia bajista (precio hace máximo más alto, A/D hace
máximo más bajo) refuerza una señal de Venta.
Las divergencias del propio RSI contra el precio funcionan igual
y son una de las confirmaciones más fiables de este panel.
5. Siempre combinar con contexto de price action: tendencia en
temporalidades superiores, soportes/resistencias clave y gestión
de riesgo propia.
En resumen: las señales del RSI están diseñadas para ANTICIPAR
trades, no para dispararlos automáticamente. Los otros módulos
(MACD, MFI, A/D) y el análisis de divergencias existen para filtrar
los falsos positivos y validar las entradas que realmente valen
la pena. Indicator

3AK On Balance Turnover [OBT]📊 3AK On Balance Turnover (OBT)
3AK OBT (On Balance Turnover) is a price-action + participation indicator designed to help swing traders understand the strength behind a move , not just the move itself.
While traditional indicators like On Balance Volume focus on volume, this indicator goes one step further by tracking turnover (Volume × Price) — giving a clearer picture of money flow into and out of a stock.
🔍 What does this indicator show?
The indicator plots a cumulative turnover line (OBT) that rises or falls based on price movement:
When price moves up → turnover is added
When price moves down → turnover is subtracted
This creates a running total of buying vs selling pressure — helping you see whether real money is supporting the trend .
💡 How to interpret OBT (Key Insights)
1. Strength during pullbacks
One of the most powerful uses of OBT is during pullbacks.
If price pulls back but OBT stays near highs, it suggests:
The selling pressure is weak
The overall trend is still strong
The pullback may be temporary (market-driven, not stock weakness)
👉 This helps traders avoid exiting strong stocks too early due to minor corrections.
2. Breakout readiness using Smoothening Curve
You can optionally enable a smoothening curve (Moving Average of OBT).
When OBT is far above the curve → it may be extended
When OBT and curve are close together → compression phase
👉 Breakouts tend to have a higher probability when OBT and its curve are close, as it indicates buildup before expansion.
3. Early breakout signals (OBT leads Price)
Markers help identify important signals:
🟪 New OBT High before Price High
OBT makes a new high, but price hasn’t yet
Indicates accumulation happening quietly
👉 Often signals that a price breakout may be near
🟨 New OBT High + Price High
Both OBT and price make new highs together
👉 Confirms strong momentum and participation
(Both markers can be turned ON/OFF from settings based on your preference.)
🎯 Why use On Balance Turnover instead of Volume?
Volume alone doesn’t always reflect true participation.
OBT improves this by incorporating price:
High volume at low price ≠ High volume at high price
OBT captures actual traded value, making it more meaningful
⚙️ Customization
Choose different smoothening types: SMA, EMA, WMA, VWMA
Adjust smoothening length
Control visibility of breakout markers
Configure lookback period for “new high” detection (default: 65 bars ~ 3 months)
⚠️ Disclaimer
This indicator is designed for educational and swing trading purposes only.
It does not guarantee profits or successful trades.
Market conditions, news, and broader sentiment can impact price behavior. Always use this indicator alongside your own analysis and risk management. Indicator

Momentum Pullback Continuation [AGPro Series]Momentum Pullback Continuation
🧠 Core Idea
Is a momentum pullback resetting cleanly for continuation, or is the move losing its execution quality?
📌 Overview / What it does
Momentum Pullback Continuation is a chart-first continuation planner built for traders who review momentum-driven trends after a controlled pullback.
The script maps a momentum reset pocket, continuation trigger line, invalidation rail, target-room corridor, state labels, alerts, and a clean AGPro planning panel. It converts trend support, momentum slope, pullback depth, close recovery, volume behavior, and target room into a 0-100 Continuation Score.
The default publication preset is 1H-focused. Higher timeframes can be tested from the inputs, but the strongest intended use case is hourly momentum pullback review.
It does not predict price, automate entries, or turn every trend pullback into a signal. It is a structured decision tool for evaluating whether the current momentum reset deserves closer review.
🎯 Purpose & Design Philosophy
This script was built to fill the gap between basic momentum readings and practical continuation planning.
Many traders can see that momentum exists, but the harder question is whether the pullback is resetting in a controlled way or damaging the continuation structure. This planner focuses on that decision layer.
The design supports a disciplined workflow: identify the active momentum side, inspect the reset pocket, evaluate the score, locate the invalidation rail, compare target room, and read the next-action state.
⚡ Why This Script Is Different
Most tools focus on momentum oscillators, moving-average direction, divergence events, or generic continuation labels.
This script does NOT clone Hidden Divergence Continuation Zones, Trend Continuation Quality, Structural Momentum Oscillator, ROC Momentum Shift Map, or a generic pullback signal map.
Instead, it treats the pullback as a planning event. The main output is not a buy/sell marker. It is a momentum reset decision state with score, risk edge, target-room context, and action guidance.
⚙️ Methodology
1. Context Detection
The script identifies bullish or bearish momentum context using an EMA stack, normalized trend slope, and smoothed rate-of-change pressure.
2. Reference Mapping
It builds a concept-native Momentum Reset Pocket around the active trend support area, then maps a continuation trigger line, invalidation rail, and target-room guide.
3. Reaction Evaluation
The score model evaluates momentum slope, pullback depth, trend support, close recovery, volume behavior, and available target room.
4. Visual Output
The chart shows the reset pocket, target-room corridor, trigger and risk guides, compact event labels, sparse context labels, alerts, and a premium AGPro panel.
🗺️ How to Read the Chart
Reset Pocket = the area where a momentum pullback is expected to stabilize before continuation can be reviewed.
Trigger Line = the fast continuation reference that price needs to recover after the reset.
Invalidation Rail = the planning line where the active reset context is considered lost.
Target-Room Corridor = the forward planning area between current price and the target-room guide.
Labels = RESET, WATCH, READY, WEAK, and INVALID attention markers.
Colors = teal marks bullish continuation context, pink marks bearish continuation context, amber marks weak or caution states, indigo marks watch/target-room context, and red marks invalidation.
Panel = summarizes Momentum State, Pullback Quality, Continuation Score, Risk Edge, and Action.
🚦 Signals & States
• RESET → price has interacted with the momentum reset pocket.
• WATCH → the reset is developing, but recovery or score quality is not complete.
• READY → momentum, pullback depth, recovery, volume context, and target room align strongly enough for structured review.
• WEAK → the pullback is too deep, low quality, or not recovering well enough.
• INVALID → price has crossed the invalidation rail and the active reset context should be rebuilt.
🔔 Alerts Logic
Alerts trigger when READY, WATCH, WEAK RESET, or INVALID states appear.
Each alert is an attention marker tied to the rule-based state engine. Alerts are not trade instructions and do not guarantee that continuation will occur.
🧩 Confluence Logic
The continuation context becomes stronger when trend support, positive momentum slope, controlled pullback depth, clean close recovery, acceptable volume behavior, and target-room availability align.
The script intentionally requires multiple conditions instead of labeling every pullback inside a trend as meaningful.
📊 When to Use
• Directional markets with visible momentum pressure
• 1H charts and nearby intraday momentum review
• Trend continuation review workflows
• Pullbacks after a clear momentum impulse
• Situations where risk edge and target room matter before acting
• Markets where volume and close behavior are readable enough to support context
⚠️ When NOT to Use
• Low-liquidity symbols with unreliable candles or volume
• Extremely choppy markets with frequent trend-side flips
• News-driven volatility where reset structure changes too quickly
• Very flat markets where momentum pressure is absent
• Instruments where the active pullback is far beyond the mapped risk edge
🎛️ Key Inputs
• Continuation Side → selects Auto, Bullish Only, or Bearish Only evaluation.
• Timeframe Profile → keeps the default script behavior focused on 1H charts, with optional broader intraday or all-timeframe testing.
• Sensitivity → adjusts how strict the momentum reset model is.
• EMA settings → define trigger, reset, and support references.
• Momentum ROC settings → control the internal momentum pressure reading.
• Reset Pocket Width → changes how wide the reset area is around trend support.
• READY / WATCH Score → sets state thresholds.
• Visual settings → control zones, guide lines, labels, panel theme, panel location, and font sizes.
🖥️ Interface & Visual Design
The interface is designed to stay chart-first and practical.
The reset pocket and target-room corridor provide the main visual planning structure. Labels are compact and spaced with cooldown controls. The AGPro panel uses a single merged blue header row and focuses only on the core decision fields.
🧪 Practical Usage Workflow
1. Read the panel Momentum State.
2. Check whether price is interacting with the Momentum Reset Pocket.
3. Compare Pullback Quality and Continuation Score.
4. Locate the Risk Edge and Target-Room Corridor.
5. Use the Action row to decide whether the context is READY, still WATCH, weak, invalid, or only worth scanning.
🔍 Interpretation Guidelines
Think of the script as a continuation readiness map, not a command system.
A higher score means the active momentum pullback matches the script's internal definition of cleaner continuation structure. A lower score means one or more components are missing, such as trend support, recovery quality, volume context, or target room.
The invalidation rail is a planning boundary for the active context. It is not a guaranteed stop level and should not replace the user's own risk process.
🚫 What This Script Is NOT
This script is not a prediction engine.
This script is not financial advice.
This script is not an auto-trading system.
This script does not provide guaranteed signals.
This script does not replace independent confirmation, position sizing, or risk management.
⚠️ Limitations & Transparency
Momentum continuation behavior changes across symbols, sessions, and timeframes.
The default 1H Focus profile intentionally suppresses active labels, zones, and alerts outside the intended hourly review window.
Low-liquidity markets can distort volume behavior and reset quality.
High volatility can widen risk edges and reduce target-room clarity.
Sideways conditions can create repeated resets without clean continuation.
No rule-based script can fully account for sudden news, spread changes, slippage, or discretionary execution constraints.
🧠 Market Context Notes
Momentum pullbacks are often more useful when the broader trend remains intact, the pullback is controlled rather than impulsive against trend, and the recovery candle shows clear close quality.
The best reads usually come from alignment between structure, momentum, volume, volatility, and clean forward room.
🧾 Use Case Examples
When price pulls into the reset pocket during bullish momentum and then recovers the trigger line with a stronger score, the script can mark READY for continuation review.
When price enters the pocket but momentum slope fades and pullback depth becomes excessive, the script can mark WEAK RESET.
When price crosses the invalidation rail, the active reset context is treated as lost and should be rebuilt.
🧱 System Philosophy
AGPro tools are built around structured interpretation.
The goal is not to create more chart noise. The goal is to turn visible market behavior into a cleaner decision framework: context, quality, risk, target room, and next action.
🔐 Non-Promise Statement
No script can provide certainty.
No score guarantees continuation.
The output should be interpreted as structured context, not as a promise of future price movement.
📉 Risk Disclosure
Trading involves risk.
Users are responsible for their own analysis, confirmation, position sizing, and decisions.
This script is for educational and analytical use only and does not provide financial advice.
📚 Educational Note
Use the planner to study how momentum resets behave across different symbols and timeframes. Over time, compare READY, WATCH, WEAK RESET, and INVALID states to understand which environments produce cleaner continuation structure.
Indicator
