Directional RSI Signal MapDirectional RSI Signal Map
This script analyzes RSI values across four different timeframes to detect market bias (bullish, bearish, or neutral) and trend direction. It generates:
Green up arrows for bullish signals (bias and trend are both bullish)
Red down arrows for bearish signals (bias and trend are both bearish)
Green circles when trend is bullish but bias is neutral
Red circles when trend is bearish but bias is neutral
You can adjust RSI levels, timeframes, and choose whether to enable the RSI filter. Alerts are included for the main bullish/bearish signals.
Oscillatori
Triple StochasticTriple Stochastic Elasticity Indicator
This custom indicator leverages the power of multi-timeframe analysis by combining three Stochastic Oscillators across different timeframes to identify potential trade entries based on elasticity and divergence between momentum curves.
📊 How It Works:
The indicator plots Stochastic values from three timeframes (e.g., 5m, 15m, and 1h), allowing you to observe how momentum behaves at different scales.
It highlights moments of elasticity—where the Stochastics stretch apart and then begin to converge—potentially signaling a reversion opportunity or trend continuation.
By identifying these stretches and snapbacks in momentum alignment, you can better time your entries and exits with improved confidence.
🔍 Use Case:
Look for divergence or convergence between the Stochastics.
Ideal for trend-following entries, pullback setups, and momentum reversal spotting.
Works best when combined with price action, S/R zones, or volume confirmation.
🛠 Customization:
Timeframes for each Stochastic are fully customizable.
Options to tweak %K, %D, and smoothing values to fit your strategy.
I recommend to remove the D%
And set the following settings
5 : 3 : 3
14 : 3 : 3
56 : 12 :12
Visual alerts can be added for when certain conditions are met (e.g., all three Stochs cross overbought/oversold levels).
Stochastic with 4 %K LinesQuad Rotation Stochastic Strategy – Indicator Description
The Quad Rotation Strategy is a momentum-based technical analysis tool that overlays four distinct Stochastic %K lines on a single chart. Each line is calculated using a unique set of parameters, allowing traders to visualize and compare momentum signals across varying sensitivities — from fast-reacting setups to slower, trend-confirming ones.
This multi-speed stochastic view is designed to help traders:
Identify rotation points where shorter-term stochastic lines cross faster than longer-term lines, signaling early reversals or trend continuation.
Confirm strength or weakness in price action by observing alignment or divergence among the %K lines.
Fine-tune entries and exits by using fast %K lines for timing and slower ones for confirmation.
🔍 How It Works:
Four separate %K lines are plotted, each with configurable Length and Smoothing.
All lines are calculated using the standard Stochastic formula:
(%K = SMA of (Close - Low) / (High - Low) over period)
No %D lines are included to keep the focus on %K behavior across different speeds.
Standard overbought (80), oversold (20), and midline (50) levels are provided for context.
This indicator is best used in:
Trend continuation setups where faster stochastics pull back to oversold while slower ones remain bullish.
Reversal zones where all four %K lines converge or cross in extreme levels.
Range-bound environments where confluence of extremes offers swing trade opportunities.
Altcoin Reversal or Correction DetectionINDICATOR OVERVIEW: Altcoin Reversal or Correction Detection
Altcoin Reversal or Correction Detection is a powerful crypto-specific indicator designed exclusively for altcoins by analyzing their RSI values across multiple timeframes alongside Bitcoin’s RSI. Since BTC's price movements have a strong influence on altcoins, this tool helps traders better understand whether a reversal or correction signal is truly reliable or just noise. Even if an altcoin appears oversold or overbought, it may continue trending with BTC—so this indicator gives you the full picture.
The indicator is optimized for CRYPTO MARKETS only. Not suitable for BTC itself—this is a precision tool built only for ALTCOINS only.
This indicator is not only for signals but also serves as a tool for observing all the information from different timeframes of BTC and altcoins collectively.
How the Calculation Works: Algorithm Overview
The Altcoin Reversal or Correction Detection indicator relies on an algorithm that compares the RSI values of the altcoin across multiple timeframes with Bitcoin's RSI values. This allows the indicator to identify key market moments where a reversal or correction might occur.
BTC-Altcoin RSI Correlation: The algorithm looks for the correlation between Bitcoin's price movements and the altcoin's price actions, as BTC often influences the direction of altcoins. When both Bitcoin and the altcoin show either overbought or oversold conditions in a significant number of timeframes, the indicator signals the potential for a reversal or correction.
Multi-Timeframe Confirmation: Unlike traditional indicators that may focus on a single timeframe, this tool checks multiple timeframes for both BTC and the altcoin. When the same overbought/oversold conditions are met across multiple timeframes, it confirms the likelihood of a trend reversal or correction, providing a more reliable signal. The more timeframes that align with this pattern, the stronger the signal becomes.
Overbought/Oversold Conditions & Extreme RSI Values: The algorithm also takes into account the size of the RSI values, especially focusing on extreme overbought and oversold levels. The greater the RSI values are in these extreme regions, the stronger the potential reversal or correction signal. This means that not only do multiple timeframes need to confirm the condition, but the magnitude of the overbought or oversold RSI level plays a crucial role in determining the strength of the signal.
Signal Strength Levels: The signals are classified into three levels:
Early Signal
Strong Signal
Very Strong Signal
By taking into account the multi-timeframe analysis of both BTC and the altcoin RSI values, along with the magnitude of these RSI values, the indicator offers a highly reliable method for detecting potential reversals and corrections.
Who Is This Indicator Suitable For?
This indicator can also be used to detect reversal points, but it is especially effective for scalping. It highlights potential correction points, making it perfect for quick entries during smaller market pullbacks or short-term trend shifts, which is more suitable for scalpers looking to capitalize on short-term movements
Integration with other tools
Use this tool alongside key Support and Resistance zones to further enhance your trade by filtering for even better quality entries and focusing only on high-quality reversal or correction setups. It can be also used with other indicators and suitable with other personalised strategies.
Multi-Oscillator Adaptive KernelMulti-Oscillator Adaptive Kernel
Introduction
The Multi-Oscillator Adaptive Kernel (MOAK) is a powerful momentum-based indicator that fuses multiple popular oscillators RSI, Stochastic, MFI, and CCI into a single, adaptive tool. Through advanced kernel smoothing techniques, MOAK is engineered to filter out market noise and deliver clearer, more consistent trend signals. Whether in trending or ranging markets, MOAK equips traders with a holistic perspective on momentum across multiple timeframes.
Key Features
Oscillator Fusion: Combines normalized values from RSI, Stochastic, Money Flow Index, and Commodity Channel Index to capture broader momentum shifts.
Advanced Kernel Smoothing: Utilizes three kernel smoothing algorithms—Exponential, Linear, and Gaussian—to refine raw oscillator data and minimize false signals.
Customizable Sensitivity: Traders can tailor the indicator's responsiveness by adjusting lookback periods, kernel lengths, and smoothing sensitivity.
Clear Visual Signals: Features a color-coded signal line—cyan for bullish, magenta for bearish—with gradient fills to reflect trend intensity and direction.
Overbought/Oversold Zones: A central zero line helps identify momentum extremes, with layered gradients to indicate the strength of potential reversals or continuations.
Adaptive Signal Design: Dynamically adjusts its output to align with changing market conditions, offering reliable performance across diverse market environments.
How It Works
MOAK starts by calculating and normalizing input from four widely used momentum oscillators: Relative Strength Index (RSI), Stochastic Oscillator, Money Flow Index (MFI), and Commodity Channel Index (CCI). These values are then aggregated to form a composite momentum reading.
To reduce market noise and enhance signal clarity, the composite reading is passed through one of three user-selectable kernel smoothing filters—Exponential, Linear, or Gaussian. These algorithms shape the data curve, softening abrupt fluctuations while preserving meaningful trends.
The resulting smoothed output is rendered visually as a central signal line, colored cyan for upward momentum and magenta for downward momentum. A series of gradient fills around this line illustrates the intensity of the underlying momentum, with the zero line acting as a visual boundary between overbought and oversold regions. Users can customize key parameters such as lookback window, kernel length, and sensitivity level, ensuring the indicator can be optimized for different assets and trading styles.
Examples
MOAK is able to provide clear trend detection on large cap token such as Bitcoin in the example shown below and resistant to noise during consolidation period.
Downside positions are also handled by the indicator, this time on Solana which is more volatile than Bitcoin but even with more volatility MOAK was able to catch an early entry in the downside move.
Below an example on a lower timeframe with a low cap token Fartcoin where MOAK triggered an early entry on a positive uptrend.
Conclusion
MOAK is a sophisticated yet intuitive momentum indicator, merging the strengths of multiple oscillators into a cohesive and adaptive signal. Its kernel-based smoothing and customizable parameters make it a valuable tool for traders seeking to identify trend direction, assess momentum strength, and filter out short-term noise with precision. Ideal for both trend-following and range-trading strategies, MOAK offers a versatile edge in dynamic market conditions.
Disclaimer
This indicator is provided for informational and educational purposes only. It does not constitute financial advice, nor does it guarantee specific results. Always perform your own analysis and consult a licensed financial advisor before making any trading decisions. Use at your own risk.
Gas/Oil SpreadGas/Oil Spread Analyzer with Static Overbought/Oversold Zones
This indicator measures the spread between the actual price of natural gas and its oil-based equivalent, derived from a defined oil/gas ratio. It helps traders identify potential mispricings and mean-reversion opportunities between the two energy commodities.
Key Features:
- Calculates spread: Gas Price – Oil-Based Equivalent Price
- Supports dynamic or static oil/gas ratio
- Plots a smoothed version of the spread (SMA)
- Displays static overbought and oversold zones to highlight extreme deviations
Use Cases:
- Detect overvalued or undervalued gas relative to oil
- Spot potential reversion setups in intermarket trading
- Evaluate energy market dislocations and hedging opportunities
Reversal Strength Meter – Adib NooraniThe Reversal Strength Meter is an oscillator designed to identify potential reversal zones based on supply and demand dynamics. It uses smoothed stochastic logic to reduce noise and highlight areas where momentum may be weakening, signaling possible market turning points.
🔹 Smooth, noise-reduced stochastic oscillator
🔹 Custom zones to highlight potential supply and demand imbalances
🔹 Non-repainting, compatible across all timeframes and assets
🔹 Visual-only tool — intended to support discretionary trading decisions
This oscillator assists scalpers and intraday traders in tracking subtle shifts in momentum, helping them identify when a market may be preparing to reverse — always keeping in mind that trading is based on probabilities, not certainties.
📘 How to Use the Indicator Efficiently
For Reversal Trading:
Buy Setup
– When the blue line dips below the 20 level, wait for it to re-enter above 20.
– Look for reversal candlestick patterns (e.g., bullish engulfing, hammer, or morning star).
– Enter above the pattern’s high, with a stop loss below its low.
Sell Setup
– When the blue line rises above the 80 level, wait for it to re-enter below 80.
– Look for bearish candlestick patterns (e.g., bearish engulfing, inverted hammer, or evening star).
– Enter below the pattern’s low, with a stop loss above its high.
🛡 Risk Management Guidelines
Risk only 0.5% of your capital per trade
Book 50% profits at a 1:1 risk-reward ratio
Trail the remaining 50% using price action or other supporting indicators
Smart Technical Matrix v6 - Display OnlySmart Technical Matrix Analyzer - This script analyzes 32 technical signals from 8 indicators across 4 timeframes (15m, 1H, 4H, 1D). It generates long/short trade signals with strength level, entry and target levels. Fully compatible with the Smart Matrix Display.
Parabolic RSI [ChartPrime]The Parabolic RSI indicator applies the Parabolic SAR directly to the Relative Strength Index (RSI) . This combination helps traders identify trend shifts and potential reversal points within the RSI framework. The indicator provides both regular and strong signals based on whether the Parabolic SAR crosses above or below key RSI thresholds.
⯁ KEY FEATURES
Parabolic SAR Applied to RSI – Tracks momentum shifts within the RSI indicator.
Dynamic SAR Dots – Plots SAR levels directly on the RSI for visual clarity.
Threshold-Based Signal Filtering – Uses upper (70) and lower (30) RSI levels to determine strong signals.
Simple and Strong Signal System :
Big Diamonds (Strong Signals) – Appear when Parabolic SAR crosses above 70 or below 30 RSI, indicating potential reversals.
Small Diamonds (Regular Signals) – Appear when Parabolic SAR flips inside the RSI range, signaling weaker trend shifts.
Chart Overlay Signals – Highlights strong RSI-based trend shifts directly on the price chart.
Fully Customizable – Modify RSI length, SAR parameters, colors, and signal displays.
⯁ HOW TO USE
Look for strong signals (big diamonds) when SAR flips above 70 RSI (overbought) or below 30 RSI (oversold) for potential reversals.
Use regular signals (small diamonds) for minor trend shifts within the RSI range.
Combine with price action and other indicators to confirm entry and exit points.
Adjust the SAR acceleration factors to fine-tune sensitivity based on market conditions.
⯁ CONCLUSION
The Parabolic RSI indicator merges trend-following and momentum-based analysis by applying the Parabolic SAR to RSI. This allows traders to detect trend shifts inside the RSI space with an intuitive diamond-based signal system . Whether used alone or as part of a broader trading strategy, this indicator provides a clear and structured approach to identifying momentum reversals and potential trading opportunities.
BINANCE:BTCUSDT RSI📊 BTC RSI Deviation Visualizer
This indicator visualizes the deviation of BTC RSI from the neutral level (50) to highlight momentum extremes and potential reversal zones in a simplified and color-coded format.
It is specifically designed for traders who prefer to monitor RSI strength centered around neutrality (0 as midpoint) instead of absolute RSI values.
🧠 Concept
This tool subtracts 50 from the RSI of BINANCE:BTCUSDT, creating a deviation value:
java
복사
편집
RSI Deviation = RSI - 50
This approach allows traders to interpret bullish or bearish bias more intuitively:
RSI > 50 → positive deviation → bullish
RSI < 50 → negative deviation → bearish
The result is plotted as a zero-centered histogram, where color and shape dynamically indicate the strength of deviation.
🔍 Visual Components
Color-coded Histogram:
Gradient bar colors reflect the size and direction of deviation.
Strong bullish (+10 to +30): light to dark orange
Strong bearish (-10 to -30): light to dark blue
Extreme values (>|30|): highlighted in yellow
Reversal Zone Circles:
Green circles are plotted when RSI deviation exceeds +30
Red circles appear when deviation is below -30
Circles are rate-limited to avoid visual noise (one signal every 5+ bars)
Reference Lines:
0 line (neutral RSI 50)
±35 threshold lines for identifying abnormal momentum
🔧 Settings
RSI Length: Default 14 (can be adjusted based on your time frame or strategy)
✅ Use Cases
Momentum Strength Monitoring:
Identify when BTC is showing sustained buying/selling pressure above typical ranges.
Reversal Signal Layer:
Use the circle markers to flag possible overbought/oversold peaks in conjunction with other tools.
Trend Filtering:
Use deviation direction (+/-) as an additional filter for trend-based strategies.
🧩 Compatibility
Works on any time frame
Only uses BINANCE:BTCUSDT price
Lightweight and highly responsive
🔐 Originality & Value
Unlike traditional RSI plots, this indicator offers a centered and directional perspective on RSI momentum.
The design emphasizes trend pressure, not just overbought/oversold thresholds, making it highly compatible with scalping, swing, or trend-following strategies.
MTF RSI & SMA Crossover [OB/OS Filtered Signals]MTF RSI & SMA Crossover
This custom indicator combines the power of Multi-Timeframe (MTF) RSI, Simple Moving Average (SMA), and overbought/oversold (OB/OS) conditions to provide precise buy and sell signals based on the crossovers of the RSI and its SMA. The indicator includes the following features:
MTF RSI: The Relative Strength Index (RSI) is calculated on a customizable timeframe, giving traders the ability to analyze price momentum across different timeframes.
SMA of RSI: The RSI is smoothed using a Simple Moving Average (SMA), helping to filter out market noise and identify clearer trend reversals.
Overbought/Oversold Filter: Signals are only triggered when the RSI has been in an overbought (above 70) or oversold (below 30) condition, improving the reliability of potential trend reversals.
Buy/Sell Signals:
Buy signals occur when the RSI crosses above its SMA after being oversold, indicating potential upward momentum.
Sell signals occur when the RSI crosses below its SMA after being overbought, indicating potential downward momentum.
Customizable Label Colors: Choose your own colors for the "BUY" and "SELL" labels to match your chart's design and preferences.
Alerts: Set alerts for buy and sell signals, ensuring you don't miss a potential trade.
This indicator is ideal for traders who want to capture trend reversals and momentum shifts while filtering out false signals by using overbought and oversold conditions. Customize the settings to suit your trading style and strategy.
Constance Brown RSI with Composite IndexConstance Brown RSI with Composite Index
Overview
This indicator combines Constance Brown's RSI interpretation methodology with a Composite Index and ATR Distance to VWAP measurement to provide a comprehensive trading tool. It helps identify trends, momentum shifts, overbought/oversold conditions, and potential reversal points.
Key Features
Color-coded RSI zones for immediate trend identification
Composite Index for momentum analysis and divergence detection
ATR Distance to VWAP for identifying extreme price deviations
Automatic divergence detection for early reversal warnings
Pre-configured alerts for key trading signals
How to Use This Indicator
Trend Identification
The RSI line changes color based on its position:
Blue zone (RSI > 50): Bullish trend - look for buying opportunities
Purple zone (RSI < 50): Bearish trend - look for selling opportunities
Gray zone (RSI 40-60): Neutral/transitional market - prepare for potential breakout
The 40-50 area (light blue fill) acts as support during uptrends, while the 50-60 area (light purple fill) acts as resistance during downtrends.
// From the code:
upTrendZone = rsiValue > 50 and rsiValue <= 90
downTrendZone = rsiValue < 50 and rsiValue >= 10
neutralZone = rsiValue > 40 and rsiValue < 60
rsiColor = neutralZone ? neutralRSI : upTrendZone ? upTrendRSI : downTrendRSI
Momentum Analysis
The Composite Index (fuchsia line) provides momentum confirmation:
Values above 50 indicate positive momentum
Values below 40 indicate negative momentum
Crossing above/below these thresholds signals potential momentum shifts
// From the code:
compositeIndexRaw = rsiChange / ta.stdev(rsiValue, rsiLength)
compositeIndex = ta.sma(compositeIndexRaw, compositeSmoothing)
compositeScaled = compositeIndex * 10 + 50 // Scaled to fit 0-100 range
Overbought/Oversold Detection
The ATR Distance to VWAP table in the top-right corner shows how far price has moved from VWAP in terms of ATR units:
Extreme positive values (orange/red): Potentially overbought
Extreme negative values (purple/red): Potentially oversold
Near zero (gray): Price near average value
// From the code:
priceDistance = (close - vwapValue) / ta.atr(atrPeriod)
// Color coding based on distance value
Divergence Trading
The indicator automatically detects divergences between the Composite Index and price:
Bullish divergence: Price makes lower low but Composite Index makes higher low
Bearish divergence: Price makes higher high but Composite Index makes lower high
// From the code:
divergenceBullish = ta.lowest(compositeIndex, rsiLength) > ta.lowest(close, rsiLength)
divergenceBearish = ta.highest(compositeIndex, rsiLength) < ta.highest(close, rsiLength)
Trading Strategies
Trend Following
1. Identify the trend using RSI color:
Blue = Uptrend, Purple = Downtrend
2. Wait for pullbacks to support/resistance zones:
In uptrends: Buy when RSI pulls back to 40-50 zone and bounces
In downtrends: Sell when RSI rallies to 50-60 zone and rejects
3. Confirm with Composite Index:
Uptrends: Composite Index stays above 50 or quickly returns above it
Downtrends: Composite Index stays below 50 or quickly returns below it
4. Manage risk using ATR Distance:
Take profits when ATR Distance reaches extreme values
Place stops beyond recent swing points
Reversal Trading
1. Look for divergences
Bullish: Price makes lower low but Composite Index makes higher low
Bearish: Price makes higher high but Composite Index makes lower high
2. Confirm with ATR Distance:
Extreme readings suggest potential reversals
3. Wait for RSI zone transition:
Bullish: RSI crosses above 40 (purple to neutral/blue)
Bearish: RSI crosses below 60 (blue to neutral/purple)
4. Enter after confirmation:
Use candlestick patterns for precise entry
Place stops beyond the divergence point
Four pre-configured alerts are available:
Momentum High: Composite Index above 50
Momentum Low: Composite Index below 40
Bullish Divergence: Composite Index higher low
Bearish Divergence: Composite Index lower high
Customization
Adjust these parameters to optimize for your trading style:
RSI Length: Default 14, lower for more sensitivity, higher for fewer signals
Composite Index Smoothing: Default 10, lower for quicker signals, higher for less noise
ATR Period: Default 14, affects the ATR Distance to VWAP calculation
This indicator works well across various markets and timeframes, though the default settings are optimized for daily charts. Adjust parameters for shorter or longer timeframes as needed.
Happy trading!
ScalpSwing Pro SetupScript Overview
This script is a multi-tool setup designed for both scalping (1m–5m) and swing trading (1H–4H–Daily). It combines the power of trend-following , momentum , and mean-reversion tools:
What’s Included in the Script
1. EMA Indicators (20, 50, 200)
- EMA 20 (blue) : Short-term trend
- EMA 50 (orange) : Medium-term trend
- EMA 200 (red) : Long-term trend
- Use:
- EMA 20 crossing above 50 → bullish trend
- EMA 20 crossing below 50 → bearish trend
- Price above 200 EMA = uptrend bias
2. VWAP (Volume Weighted Average Price)
- Shows the average price weighted by volume
- Best used in intraday (1m to 15m timeframes)
- Use:
- Price bouncing from VWAP = reversion trade
- Price far from VWAP = likely pullback incoming
3. RSI (14) + Key Levels
- Shows momentum and overbought/oversold zones
- Levels:
- 70 = Overbought (potential sell)
- 30 = Oversold (potential buy)
- 50 = Trend confirmation
- Use:
- RSI 30–50 in uptrend = dip buying zone
- RSI 70–50 in downtrend = pullback selling zone
4. MACD Crossovers
- Standard MACD with histogram & cross alerts
- Shows trend momentum shifts
- Green triangle = Bullish MACD crossover
- Red triangle = Bearish MACD crossover
- Use:
- Confirm swing trades with MACD crossover
- Combine with RSI divergence
5. Buy & Sell Signal Logic
BUY SIGNAL triggers when:
- EMA 20 crosses above EMA 50
- RSI is between 50 and 70 (momentum bullish, not overbought)
SELL SIGNAL triggers when:
- EMA 20 crosses below EMA 50
- RSI is between 30 and 50 (bearish momentum, not oversold)
These signals appear as:
- BUY : Green label below the candle
- SELL : Red label above the candle
How to Trade with It
For Scalping (1m–5m) :
- Focus on EMA crosses near VWAP
- Confirm with RSI between 50–70 (buy) or 50–30 (sell)
- Use MACD triangle as added confluence
For Swing (1H–4H–Daily) :
- Look for EMA 20–50 cross + price above EMA 200
- Confirm trend with MACD and RSI
- Trade breakout or pullback depending on structure
RSI in pane and 3 EMAs on chartCustom RSI in Pane + 3 EMAs on Chart — with Optional RSI Divergence Detection
Combines RSI in a separate pane with 3 EMAs on the chart and optional RSI-based divergence detection. Useful for analyzing both momentum and trend structure.
Features
RSI Pane
Custom RSI calculation (not built-in ta.rsi) with adjustable source and length
Overlay optional moving average (SMA, EMA, SMMA/RMA, WMA, VWMA, or Bollinger Bands) Overbought/oversold gradient fill for visual clarity (70 / 30 zones)
Midline (50) for neutral RSI territory
RSI Divergence Detection
Optional: toggle on/off with one input
Regular Bullish Divergence : Price makes a lower low, RSI makes a higher low
Regular Bearish Divergence : Price makes a higher high, RSI makes a lower high
Customizable lookback for pivot detection
Visual markers and labels plotted on RSI
Built-in alert conditions for both divergence types
3 EMA Trend Indicators on Price Chart
Three customizable EMAs (default: 20, 50, 200)
Color-coded and clearly plotted on main chart
Use to determine short/mid/long-term trend bias
No repainting or smoothing artifacts
Why use this script?
Gives a full view of trend + momentum without cluttering the main price chart, and it helps confirm entries and exits by observing RSI behavior alongside EMAs. The optional divergence detection can act as a signal for potential exhaustion or reversal (not entry signals on their own). It is a Good fit for traders who use RSI zones, divergences, and EMA structure in their decision-making, both for intra-day and swing trades (where it performs best).
How to use
Add this script to your chart. EMAs will appear on the main price chart; RSI and divergence will appear in a separate pane.
Adjust RSI and MA settings to fit your trading style (e.g., fast RSI for scalping, slower for swing)
Enable "Show Divergence" if you want visual alerts and markers
Use alerts to get notified when a divergence occurs without watching the chart
Always check the divergences on different time frames to validate the setup, and do not consider them valid on small time frames (<15 minutes).
Built for traders who want both momentum and trend context in a single tool — without clutter, repainting, or noise. I created this script to streamline my own analysis and avoid switching between multiple indicators. It's not meant to be a "signal generator" but a visual assistant for making better decisions. If you find it useful or have feedback, feel free to reach out.
ICT Judas + Silver Bullet🔰 ICT Judas + Silver Bullet Indicator (SMC-based)
Built for Prop Firm and High Win Rate Intraday Traders
This indicator identifies key institutional setups from Inner Circle Trader (ICT) and Smart Money Concepts (SMC) strategies, optimized for XAUUSD, EURUSD, and other high-volume pairs on the 5-minute chart.
📌 Core Features:
✅ Asian Range Box (02:00–08:00 SGT) – used as manipulation anchor
✅ London Killzone (14:00–16:00 SGT) – Judas Swing detection
✅ New York Killzone (22:30–23:30 SGT) – Silver Bullet setups
✅ Automatic Fair Value Gap (FVG) detection
✅ Liquidity sweep detection based on 20-bar EQH/EQL
✅ Entry + Stop Loss + Take Profit visualization with adjustable RR
✅ Alerts for Judas and Silver setups
✅ Perfect for prop firm scalping and intraday swing logic
🛠️ How It Works:
- Judas Swing: triggers when liquidity above the Asian high is swept during London Killzone
- Silver Bullet: triggers when liquidity below recent lows is swept during NY Killzone
- Entry shown via circle, SL and TP lines based on user-defined RR and stop-loss pip distance
- Designed to be paired with SMC/ICT OB/FVG confirmation entries
⚙️ Settings:
- Adjustable session times
- Toggle FVG display
- Set RR and SL pips to match prop firm rules
- Compatible with alert webhooks for Telegram
🕰️ Note:
All times are fixed to **SGT (GMT+8)**. If you're in another timezone, adjust your TradingView timezone accordingly or update the session inputs manually during Daylight Saving Time changes.
🔔 Alert-Ready:
Use alerts for live signals and pair with webhooks for automation.
🔍 Recommended Pairings:
XAUUSD, EURUSD, GBPUSD, NAS100 on M5 chart
📈 Win Rate Potential:
Backtested with high-probability setups aligned with prop firm daily goals. Best used with strict discipline and 1-2 setups per day.
—
Built with ❤️ by a trader, for traders looking for precision-based executions using ICT logic.
Moving Average Shift WaveTrend StrategyMoving Average Shift WaveTrend Strategy
🧭 Overview
The Moving Average Shift WaveTrend Strategy is a trend-following and momentum-based trading system designed to be overlayed on TradingView charts. It executes trades based on the confluence of multiple technical conditions—volatility, session timing, trend direction, and oscillator momentum—to deliver logical and systematic trade entries and exits.
🎯 Strategy Objectives
Enter trades aligned with the prevailing long-term trend
Exit trades on confirmed momentum reversals
Avoid false signals using session timing and volatility filters
Apply structured risk management with automatic TP, SL, and trailing stops
⚙️ Key Features
Selectable MA types: SMA, EMA, SMMA (RMA), WMA, VWMA
Dual-filter logic using a custom oscillator and moving averages
Session and volatility filters to eliminate low-quality setups
Trailing stop, configurable Take Profit / Stop Loss logic
“In-wave flag” prevents overtrading within the same trend wave
Visual clarity with color-shifting candles and entry/exit markers
📈 Trading Rules
✅ Long Entry Conditions:
Price is above the selected MA
Oscillator is positive and rising
200-period EMA indicates an uptrend
ATR exceeds its median value (sufficient volatility)
Entry occurs between 09:00–17:00 (exchange time)
Not currently in an active wave
🔻 Short Entry Conditions:
Price is below the selected MA
Oscillator is negative and falling
200-period EMA indicates a downtrend
All other long-entry conditions are inverted
❌ Exit Conditions:
Take Profit or Stop Loss is hit
Opposing signals from oscillator and MA
Trailing stop is triggered
🛡️ Risk Management Parameters
Pair: ETH/USD
Timeframe: 4H
Starting Capital: $3,000
Commission: 0.02%
Slippage: 2 pips
Risk per Trade: 2% of account equity (adjustable)
Total Trades: 224
Backtest Period: May 24, 2016 — April 7, 2025
Note: Risk parameters are fully customizable to suit your trading style and broker conditions.
🔧 Trading Parameters & Filters
Time Filter: Trades allowed only between 09:00–17:00 (exchange time)
Volatility Filter: ATR must be above its median value
Trend Filter: Long-term 200-period EMA
📊 Technical Settings
Moving Average
Type: SMA
Length: 40
Source: hl2
Oscillator
Length: 15
Threshold: 0.5
Risk Management
Take Profit: 1.5%
Stop Loss: 1.0%
Trailing Stop: 1.0%
👁️ Visual Support
MA and oscillator color changes indicate directional bias
Clear chart markers show entry and exit points
Trailing stops and risk controls are transparently managed
🚀 Strategy Improvements & Uniqueness
In-wave flag avoids repeated entries within the same trend phase
Filtering based on time, volatility, and trend ensures higher-quality trades
Dynamic high/low tracking allows precise trailing stop placement
Fully rule-based execution reduces emotional decision-making
💡 Inspirations & Attribution
This strategy is inspired by the excellent concept from:
ChartPrime – “Moving Average Shift”
It expands on the original idea with advanced trade filters and trailing logic.
Source reference:
📌 Summary
The Moving Average Shift WaveTrend Strategy offers a rule-based, reliable approach to trend trading. By combining trend and momentum filters with robust risk controls, it provides a consistent framework suitable for various market conditions and trading styles.
⚠️ Disclaimer
This script is for educational purposes only. Trading involves risk. Always use proper backtesting and risk evaluation before applying in live markets.
Machine Learning RSI ║ BullVisionOverview:
Introducing the Machine Learning RSI with KNN Adaptation – a cutting-edge momentum indicator that blends the classic Relative Strength Index (RSI) with machine learning principles. By leveraging K-Nearest Neighbors (KNN), this indicator aims at identifying historical patterns that resemble current market behavior and uses this context to refine RSI readings with enhanced sensitivity and responsiveness.
Unlike traditional RSI models, which treat every market environment the same, this version adapts in real-time based on how similar past conditions evolved, offering an analytical edge without relying on predictive assumptions.
Key Features:
🔁 KNN-Based RSI Refinement
This indicator uses a machine learning algorithm (K-Nearest Neighbors) to compare current RSI and price action characteristics to similar historical conditions. The resulting RSI is weighted accordingly, producing a dynamically adjusted value that reflects historical context.
📈 Multi-Feature Similarity Analysis
Pattern similarity is calculated using up to five customizable features:
RSI level
RSI momentum
Volatility
Linear regression slope
Price momentum
Users can adjust how many features are used to tailor the behavior of the KNN logic.
🧠 Machine Learning Weight Control
The influence of the machine learning model on the final RSI output can be fine-tuned using a simple slider. This lets you blend traditional RSI and machine learning-enhanced RSI to suit your preferred level of adaptation.
🎛️ Adaptive Filtering
Additional smoothing options (Kalman Filter, ALMA, Double EMA) can be applied to the RSI, offering better visual clarity and helping to reduce noise in high-frequency environments.
🎨 Visual & Accessibility Settings
Custom color palettes, including support for color vision deficiencies, ensure that trend coloring remains readable for all users. A built-in neon mode adds high-contrast visuals to improve RSI visibility across dark or light themes.
How It Works:
Similarity Matching with KNN:
At each candle, the current RSI and optional market characteristics are compared to historical bars using a KNN search. The algorithm selects the closest matches and averages their RSI values, weighted by similarity. The more similar the pattern, the greater its influence.
Feature-Based Weighting:
Similarity is determined using normalized values of the selected features, which gives a more refined result than RSI alone. You can choose to use only 1 (RSI) or up to all 5 features for deeper analysis.
Filtering & Blending:
After the machine learning-enhanced RSI is calculated, it can be optionally smoothed using advanced filters to suppress short-term noise or sharp spikes. This makes it easier to evaluate RSI signals in different volatility regimes.
Parameters Explained:
📊 RSI Settings:
Set the base RSI length and select your preferred smoothing method from 10+ moving average types (e.g., EMA, ALMA, TEMA).
🧠 Machine Learning Controls:
Enable or disable the KNN engine
Select how many nearest neighbors to compare (K)
Choose the number of features used in similarity detection
Control how much the machine learning engine affects the RSI calculation
🔍 Filtering Options:
Enable one of several advanced smoothing techniques (Kalman Filter, ALMA, Double EMA) to adjust the indicator’s reactivity and stability.
📏 Threshold Levels:
Define static overbought/oversold boundaries or reference dynamically adjusted thresholds based on historical context identified by the KNN algorithm.
🎨 Visual Enhancements:
Select between trend-following or impulse coloring styles. Customize color palettes to accommodate different types of color blindness. Enable neon-style effects for visual clarity.
Use Cases:
Swing & Trend Traders
Can use the indicator to explore how current RSI readings compare to similar market phases, helping to assess trend strength or potential turning points.
Intraday Traders
Benefit from adjustable filters and fast-reacting smoothing to reduce noise in shorter timeframes while retaining contextual relevance.
Discretionary Analysts
Use the adaptive OB/OS thresholds and visual cues to supplement broader confluence zones or market structure analysis.
Customization Tips:
Higher Volatility Periods: Use more neighbors and enable filtering to reduce noise.
Lower Volatility Markets: Use fewer features and disable filtering for quicker RSI adaptation.
Deeper Contextual Analysis: Increase KNN lookback and raise the feature count to refine pattern recognition.
Accessibility Needs: Switch to Deuteranopia or Monochrome mode for clearer visuals in specific color vision conditions.
Final Thoughts:
The Machine Learning RSI combines familiar momentum logic with statistical context derived from historical similarity analysis. It does not attempt to predict price action but rather contextualizes RSI behavior with added nuance. This makes it a valuable tool for those looking to elevate traditional RSI workflows with adaptive, research-driven enhancements.
OBV & AD Oscillators with Dual Smoothing OptionsOn Balance Volume and Accumulation/Distribution
Overlaid into 1 and then some,
Now it is an oscillator!
3 customizable moving average types
- Ehlers Deviation Scaled Moving Average
- Volatility Dynamic Moving Average
- Simple Moving Average
Each with customizable periods
And with the ability to overlay a second set too
Default Settings have a longer period MA of 377 using Ehlers DSMA to better capture the standard view of OBV and A/D.
An extra overlay of a shorter period using a Volatility DMA uses Average True Range with its own custom settings, seeks to act more as an RSI
Stochastic Overlay - Regression Channel (Zeiierman)█ Overview
The Stochastic Overlay – Regression Channel (Zeiierman) is a next-generation visualization tool that transforms the traditional Stochastic Oscillator into a dynamic price-based overlay.
Instead of leaving momentum trapped in a lower subwindow, this indicator projects the Stochastic oscialltor directly onto price itself — allowing traders to visually interpret momentum, overbought/oversold conditions, and market strength without ever taking their eyes off price action.
⚪ In simple terms:
▸ The Bands = The Stochastic Oscillator — but on price.
▸ The Midline = Stochastic 50 level
▸ Upper Band = Stochastic Overbought Threshold
▸ Lower Band = Stochastic Oversold Threshold
When the price moves above the midline → it’s the same as the oscillator moving above 50
When the price breaks above the upper band → it’s the same as Stochastic entering overbought.
When the price reaches the lower band →, think of it like Stochastic being oversold.
This makes market conditions visually intuitive. You’re literally watching the oscillator live on the price chart.
█ How It Works
The indicator layers 3 distinct technical elements into one clean view:
⚪ Stochastic Momentum Engine
Tracks overbought/oversold conditions and directional strength using:
%K Line → Momentum of price
%D Line → Smoothing filter of %K
Overbought/Oversold Bands → Highlight potential reversal zones
⚪ Volatility Adaptive Bands
Dynamic bands plotted above and below price using:
ATR * Stochastic Scaling → Creates wider bands during volatile periods & tighter bands in calm conditions
Basis → Moving average centerline (EMA, SMA, WMA, HMA, RMA selectable)
This means:
→ In strong trends: Bands expand
→ In consolidations: Bands contract
⚪ Regression Channel
Projects trend direction with different models:
Logarithmic → Captures non-linear growth (perfect for crypto or exponential stocks)
Linear → Classic regression fit
Adaptive → Dynamically adjusts sensitivity
Leading → Projects trend further ahead (aggressive mode)
Channels include:
Midline → Fair value trend
Upper/Lower Bounds → Deviation-based support/resistance
⚪ Heatmap - Bull & Bear Power Strength
Visual heatmeter showing:
% dominance of bulls vs bears (based on close > or < Band Basis)
Automatic normalization regardless of timeframe
Table display on-chart for quick visual insight
Dynamic highlighting when extreme levels are reached
⚪ Trend Candlestick Coloring
Bars auto-color based on trend filter:
Above Basis → Bullish Color
Below Basis → Bearish Color
█ How to Use
⚪ Trend Trading
→ Use Band direction + Regression Channel to identify trend alignment
→ Longs favored when price holds above the Basis
→ Shorts favored when price stays below the Basis
→ Use the Bull & Bear heatmap to asses if the bulls or the bears are in control.
⚪ Mean Reversion
→ Look for price to interact with Upper or Lower Band extremes
→ Stochastic reaching OB/OS zones further supports reversals
⚪ Momentum Confirmation
→ Crossovers between %K and %D can confirm continuation or divergence signals
→ Especially powerful when happening at band boundaries
⚪ Strength Heatmap
→ Quickly visualize current buyer vs seller control
→ Sharp spikes in Bull Power = Aggressive buying
→ Sharp spikes in Bear Power = Heavy selling pressure
█ Why It Useful
This is not a typical Stochastic or regression tool. The tool is designed for traders who want to:
React dynamically to price volatility
Map momentum into volatility context
Use adaptive regression channels across trend styles
Visualize bull vs bear power in real-time
Follow trends with built-in reversal logic
█ Settings
Stochastic Settings
Stochastic Length → Period of calculation. Higher = smoother, Lower = faster signals.
%K Smoothing → Smooths the Stochastic line itself.
%D Smoothing → Smooths the moving average of %K for slower signals.
Stochastic Band
Band Length → Length of the Moving Average Basis.
Volatility Multiplier → Controls band width via ATR scaling.
Band Type → Choose MA type (EMA, SMA, WMA, HMA, RMA).
Regression Channel
Regression Type → Logarithmic / Linear / Adaptive / Leading.
Regression Length → Number of bars for regression calculation.
Heatmap Settings
Heatmap Length → Number of bars to calculate bull/bear dominance.
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
Price Position Percentile (PPP)
Price Position Percentile (PPP)
A statistical analysis tool that dynamically measures where current price stands within its historical distribution. Unlike traditional oscillators, PPP adapts to market conditions by calculating percentile ranks, creating a self-adjusting framework for identifying extremes.
How It Works
This indicator analyzes the last 200 price bars (customizable) and calculates the percentile rank of the current price within this distribution. For example, if the current price is at the 80th percentile, it means the price is higher than 80% of all prices in the lookback period.
The indicator creates five dynamic zones based on percentile thresholds:
Extremely Low Zone (<5%) : Prices in the lowest 5% of the distribution, indicating potential oversold conditions.
Low Zone (5-25%) : Accumulation zone where prices are historically low but not extreme.
Neutral Zone (25-75%) : Fair value zone representing the middle 50% of the price distribution.
High Zone (75-95%) : Distribution zone where prices are historically high but not extreme.
Extremely High Zone (>95%) : Prices in the highest 5% of the distribution, suggesting potential bubble conditions.
Mathematical Foundation
Unlike fixed-threshold indicators, PPP uses a non-parametric approach:
// Core percentile calculation
percentile = (count_of_prices_below_current / total_prices) * 100
// Threshold calculation using built-in function
p_extremely_low = ta.percentile_linear_interpolation(source, lookback, 5)
p_low = ta.percentile_linear_interpolation(source, lookback, 25)
p_neutral_high = ta.percentile_linear_interpolation(source, lookback, 75)
p_extremely_high = ta.percentile_linear_interpolation(source, lookback, 95)
Key Features
Dynamic Adaptation : All zones adjust automatically as price distribution changes
Statistical Robustness : Works on any timeframe and any market, including highly volatile cryptocurrencies
Visual Clarity : Color-coded zones provide immediate visual context
Non-parametric Analysis : Makes no assumptions about price distribution shape
Historical Context : Shows how zones evolved over time, revealing market regime changes
Practical Applications
PPP provides objective statistical context for price action, helping traders make more informed decisions based on historical price distribution rather than arbitrary levels.
Value Investment : Identify statistically significant low prices for potential entry points
Risk Management : Recognize when prices reach historical extremes for profit taking
Cycle Analysis : Observe how percentile zones expand and contract during different market phases
Market Regime Detection : Identify transitions between accumulation, markup, distribution, and markdown phases
Usage Guidelines
This indicator is particularly effective when:
- Used across multiple timeframes for confirmation
- Combined with volume analysis for validation of extremes
- Applied in conjunction with trend identification tools
- Monitored for divergences between price action and percentile ranking
RSI Full [Titans_Invest]RSI Full
One of the most complete RSI indicators on the market.
While maintaining the classic RSI foundation, our indicator integrates multiple entry conditions to generate more accurate buy and sell signals.
All conditions are fully configurable, allowing complete customization to fit your trading strategy.
⯁ WHAT IS THE RSI❓
The Relative Strength Index (RSI) is a technical analysis indicator developed by J. Welles Wilder. It measures the magnitude of recent price movements to evaluate overbought or oversold conditions in a market. The RSI is an oscillator that ranges from 0 to 100 and is commonly used to identify potential reversal points, as well as the strength of a trend.
⯁ HOW TO USE THE RSI❓
The RSI is calculated based on average gains and losses over a specified period (usually 14 periods). It is plotted on a scale from 0 to 100 and includes three main zones:
Overbought: When the RSI is above 70, indicating that the asset may be overbought.
Oversold: When the RSI is below 30, indicating that the asset may be oversold.
Neutral Zone: Between 30 and 70, where there is no clear signal of overbought or oversold conditions.
⯁ ENTRY CONDITIONS
The conditions below are fully flexible and allow for complete customization of the signal.
______________________________________________________
🔹 CONDITIONS TO BUY 📈
______________________________________________________
• Signal Validity: The signal will remain valid for X bars .
• Signal Sequence: Configurable as AND/OR .
📈 RSI Conditions:
🔹 RSI > Upper
🔹 RSI < Upper
🔹 RSI > Lower
🔹 RSI < Lower
🔹 RSI > Middle
🔹 RSI < Middle
🔹 RSI > MA
🔹 RSI < MA
📈 MA Conditions:
🔹 MA > Upper
🔹 MA < Upper
🔹 MA > Lower
🔹 MA < Lower
📈 Crossovers:
🔹 RSI (Crossover) Upper
🔹 RSI (Crossunder) Upper
🔹 RSI (Crossover) Lower
🔹 RSI (Crossunder) Lower
🔹 RSI (Crossover) Middle
🔹 RSI (Crossunder) Middle
🔹 RSI (Crossover) MA
🔹 RSI (Crossunder) MA
🔹 MA (Crossover) Upper
🔹 MA (Crossunder) Upper
🔹 MA (Crossover) Lower
🔹 MA (Crossunder) Lower
📈 RSI Divergences:
🔹 RSI Divergence Bull
🔹 RSI Divergence Bear
______________________________________________________
______________________________________________________
🔸 CONDITIONS TO SELL 📉
______________________________________________________
• Signal Validity: The signal will remain valid for X bars .
• Signal Sequence: Configurable as AND/OR .
📉 RSI Conditions:
🔸 RSI > Upper
🔸 RSI < Upper
🔸 RSI > Lower
🔸 RSI < Lower
🔸 RSI > Middle
🔸 RSI < Middle
🔸 RSI > MA
🔸 RSI < MA
📉 MA Conditions:
🔸 MA > Upper
🔸 MA < Upper
🔸 MA > Lower
🔸 MA < Lower
📉 Crossovers:
🔸 RSI (Crossover) Upper
🔸 RSI (Crossunder) Upper
🔸 RSI (Crossover) Lower
🔸 RSI (Crossunder) Lower
🔸 RSI (Crossover) Middle
🔸 RSI (Crossunder) Middle
🔸 RSI (Crossover) MA
🔸 RSI (Crossunder) MA
🔸 MA (Crossover) Upper
🔸 MA (Crossunder) Upper
🔸 MA (Crossover) Lower
🔸 MA (Crossunder) Lower
📉 RSI Divergences:
🔸 RSI Divergence Bull
🔸 RSI Divergence Bear
______________________________________________________
______________________________________________________
🤖 AUTOMATION 🤖
• You can automate the BUY and SELL signals of this indicator.
______________________________________________________
______________________________________________________
⯁ UNIQUE FEATURES
______________________________________________________
Signal Validity: The signal will remain valid for X bars
Signal Sequence: Configurable as AND/OR
Condition Table: BUY/SELL
Condition Labels: BUY/SELL
Plot Labels in the Graph Above: BUY/SELL
Automate and Monitor Signals/Alerts: BUY/SELL
Signal Validity: The signal will remain valid for X bars
Signal Sequence: Configurable as AND/OR
Condition Table: BUY/SELL
Condition Labels: BUY/SELL
Plot Labels in the Graph Above: BUY/SELL
Automate and Monitor Signals/Alerts: BUY/SELL
______________________________________________________
📜 SCRIPT : RSI Full
🎴 Art by : @Titans_Invest & @DiFlip
👨💻 Dev by : @Titans_Invest & @DiFlip
🎑 Titans Invest — The Wizards Without Gloves 🧤
✨ Enjoy the Spell!
______________________________________________________
o Mission 🗺
• Inspire Traders to manifest Magic in the Market.
o Vision 𐓏
• To elevate collective Energy 𐓷𐓏
Stoch_RSI_ChartEnhanced Stochastic RSI Divergence Indicator with VWAP Filter for Charts
This custom indicator builds upon the classic Stochastic RSI to automatically detect both regular and hidden divergences. It’s designed to help traders spot potential market reversals or continuations using two methods for divergence detection (fractal‑ and pivot‑based) while offering optional VWAP filtering for confirmation.
Key Features
Stoch RSI Calculation
The indicator computes a smoothed Stoch RSI using configurable parameters for RSI length, stochastic length, and smoothing periods. An option to average the K and D lines provides a cleaner momentum view.
Divergence Detection via Fractals & Pivots
Fractal-Based Divergences:
Looks for 4-candle patterns to identify higher-highs or lower-lows in the price that are not confirmed by the oscillator, signaling potential reversals.
Pivot-Based Divergences:
Utilizes TradingView’s built-in pivot functions to find divergence conditions over adjustable pivot ranges.
Regular vs. Hidden Divergences:
Regular Divergence: Occurs when price makes a new extreme (higher high or lower low) while the Stoch RSI fails to follow suit.
Hidden Divergence: Indicates potential trend continuations when the oscillator diverges against the established price trend.
Optional VWAP Filtering
The script includes two optional VWAP filters that work as follows:
VWAP Filter on Regular Divergences:
Only confirms regular divergence signals if the current price satisfies the VWAP condition (e.g., price is above VWAP for bullish signals, below VWAP for bearish signals).
VWAP Filter on Hidden Divergences:
Similarly, hidden divergence signals are validated only when the price meets specific VWAP conditions, adding an extra layer of trend confirmation.
Customizable Alerts and Visual Labels
Easily configure divergence labels (“B” for bullish, “S” for bearish) and enable up to four alert conditions for real‑time notifications when a divergence occurs.
Credits & History:
Log RSI by @fskrypt
Divergence Detection originally by @RicardoSantos (with edits from @JustUncleL)
Further Edits by @NeoButane on August 8, 2018
Latest Edits by @FYMD on June 1, 2024
Stoch_RSIStochastic RSI – Advanced Divergence Indicator
This custom indicator is an advanced version of the Stochastic RSI that not only smooths and refines the classic RSI input but also automatically detects both regular and hidden divergences using two powerful methods: fractal-based and pivot-based detection. Originally inspired by contributions from @fskrypt, @RicardoSantos, and later improved by developers like @NeoButane and @FYMD, this script has been fully refined for clarity and ease-of-use.
Key Features:
Dual Divergence Detection:
Fractal-Based Divergence: Uses a four-candle pattern to confirm top and bottom fractals for bullish and bearish divergences.
Pivot-Based Divergence: Employs TradingView’s built-in pivot functions for an alternate view of divergence conditions.
Customizable Settings:
The inputs are organized into logical groups (Stoch RSI settings, Divergence Options, Labels, and Market Open Settings) allowing you to adjust smoothing periods, RSI and Stochastic lengths, and divergence thresholds with a user-friendly interface.
Visual Enhancements:
Plots & Fills: The indicator plots both the K and D lines with corresponding fills and horizontal bands for quick visual reference.
Divergence Markers: Diamond shapes and labeled markers indicate regular and hidden divergences on the chart.
Market Open Highlighting: Optional histogram plots highlight the market open candle based on different timeframes for stocks versus non-forex symbols.