Dual RSI Spread Strategy [Custom]
概述
这是一个综合性的动量交易工具,结合了双重 RSI 交叉系统与经典 RSI 背离检测功能。该指标旨在通过分析短期与长期动量的“剪刀差”来识别潜在的超买/超卖区域,并辅以顶底背离信号作为反转确认。
核心功能与逻辑
1. 双重 RSI 差值信号 (Dual RSI Spread) 该策略同时计算两条 RSI 曲线:
短周期 RSI (默认 13):对价格变化反应灵敏。
长周期 RSI (默认 42):代表长期趋势基准。
交易信号基于两条 RSI 的差值 (Spread) 生成,逻辑如下:
🟢 买入信号 (Buy):当 长周期 RSI - 短周期 RSI > 20。这意味着短期动量严重低于长期基准,市场可能处于深度超卖状态,存在均值回归需求。
🔴 卖出信号 (Sell):当 短周期 RSI - 长周期 RSI > 20。这意味着短期动量冲高过快,远超长期基准,市场可能过热。
2. RSI 顶底背离 (Divergence) 指标内置了经典的背离检测算法(可选择开启/关闭),应用于短周期 RSI:
Bullish Divergence (看涨背离):价格创新低,但 RSI 底部抬高。
Bearish Divergence (看跌背离):价格创新高,但 RSI 顶部降低。 (注意:背离功能默认关闭,请在设置中勾选 "Calculate Divergence" 开启)
3. 高度自定义
支持自定义 RSI 长度、平滑类型 (SMA/EMA) 及平滑长度。
支持自定义差值阈值(默认 20)。
完整的告警支持:可分别为差值信号和背离信号设置 TradingView 告警。
如何使用 建议将“差值信号”作为预警,结合“背离信号”作为确认。当出现“买入”标签且随后出现 Bullish 背离时,胜率通常更高。
Overview
This is a comprehensive momentum trading tool that combines a Dual RSI Cross System with Classic RSI Divergence Detection. It is designed to identify potential overbought/oversold conditions by analyzing the "spread" between short-term and long-term momentum, reinforced by divergence signals for reversal confirmation.
Key Features & Logic
1. Dual RSI Spread Signals The script calculates two RSI lines simultaneously:
Short RSI (Default 13): Sensitive to immediate price changes.
Long RSI (Default 42): Represents the longer-term baseline.
Trading signals are generated based on the Spread (Difference) between these two lines:
🟢 BUY Signal: Triggers when Long RSI - Short RSI > 20. This implies short-term momentum is significantly below the long-term baseline, suggesting a deep oversold condition and potential mean reversion.
🔴 SELL Signal: Triggers when Short RSI - Long RSI > 20. This implies short-term momentum has spiked too far above the baseline, suggesting an overheated market.
2. RSI Divergence The indicator includes a built-in divergence detection algorithm (optional) applied to the Short RSI:
Bullish Divergence: Price makes a lower low, but RSI makes a higher low.
Bearish Divergence: Price makes a higher high, but RSI makes a lower high. (Note: Divergence is disabled by default. Please check "Calculate Divergence" in the settings to enable).
3. Fully Customizable
Configurable RSI lengths, Smoothing types (SMA/EMA), and Smoothing lengths.
Adjustable Spread Threshold (Default is 20).
Full Alert Support: Set alerts specifically for Spread Signals or Divergence detections.
How to Use It is recommended to use the "Spread Signals" as an early warning system and the "Divergence Signals" as confirmation. A setup where a "BUY" spread label is followed by a Bullish Divergence line often presents a higher probability trade.
M-oscillator
Median Anchor Oscillator [ALPHA]ALPHA – Median Anchor Oscillator
A clean, outlier-resistant z-score oscillator built around a rolling median (not mean) and Median Absolute Deviation (MAD) instead of standard deviation.
Key features:
- Green/red histogram shows deviation strength from the median anchor
- Dashed lines at ± threshold (default 2.5 – adjustable)
- Optional purple fill for extreme zones
- Auto-scales perfectly (no price squish on BTC or high-value assets)
Ideal for mean-reversion traders spotting overextension or "gravity" pullbacks.
SHORT = breaching top dashed line (red)
LONG = breaching bottom dashed line (green)
Use with a MACD or RSI for those divergence signal confirmations.
This is ALPHA – early version, still tuning.
Companion overlay suite (medians, pivot, signals, RSI overlay) coming in future, possible standalone update(s).
Feedback / suggestions very welcome!
Tags: z-score, median, oscillator, mean-reversion, BTC, crypto, deviation
Apex Wallet - Ultimate Multi-Oscillator (9-in-1) & Market TrendThe Apex Wallet Multi-Oscillator is a powerful "All-in-One" technical analysis tool designed to clean up your charts by combining nine of the most effective momentum and trend indicators into a single workspace. This script is engineered to adapt to different trading styles—Scalping, Day-Trading, or Swing-Trading—with a single click.
+4
Whether you are looking for trend exhaustion, momentum shifts, or volatility breakouts, this indicator provides a clear, visual summary of market dynamics.
+1
Key Features
9 Indicators in 1: Access RSI, Stochastic, StochRSI, MACD, Zero-Lag MACD, Andean Oscillator, and the Traders Dynamic Index (TDI).
+1
Smart Layout Modes:
Raw (Brut): Classic view with original values.
+1
Stacked (Empilé): Organizes indicators into fixed vertical zones to prevent overlapping.
+1
Proportional Stacking: Automatically calculates and adjusts the height of blocks based on active oscillators.
+2
Trading Presets: Switch between Scalping, Day-Trading, and Swing-Trading modes. The script automatically adjusts periods and lengths (e.g., RSI 7 for Scalping vs. 21 for Swing) to match the market speed.
+3
Included Oscillators
Stochastic & RSI: Standard momentum tools with color-coded signals.
Traders Dynamic Index (TDI): A full suite including the RSI Price Line, Signal Line, and Market Base Line with optional Bollinger Bandwidth columns.
+1
MACD & Zero-Lag MACD: Includes histogram fills and trend-colored lines for faster reaction to price movement.
+2
Andean Oscillator: An advanced tool to identify Bull/Bear dominance and market "Range" or "Reversal" states.
Visual Signals & Alerts
Market Trend: Optional visual coloring based on indicator crosses to quickly spot bullish or bearish momentum.
+3
Customizable UI: High-fidelity rendering with dashed levels and proportional fills for a professional, clean interface.
+1
Integrated Alerts: Pre-configured alerts for Andean Oscillator trend changes (Bullish, Bearish, or Reversal).
How to use
Select your Trading Mode in the settings based on your timeframe.
Toggle the indicators you want to see.
Use the Stacked mode if you want to keep your sub-window organized without lines crossing each other.
Attorney Ko's Moving Average 3 Stochastic책 고변호사 주식강의에 나오는 이평선과 스토캐스틱을 적용했다.
60이평선을 40이평선, 120이평선을 80이평선으로 바꿨다.
I applied the moving averages and stochastics from Attorney Koh's stock lecture.
I changed the 60 moving average to the 40 moving average, and the 120 moving average to the 80 moving average.
Volume Buy/Sell Pressure with Hot PercentFULL DESCRIPTION (Condensed Version)
Volume Buy/Sell Pressure with Hot Percent
Professional volume analysis indicator revealing real-time buying and selling pressure with hot volume detection and customizable alerts.
Key Features:
Three-Layer Histogram - Visual breakdown: total volume (gray), buying pressure (bright green), selling pressure (bright red)
Flexible Display - Toggle between percentage view or actual volume counts for buying/selling pressure
Real-Time Metrics - Live buying/selling data, current bar volume, daily totals, 30-bar/30-day averages with comma formatting
Hot Volume Detection - Automatic alerts with white triangle markers when volume exceeds threshold
Customizable Labels - 4 sizes (Small/Normal/Large/Huge), 9 positions (all corners/centers/middles), toggle any metric on/off
Smart Color Coding - Green (high volume/buying dominant), Red (selling dominant), Orange (equal pressure), Gray (low volume). Black text on bright backgrounds for maximum contrast.
Alert Conditions:
Hot Volume: Triggers when volume exceeds moving average by specified percentage
Unusual 30-Bar Volume: Current bar significantly above 30-bar average
Unusual 30-Day Volume: Daily volume significantly above 30-day average
Settings:
Display - Toggle metrics, choose percentage/count display, select size and position
Volume - Set unusual volume threshold (default 200%), adjust average length (default 21)
Hot Volume - Choose SMA/EMA, set lookback period (default 20), define threshold (default 100%)
Perfect For:
Day traders scalping futures (MNQ, MES, MYM, MGC, MCL)
Swing traders identifying accumulation/distribution
Breakout traders needing volume confirmation
All timeframes - tick charts to daily/weekly
Use Cases:
Confirm trend strength with pressure alignment
Spot reversals when pressure diverges from price
Validate breakouts with hot volume alerts
Identify smart money through unusual volume
Track institutional activity at key levels
What Makes This Different:
Shows buying vs selling pressure WITHIN each bar using price range methodology. Most indicators only show total volume or simple up/down. This reveals actual pressure distribution regardless of bar direction. Three-layer design makes order flow instantly visible.
Pro Tips:
Use "Large" labels at 100% zoom
Enable volume count display for position sizing
Position labels in corners to avoid price overlap
Enable alerts during pre-market and news events
Watch for divergences: price up + selling pressure up = potential reversal
Compare to both 30-bar and 30-day for full context
Technical:
Pine Script v6
All timeframes and instruments
No repainting
Efficient code, minimal CPU
Three alert conditions
Works on futures, stocks, forex, crypto
Clean, professional presentation. Essential for volume analysis and order flow tracking.
VWAP x EMA9 Crossover (FLIP BUY/SELL)Another simple script, please use as needed and provide any feedback back or recommendations
Relative Strength Index (RSI) w/ Multi Time Frame w/ DivergencesThis indicator is an advanced evolution of the classic Relative Strength Index (RSI), designed to provide deeper market context by combining Momentum, Multi-Timeframe (MTF) analysis, and Divergences into a single, clean visual tool.
Unlike standard indicators, RSI MTF Pro v2 allows you to configure the Main RSI and the Background Trend Zone independently, giving you full control over your strategy (e.g., watching a 15m RSI while monitoring the 4H trend).
Key Features:
🚀 Dual MTF Engine: Completely independent settings for the Main RSI Line and the Background Zone. You can choose different Timeframes, Lengths, and Levels for each.
heatmap Style Background: The indicator background changes color (Red/Green) based on the MTF RSI trend, helping you filter out bad trades and stick to the dominant trend.
🎨 Smart Gradient Fills: To keep your chart clean, the gradient colors (Red/Green fills) only appear when the RSI breaches the Overbought or Oversold levels.
🎯 Divergence Detector: Automatically spots and marks Regular Bullish and Bearish divergences with pivot-based logic.
How to Use:
Trend Confirmation: Use the Background Color to determine the higher timeframe direction (e.g., Red Background = Uptrend).
Entry Signals: Look for RSI signals that align with the background color (e.g., RSI Oversold/Green Gradient + Green Background).
Reversals: Use the built-in Divergence circles to spot potential trend reversals.
Settings:
Main RSI: Customizable Timeframe, Length, OB/OS Levels.
MTF Background: Independent Timeframe, Length, and Zone thresholds (e.g., >60 Red, <40 Green).
Divergences: Toggle On/Off and adjust Pivot lookback periods.
Disclaimer: This tool is for informational purposes only and does not constitute financial advice.
Kalman Hull Trend Score [BackQuant]Kalman Hull Trend Score
Overview
Kalman Hull Trend Score is a trend-strength and regime-evaluation indicator that combines two ideas, Kalman filtering and Hull-style smoothing, then measures persistence of that filtered trend using a rolling score. The goal is to produce a cleaner, more stable trend read than typical moving average tools, while still reacting fast enough to be practical in live markets.
Instead of treating a moving average as a simple line you cross, this indicator turns the filtered trend into an oscillator-like score that answers: “Is the smoothed trend consistently progressing, or is it stalling and degrading?”
Core idea
The indicator is built from two components:
A Kalman-based smoothing engine that estimates price state and reduces noise adaptively.
A Hull-style construction that uses multiple Kalman passes to create a responsive, low-lag trend filter.
Once the Kalman Hull filter is built, a persistence score is calculated by comparing the current Kalman Hull value to many past values. The result is a trend score that rises in sustained trends and compresses or flips during deterioration.
Why Kalman instead of standard smoothing
Traditional moving averages apply fixed smoothing rules regardless of market conditions. A Kalman filter behaves differently, it is designed to estimate an underlying state in noisy data, adjusting how much it “trusts” new price information versus prior estimates.
This script exposes that behavior through two key controls:
Measurement Noise: how noisy the observed price is assumed to be.
Process Noise: how much the underlying state is allowed to evolve from bar to bar.
Together, these settings let you tune the balance between smoothness and responsiveness without relying on blunt averaging alone.
Kalman filter mechanics (conceptual)
Each update cycle follows the classic structure:
Prediction: assume the state continues, and expand uncertainty by process noise.
Update: compute Kalman Gain, then blend the new price observation into the estimate.
Correction: reduce uncertainty based on how much the filter accepted the new information.
When measurement noise is higher, the filter becomes more conservative, smoothing harder. When process noise is higher, the filter adapts faster to regime changes, but can become more reactive.
Check out the original script:
Kalman Hull construction
The “Hull” component is not a standard HMA built from WMAs. Instead, it recreates the Hull idea using Kalman filtering as the smoothing primitive. The structure follows the same intent as HMA, reduce lag while keeping the line smooth, but does it with Kalman passes:
Apply Kalman smoothing over multiple effective lengths.
Combine them using the Hull-style weighting logic.
Run the combined output through another Kalman pass to finalize smoothing.
The result is a Kalman Hull filter that aims to track trend with less jitter than raw price, and less lag than slow averages.
Another Kalman Hull with Supertrend
Trend scoring logic
The trend score is computed by comparing the current Kalman Hull value to past Kalman Hull values over a fixed lookback range (1 to 45 bars in this script):
If current kalmanHMA > kalmanHMA , add +1
If current kalmanHMA < kalmanHMA , add -1
This produces a persistence score rather than a simple direction signal. Strong trends where the filter keeps advancing will accumulate positive comparisons. Weak trends, chop, or reversals will cause the score to flatten, decay, or flip negative.
Interpreting the score
Read the score as trend conviction and persistence:
High positive values: bullish persistence, the filtered trend is progressing consistently.
Low positive values: trend exists but is fragile, progress is slowing.
Near zero: indecision, range behavior, frequent challenges to structure.
Negative values: bearish persistence or sustained deterioration in the filtered trend.
The rate of change matters:
Score expansion suggests trend is gaining traction.
Score compression often signals consolidation or exhaustion.
Fast flips usually accompany regime transitions.
Signal thresholds and regime transitions
User-defined thresholds convert the score into regimes:
Long threshold: score must exceed this level to confirm bullish persistence.
Short threshold: a crossunder of the score triggers bearish regime transition.
This is intentionally conservative. Long bias is maintained while the score holds above the long threshold. Short transitions are event-triggered on breakdown via crossunder, helping avoid constant flipping during minor noise.
Signals are only plotted on regime changes (first bar of the flip), keeping them clean for alerts and backtests.
Visual presentation
The indicator provides multiple layers depending on how you want to use it:
Kalman Hull Trend Score oscillator, color-coded by active regime.
Optional Kalman Hull filter plotted on the price chart for structure context.
Optional threshold reference lines for quick regime mapping.
Optional candle coloring and background shading for instant readability.
You can run it as a pure score panel or as a combined panel + on-chart trend overlay.
How to use in practice
Trend filtering
Favor long setups when the score remains above the long threshold.
Reduce directional aggression when score compresses toward zero.
Treat a short-threshold breakdown as a regime risk event, not just a signal.
Trend quality assessment
Rising score supports continuation trades and adds confidence to breakouts.
Flat or falling score warns that trend persistence is fading.
If price trends but score fails to expand, trend may be weak or liquidity-driven.
Trade management
Use the Kalman Hull line as dynamic structure reference on chart.
Use score deterioration to scale out before a full regime flip.
Use regime flips as confirmation for bias shifts rather than prediction.
Tuning guidelines
Measurement Noise
Higher: smoother filter, fewer false shifts, slower to adapt.
Lower: more responsive, more sensitive to microstructure noise.
Process Noise
Higher: adapts quicker to sudden changes, but can become twitchy.
Lower: steadier state estimate, but slower during sharp regime transitions.
A practical approach is to first tune measurement noise until the Kalman Hull line matches the “clean trend structure” you want, then adjust process noise to control how quickly it reacts when the regime genuinely changes.
Summary
Kalman Hull Trend Score transforms a Kalman-based Hull-style trend filter into a quantified persistence oscillator. By combining adaptive Kalman smoothing with low-lag Hull logic and a rolling comparison score, it provides a cleaner read on trend quality than basic moving averages or single-condition trend tools. It is best used as a regime filter, trend strength gauge, and structure-aware trade management layer.
Money Flow Index (MFI) w/ Multi Time Frame DivergencesBack color MTF
Money Flow Index (MFI) w/ Multi Time Frame Divergences
Std Deviation RangeWhen you want to know when the standard deviation is outside your boundaries this indicator is for you. It lets you set you SD limit and it can color the background when you are out of bounds. Currently the default is 20 SMA bollinger bands set at 1.1. If it is inside those limits the background is green and when it exceeds that range the background is red. You can change the SMA, the standard deviation, and the colors.
Delta Hedging Pressure📊 COT Delta Hedging Pressure – Institutional Sentiment Indicator
This indicator visualizes institutional hedging pressure by aggregating delta-style positioning into a clean, session-aware sentiment framework.
Instead of guessing direction, it shows who is likely hedging vs. pressing, helping traders align intraday execution with higher-timeframe positioning.
🔍 What This Indicator Does
Calculates cumulative hedging pressure using price-based delta logic
Classifies market state into:
Bullish (positive hedge pressure)
Bearish (negative hedge pressure)
Neutral (balanced flow)
Resets cleanly by session or user-defined period
Visualizes sentiment using:
Background shading
Labels
Cumulative plots
🧠 How Traders Use It
Directional bias filter (trade only with sentiment)
Context for FVGs, liquidity raids, and pullbacks
Avoids chop by identifying neutral hedge conditions
Pairs especially well with:
XAUUSD
Index CFDs
Futures / CFD hybrids
⚙️ Key Features
Session-aware cumulative logic
Adjustable sensitivity and lookback
Clean visual design (no clutter)
Non-repainting calculations
Works on 1m → HTF
⚠️ Important Notes
This is a context tool, not a signal generator
Best used alongside price structure and risk management
Designed for discipline and alignment, not overtrading
🎯 Ideal For
Scalpers & intraday traders
Traders using:
Fair Value Gaps (FVG)
Liquidity sweeps
Session-based models
Traders transitioning from prop logic to personal capital
🧩 Final Thought
This indicator answers one question:
“Is the market hedging or pressing — and should I be aggressive or patient?”
If you trade with structure, this keeps you on the right side.
Quality-Controlled Trend StrategyOverview
This strategy demonstrates a clean, execution-aware trend framework with fully isolated risk management.
Entry conditions and risk logic are intentionally separated so risk parameters can be adjusted without altering signal behavior.
All calculations are evaluated on confirmed bars to ensure backtest behavior reflects real-time execution.
Design intent
Many scripts mix entries and exits in ways that make results fragile or misleading.
This strategy focuses on structural clarity by enforcing:
confirmed-bar logic only
fixed and transparent risk handling
consistent indicator calculations
one position at a time
It is intended as a baseline framework rather than an optimized system.
Trading logic (high level)
Trend context
EMA 50 vs EMA 200 defines directional bias
Entry
Price alignment with EMA 50
RSI used as a momentum confirmation, not as an overbought/oversold signal
Risk management
Stop-loss based on ATR
Fixed risk–reward structure
Risk logic is isolated from entry logic
Editing risk without affecting signals
All stop-loss and take-profit calculations are handled in a dedicated block.
Users can adjust:
ATR length
stop-loss multiplier
risk–reward ratio
without modifying entry conditions.
This allows controlled experimentation while preserving signal integrity.
Usage notes
Results vary by market, timeframe, and volatility conditions.
This script is provided for testing and educational purposes and should be validated across multiple symbols and forward-tested before use in live environments.
Consolidating Trend MasterA complimentary Oscillator to the Hybrid ST/EMA Trend Table Indicator to help provide confident Confluence signals and when the market is consolidating/choppy/moving sideways.
This Oscillator may also help someone with scalping.
warning as always, no chart is 100% accurate.
Trend Cloud with Buy/Sell Text [wjdtks255]Indicator Title: Trend Cloud with Buy/Sell Signal Pro
Short Description
A high-probability trend-following indicator based on Supertrend dynamics, enhanced with a Volume Filter to pinpoint explosive entries while minimizing false breakouts.
Detailed Description (Overview)
The Trend Cloud with Buy/Sell Text is designed for traders who prioritize clarity and momentum. It visualizes market trends through a "Trend Cloud" system and generates real-time BUY/SELL signals only when price action is backed by significant trading volume.
Key Technical Pillars
Dynamic Trend Cloud: Fills the area between the price and the Supertrend line, providing immediate visual feedback on trend strength and potential support/resistance zones.
Smart Volume Filter: A unique logic that compares current volume against a 20-period moving average. Labels only appear when a trend shift occurs with above-average volume, filtering out weak "fakeouts."
No-Repaint Labels: Signals are calculated and fixed at the close of the candle, ensuring that the BUY/SELL text remains permanent for reliable historical backtesting and live execution.
The Alpha Hunter Strategy (How to Trade)
1. Long Entry (Buy)
Condition: The cloud turns Aqua and a "BUY" label appears below the candle.
Confirmation: Ensure the price remains above the Aqua Trend Line.
Volume Check: The indicator automatically verifies if the volume is higher than the 20-period average before displaying the label.
Exit: Exit when a "SELL" signal appears or the price closes below the Aqua line.
2. Short Entry (Sell)
Condition: The cloud turns Red and a "SELL" label appears above the candle.
Confirmation: Price should stay below the Red Trend Line.
Exit: Exit when a "BUY" signal appears or the price closes above the Red line.
Input Parameters & Optimization
ATR Period (Default: 10): Determines the sensitivity to price volatility.
ATR Factor (Default: 3.0): Controls the distance of the trend line. Increase to 3.5 - 4.0 to reduce noise in choppy markets.
Volume Filter (Toggle): When enabled, only high-momentum signals are shown.
Recommended Usage
Best Timeframes: 15m, 1h, 4h.
Asset Classes: Highly effective for Crypto (BTC/ETH) and high-volume stocks.
Alpha Hunter Integrated MACD & Oscillator [wjdtks255]Indicator Title: Alpha Hunter Integrated MACD & Oscillator Pro
Short Description
A high-precision hybrid oscillator that integrates MACD dynamics with a secondary-smoothed histogram to eliminate market noise and capture trend reversals with minimal lag.
Detailed Description
Overview
The Alpha Hunter Integrated MACD & Oscillator is designed to overcome the inherent lag of standard MACD indicators. By applying an exponential moving average (EMA) filter to the histogram itself and incorporating a momentum direction check, this tool identifies high-probability entry points while filtering out "whipsaws" commonly found in choppy markets.
Key Technical Pillars
Dual-Smoothed Histogram: Unlike standard oscillators, this script smooths the raw histogram values using a secondary filtering period. This reveals the true underlying momentum before price action fully shifts.
Momentum Directional Filter: Entry signals are only triggered when the MACD line’s slope aligns with the crossover, ensuring you don't enter against a stalling trend.
Dynamic Trend Clouds: The visual fill between the MACD and Signal lines acts as a "Trend Cloud," providing immediate visual feedback on the strength and duration of the current trend.
The Winning Trading Strategy (How to Use)
To maximize win rates, it is highly recommended to use this indicator as a Confirmation Oscillator alongside a Long-term Trend Filter (like a 200 EMA) on your main chart.
1. Long Setup (Buy)
Context: Price must be trading above the 200 EMA on the main chart.
Signal: A green "BUY" triangle and label appear on the oscillator.
Confirmation: The Histogram should be green and rising.
Exit: Exit at a pre-defined Take Profit (TP) box or when a bearish MACD crossunder occurs.
2. Short Setup (Sell)
Context: Price must be trading below the 200 EMA on the main chart.
Signal: A red "SELL" triangle and label appear on the oscillator.
Confirmation: The Histogram should be red and falling.
Exit: Exit at the designated Stop Loss (SL) or when a bullish MACD crossover occurs.
Input Parameters & Optimization
Fast/Slow/Signal: Default 12, 26, 9. (Standard for most markets).
Signal Smoothing: Set to 5 for a balance of speed and reliability. Increase to 8+ for swing trading on higher timeframes.
Recommended Timeframes: 15m, 1h, and 4h for the best signal-to-noise ratio.
Author's Note
This indicator is a "No-Repaint" script. Signals are confirmed at the close of the candle to ensure reliability during live trading. Always use proper risk management.
T3 smooth MACD BB What this script does – in plain words
Smoothes the MACD with a special T3 filter, turning the raw MACD into a smoother line so short‑term noise is reduced.
Draws Bollinger‑style bands around that smoothed MACD, giving a “mid line” and upper/lower envelopes that show how far the line is from its recent average.
Colors the main line green when it’s rising and red when it’s falling, helping you see the trend at a glance.
Adds a bold zero line plus light gray markers on the bands so you can spot crossovers easily.
Includes a translucent blue fill between the upper and lower bands for visual emphasis.
This gives a clear, color‑coded view of MACD momentum plus volatility bands—all on the same indicator pane.
MINI Lead Osc v2_ CCI_ Impulse_ REG🔹 MINI Lead Osc v2 — Momentum, Impulse & Early Reversal Tool
MINI Lead Osc v2 is a leading momentum oscillator designed to detect early shifts in market strength, impulse exhaustion, and potential reversals before they become obvious on price.
This indicator is part of the ICT Suite ecosystem and is engineered to work in confluence with:
Regression SuperTrend (WAIT)
Liquidity Oscillator (Structure & Bias)
Used together, they form a complete top-down trading framework.
⚙️ Core Logic
MINI Lead Osc v2 blends multiple engines into a single clean signal:
• CCI + RSI slope momentum
• ATR volatility shift
• Pivot-based divergence detection
• Adaptive Sensitivity+ engine
• Regression channel (linreg + RMSE bands)
The output is a normalized lead line that reacts before classic lagging indicators.
🚀 What This Indicator Is Best For
✔ Early trend continuation signals
✔ Detecting impulse starts, weakness, and distribution
✔ Filtering noise during ranges
✔ Momentum confirmation for pullback entries
✔ Spotting divergence without repainting
This is not a standalone “buy/sell spam” indicator — it is a decision-quality tool.
🔁 How to Use (Recommended Setup)
For best results, use MINI Lead Osc v2 together with:
1️⃣ Regression SuperTrend (WAIT)
→ Defines dominant trend & market regime
→ Filters counter-trend signals
2️⃣ Liquidity Oscillator (Structure)
→ Confirms break → pullback → continuation logic
→ Adds HTF bias & session context
3️⃣ MINI Lead Osc v2 (this script)
→ Times entries
→ Detects early momentum shifts
→ Confirms impulse quality
📌 Trade only when all three align.
🧠 Important Notes
• Signals are non-repainting (bar-close confirmed)
• Designed for discretionary trading, not automation
• Works best on 5m – 15m – 1h timeframes
• Crypto, Futures, and FX friendly
⚠️ Disclaimer
This indicator is for educational and analytical purposes only.
It does not constitute financial advice.
Always manage risk and confirm with price action.
Trade Decision MatrixTrade Decision Matrix (TDM)
Trade Decision Matrix (TDM) is a professional-grade, multi-phase market intelligence indicator designed to assist traders in understanding market structure, regime behavior, capital confidence, and execution readiness using a systematic, probabilistic framework.
This indicator does not generate trade signals. Instead, it provides a structured decision matrix similar to institutional trading desks, combining regime analytics, entropy confidence, Bayesian reliability, capital allocation logic, and scenario interpretation.
🔹 Core Architecture
TDM is built using a nine-phase institutional decision pipeline:
Phase 1 — Market Context
Spot–future basis, volatility normalization, and structural slope detection.
Phase 2 — Regime Engine
Probabilistic classification of Trend, Breakout, Range, or Mean Reversion environments.
Phase 3 — Orthogonal Model Cores
Independent statistical, trend, breakout, and mean-reversion cores.
Phase 4 — Bayesian Reliability Engine
Adaptive reliability scoring for each core using Bayesian reinforcement.
Phase 5 — Capital Engine
Capital confidence and capital mode based on opportunity quality, regime clarity, entropy confidence, and risk filters.
Phase 6 — Decision Matrix
Bias, participation level, and trade quality grading.
Phase 7 — Scenario Engine
Contextual scenario interpretation such as Trend Expansion, Breakout Failure, Range Compression, etc.
Phase 8 — Execution Gate
Execution readiness filter based on capital and model alignment.
Phase 9 — Reversal Engine
Probabilistic reversal risk estimation using multi-factor logic.
🔹 Regime Entropy Confidence
TDM uses Shannon entropy to measure regime uncertainty and converts it into a confidence score.
Lower entropy = higher regime confidence.
Higher entropy = unstable or transitional market state.
This prevents over-confidence in noisy conditions.
🔹 Institutional Commentary Engine
A professional commentary layer interprets all internal engines and outputs institutional-style guidance such as:
• Institutional Alignment
• Capital Protection Mode
• Regime Uncertainty
• Momentum Continuation
• Structural Breakout
• Volatility Coiling
• Reversal Risk Elevated
This commentary is designed for situational awareness, not signal generation.
🔹 Dashboard
The dark-theme dashboard provides a compact institutional decision panel:
• Regime
• Entropy Confidence
• Scenario
• Bias
• Strength
• Capital Confidence
• Capital Mode
• Trade Quality
• Execution State
• Commentary
• Reversal Risk
All values are color-coded with heat shading for instant visual interpretation.
🔹 How To Use
TDM is best used as a decision support layer alongside your own trading strategy.
Typical workflow:
Identify regime and entropy confidence.
Observe capital confidence and capital mode.
Check scenario and bias alignment.
Confirm execution readiness.
Monitor reversal risk before entering or holding positions.
This tool is ideal for:
• Intraday traders
• Swing traders
• Options traders
• Index traders
• Systematic discretionary traders
🔹 Important Notes
• This indicator does NOT produce buy/sell signals.
• It is a decision intelligence framework.
• It should not be used as a standalone trading system.
• Always apply personal risk management.
🔹 Disclaimer
This indicator is provided for educational and informational purposes only.It does not constitute financial advice or investment recommendations.Trading involves risk. Users are responsible for their own trading decisions.
Multi Cycles Slope-Fit System MLMulti Cycles Predictive System : A Slope-Adaptive Ensemble
Executive Summary:
The MCPS-Slope (Multi Cycles Slope-Fit System) represents a paradigm shift from static technical analysis to adaptive, probabilistic market modeling. Unlike traditional indicators that rely on a single algorithm with fixed settings, this system deploys a "Mixture of Experts" (MoE) ensemble comprising 13 distinct cycle and trend algorithms.
Using a Gradient-Based Memory (GBM) learning engine, the system dynamically solves the "Cycle Mode" problem by real-time weighting. It aggressively curve-fits the Slope of component cycles to the Slope of the price action, rewarding algorithms that successfully predict direction while suppressing those that fail.
This is a non-repainting, adaptive oscillator designed to identify market regimes, pinpoint high-probability reversals via OB/OS logic, and visualize the aggregate consensus of advanced signal processing mathematics.
1. The Core Philosophy: Why "Slope" Matters:
In technical analysis, most traders focus on Levels (Price is above X) or Values (RSI is at 70). However, the primary driver of price action is Momentum, which is mathematically defined as the Rate of Change, or the Slope.
This script introduces a novel approach: Slope Fitting.
Instead of asking "Is the cycle high or low?", this system asks: "Is the trajectory (Slope) of this cycle matching the trajectory of the price?"
The Dual-Functionality of the Normalized Oscillator
The final output is a normalized oscillator bounded between -1.0 and +1.0. This structure serves two critical functions simultaneously:
Directional Bias (The Slope):
When the Combined Cycle line is rising (Positive Slope), the aggregate consensus of the 13 algorithms suggests bullish momentum. When falling (Negative Slope), it suggests bearish momentum. The script measures how well these slopes correlate with price action over a rolling lookback window to assign confidence weights.
Overbought / Oversold (OB/OS) Identification:
Because the output is mathematically clipped and normalized:
Approaching +1.0 (Overbought): Indicates that the top-weighted algorithms have reached their theoretical maximum amplitude. This is a statistical extreme, often preceding a mean reversion or trend exhaustion.
Approaching -1.0 (Oversold): Indicates the aggregate cycle has reached maximum bearish extension, signaling a potential accumulation zone.
Zero Line (0.0): The equilibrium point. A cross of the Zero Line is the most traditional signal of a trend shift.
2. The "Mixture of Experts" (MoE) Architecture:
Markets are dynamic. Sometimes they trend (Trend Following works), sometimes they chop (Mean Reversion works), and sometimes they cycle cleanly (Signal Processing works). No single indicator works in all regimes.
This system solves that problem by running 13 Algorithms simultaneously and voting on the outcome.
The 13 "Experts" Inside the Code:
All algorithms have been engineered to be Non-Repainting.
Ehlers Bandpass Filter: Extracts cycle components within a specific frequency bandwidth.
Schaff Trend Cycle: A double-smoothed stochastic of the MACD, excellent for cycle turning points.
Fisher Transform: Normalizes prices into a Gaussian distribution to pinpoint turning points.
Zero-Lag EMA (ZLEMA): Reduces lag to track price changes faster than standard MAs.
Coppock Curve: A momentum indicator originally designed for long-term market bottoms.
Detrended Price Oscillator (DPO): Removes trend to isolate short-term cycles.
MESA Adaptive (Sine Wave): Uses Phase accumulation to detect cycle turns.
Goertzel Algorithm: Uses Digital Signal Processing (DSP) to detect the magnitude of specific frequencies.
Hilbert Transform: Measures the instantaneous position of the cycle.
Autocorrelation: measures the correlation of the current price series with a lagged version of itself.
SSA (Simplified): Singular Spectrum Analysis approximation (Lag-compensated, non-repainting).
Wavelet (Simplified): Decomposes price into approximation and detail coefficients.
EMD (Simplified): Empirical Mode Decomposition approximation using envelope theory.
3. The Adaptive "GBM" Learning Engine
This is the "Machine Learning" component of the script. It does not use pre-trained weights; it learns live on your chart.
How it works:
Fitting Window: On every bar, the system looks back 20 days (configurable).
Slope Correlation: It calculates the correlation between the Slope of each of the 13 algorithms and the Slope of the Price.
Directional Bonus: It checks if the algorithm is pointing in the same direction as the price.
Weight Optimization:
Algorithms that match the price direction and correlation receive a higher "Fit Score."
Algorithms that diverge from price action are penalized.
A "Softmax" style temperature function and memory decay allow the weights to shift smoothly but aggressively.
The Result: If the market enters a clean sine-wave cycle, the Ehlers and Goertzel weights will spike. If the market explodes into a linear trend, ZLEMA and Schaff will take over, suppressing the cycle indicators that would otherwise call for a premature top.
4. How to Read the Interface:
The visual interface is designed for maximum information density without clutter.
The Dashboard (Bottom Left - GBM Stats)
Combined Fit: A percentage score (0-100%). High values (>70%) mean the system is "Locked In" and tracking price accurately. Low values suggest market chaos/noise.
Entropy: A measure of disorder. High entropy means the algorithms disagree (Neutral/Chop). Low entropy means the algorithms are unanimous (Strong Trend).
Top 1 / Top 3 Weight: Shows how concentrated the decision is. If Top 1 Weight is 50%, one algorithm is dominating the decision.
The Matrix (Bottom Right - Weight Table)
This table lifts the hood on the engine.
Fit Score: How well this specific algo is performing right now.
Corr/Dir: Raw correlation and Direction Match stats.
Weight: The actual percentage influence this algorithm has on the final line.
Cycle: The current value of that specific algorithm.
Regime: Identifies if the consensus is Bullish, Bearish, or Neutral.
The Chart Overlay
The Line: The Gradient-Colored line is the Weighted Ensemble Prediction.
Green: Bullish Slope.
Red: Bearish Slope.
Triangles: Zero-Cross signals (Bullish/Bearish).
"STRONG" Labels: Appears when the cycle sustains a value above +0.5 or below -0.5, indicating strong momentum.
Background Color: Changes subtly to reflect the aggregate Regime (Strong Up, Bullish, Neutral, Bearish, Strong Down).
5. Trading Strategies:
A. The Slope Reversal (OB/OS Fade)
Concept: Catching tops and bottoms using the -1/+1 normalization.
Signal: Wait for the Combined Cycle to reach extreme values (>0.8 or <-0.8).
Trigger: The entry is taken not when it hits the level, but when the Slope flips.
Short: Cycle hits +0.9, color turns from Green to Red (Slope becomes negative).
Long: Cycle hits -0.9, color turns from Red to Green (Slope becomes positive).
B. The Zero-Line Trend Join
Concept: Joining an established trend after a correction.
Signal: Price is trending, but the Cycle pulls back to the Zero line.
Trigger: A "Triangle" signal appears as the cycle crosses Zero in the direction of the higher timeframe trend.
C. Divergence Analysis
Concept: Using the "Fit Score" to identify weak moves.
Signal: Price makes a Higher High, but the Combined Cycle makes a Lower High.
Confirmation: Check the GBM Stats table. If "Combined Fit" is dropping while price is rising, the trend is decoupling from the cycle logic. This is a high-probability reversal warning.
6. Technical Configuration:
Fitting Window (Default: 20): The number of bars the ML engine looks back to judge algorithm performance. Lower (10-15) for scalping/quick adaptation. Higher (30-50) for swing trading and stability.
GBM Learning Rate (Default: 0.25): Controls how fast weights change.
High (>0.3): The system reacts instantly to new behaviors but may be "jumpy."
Low (<0.15): The system is very smooth but may lag in regime changes.
Max Single Weight (Default: 0.55): Prevents one single algorithm from completely hijacking the system, ensuring an ensemble effect remains.
Slope Lookback: The period over which the slope (velocity) is calculated.
7. Disclaimer & Notes:
Repainting: This indicator utilizes closed bar data for calculations and employs non-repainting approximations of SSA, EMD, and Wavelets. It does not repaint historical signals.
Calculations: The "ML" label refers to the adaptive weighting algorithm (Gradient-based optimization), not a neural network black box.
Risk: No indicator guarantees future performance. The "Fit Score" is a backward-looking metric of recent performance; market regimes can shift instantly. Always use proper risk management.
Author's Note
The MCPS-Slope was built to solve the frustration of "indicator shopping." Instead of switching between an RSI, a MACD, and a Stochastic depending on the day, this system mathematically determines which one is working best right now and presents you with a single, synthesized data stream.
If you find this tool useful, please leave a Boost and a Comment below!
Old Glory Exhaustion Detector / In Chart Oscillator SignalsThis custom oscillator-based indicator detects potential trend exhaustion and reversal points through overextension thresholds. It highlights overextended candle bodies in gold and plots diamonds for buy/sell signals (red/blue), regular divergences (yellow), and hidden divergences (silver). Customize lengths, thresholds, and all colors via inputs for flexible analysis across timeframes.
Precision Trend Signal V5Strategy Logic OverviewThis indicator is a "Triple-Confirmation" trend-following system. It combines volume-weighted smoothing, immediate price action, and momentum filtering.1. Core ComponentsEMA 1 (The Trigger): Since the period is set to 1, this represents the raw price action. It acts as the fastest possible trigger to capture entries at the exact moment a trend shifts.SALMA (The Baseline): This is a double-smoothed moving average. It provides a stabilized support/resistance line that filters out market noise better than a standard SMA.Tillson T3 (The Trend Filter): Known for its low lag and extreme smoothness. We use this as a "Guardrail." We only take BUY signals when price is above the T3 and SELL signals when price is below it.RSI (The Momentum Filter): Ensures that we only enter a trade when there is sufficient strength ($> 50$ for Long, $< 50$ for Short).2. Signal Rules🚀 BUY SignalA green BUY label appears when:Crossover: EMA 1 crosses above the SALMA line.Trend: The current price is trading above the Tillson T3 line.Momentum: RSI is greater than 50.🔻 SELL SignalA red SELL label appears when:Crossunder: EMA 1 crosses below the SALMA line.Trend: The current price is trading below the Tillson T3 line.Momentum: RSI is less than 50.3. Execution & ManagementTake Profit (TP): Based on your preference, the suggested target is 2%.Alerts: The script includes alertcondition functions. You can set up TradingView alerts to send Webhooks to your quant infrastructure or bot, solving the "manual execution" problem you mentioned.
Keltner-Aroon-EFI FlowKeltner-Aroon-EFI Flow - |K| |A| |E| |F|
KAE Flow is a quantitative trend-aggregation engine designed to determine the dominant market bias by fusing three distinct market dimensions: Volatility, Trend Strength, and Volume.
This script does not rely on a single metric. Instead, it creates a composite "Flow" score derived from the Daily timeframe to act as a high-level bias filter for intraday or swing trading.
1. The Quantitative Logic (The Engine)
The core of this indicator is the KAE Engine, which polls data from the Daily timeframe (by default) to ensure you are always trading in alignment with the macro trend. It aggregates three logical components:
K (Keltner Channels): Measures Volatility Breakouts.
Logic: Returns bullish if price closes above the Upper Channel, bearish if below the Lower Channel. This captures the expansion phase of price action.
A (Aroon): Measures Trend Age & Strength.
Logic: Returns bullish only if the Aroon Up is > 70 and dominating the Aroon Down. This ensures the trend is not just present, but mathematically strong.
E (Elder’s Force Index): Measures Volume-Weighted Momentum.
Logic: Uses volume pressure to confirm price moves. Positive smoothed force indicates bullish accumulation.
2. Signal Processing (ALMA)
Raw data is noisy. The KAE Flow takes the aggregated raw score from the components above and runs it through an ALMA (Arnaud Legoux Moving Average).
Why ALMA? It offers the best balance between smoothness and responsiveness, removing "false flips" in the trend bias while reacting quickly to genuine reversals.
The Color (The Bias):
Deep Blue: Strong Bullish Flow (KAE Score > 0.1). Look for Long entries .
White: Strong Bearish Flow (KAE Score < -0.1). Look for Short entries.
Gray: Neutral/Transition. Volatility is contracting or the trend is conflicting.
5. Settings & Configuration
Keltner/Aroon/EFI Lengths: Fully customizable to fit different asset classes (Crypto vs. Forex).
Active Smoothing: Toggle ALMA on/off.
Active Components: You can toggle specific engines (K, A, or E) on or off. Default uses Keltner + Aroon for a pure Price/Time analysis.
Risk Warning: This indicator pulls higher-timeframe data (Daily) to color lower-timeframes. While this provides a powerful macro view, be aware that closed candle data is used to prevent repainting issues in real-time.
D_Quant --- Trade With Discipline






















