Supertrend + Stochastic StrategySUPERTREND + STOCHASTIC STRATEGY
═══════════════════════════════════════════════════════════════
📊 OVERVIEW
═══════════════════════════════════════════════════════════════
A professional trading indicator that combines the trend-following power of Supertrend with the momentum analysis of Stochastic Oscillator. This dual confirmation system helps traders identify high-probability entry and exit points by requiring both trend alignment and momentum confirmation.
═══════════════════════════════════════════════════════════════
🎯 HOW IT WORKS
═══════════════════════════════════════════════════════════════
The strategy uses two core components working together:
1. SUPERTREND INDICATOR (Trend Filter)
• Identifies the overall market direction
• Green line = Bullish trend
• Red line = Bearish trend
• Acts as the primary filter to avoid counter-trend trades
2. STOCHASTIC OSCILLATOR (Momentum Confirmation)
• Measures the strength of price movement
• K Line (fast) crosses D Line (slow) to generate signals
• Identifies oversold/overbought conditions
• Works behind the scenes to confirm trend changes
═══════════════════════════════════════════════════════════════
📈 SIGNAL LOGIC
═══════════════════════════════════════════════════════════════
BUY SIGNALS:
A buy signal is generated when ALL conditions are met:
✓ Supertrend changes from red to green (trend reversal)
✓ Price closes above the Supertrend line
✓ Stochastic K line crosses above D line
✓ Minimum distance from previous signal has passed
STRONG BUY SIGNALS:
Same as regular buy + coming from oversold zone (below 20)
• Considered more reliable
• Displayed as larger filled circle (●)
SELL SIGNALS:
A sell signal is generated when ALL conditions are met:
✓ Supertrend changes from green to red (trend reversal)
✓ Price closes below the Supertrend line
✓ Stochastic K line crosses below D line
✓ Minimum distance from previous signal has passed
STRONG SELL SIGNALS:
Same as regular sell + coming from overbought zone (above 80)
• Considered more reliable
• Displayed as larger filled circle (●)
═══════════════════════════════════════════════════════════════
⚙️ CUSTOMIZABLE SETTINGS
═══════════════════════════════════════════════════════════════
SUPERTREND SETTINGS:
• ATR Period (default: 10) - Controls sensitivity to price changes
• ATR Multiplier (default: 3.0) - Adjusts distance from price
STOCHASTIC SETTINGS:
• K Period (default: 14) - Lookback period for calculation
• D Period (default: 3) - Smoothing for signal line
• K Smoothing (default: 3) - Additional smoothing for K line
• Oversold Level (default: 20) - Defines oversold zone
• Overbought Level (default: 80) - Defines overbought zone
SIGNAL SETTINGS:
• Show Buy/Sell Signals - Toggle signal visibility
• Show Labels - Display text labels (when enabled, replaces circles)
• Professional Signal Style - Choose between circles (modern) or triangles (classic)
• Minimum Candles Between Signals (default: 5) - Reduces noise
• Strong Signals Only - Filter to show only high-quality signals
═══════════════════════════════════════════════════════════════
💡 HOW TO USE
═══════════════════════════════════════════════════════════════
FOR BEGINNERS:
1. Wait for a signal to appear on the chart
2. Verify price is moving in the signal direction
3. Enter the trade when the signal candle closes
4. Place stop loss below/above recent swing low/high
5. Exit when opposite signal appears or target is reached
FOR ADVANCED TRADERS:
1. Use "Strong Signals Only" for higher quality trades
2. Combine with support/resistance levels
3. Apply proper risk management (1-2% per trade)
4. Consider higher timeframe trend alignment
5. Avoid trading during major news events
BEST PRACTICES:
⚠️ Strong signals (●) are more reliable than regular signals (○)
📊 Works best on H1 timeframe and above
🎯 Enable "Strong Signals Only" to reduce false signals
📈 Most effective in trending markets
🔔 Set up alerts for instant notifications
═══════════════════════════════════════════════════════════════
🎨 VISUAL DISPLAY
═══════════════════════════════════════════════════════════════
DEFAULT MODE (Professional Style):
• Supertrend Line: Green (bullish) / Red (bearish)
• Strong Buy: Large green circle ●
• Regular Buy: Small green circle ○
• Strong Sell: Large red circle ●
• Regular Sell: Small red circle ○
• Dashboard: Live status display (top right)
WITH LABELS ENABLED:
• Text labels replace circles completely
• "STRONG BUY" / "BUY" / "STRONG SELL" / "SELL"
• Clean and clear text-based signals
CLASSIC MODE (Professional Style OFF):
• Traditional triangle arrows (▲ ▼)
• Larger triangles for strong signals
• Smaller triangles for regular signals
═══════════════════════════════════════════════════════════════
📊 RECOMMENDED TIMEFRAMES
═══════════════════════════════════════════════════════════════
✅ EXCELLENT: 4H, Daily, Weekly
⚠️ GOOD: 1H, 2H
❌ NOT RECOMMENDED: Below 1H (too much noise)
═══════════════════════════════════════════════════════════════
🎓 UNIQUE FEATURES
═══════════════════════════════════════════════════════════════
1. SMART FILTERING: Prevents repetitive signals within short periods
2. DUAL CONFIRMATION: Combines trend and momentum for stronger signals
3. SIGNAL CLASSIFICATION: Distinguishes between strong and regular signals
4. COMPREHENSIVE ALERTS: Instant notifications for all signal types
5. CLEAN INTERFACE: Professional design that doesn't clutter the chart
6. FULL FLEXIBILITY: All settings customizable to match your trading style
7. VISUAL OPTIONS: Choose between circles, triangles, or text labels
8. LIVE DASHBOARD: Real-time indicator status at a glance
═══════════════════════════════════════════════════════════════
⚠️ RISK DISCLOSURE
═══════════════════════════════════════════════════════════════
This indicator is a technical analysis tool and does NOT guarantee profits. Trading financial markets involves substantial risk and you may lose your entire capital.
IMPORTANT REMINDERS:
❌ Do not rely solely on this indicator
✅ Use strict risk management rules
✅ Test the strategy on a demo account first
✅ Combine with other technical analysis tools
✅ Never risk money you cannot afford to lose
✅ Past performance does not guarantee future results
This indicator is for educational and informational purposes only and should not be considered as financial advice.
═══════════════════════════════════════════════════════════════
📝 VERSION NOTES
═══════════════════════════════════════════════════════════════
VERSION 1.0 - Initial Release
• Supertrend + Stochastic integration
• Dual confirmation signal system
• Strong vs regular signal classification
• Smart signal filtering to reduce noise
• Professional circular display (default)
• Classic triangle display (optional)
• Text label display (optional)
• Live dashboard with indicator status
• Customizable alert system
• Full parameter flexibility
═══════════════════════════════════════════════════════════════
🔗 SUPPORT
═══════════════════════════════════════════════════════════════
If you have questions or suggestions for improving this indicator, please leave a comment below. Feedback is always appreciated!
═══════════════════════════════════════════════════════════════
Developed by: mfsz2015
Language: Pine Script v5
Type: Trading Indicator
License: Mozilla Public License 2.0
═══════════════════════════════════════════════════════════════
TAGS: #Supertrend #Stochastic #Strategy #Trading #TechnicalAnalysis #Signals #Forex #Crypto #Stocks #Momentum #Trend
Oscillatori
RSI + KVO TriggerRSI + KVO Trigger is a momentum‑and‑volume indicator that combines a standard RSI with the Klinger Volume Oscillator’s trigger line in the same pane. It helps you see whether price momentum (RSI) and volume‑based money flow (KVO) are confirming each other or starting to diverge, using the same central 50/0 line for quick visual decisions.
-------------------------------
What the indicator shows.
In this script, the RSI 50 line is also the KVO “zero” line, so when:
RSI is above 50, price momentum is bullish.
KVO trigger is above that same line, volume/money flow is bullish.
Either one dipping below the line shows weakening in that dimension.
-------------------------------
Using it for entries.
You can think of the RSI as your main trend/momentum filter and the KVO trigger as confirmation (or a warning) from volume. Typical entry ideas:
Long setups:
RSI above 50 and rising, showing bullish momentum.
KVO trigger also above the midline or crossing up toward/through it, showing volume backing the move.
Extra aggressive: buy on pullbacks where RSI stays above 50 while KVO trigger turns back up above the line after a dip.
Short setups:
RSI below 50 and falling, showing bearish momentum.
KVO trigger below the midline or crossing down through it, showing selling pressure dominating.
Extra aggressive: short on bounces where RSI stays below 50 and KVO trigger rolls back down from near the midline.
-------------------------------------
Using it for exits and trade management.
You can also use the combination to manage open trades, watching for disagreement between price, RSI, and KVO. For example:
Exiting longs:
You’re in a long while RSI is above 50 and KVO trigger is above midline.
If KVO trigger drops below the midline first while RSI is still above 50, it can be an early warning that the trend is losing volume support, so you might tighten stops or scale out.
If RSI then also breaks below 50, that’s stronger confirmation to close the position or be very defensive.
Exiting shorts:
You’re in a short while RSI is below 50 and KVO trigger is below midline.
If KVO trigger pops above the midline ahead of RSI, it can signal selling pressure is fading; consider reducing size or tightening your stop.
A later RSI cross back above 50 can be your hard exit rule.
-------------------------------------
Divergences and “late‑trend” signals.
Because both lines share the same center level, it’s easy to spot situations where price is still trending but one of the components is lagging:
Bullish risk signal:
Price pushes higher, RSI stays above 50, but KVO trigger spends more time below the midline or fails to follow price higher.
This suggests a maturing/uptrend with weaker participation, making new longs riskier and encouraging partial profit‑taking or tighter stops.
Bearish risk signal:
Price makes lower lows, RSI stays below 50, but KVO trigger keeps drifting above the midline.
That can hint at hidden accumulation, where you might be more cautious with new shorts and watch for a trend reversal.
------------------------------------
Used this way, the indicator is not a standalone “buy/sell arrow,” but a structured way to demand agreement between momentum (RSI) and volume (KVO trigger) for entries, and to notice early when that agreement starts to break down for exits or risk management.
BTC/XAU Correlation Crossing Delay PerformanceOVERVIEW
The BTC/XAU Correlation Crossing Delay Performance indicator is a specialized macro-tool designed to track the structural relationship between Bitcoin (Digital Gold) and Physical Gold. In institutional finance, these two assets represent the "Scarcity Complex." While they are often viewed as similar, they move in distinct Regime Shifts . This script identifies the exact moments of correlation decoupling—historically a lead indicator for major Bitcoin volatility and catch-up rallies.
THE IDEA: THE DECOUPLING SIGNAL
Traditional safe havens like Gold often act as a "Smoke Alarm" for geopolitical fear. Bitcoin, however, functions more as a "Fire Department" for global liquidity expansion. When the 52-week correlation between the two drops to zero or below, it signals a structural divergence.
Data from the past can suggest that such "Zero-Cross" events occur when Gold has front-run a price move, leaving Bitcoin at a relative valuation discount. This script marks these "Regime Shifts" (M-Markers) and measures the subsequent performance during a customizable Alpha Window .
CALCULATIONS & METHODOLOGY
The script utilizes the following logic to generate its data points:
• Purchasing Power Ratio: Calculated as Bitcoin Price divided by Gold Price. This shows exactly how many ounces of gold 1 BTC can buy.
• Pearson Correlation: A rolling 52-week calculation measuring the linear relationship between BTC and Gold prices.
• Zero-Cross Signal: A logic trigger/Marker that fires when the correlation value drops from a positive state to zero or a negative value.(M1 - M-n)
• Alpha Performance: A secondary calculation that captures the BTC price at the signal bar and compares it to the price exactly N-weeks later.
HOW TO READ THE CHART
• Orange Line: The current BTC/Gold ratio. A rising line means Bitcoin is gaining purchasing power against Gold.
• Orange Vertical Shapes (M-n): These mark the "M-Signals" where correlation broke (correlation ratio turned from positive to 0 or below on that bar). This is the "coiled spring" phase.
• Blue Vertical Shapes (Result): These appear after your defined Alpha Window (e.g., 12 weeks). They display the percentage change for both the Ratio and BTC/USD price since the M-n-signal.
• Blue Area (middle Lane): A visualization of the raw correlation value. When this cloud disappears toward the zero-level, a regime shift is in progress.
USER INPUTS
• Tickers: Choose your preferred Bitcoin and Gold sources (e.g., INDEX:BTCUSD or TVC:GOLD).
• Correlation Lookback: Default is 52 weeks, the institutional standard for measuring annual macro cycles.
• Alpha Window: Define the number of weeks (e.g., 12) you wish to track after a decoupling signal to verify historical catch-up trends.
TIMEFRAME
I view the data on the weekly timeframe. The script is optimized to run on this timeframe.
DISCLAIMER
This script is provided for educational and research purposes only. Correlation shifts are indicators of market structure changes and do not guarantee future price direction. Past performance of the BTC/Gold ratio is not an indicator of future results. Always use comprehensive risk management when trading high-volatility assets.
TAGS
Rob Maths, robmaths, Rob_Maths, Bitcoin, Gold, Ratio, Correlation, Macro
HMA Velocity OscMomentum oscillator based on the delta of the low-lag Hull Moving Average (HMA).
Best used by swing traders as a supporting tool alongside support–resistance levels, fibonacci and chart patterns.
Trade Manager + MOST RSI📌 Trade Manager + MOST RSI — Adaptive Position Management Strategy
Overview
This strategy combines the MOST‑RSI trend‑reversal model with a fully customizable position management system.
It is designed for traders who want a flexible, visual, and systematic approach to scaling into positions, managing risk, and automating exits.
The script supports both automatic entries (based on MOST‑RSI signals) and manual entries (user‑defined price levels), making it suitable for hybrid discretionary + algorithmic trading.
✨ Key Features
MOST‑RSI Entry Logic
Adaptive RSI‑based trend detection
VAR‑smoothed moving average
Automatic LONG/SHORT signal generation
Configurable sensitivity through MOST Percent, MA Type, and RSI Length
Smart Position Management
Initial order + cascading Safety Orders (SO)
Adjustable deviation, step scaling, and volume scaling
Independent LONG and SHORT deviation settings
Breakeven after N safety orders
Automatic TP placement based on average entry price
Clean Visual Structure
TP lines visible only when a position is open
NEXT SO level with dynamic labeling
Average price line with subtle styling
Transparent background zones for TP, SO, and AVG
Real‑time mini‑table showing position metrics
Manual Entry Mode
Set custom LONG/SHORT entry levels
Automatic line drawing
One‑click reset
Perfect for discretionary setups
📊 Recommended Timeframes
1H — balanced
4H — conservative
MOST‑RSI adapts well across different market conditions.
🔧 Optimization Recommendations
1. Deviation (%)
Trending markets: 4–7%
Ranging markets: 2–3%
Optimize LONG and SHORT separately
2. Safety Order Volume Scale
Typical range: 1.3–1.6
Higher = faster averaging, higher risk
3. Safety Order Step Scale
1.4–1.7 for safer spacing
1.1–1.3 for tighter spacing
4. Take‑Profit
Volatile assets: 2–5%
Stable assets: 1.5–2%
5. Risk Management
Max SO: 5–10 depending on volatility
More SO = safer but more capital required
6. MOST‑RSI Parameters
RSI Length: 14
MA Length: 5
MOST Percent: 7–12%
7. Backtesting
Use at least 1 year of data
Include high‑volatility periods
8. Drawdown Control
If drawdown is too high:
Lower SO volume scale
Reduce max SO
Increase SO step scale
📌 Disclaimer
This script does not guarantee profits and is not financial advice.
Always test strategies on historical data and use proper risk management.
Order Flow Imbalance Oscillator [StrikePriceLabs]Order Flow Imbalance Oscillator is an extension of “Supply and Demand Zones ” that converts institutional supply & demand zone volume into a real-time momentum oscillator.
Instead of plotting zones on price, this script aggregates active bullish and bearish zone deltas and plots their net imbalance:
Imbalance = Total Demand − Total Supply
Positive values → Buyer dominance
Negative values → Seller dominance
Zero line → Market balance
Designed for momentum confirmation, and bias filtering, this indicator works best when used alongside other price action confirmation indicators.
🔹 How to Read & Trade the Signals
1️⃣ Directional Bias
Above Zero Line
Demand zones dominate → bullish bias
Below Zero Line
Supply zones dominate → bearish bias
Near Zero
Compression / balance → expect expansion
Use this as a trade filter, not a trigger.
2️⃣ Breakout Confirmation
Breakout with oscillator expansion → genuine participation
Breakout without oscillator confirmation → high chance of failure or trap
This is my first published indicator.
Feedback, suggestions, and improvement ideas are welcome and appreciated.
RSI with Bullish/ Bearish Zones by VKKDisclaimer: Script is not suggesting any buy or sell any stock. It's a visual identification of the direction of the current state of the stock.
This script is a modified Relative Strength Index (RSI) designed to help traders filter out market noise by identifying three distinct momentum phases. Instead of the traditional 70/30 approach, this version uses the 40 and 60 levels to define a "Neutral/Caution" zone.
Key Features:
🟢 Bullish Zone (Above 60): Indicates strong upward momentum. The RSI line turns green, signaling a potential trend continuation.
🟠 Caution Zone (40–60): A neutral "no-man's land" where the market is often consolidating or undecided. The line turns orange, warning traders to be patient.
🔴 Bearish Zone (Below 40): Indicates strong downward momentum. The RSI line turns red, signaling a potential downtrend.
⚖️ Midline (50): A blue or your color choice dotted line acts as the ultimate pivot point between buyers and sellers.
🔥 Extremes (70/30): Classic Overbought (Red) and Oversold (Green) levels are included for mean-reversion context.
How to Use:
Trend Confirmation: Look for the RSI to sustain a position above 60 for longs or below 40 for shorts.
Filter Noise: Avoid entering aggressive trend trades when the RSI is stuck in the Orange Caution Zone.
Real-time Status: The dynamic label on the right provides an instant reading of the current market state and exact RSI value.
Maor Beniash | Pro DashboardMB-PRO | Smart Info & Risk Dashboard
Description The MB-PRO indicator is a minimalist dashboard designed to provide traders with rapid situational awareness and critical risk management data, without cluttering the chart. This tool consolidates fundamental and technical data into one organized corner, helping avoid common errors such as entering a trade right before an earnings report or incorrect stop-loss calculations.
Key Features:
Full Company Name: Displays the complete name of the entity.
Market Cap: Shows the current market capitalization.
Sector & Industry: Quickly identifies the sector and industry classification.
Risk Management (ATR): Displays the Average True Range (14) in both absolute value and percentage (crucial for stop-loss sizing).
Earnings Alert: A smart warning mechanism where the text automatically turns orange when the report date is approaching (default: 21 days, adjustable). This helps prevent holding positions during high-risk periods.
KPRSI - Hidden DivergenceThis indicator does the following steps.
1) Plots EMA(20) and checks its slope (trend)
2) Detects RSI divergence (with tolerance)
It checks divergence between the last two pivots:
3) Adds filters to create “DivBuy / DivSell” signals
A divergence alone isn’t enough. It also requires EMA alignment:
DivBuy
• Bullish divergence
• EMA slope up (emaUp)
• Price above EMA (close > ema20)
DivSell
• Bearish divergence
• EMA slope down (emaDown)
• Price below EMA (close < ema20)
AI-Enhanced MSS HunterAI-Enhanced MSS Hunter
This indicator is a hybrid trading system that merges Mechanical Price Action (ICT Concepts) with Statistical Machine Learning (K-Nearest Neighbors). It is designed to assist traders in identifying high-probability reversals after liquidity sweeps, as well as trend-continuation entries during specific "Kill Zone" sessions.
How It Works
The script operates on a strict 3-step validation process to filter out false signals during choppy market conditions.
1. Liquidity Sweep (The Trigger) The system automatically plots the Previous Day High (PDH) and Previous Day Low (PDL).
The logic begins only when price "sweeps" (breaks) one of these key levels.
State Persistence: Once a level is swept, the system remembers this event for the remainder of the session (or until a signal fires), waiting for the market to reverse.
2. Market Structure Shift (The Setup) After a sweep, the indicator hunts for a Market Structure Shift (MSS).
It tracks dynamic Swing Highs and Swing Lows.
A signal is prepared only if price breaks a recent structural swing point in the opposite direction of the sweep (e.g., Sweep PDL -> Break Swing High).
3. AI / Machine Learning Filter (The Confirmation) To reduce false positives, the signal must be confirmed by a K-Nearest Neighbors (KNN) algorithm.
The Logic: The script analyzes the current values of RSI (14), CCI (14), and ROC (10).
The Comparison: It looks back at the last ~1,000 bars of history to find similar market conditions (neighbors).
The Prediction: If the majority of those historical "neighbors" resulted in a favorable move, the AI confirms the trade. If historical data suggests chop or reversal, the signal is blocked.
Key Features
🎯 Primary Reversal Signals (Circles)
Green Circle: Price swept PDL + Bullish MSS + AI Confirmation.
Red Circle: Price swept PDH + Bearish MSS + AI Confirmation.
♻️ Golden Zone Re-Entries (Triangles) Once a Primary Signal is active, the script tracks the new trend leg.
It automatically draws a dynamic Golden Zone (0.5 – 0.618 Fibonacci Retracement).
If price pulls back into this zone and forms a new MSS, a Re-Entry Triangle is plotted.
Invalidation: If the pullback breaks the original setup's low/high, the zone is removed to prevent bad trades.
⏰ Kill Zone Time Filters Signals are filtered by time to ensure you are trading during high-volume sessions.
Default AM Session: 08:30 – 10:00 (New York Time)
Default PM Session: 14:00 – 15:00 (New York Time)
Fully customizable in settings.
Settings Guide
Key Levels: Toggle PDH/PDL lines and customize colors.
Kill Zones: Enable/Disable time filtering and highlight background colors.
AI Settings:
K-Nearest Neighbors (k): Number of historical neighbors to compare (Default: 5).
Training Window: How far back the AI looks for patterns (Default: 1000 bars).
Visuals: Turn on/off the Golden Zone fib clouds or text labels.
Disclaimer
This tool is for educational purposes only. The "AI" component is a statistical classification algorithm based on historical momentum and does not guarantee future results. Always manage risk and use this indicator as part of a comprehensive trading plan.
EMA with RSI Color (Custom Lengths)本指标将指数移动平均线(EMA)与相对强弱指标(RSI)相结合,用于辅助判断市场的趋势方向与超买 / 超卖状态。
用户可自定义 EMA 的长度(如 20 / 60 / 120),并灵活选择 EMA 的计算周期:
(1) 使用当前图表周期,或
(2) 使用指定的高 / 低周期(如 1m、5m、1h、4h、1D、1W)
RSI 默认采用 14 周期,并支持自定义超买与超卖阈值:
(1) 当 RSI 低于超卖阈值(如 30)时,对应时间段内的 EMA 将自动变为绿色,提示可能存在超卖反弹机会;
(2) 当 RSI 高于超买阈值(如 70)时,对应时间段内的 EMA 将自动变为红色,提示可能存在超买回调风险;
(3) 当 RSI 处于中性区间时,EMA 显示为用户设定的默认颜色。
此外,RSI 的计算周期也可选择:
(1) 与 EMA 使用相同的周期(用于多周期趋势确认),或
(2) 使用当前图表周期(用于短周期动量判断)。
This indicator combines Exponential Moving Averages (EMA) with the Relative Strength Index (RSI) to assist in identifying trend direction and overbought/oversold conditions.
Users can define custom EMA lengths (e.g., 20 / 60 / 120) and flexibly choose the EMA calculation timeframe:
(1) Use the current chart timeframe, or
(2) Use a specified higher or lower timeframe (e.g., 1m, 5m, 1h, 4h, 1D, 1W).
The RSI uses a default 14-period setting, with customizable overbought and oversold levels:
(1) When RSI falls below the oversold threshold (e.g., 30), the EMA segments corresponding to that period are automatically colored green, indicating potential oversold rebound opportunities;
(2) When RSI rises above the overbought threshold (e.g., 70), the EMA segments turn red, signaling potential overbought pullback risk;
(3) When RSI remains within the neutral zone, EMA lines retain their user-defined default colors.
The RSI calculation timeframe can also be selected:
(1) The same timeframe as EMA (for multi-timeframe trend confirmation), or
(2) The current chart timeframe (for short-term momentum analysis).
Trend Pulse Oscillator█ OVERVIEW
Trend Pulse Oscillator is a momentum oscillator that combines short-term trend strength analysis (price deviation from a dynamic trend line) with optional reference to a higher timeframe trend context. It visualizes market pulse through smoothed oscillator waves, fixed overbought/oversold levels, and zero-line cross signals indicating momentum shifts.
The indicator assists in identifying potential entry points after strong moves, early signs of exhaustion or direction change, and supports decision-making by providing longer-period trend awareness
█ CONCEPT
Built upon the SwiftTrend logic. The core idea is to measure how far price deviates from the adaptive trend line (margin line). Greater deviation in the direction of the trend indicates stronger momentum. When price returns toward the trend line — especially from overbought or oversold zones — it often signals a correction or potential reversal.
- The oscillator displays the deviation of price from the trend line and applies user-selected smoothing (EMA, SMA, RMA, WMA).
- The longer-period trend controls candle coloring (SwiftTrend candles) and can be used discretionarily as a directional bias/filter for signals.
- The color of the oscillator itself depends solely on whether the smoothed value is above or below zero (green above, red below).
Fixed OB/OS levels and the zero line help visually evaluate the strength of the deviation. Areas significantly above the OB level or below the OS level indicate extreme price stretch away from the trend line and increased probability of mean reversion.
█ FEATURES
Calculations
- Average candle body size — calculated separately for oscillator and longer-period trend
- Dynamic trend line (adaptive margin line) + fixed OB / OS threshold levels
- Multiple oscillator smoothing options
- Momentum expressed as oscillating waves
- Detection of OB/OS crossovers and zero-line breaks
Visualization
- Oscillator waves colored according to sign (green above zero, red below zero)
- Fixed OS level (oversold) — gray, dashed line
- OB level (overbought) — color reflects the current longer-period trend direction (green when price is above the longer-period trend line, red when below)
- OB and OS levels frequently displayed with light gradient fill for readability (OB gradient inherits HTF trend color; OS gradient remains neutral/gray)
- Optional SwiftTrend candle coloring — candles colored according to longer-term trend direction and strength (gradient intensity)
- Transparent, layered fill under oscillator waves (stronger near the wave, fading toward zero)
Signals
- Long / Short — triggered on crossover/crossunder of OB/OS levels (with anti-duplication logic per wave)
- Zero Line Long / Zero Line Short — zero-line break confirmed by candle color direction
- Longer-period trend change — visual and alert when longer-term trend flips
- Important: There is no automatic filtering of OB/OS or zero-line signals by the longer-period trend — traders should apply longer-period trend bias manually
Alerts
- Long Signal
- Short Signal
- Zero Line Long
- Zero Line Short
- Longer-Period Trend Change
█ HOW TO USE
Add the indicator via Pine Editor (paste the code) or search for “Trend Pulse Oscillator” in the TradingView public library.
Main settings
- Osc Average Body Periods – averaging period for oscillator body size
- Osc Band Multiplier / Tolerance Multiplier – controls width and sensitivity of oscillator bands
- Smoothing Type / Length – smoothing method and period for the oscillator wave
- Trend Average Body Periods / Band / Tolerance – parameters for the longer-period trend line
- Overbought Level / Oversold Level – fixed threshold values
- Enable Candle Coloring – turns on SwiftTrend-style candle coloring based on the longer-period trend
- Gradient & fill options – control visibility and transparency of gradients and wave fills
Trend & candle coloring logic
- Price above trend line → bullish (green tones)
- Price below trend line → bearish (red tones)
█ APPLICATION
Momentum trading
- Direction and slope of oscillator waves indicate current impulse strength
- Return toward zero or zero-line cross can serve as an early warning of correction or reversal
Trend following
- The longer-period trend acts as a discretionary directional filter
- Highest-probability approach: take signals primarily in the direction of the longer-period trend
Overbought / Oversold
- Fixed OB/OS levels mark zones of extreme deviation from the trend line
- Large extensions away from the trend line increase the likelihood of pullback or reversal
█ NOTES
- This is a supporting tool — never use it as a standalone trading system
- Best results are achieved when combined with key support/resistance levels, market structure analysis, and longer-period trend context
- OB/OS crosses and zero-line breaks are orientation points only — always validate them against the broader trend picture
Smart RSI Candles [DotGain]Smart RSI Candles – Description
Smart RSI Candles is a minimalist yet powerful overlay indicator that visualizes RSI conditions directly on price candles. Instead of plotting a separate RSI oscillator, this tool colors the chart bars based on customizable RSI threshold levels, allowing traders to instantly identify overbought and oversold regimes within the price action itself.
The indicator is built on the classic Wilder RSI and supports up to three upper (overbought) and three lower (oversold) levels. Each level can be individually enabled or disabled, making the indicator fully modular and adaptable to different trading styles and market conditions.
Key Features
RSI-based candle coloring (no separate panel required)
Up to 6 customizable RSI levels
Individual On/Off toggle for each level
Extreme conditions highlighted in blue
Works on any market and timeframe
Clean, non-intrusive visual design
Color Logic
Overbought (Upper Levels)
Level 1: Light green → mild overbought
Level 2: Dark green → strong overbought
Level 3: Blue → extreme overbought
Oversold (Lower Levels)
Level 1: Light red → mild oversold
Level 2: Dark red → strong oversold
Level 3: Blue → extreme oversold
Neutral RSI values keep the original candle color.
How to Use
Use upper levels to identify potential exhaustion in bullish moves.
Use lower levels to spot potential panic or capitulation zones.
Combine with trend analysis, support/resistance, or volume for confirmations.
Disable specific levels to create conservative or aggressive RSI regimes.
Use Cases
Mean reversion strategies
Momentum exhaustion detection
Visual risk regime mapping
Multi-timeframe RSI context
Smart RSI Candles is designed for traders who want RSI information integrated directly into price, without clutter — fast, intuitive, and highly customizable.
Have fun :)
Disclaimer
This Smart RSI Candles indicator is provided for informational and educational purposes only. It does not, and should not be construed as, financial, investment, or trading advice.
This indicator is an independent implementation of a Relative Strength Index (RSI) based visualization tool and is not affiliated with, or endorsed by, any third-party trading systems, strategies, or trademarked methodologies. The colored candles displayed by this indicator are generated by a predefined set of algorithmic conditions based on RSI threshold levels. They do not constitute a direct recommendation to buy or sell any financial instrument.
All trading and investing in financial markets involves a substantial risk of loss. You may lose part or all of your invested capital. Past performance does not guarantee future results. This indicator highlights potential overbought and oversold market conditions and may produce false, lagging, or misleading signals. Market conditions can change rapidly and remain irrational longer than expected.
The creator DotGain assumes no responsibility or liability for any financial losses, damages, or decisions made based on the use of this indicator or the information it provides.You are solely responsible for your own trading and investment decisions. Always conduct your own research (DYOR), use proper risk management, validate signals with additional tools or analysis, and consider your personal financial situation and risk tolerance before entering any trade.
SMA Squeeze Oscillator█ OVERVIEW
SMA Squeeze Oscillator is a momentum oscillator based on the relationship between multiple SMA moving averages. It combines volatility compression analysis (Squeeze), wave-style momentum structure, trend filtering, breakout signals, and divergence detection.
The indicator is designed to identify periods of market compression (low volatility), which are often followed by dynamic price moves. Additionally, it visualizes momentum and trend structure in a clean and readable way, without using a classic histogram.
█ CONCEPT
The core of the indicator is built on three SMA moving averages with different lengths. The distance between them (spread) is compared to ATR, which allows the detection of volatility compression (Squeeze).
- When the SMA spread is smaller than ATR × multiplier, the market is considered to be in Squeeze
- When the spread expands beyond this threshold, the market exits the Squeeze – often signaling the beginning of an impulse
Momentum is calculated from the relationship between the faster SMA and the slower SMAs, then smoothed. Instead of a traditional histogram, the indicator displays continuous momentum waves above and below the zero line, making changes in momentum structure easier to read.
An optional SMA trend filter can be used to limit signals to the direction of the current trend.
█ FEATURES
Calculations
- three SMA moving averages
- ATR as a volatility measure
- Squeeze detection based on SMA spread
- wave-based momentum oscillator with smoothing
- optional SMA trend filter
Visualization
- momentum waves above / below the zero line
- bullish / bearish trend fills
- separate fill and color for Squeeze phases
- thick zero line reflecting current trend
- wave-style candle coloring based on momentum
- first wave markers after exiting Squeeze
- bullish and bearish divergence visualization
Signals
- momentum zero-line cross (Bull / Bear Cross)
- first momentum wave after Squeeze
- classic bullish and bearish divergences
Alerts
- Bull Cross
- Bear Cross
- First Bullish after Squeeze
- First Bearish after Squeeze
- Bullish Divergence
- Bearish Divergence
█ HOW TO USE
Adding the indicator
Paste the code into Pine Editor or search for “SMA Squeeze Oscillator” on TradingView.
Main settings
- SMA 1 / 2 / 3 – lengths of SMAs used for Squeeze and momentum
- ATR Length / Multiplier – Squeeze detection sensitivity
- ATR Multiplier = 0 → the indicator does not display Squeeze zones
- Momentum Smoothing – smoothing of momentum waves
- Enable SMA Filter – trend filter
- the current trend is reflected by the zero-line color
- price below SMA → bearish trend
- price above SMA → bullish trend
- when enabled, it filters Bull / Bear Cross and First Bullish / Bearish after Squeeze signals, allowing only those aligned with the trend
- Enable candle coloring – wave-style candle coloring
- Enable Divergence – divergence detection
█ APPLICATION
Squeeze & Breakout
Squeeze phases indicate low volatility and energy accumulation. A breakout from Squeeze often leads to a strong directional move.
The SMA filter is not required – instead, users may apply:
- a more advanced trend filter
- structural confirmation (level break, correction completion)
- additional price-action tools
Momentum trading
The direction and slope of momentum waves help assess impulse strength and loss of momentum.
A momentum reversal can act as an early signal of a correction or potential trend change, often before it becomes visible on price.
Divergences
The indicator detects classic bullish and bearish divergences.
Important notes:
- divergences appear with a delay equal to the pivot length required for detection, by default, this delay is two candles
- divergences forming on small momentum waves or inside a Squeeze are often misleading and should be treated with caution
█ NOTES
- the indicator works best when used in market context
- Squeeze reflects volatility, not direction
- it is not a standalone trading system
Robert Miner DTOsc MTF - v6Below is the implementation of the MTF Momentum (DTOsc) with Miner's specific Buy Stop / Sell Stop entry logic. This ensures you only enter when the market breaks the high/low of the signal bar, confirming the reversal.
GCM Kinetic Flux SpectrumTitle: GCM Kinetic Flux Spectrum
DESCRIPTION
The GCM Kinetic Flux Spectrum is an institutional-grade hybrid momentum and volume engine. Unlike standard oscillators that rely on closing prices, the GCM KFS synthesizes dual-source RSI volatility with Volume Flow Intensity (VFI) to reveal the hidden kinetic energy of market movements.
By projecting a 27-layer "Spectrum Ribbon" and a multi-dimensional Divergence Engine, the GCM KFS identifies not just where the price is heading, but the quality and "fuel" behind the trend.
CORE ARCHITECTURE
1) The Kinetic Mean (Dual-Source RSI)
Standard RSI often ignores the battle occurring at the wicks. The GCM KFS calculates independent RSI streams for Highs and Lows, then anchors them to a Zero-Centered baseline (-50 to +50). The resulting Kinetic Mean filters out retail noise, providing a volatility-adjusted perspective on momentum.
2) Volume Flux Integration (VFI)
Volume precedes price. The GCM KFS integrates a highly responsive, EMA-smoothed Volume Flow Indicator (VFI). By syncing VFI length with the RSI cycle, the indicator cross-verifies price strength with capital flow.
• Momentum + Positive Flux: Confirms high-conviction trends.
• Momentum + Negative Flux: Reveals "Empty" breakouts or institutional distribution.
3) 27-Layer Spectrum Ribbon
The gradient fill isn't just aesthetic—it represents Volatility Density.
• Expansion: When ribbons fan out, it signals a high-velocity trend.
• Compression (The Squeeze): When ribbons pinch toward the Kinetic Mean, it signals a volatility contraction, typically the precursor to an explosive breakout.
4) Four-Way Divergence Engine
The KFS automatically detects and projects four types of divergence on both the indicator pane and the main price chart:
• Regular Bullish/Bearish: Identifying high-probability trend reversals.
• Hidden Bullish/Bearish: Identifying trend continuation (Smart Money re-entry points).
KEY POWER FEATURES
• Zero-Centered Logic: Levels are shifted for better visual balance. (OB: +20, Extreme OB: +30 | OS: -20, Extreme OS: -30).
• Dynamic Zones: Subtle background fills highlight "Extreme" areas where price is statistically likely to mean-revert.
• Main Chart Projection: Use the force_overlay feature to keep your eyes on price action while the indicator confirms entries.
• Institutional Dotted VFI: The orange dotted line acts as the "Anchor"—if price rises but the VFI Anchor stays below zero, the move lacks professional backing.
HOW TO TRADE WITH GCM-KFS
• The Reversal Sniper: Look for an R-BULL or R-BEAR label appearing inside the Extreme Zone (±30). This indicates momentum exhaustion backed by a volume shift.
• Trend Riding: During an uptrend, look for H-BULL (Hidden Bullish) labels. This signals that institutions are "buying the dip" while momentum resets.
• Volatility Breakouts: When the Spectrum Ribbon enters a tight "squeeze" near the Zero Line, prepare for a major move. Follow the direction of the first ribbon expansion.
RECOMMENDED SETTINGS
• Scalping (1m - 5m): Length 7 - 9
• Day Trading (15m - 1H): Length 10 - 14
• Swing Trading (4H - Daily): Length 20+
AUTHOR’S NOTE
This script is part of the GCM suite of professional tools. It is designed to be a "confluence engine"—it works best when used to confirm price action levels, supply/demand zones, or order blocks. Always trade with a plan and managed risk.
Trinity Tactical: BTC Liquidity Snatch//@version=6
indicator("Trinity Tactical: BTC Liquidity Snatch", overlay=true)
// --- INPUTS ---
liq_level = input.float(87156.0, "Liquidity Low to Sweep", step=10)
fvg_threshold = input.float(0.5, "FVG Min Size (%)", step=0.1)
// --- LIQUIDITY SWEEP LOGIC ---
is_swept = low < liq_level and close > liq_level
plotshape(is_swept, title="Liquidity Sweep", style=shape.triangleup, location=location.belowbar, color=color.green, size=size.small, text="SWEEP")
// --- FVG DETECTION (FOR ENTRY) ---
// Bullish FVG: Low of bar > High of bar
is_bullish_fvg = low > high and (low - high ) > (close * fvg_threshold / 100)
// Visualizing the Entry FVG Zone
var box fvg_box = na
if is_bullish_fvg and barstate.isconfirmed
fvg_box := box.new(bar_index , low , bar_index, high , bgcolor=color.new(color.green, 80), border_color=color.green)
// --- LEVELS ---
hline(87156, "8H Liquidity Low", color=color.red, linestyle=hline.style_dashed)
hline(92500, "TP1: Supply", color=color.orange, linestyle=hline.style_dotted)
hline(97000, "TP2: Range High", color=color.green, linestyle=hline.style_dotted)
// --- ALERTS ---
alertcondition(is_swept, title="BTC Sweep Alert", message="Liquidity Swept! Look for FVG Entry.")
alertcondition(is_bullish_fvg, title="BTC FVG Entry", message="Bullish Displacement Detected. Check 15m Structure.")
Real Deviation Strength (RDS) [ALPHA]Real Deviation Strength (RDS) – The mirror-image twin to Median Anchor Oscillator.
Same battle-tested foundation: rolling median + Median Absolute Deviation (MAD) scaling = a super-robust deviation measure that laughs at outliers (way tougher than classic mean/std-dev oscillators).
The fun part: we flipped the visuals so deviation becomes “strength.”
- Histogram inverted + fresh palette: magenta (#aa3bf5) bars shooting up for positive deviation strength (big stretch = caution or conviction?), cyan (#00f7ff) dropping down for negative (pullback energy = bounce setup?).
- Adjustable Strength Sweet Spots at ±2.5 (tweak to taste).
- Optional yellow fill zones for that high-octane “something’s cooking” vibe.
- Scales beautifully on wild charts—crypto, stocks, whatever throws spikes.
Where Median Anchor says “Whoa, too far—revert!”, RDS goes “Damn, that stretch has legs—respect the power.” Perfect for momentum hunters, contrarian plays, or just geeking out on the opposite lens.
Still very much ALPHA—early days, room to grow. Feel free to leave feedback in the comments:
- Colors popping right?
- Alerts on sweet-spot exits next?
- Add divergence next?
- What’s it crushing (or failing) on your favorite ticker?
Using this side-by-side with MAO? The magenta/cyan combo keeps them visually distinct—no chart confusion.
Hero version here: Median Anchor Oscillator →
Open-source. Let’s build this thing together. Cheers to the flipside 🍻
ADX Trend Strength with DashboardA comprehensive ADX (Average Directional Index) indicator featuring an intuitive real-time dashboard that helps traders quickly assess trend strength and direction at a glance.
Key Features:
Visual Analytics:
Standard ADX line with customizable +DI/-DI directional indicators
Color-coded background zones that automatically highlight trend strength (Weak/Ranging, Emerging, Strong, Very Strong, Extreme)
Optional fill between directional indicators for clear visual trend identification
Fully customizable colors and display options
Smart Dashboard:
Real-time ADX value with color-coded strength classification
Instant trend direction indicator (Bullish/Bearish/Neutral)
Trade signal suggestions based on ADX strength and DI crossovers
DI spread analysis showing conviction strength (Strong/Moderate/Weak)
Quick reference checks for key threshold levels
Fully adjustable position, size, and transparency
Customizable Thresholds:
Default levels at 20 (Emerging), 25 (Strong), 40 (Very Strong), and 50 (Extreme)
All threshold levels are adjustable to match your trading strategy
Visual reference lines on chart
Built-in Alerts:
ADX crossing major threshold levels (25, 40, 50)
Bullish/Bearish DI crossovers when ADX confirms strong trend
Set-and-forget notifications for trend changes
Perfect for:
Scalpers and day traders needing quick trend assessment
Swing traders filtering choppy markets from trending conditions
Multi-timeframe analysis with clear visual feedback
Settings: Fully customizable ADX length (default 14), DI length (default 14), and smoothing period (default 14) to adapt to any timeframe or market.
Does this capture everything you wanted, or would you like me to adjust the tone/emphasis on certain features?Claude is AI and can make mistakes. Please double-check responses.
ALL-IN-ONE RSI System (Cloud Divergence Stoch RSI CM WVF)This indicator combines RSI Cloud structure, original RSI divergence logic, Stochastic RSI timing, and the original CM Williams Vix Fix into a single clean framework.
It is designed to identify momentum shifts, divergences, and fear-based dip zones without repainting or overfitting.
Key features:
RSI Cloud with customizable overbought / oversold zones
Original RSI divergence logic (regular & hidden)
Stochastic RSI for timing confirmation
Original CM Williams Vix Fix behavior (panic detection)
Optional BUY / SELL labels with filters
Fully customizable colors and visibility
Best used as a decision-support system, not as a standalone signal generator. Not financial advise
RSI jupanuce descriere sa mai bag - fac milionu de aici. zice ca trebuie sa mai scriu ceva aici, dar nu am ce
Advisor CORE + MOMENTUM (Weekly) - ROC/EMA📊 Advisor CORE + Momentum (Weekly)
This indicator provides a rule-based portfolio management view, clearly separating long-term structure, risk monitoring, and entry timing, with a logic designed to support position review decisions, not mechanical trading.
It answers a single question:
Is this asset still justified at its current portfolio weight?
🔹 CORE — Structure & Risk Review
The CORE layer evaluates structural trend and long-term cycle, with an explicit review state to detect early deterioration:
Weekly price relative to a long-term EMA
Long-term Rate of Change (ROC) strength and direction
Long-term EMA slope
CORE states:
BUY / HOLD
Structure intact, long-term momentum strong.
HOLD
Structure still valid, but losing strength or under pressure.
REVIEW
Price below the long-term EMA and long-term momentum weakening.
Signals that the position should be actively reviewed.
REDUCE
Long-term momentum turned negative, indicating structural deterioration.
This allows risk to be addressed before a full trend break occurs.
🔹 MOMENTUM — CANSLIM Timing Discipline
The MOMENTUM layer applies strict CANSLIM entry rules, explicitly blocking any buy condition without valid timing:
BUY
Price above the short-term EMA,
short-term EMA above the long-term EMA,
long-term EMA rising.
HOLD / WAIT
Structure intact, but price below the short-term EMA.
NO OPERATE
Price below the long-term EMA or trend conditions failing.
This ensures that structure alone never justifies a buy, enforcing discipline between trend quality and entry timing.
🔗 Combined Use
This indicator is designed to be used together with:
ROC Triple (13 / 26 / 52)
The ROC Triple provides visual momentum context, while the Advisor translates structure and timing into clear, portfolio-oriented guidance.
⚠️ Important Notes
This is not a trading system.
It does not generate entry or exit signals.
It does not define position size or timing.
Its purpose is to standardize portfolio review decisions, reduce emotional bias, and maintain discipline across changing market regimes.






















