OB + EMA100/200 + FVG [INTRADING]A powerful all-in-one tool for Smart Money Concepts (SMC) and price action traders, combining three core market structure elements into a clean, customizable visual framework:
Order Blocks (OB): Automatically detects bullish and bearish order blocks after fractal breaks (3-bar or 5-bar). Choose to display blocks based on candle body or wick, and optionally filter only those followed by a Fair Value Gap.
Fair Value Gaps (FVG): Highlights imbalance zones as semi-transparent rectangles with percentage-based filtering. Gaps are automatically removed once price returns to fill them.
EMA 100 & EMA 200: Built-in trend filters (yellow and blue) to help align trades with the broader market direction.
🔹 Fully customizable: adjust line style, color, thickness, and length
🔹 Optional fractal markers for clearer structure identification
🔹 Auto-cleanup: OB lines and FVG zones disappear after being filled
🔹 Watermark-free chart space with subtle author credit
Perfect for traders using ICT, SMC, or institutional order flow strategies who need precise, uncluttered visuals to spot high-probability reversal and continuation zones.
Author: @Denis_IT_Trade
指標和策略
Adaptive Trend CatcherAdaptive Trend Catcher is a custom-built indicator designed to help traders identify and follow market direction with precision. It combines adaptive trend logic with a Hull Moving Average base, ATR-driven dynamic bands, CCI filtering, and hysteresis to reduce false signals. Sensitivity automatically adjusts during high-volatility moves, and built-in alerts notify you instantly when bullish or bearish momentum shifts occur. This makes it a versatile tool for both day traders and swing traders looking to stay ahead of trend reversals in real time.
RSI Bars - OnlyFlowThis indicator applies the RSI (Relative Strength Index) to candle coloring so that bar colors reflect momentum conditions instead of a fixed scheme.
RSI Logic: Bars shift color when RSI values move into overbought or oversold regions, with intensity scaled by how far RSI extends beyond the thresholds.
Gradient / Step Mode: Choose between a smooth gradient or a 3-step palette to visualize strength.
Directional Neutral Colors: Neutral zones can follow candle direction for clearer trend context.
Customization: Overbought/oversold levels and color palettes are user-configurable.
Optional RSI Panel: An RSI plot with overbought/oversold lines can be enabled in a separate pane if desired.
This tool is meant to give traders a more intuitive view of RSI conditions directly on price bars, helping to quickly see momentum extremes without needing to glance away from the chart.
Stochastic & RSI Oscillator with Signals (Custom by TitikSona)📊 Overview
The Dual Stochastic RSI Oscillator is an advanced trading tool that combines two Stochastic oscillators with RSI filtering to generate high-probability trading signals. This professional-grade indicator is designed to help traders identify precise entry and exit points with multiple confirmation layers.
⚙️ Core Components
Dual Stochastic System
Fast Stochastic: K=12, D=3, Slowing=20 (short-term momentum)
Slow Stochastic: K=100, D=8, Slowing=8 (long-term trend)
Provides both immediate and sustained momentum perspectives
RSI Convergence Filter
26-period RSI with 30-70 threshold levels
Acts as a quality filter to eliminate false signals
Ensures trades are taken in optimal market conditions
🎯 Trading Signals
BUY Conditions:
✅ Both Stochastic oscillators in OVERSOLD zone (≤20)
✅ RSI trading between 30-70 (optimal range)
✅ Green Triangle appears in lower oscillator area
SELL Conditions:
✅ Both Stochastic oscillators in OVERBOUGHT zone (≥80)
✅ RSI trading between 30-70 (optimal range)
✅ Red Triangle appears in upper oscillator area
📊 Visual Features
Multi-color Display:
Blue & Orange: Fast Stochastic (K and D lines)
Green & Red: Slow Stochastic (K and D lines)
Purple: RSI momentum line
Dashed lines: Key levels (20, 50, 80, RSI 30/70)
Dynamic Background:
🔴 Red tint: Overbought territory
🟢 Green tint: Oversold territory
🔔 Advanced Features
Real-time Monitoring:
Live value table with all indicator readings
Current signal status and market condition
Automated alerts for all trading signals
Customization Options:
Adjustable parameters for all components
Customizable colors and styles
Flexible signal positioning
💪 Key Benefits
Multiple Confirmations - Dual Stochastic + RSI convergence
Clear Visualization - Distinct colors for easy interpretation
Precision Timing - Signals only in optimal RSI ranges
Instant Notifications - Never miss a trading opportunity
Multi-Timeframe - Works across all chart timeframes
🚀 How to Use
Look for GREEN triangles in lower zone for BUY entries
Watch for RED triangles in upper zone for SELL entries
Confirm RSI is between 30-70 levels
Check value table for detailed indicator readings
Enable alerts for instant signal notifications
🎯 Ideal For
Swing Traders - Capturing medium-term momentum moves
Position Traders - Identifying major trend reversals
Day Traders - Finding high-probability intraday setups
All Experience Levels - From beginners to professional traders
⚠️ Risk Management
Use in conjunction with other analysis techniques
Adjust parameters to match your trading style
Always use proper position sizing
Test thoroughly in demo environment first
Combine with price action and market structure analysis
🆓 Free & Open
This indicator is completely free to use and modify. We believe in providing quality tools to help the trading community make better decisions.
⭐ If you find this indicator helpful, please give it a like and leave a review! Your support helps us create more free trading tools.
🔔 Don't forget to click the 'Follow' button to stay updated on our latest indicators and updates!
Happy Trading! 📈✨
NSF/NBF Boxes📘 NSF / NBF Extended Boxes (Wyckoff–VSA Smart Zones)
This indicator automatically detects No Supply (NSF) and No Buying / No Demand (NBF) bars using Wyckoff–VSA principles and marks them with extended boxes and a dashed 50% midline.
🟢 NSF (No Supply) — Bullish accumulation signal
🔴 NBF (No Demand) — Bearish distribution signal
Each box extends forward in time to highlight key supply/demand zones, while the dashed midline represents the equilibrium level within that bar.
When price later retests this 50% level, the script triggers a visual marker and an alert condition, helping you spot potential reversals or continuation confirmations.
🧠 Core Features
Automatic detection of No Supply / No Demand bars
Extended boxes with adjustable length and auto-extension
Midline (50%) retest alerts for precise trade timing
Optional EMA trend filter, volume check, and close bias
Works even on symbols without volume data (crypto, indices, FX)
“Test Mode” included for easy visualization and debugging
⚙️ Usage Tips
Use on 5m–4h charts for crypto or stocks to spot professional activity.
Combine with Wyckoff, VSA, or Smart Money Concepts to confirm accumulation/distribution phases.
Look for NSF retests near support in a downtrend → possible long entry.
Look for NBF retests near resistance in an uptrend → possible short entry.
🧩 Parameters
Ignore Volume: disables volume filters for markets with missing data
Use EMA Trend Filter: only confirm signals in direction of trend
Auto-extend Boxes: keeps zones projecting into future bars
Retest Alerts: triggers when price touches midline after formation
💡 Author’s Note
This tool visualizes the often-hidden behavior of smart money absorption and weak demand exhaustion.
Use it as part of a complete trading plan — not as a standalone buy/sell signal
LSVR - Liquidity Sweep & Volume ReversalLSVR condenses a pro workflow into one visual overlay: Higher-Timeframe (HTF) Trend → Liquidity Sweep & Reclaim → Volume Confirmation. A signal only prints when all three gates align at bar close, and the chart shows everything you need—trend context, the sweep “trap” candle, and a projected Entry/SL/TP based on your chosen R multiple.
How it works
HTF Trend Filter: Projects a smoothed KAMA/EMA from a higher timeframe to the chart using a safe, lookahead-off request. Long signals are considered only above the HTF line; shorts only below.
Liquidity Sweep & Reclaim: Finds confirmed swing highs/lows, then detects an ATR-scaled overshoot through that swing followed by a reclaim (close back inside a configurable % of the bar range).
Volume Confirmation: Requires either a volume spike over Volume SMA × multiplier or optional OBV divergence. No participation = no signal.
Score: Each setup is scored: trend (0/1) + overshoot strength (0..1.5) + conviction (0/1). Signals fire only when the score ≥ Min Signal Score.
What you see
HTF Ribbon (subtle green/red backdrop) for bias.
Sweep Box on the signal candle (green = long, red = short).
Signal markers (“L” / “S”) with a small score label.
Projected lines that persist until the next signal: Entry (close), Stop (beyond swept swing), Target (R multiple).
Heatmap that intensifies when the score crosses your threshold.
Dashboard (top-right): HTF direction, Volume×SMA, current Score, gate pass status.
Tooltip on the last bar with quick stats.
Quick start
Apply to any liquid symbol and set HTF to ~3–6× your chart timeframe (e.g., 15m chart → 1H–4H).
Trade with the HTF trend: take L signals above the HTF line and S signals below it.
Entry = signal bar close, SL = beyond the swept swing, TP = your Projected Take-Profit (R).
Tighten or loosen selectivity with Min Signal Score, Reclaim %, Overshoot (ATR×), and Cooldown.
Recommended presets
Choppy/crypto 15m: minScore 1.25, reclaimPct 0.60–0.65, overshootATR 1.0–1.2, useOBVDiv=false, cooldown 8.
FX 5m / session trend: minScore 1.0–1.1, reclaimPct 0.50–0.55, overshootATR 0.8–1.0, useOBVDiv=true, cooldown 5.
Indices 1m (RTH): minScore 1.2, reclaimPct 0.55–0.60, useOBVDiv=false, cooldown 10.
Non-repainting by design
HTF values use lookahead_off with realtime offset.
Swings are confirmed pivots (no “forming” pivots).
Signals print at bar close only.
Notes
OBV divergence can add sensitivity on liquid markets; keep it off for stricter filtering.
Use Cooldown to avoid clustered sweeps.
This is an overlay/analysis tool, not financial advice. Test settings in Replay/Paper Trading before using live.
Luxy UT BOT Watchlist ScannerUT BOT Watchlist Scanner - User Guide
Version: 1.0
Overview
The Luxy UT BOT Watchlist Scanner is a multi-symbol monitoring tool that combines the UT Bot (Ultimate Trailing Stop) algorithm with real-time scanning capabilities. It allows traders to monitor up to 10 symbols simultaneously for trend reversals based on ATR trailing stops, without needing to manually switch between charts.
What is UT Bot?
UT Bot is a trend-following indicator that uses ATR (Average True Range) to create a dynamic trailing stop. When price crosses above the trailing line, it signals a potential uptrend (BUY). When price crosses below, it signals a potential downtrend (SELL).
Key Features
Real-Time Multi-Symbol Scanning
Monitor up to 10 symbols for UT Bot signals without switching charts. The scanner checks each symbol on your selected timeframe and displays recent flips in a table.
Customizable Timeframe
Scan symbols on any timeframe (1m to Daily) independently of your current chart timeframe. This allows you to trade on 5-minute charts while monitoring 1-hour signals across multiple symbols.
TTL (Time-To-Live) Management
Symbols appear in the table only when they flip and remain visible for a configurable duration (default: 5 minutes). This prevents clutter and focuses attention on recent opportunities.
Real-Time Alerts
Receive TradingView alerts when any monitored symbol flips. Optional daily throttling prevents alert spam on volatile tickers.
On-Chart UT Visualization
Display the UT trailing stop line and buy/sell labels directly on your current chart for manual analysis.
Who Is This For?
Day Traders
Scan multiple stocks or forex pairs for breakout signals without missing opportunities on other charts.
Swing Traders
Monitor a portfolio of assets on higher timeframes (4H, Daily) to catch major trend reversals.
Multi-Asset Traders
Track symbols across different sectors or asset classes simultaneously (stocks, crypto, forex).
Alert-Based Traders
Set up alerts and step away from the screen. Get notified only when your monitored symbols generate signals.
Advantages Over Similar Indicators
Versus Manual Chart Switching
Eliminates the need to cycle through multiple charts manually. All signals appear in one consolidated table.
Versus Single-Symbol UT Bot
Standard UT Bot indicators only work on the current chart. This scanner extends the functionality to 10 symbols at once.
Versus Screeners
Most screeners require premium subscriptions and operate outside TradingView. This tool works entirely within your existing TradingView setup.
Performance Optimized
Smart scanning logic reduces unnecessary calculations. The scanner only processes data when the target timeframe bar is confirmed, minimizing CPU load.
How To Use
Step 1: Add To Chart
Open any chart in TradingView
Click "Indicators" and search for "Luxy UT BOT Watchlist Scanner"
Add the indicator to your chart
Step 2: Configure UT Bot Settings
Sensitivity (Key × ATR)
Controls how tight or loose the trailing stop follows price.
Recommended starting points:
Scalping (1-5m charts): 0.9 - 1.2
Day Trading (5-60m charts): 1.3 - 2.2
Swing Trading (4H-D charts): 1.7 - 3.0
Lower values = more signals, faster reactions, higher noise
Higher values = fewer signals, stronger trends, less noise
ATR Period
Number of bars for volatility calculation.
Recommended starting points:
Scalping: 5-7 bars
Day Trading: 7-14 bars
Swing Trading: 10-21 bars
Shorter periods = more responsive to recent volatility
Longer periods = smoother, less reactive to noise
Step 3: Configure Watchlist Scanner
Symbols to Scan
Enter up to 10 symbols separated by commas.
Example: AAPL, MSFT, NVDA, TSLA, AMZN
For stocks, use the ticker symbol only (not exchange prefix).
For crypto, use the full pair name (BTCUSD, ETHUSD).
For forex, use standard pairs (EURUSD, GBPUSD).
Scanner Timeframe
Select the timeframe for signal detection across all symbols.
Recommended combinations:
Chart: 5m, Scanner: 15m (day trading with confirmation)
Chart: 15m, Scanner: 1H (swing trading setup)
Chart: 1H, Scanner: 4H (position trading)
The scanner timeframe can differ from your chart timeframe. This is useful for multi-timeframe analysis.
Keep Hits For (TTL)
How long symbols remain visible in the table after a flip.
Recommended settings:
Active monitoring: 5-10 minutes
Passive monitoring: 15-30 minutes
Symbols that flip again within the TTL window reset the timer.
Step 4: Set Up Alerts (Optional)
To receive notifications when any symbol flips:
Enable "Enable Runtime Alerts" in the scanner settings
Click the TradingView alert button (clock icon)
Set condition to: "Any alert() function call"
Configure your notification preferences (popup, email, webhook)
Click "Create"
Optional: One Alert Per Symbol Per Day
Enable this to limit alerts to once per calendar day per symbol. Useful for volatile tickers that flip multiple times.
Recommended Settings By Trading Style
Scalping (1-5 minute charts)
Sensitivity: 1.0
ATR Period: 5
Scanner Timeframe: 3m or 5m
TTL: 5 minutes
Best for: High-frequency traders monitoring liquid assets
Day Trading (5-60 minute charts)
Sensitivity: 1.5
ATR Period: 10
Scanner Timeframe: 15m or 30m
TTL: 10 minutes
Best for: Intraday swing trades with moderate position holding
Swing Trading (4H-Daily charts)
Sensitivity: 2.2
ATR Period: 14
Scanner Timeframe: 4H or D
TTL: 30 minutes
Best for: Multi-day positions and trend following
Conservative Approach (Low Noise)
Sensitivity: 3.0
ATR Period: 21
Scanner Timeframe: D
TTL: 30 minutes
Best for: Long-term investors wanting only strong trend changes
Note: These are configuration suggestions, not trading advice. Always test settings on historical data and adjust based on the asset's volatility and your risk tolerance.
Understanding The Table
The watchlist table appears at your selected position (default: bottom left) and displays:
SYMBOL column: Ticker symbol that flipped
SIGNAL column: BUY (green) or SELL (red)
Symbols are sorted with the most recent flip at the bottom.
The table updates in real-time as symbols are scanned. If no symbols are currently active, the table will be empty or show only the header.
Performance Notes
How The Scanner Works
The scanner processes symbols in batches to minimize load. Each bar, it scans up to 10 symbols and checks for signal changes.
The smart timing optimization ensures scanning only occurs when the target timeframe bar is confirmed, reducing unnecessary calculations by approximately 70 percent.
Symbol Limit
The maximum is 10 symbols to maintain performance. If you need to monitor more symbols, you can add the indicator multiple times with different symbol lists.
Calculation Bars
The scanner uses 300 historical bars for accurate signal detection. This ensures proper ATR calculation even when scanning symbols different from your current chart.
Troubleshooting
Table not showing any symbols
Verify symbols are entered correctly (no extra spaces)
Check that symbols are valid for your TradingView plan
Ensure "Show Watchlist Table" is enabled
Wait for at least one symbol to generate a signal
Alerts not triggering
Confirm "Enable Runtime Alerts" is on
Verify you created an alert with condition "Any alert() function call"
Check that you're viewing the chart in real-time (not replay mode)
Invalid symbol errors
Remove any exchange prefixes (use AAPL, not NASDAQ:AAPL)
For crypto, ensure you're using the correct pair format for your exchange
Some symbols may require premium data access
Too many or too few signals
Adjust the Sensitivity value (lower = more signals, higher = fewer signals)
Try a different ATR Period
Consider changing the scanner timeframe
Important Disclaimers
This indicator is a technical analysis tool only. It does not predict future price movements or guarantee trading profits.
All suggested settings are for educational purposes and should be tested in a demo environment before live trading.
The UT Bot algorithm generates signals based on historical price data and volatility. Like all technical indicators, it can produce false signals, especially in choppy or ranging markets.
Always use proper risk management, position sizing, and additional confirmation methods when making trading decisions.
Past performance of any trading strategy or methodology is not indicative of future results.
Daily H/L/M + Open + VWAP + BB + LRC + Session BiasGreat indicator to understand session bias, price high low middle open and great to create a non repainting price action based trading strategy specially for option...
Double Stochastic & RSI Oscillator (Custom by TitikSona)This indicator displays two Stochastic oscillators together with RSI in a separate oscillator pane, giving a clear visual representation of momentum and overbought/oversold conditions. It is ideal for traders who want a multi-indicator confirmation without plotting signals directly on the price chart.
Features:
Dual Stochastic Oscillators: Customizable %K and %D periods with independent smoothing.
RSI Overlay: Tracks momentum and confirms oscillator readings.
Visual Plots:
Stochastic 1 (%K blue / %D orange)
Stochastic 2 (%K green / %D red)
RSI (purple)
Reference Lines: Overbought (80), Oversold (20), Midline (50), and custom RSI upper/lower levels.
Background Zones: Highlights overbought (red) and oversold (green) regions for quick visual reference.
Inputs:
Stochastic 1 & 2 K, D, and slowing periods
RSI period, upper, and lower thresholds
Usage:
Use the oscillator to detect overbought and oversold zones.
Confirm entries and exits by combining Stochastics and RSI levels.
Ideal for swing trading, day trading, and momentum strategies.
Camarilla Pivots + 20 EMA StrategyThis is an intraday volatility and trend-following system for commodities like Natural Gas, combining dynamic pivot levels (Camarilla) with a trend filter (20-period EMA) to improve risk-reward and reduce false breakouts.
Core Components
1. Camarilla Pivots:
These are special support and resistance levels (H3, H4, L3, L4) calculated each day based on the previous day's high, low, and close.
The pivots adapt to daily volatility, giving more relevant breakout and bounce zones than static lines.
H4: Aggressive resistance (used for breakout LONG entry)
H3: Moderate resistance/support (used for bounce or stoploss)
L4: Aggressive support (used for breakout SHORT entry)
L3: Moderate support/resistance (used for bounce or stoploss)
2. 20 EMA (Exponential Moving Average):
Plotted on the 30-minute chart, this acts as a trend filter.
If the price is above 20 EMA: Only look for long trades (bullish bias).
If below 20 EMA: Only look for short trades (bearish bias).
How the Strategy Works
Setup (30-Min Chart):
Camarilla pivots for the day are drawn on the chart.
20 EMA is also plotted.
Trade Filter:
Bullish: Trade ONLY if price is above 20 EMA.
Bearish: Trade ONLY if price is below 20 EMA.
Entry:
LONG: Enter when price breaks and closes above the H4 pivot AND is above 20 EMA.
SHORT: Enter when price breaks and closes below the L4 pivot AND is below 20 EMA.
Stop Loss:
LONG: Place stoploss at H3 (the next lower Camarilla resistance).
SHORT: Place stoploss at L3 (the next higher Camarilla support).
Target:
Always set a profit target at 2x the distance (risk) between entry and stoploss (strict R:R 2).
For example, if your entry is at H4 and stoploss at H3, your target is entry + 2*(entry - stoploss).
Alerts & Visuals:
The strategy plots entry arrows, stoploss and target lines for immediate visual reference.
Alerts trigger on breakout signals so you never miss a trade.
Why This Works Well for Natural Gas
Adapts to volatility: The pivots change daily, handling wide-ranging and choppy price moves better than fixed breakouts.
Trend filter: EMA prevents counter-trend whipsaws, only trades with market momentum.
Risk control: Every trade must meet strict risk-reward criteria, so losses are contained and winners can outweigh losers.
faytterro bands alert HUYEN2Channel Indicator: It functions similarly to Bollinger Bands, creating upper and lower bands around the price based on a unique weighted moving average and standard deviation.
Signal Generation: Signals appear when the price closes inside a band after having been outside of it, indicating potential trend changes or reversals.
WT + CRSI + Linear Regression Long-onlyLong-only strategy combining WaveTrend (WT), Connors RSI (CRSI), and Linear Regression Slope (LSDD) trend filter.
Signals are generated only when all three indicators align within a defined window.
Exits occur when all indicators turn bearish.
Backtested on BTC, 15-minute timeframe.
Double Stochastic & RSI Signals (Custom by TitikSona)This custom TradingView indicator combines two Stochastic oscillators with RSI to generate clear Buy and Sell signals on the chart. It is designed for traders who want a multi-timeframe confirmation using momentum and overbought/oversold conditions.
Features:
Dual Stochastic Oscillators: Two independent Stochastics (%K and %D) with customizable periods for flexible analysis.
RSI Filter: Confirms signals by checking if RSI is within a defined range.
Buy & Sell Signals:
Green triangle under the bar indicates a Buy signal.
Red triangle above the bar indicates a Sell signal.
Chart Labels: Displays indicator values (%K, %D, RSI) directly on the chart when signals appear.
Info Table: Shows real-time indicator values, signal status, market condition (Overbought/Oversold/Normal), and price.
Alerts: Set alerts for Buy and Sell signals directly from the indicator.
Inputs:
K & D periods and slowing for both Stochastics
RSI period and upper/lower levels
Usage:
Buy when both Stochastics are oversold and RSI is within the defined range.
Sell when both Stochastics are overbought and RSI is within the defined range.
Wait when conditions are not met.
Ideal for scalping, swing trading, day trading, and momentum strategies.
Global Risk Terminal – Multi-Asset Macro Sentiment IndicatorDescription:
The Global Risk Terminal is a sophisticated macro sentiment indicator that synthesizes signals from three key cross-asset relationships to produce a single, actionable risk appetite score. It is designed to help traders and investors identify whether global markets are in a risk-on (growth-seeking) or risk-off (defensive) regime. The indicator analyzes the behavior of commodities, equities, bonds, and currencies to generate a comprehensive view of market conditions.
Indicator Output:
The Global Risk Terminal produces a normalized risk score ranging from -1 to +1:
Positive values indicate risk-on conditions (growth assets favored)
Negative values indicate risk-off conditions (safe-haven assets favored)
Core Components:
Growth Pulse (Copper to Gold Ratio, HG/GC)
Purpose: Measures investor preference for industrial growth versus safe-haven assets.
Interpretation:
Rising ratio → Copper outperforming gold → Risk-on environment
Falling ratio → Gold outperforming copper → Risk-off environment
Flat ratio → Transitional market phase
Technical Implementation: Dual moving average slope method (fast MA default 20, slow MA default 40). Positive slope = +1, negative slope = -1, flat slope = 0
Equity Rotation (Russell 2000 to S&P 500 Ratio, RTY/ES)
Purpose: Tracks rotation between small-cap and large-cap equities, revealing market risk appetite.
Interpretation:
Rising ratio → Small-caps outperforming → Strong risk-on
Falling ratio → Large-caps outperforming → Defensive positioning
Technical Implementation: Dual moving average slope method (same as Growth Pulse)
Flow Gauge (10-Year Treasury to US Dollar Index, ZN/DXY)
Purpose: Captures liquidity conditions and cross-asset capital flows.
Interpretation:
Rising ratio → Treasury prices rising or USD weakening → Liquidity expansion, risk-on environment
Falling ratio → Treasury prices falling or USD strengthening → Liquidity contraction, risk-off environment
Technical Implementation: Dual moving average slope method
Composite Risk Score Calculation:
Analyze each component for trend using dual moving averages
Assign signal values: +1 (risk-on), -1 (risk-off), 0 (neutral)
Average the three signals:
Risk Score = (Growth Pulse + Equity Rotation + Flow Gauge) / 3
Optional smoothing with exponential moving average (default 3 periods) to reduce noise
Interpreting the Risk Score:
+0.66 to +1.0: Full risk-on – favor cyclical sectors, small-caps, growth strategies
+0.33 to +0.66: Moderate risk-on – mostly bullish environment, watch for fading momentum
-0.33 to +0.33: Neutral/transition – markets in flux, signals mixed, exercise caution
-0.66 to -0.33: Cautious risk-off – favor defensive sectors, reduce high-beta exposure
-1.0 to -0.66: Full risk-off – strong defensive positioning, prioritize safe-haven assets
How to Use the Global Risk Terminal to Frame Trades:
Aligning Trades with Market Regime
Risk-On (+0.33 and above): Look for buying opportunities in cyclical stocks, high-beta equities, commodities, and emerging markets. Use long entries for swing trades or intraday positions, following confirmed price action.
Risk-Off (-0.33 and below): Shift focus to defensive sectors, large-cap quality stocks, U.S. Treasuries, and safe-haven currencies. Prefer short entries or reduced exposure in risky assets.
Entry and Exit Framing
Use the risk score as a macro filter before executing trades:
Example: The risk score is +0.7 (strong risk-on). Prefer long positions in equities or commodities that are showing bullish confirmation on your regular chart.
Conversely, if the risk score is -0.7 (strong risk-off), avoid aggressive longs and consider short or defensive trades.
Watch for threshold crossings (+/-0.33, +/-0.66) as potential inflection points for adjusting position size, stop-loss levels, or sector rotation.
Confirming Trade Decisions
Combine the Global Risk Terminal with price action, volume, and trend indicators:
If equities rally but the risk score is declining, this may indicate a fragile rally driven by few leaders—trade cautiously.
If equities fall but the risk score is rising, consider counter-trend entries or buying dips.
Risk Management and Position Sizing
Strong alignment across components → increase position size and hold with wider stops
Mixed or neutral signals → reduce exposure, tighten stops, or avoid new trades
Defensive regimes → rotate into stable, low-volatility assets and increase cash buffer
Framing Trades Across Timeframes
Use the indicator as a strategic guide rather than a precise timing tool. Even without the MTF table:
Daily trend alignment → Guide swing trade bias
Shorter timeframe price action → Refine entry points and stop placement
Example: Daily chart shows +0.6 risk score → identify high-probability long setups using intraday technical patterns (breakouts, trend continuation).
Sector and Asset Rotation
Risk-On: Focus on cyclical sectors (financials, industrials, materials, energy), small-caps, high-beta instruments
Risk-Off: Focus on defensive sectors (utilities, consumer staples, healthcare), large-caps, safe-haven instruments
Alert Integration
Set alerts on the risk score to notify you when markets move from neutral to risk-on or risk-off regimes. Use these alerts to plan entries, exits, or portfolio adjustments in advance.
Customization Options:
Moving Average Length (5–100): Adjust sensitivity of trend detection
Score Smoothing (1–10): Reduce noise or see raw risk score
Visual Themes: Six preset themes (Cyber, Ocean, Sunset, Monochrome, Matrix, Custom)
Display Options: Show or hide component dashboards, main header, risk level lines, gradient fill, and component signals
Label Size: Tiny, Small, Normal, Large
Alert Conditions:
Risk score crosses above +0.66 → Strong risk-on
Risk score crosses below -0.66 → Strong risk-off
Risk score crosses zero → Neutral line
Risk score crosses above +0.33 → Moderate risk-on
Risk score crosses below -0.33 → Moderate risk-off
Data Sources:
HG1! – Copper Futures (COMEX)
GC1! – Gold Futures (COMEX)
RTY1! – Russell 2000 E-mini Futures (CME)
ES1! – S&P 500 E-mini Futures (CME)
ZN1! – 10-Year U.S. Treasury Note Futures (CBOT)
DXY – U.S. Dollar Index (ICE)
Notes and Limitations:
Works best during clear macro regimes and aligned trends
Use with price action, volume, and other technical tools
Not a standalone trading system; serves as a macro context filter
Equal weighting assumes all three components are equally important, but market conditions may vary
Past performance does not guarantee future results
Conclusion:
The Global Risk Terminal consolidates complex cross-asset signals into a simple, actionable score that informs market regime, portfolio positioning, sector rotation, and trading decisions. Its user-friendly layout and extensive customization options make it suitable for traders of all experience levels seeking macro-driven insights. By framing trades around risk score thresholds and combining macro context with tactical execution, traders can identify higher-probability opportunities and optimize position sizing, entries, and exits across a wide range of market conditions.
ADX Buy/Sell Markers (on ADX pane)This TradingView indicator is designed to help traders identify buy and sell opportunities using the Average Directional Index (ADX) combined with directional indicators (+DI and -DI). It works by plotting the ADX line and detecting when the +DI line crosses above or below the -DI line, signaling potential changes in market direction. The indicator only triggers a buy or sell signal if the ADX value is above a certain threshold, ensuring that signals are only generated during stronger trends. By combining these elements, the indicator helps traders filter out weaker signals and focus on higher-probability trading opportunities, making it an important tool for trend-following strategies CME_MINI:NQ1!
Ajay R5.41🔻 Ajay Gold 3H Power Indicator 🔻
Precision-Based Smart Sell System for Gold (XAU/USD)
💡 Overview
This indicator is specifically designed for Gold (XAU/USD) and delivers best results on the 3-Hour Timeframe (3H TF).
It is a Smart Money Logic-based Sell Confirmation System, combining institutional structure and candle behavior to generate highly accurate bearish signals.
⚙️ Technical Foundation
The indicator uses multiple advanced confirmations:
📉 EMA Trend Filter → Confirms downtrend
💪 RSI Overbought Rejection → Momentum reversal signal
📊 MACD Bearish Cross → Confirms trend strength
🕯️ Bearish Candle Structure → Price action validation
When all conditions align, a clear 🔻 Sell Signal is plotted on the chart.
💎 Hidden Feature
This indicator includes a hidden feature that activates only when the correct market structure forms.
It helps reduce false signals and increases accuracy without being visible on the chart — fully automated internal logic.
📆 Recommended Settings
Symbol: XAU/USD (Gold)
Timeframe: 3-Hour (3H)
Market: Forex / Commodity
Mode: Sell-Only Confirmation Indicator
Performance: Best precision and consistency on 3H TF
📈 How to Use
Select XAU/USD on chart and set 3H timeframe.
Add the indicator to the chart.
Wait for the 🔻 Sell Signal and confirm the market structure after candle close.
Take entry according to your risk management.
⚠️ Disclaimer
This indicator is for educational and analytical purposes only.
No system is 100% accurate — always backtest and demo trade before using in real trading.
💬 Credits
Developed by Ajay Sahu (India)
Based on Institutional & Smart Money Logic
Best results on 3H TF
Hidden Algorithm for XAU/USD traders
LA - EMA Bands with MTF DashboardDetailed Explanation of the LA - EMA Bands with MTF Dashboard Indicator
This custom Pine Script v6 indicator, designed for Trading View, overlays EMA-based price channels on the chart while incorporating a multi-timeframe (MTF) dashboard for broader market context. It focuses on visualizing trend direction and momentum through three sets of EMA bands, each representing different time horizons, and extends this with a tabular dashboard that summarizes signals across user-selected timeframes. The bands help identify support, resistance, and trend shifts, while the dashboard provides at-a-glance alignment across multiple periods, aiding in confirming trades or spotting divergences. Unlike volatility-based channels (e.g., Bollinger or Keltner), it relies solely on EMAs for simplicity and lag-reduced responsiveness.
Inputs Section
The script begins with user-configurable options grouped for ease. A timeframe input allows specifying a resolution for the EMA bands' data fetching, defaulting to the chart's timeframe if left empty—this enables higher-timeframe overlays on lower charts for context.
Next, a shared source input defines the price data for all midlines, defaulting to the midpoint of high and low (hl2) but customizable to close, open, or others.
The EMA bands have dedicated toggles and length inputs for each of the three sets: the first (long-term) defaults to 144 periods, the second (medium-term) to 72, and the third (short-term) to 12. These are inlined for compact settings panels, with minimum lengths of 1 to prevent errors.
A boolean toggle controls the visibility of the MTF dashboard. Following this are nine pairs of inputs for dashboard timeframes: each pair includes a show/hide toggle and an editable timeframe string (e.g., '1' for 1-minute, 'D' for daily). Defaults progress from short (1, 3, 5 minutes) to longer (15, 30, 60 minutes, daily, weekly, monthly), grouped in inlines for organization. Only enabled and non-empty timeframes appear in the dashboard.
Helpers Section
Two utility functions are defined here. The first computes an EMA on any source series over a specified length using Trading View's built-in function, reused throughout for midlines and bands.
The second function generates a signal string ("B" for buy/bullish, "S" for sell/bearish, or "-" for neutral) based on the direction of an EMA applied to high prices. It compares the current EMA value to the previous one, mirroring the band fill logic for consistency in the dashboard.
Core Components per Band Set:
Midline: An EMA calculated on a user-selectable source price (default: hl2, which is the midpoint between high and low prices). This acts as the central trend line.
Upper Band: An EMA applied directly to the high prices of each bar.
Lower Band: An EMA applied to the low prices of each bar.
These form a channel that captures the smoothed range of price action, highlighting potential support (lower band), resistance (upper band), and overall trend direction (midline).
Multiple Band Sets: The indicator includes three independent EMA band sets, each with its own length parameter for customization:
EMA1 (default length: 144) – Focuses on long-term trends.
EMA2 (default length: 72) – Targets medium-term trends.
EMA3 (default length: 12) – Emphasizes short-term momentum.
Each set can be toggled on or off via input checkboxes, allowing users to reduce chart clutter if needed.
Visual Elements:
Midline Plot: Displayed as a line colored based on its direction compared to the previous bar: green for rising (bullish), red for falling (bearish), and black for neutral (flat).
Band Fill: The area between the upper and lower bands is filled with a semi-transparent color indicating the trend of the upper band: light green for rising (suggesting expanding highs/upward momentum) and light pink for falling (contracting highs/downward pressure). The bands themselves are plotted in blue with a thin linewidth.
Multi-Timeframe Support: Users can input a custom timeframe (e.g., 'D' for daily), and the indicator fetches data from that resolution. This enables higher-timeframe context on lower-timeframe charts, such as viewing daily EMA bands on a 1-hour chart.
Calculation Mechanics:
All EMAs are computed using Trading View's built-in ta.ema() function.
Data is retrieved in a single request.security() call for efficiency, with lookahead enabled to avoid repainting.
No multipliers or volatility adjustments are included, making it a simple EMA-based envelope rather than a true volatility channel.
In practice, this indicator helps traders identify trend strength, potential breakouts (price crossing bands), or mean-reversion opportunities (price bouncing within bands). It's particularly useful for swing or position trading where multi-period alignment (e.g., all midlines green) signals conviction.
Pros
Multi-Period Insight: By combining short (12), medium (72), and long (144) periods, it offers a layered view of trends across time horizons, helping confirm alignments or divergences without needing multiple separate indicators.
Visual Clarity: Color-coded trends and fills make it easy to spot bullish/bearish shifts at a glance, reducing analysis time.
Flexibility: Custom timeframe input allows for multi-timeframe analysis, while shared source and toggles provide user control.
Simplicity and Efficiency: Purely EMA-based, it's computationally light and avoids overcomplication, making it accessible for beginners while still useful for spotting channel-based setups like squeezes or expansions.
No Repainting: With lookahead, plots are stable once bars close.
Cons
Lagging Nature: EMAs inherently lag price action, especially longer ones like 144-period, which may cause delayed signals in fast-moving or ranging markets.
Lack of Volatility Adjustment: Unlike Keltner Channels or Bollinger Bands, it doesn't incorporate ATR or standard deviation, so bands may not accurately reflect true volatility—potentially leading to false breakouts in high-volatility environments.
Chart Clutter: Displaying all three band sets simultaneously can overcrowd the chart, particularly on lower timeframes or volatile assets.
Subjective Interpretation: Color changes and band interactions require trader discretion; there's no built-in alerting or quantitative signals, which might lead to inconsistent results.
Market Dependency: Defaults may not suit all assets (e.g., stocks vs. crypto); shorter periods like 12 could whipsaw in noisy markets, while 144 might be too slow for intraday trading.
Justification for Default Values (12, 72, and 144)
The default lengths of 12, 72, and 144 are not arbitrary but draw from established trading principles, particularly W.D. Gann's geometric and numerical theories, as well as Fibonacci sequences, to create a harmonic progression for short-, medium-, and long-term analysis. Here's the rationale:
12 (Short-Term): This is a common period for capturing recent momentum in technical indicators, often seen in setups like the MACD (which uses 12- and 26-day EMAs). It aligns with natural cycles, such as the 12 months in a year, and in Gann theory, 12 serves as a base unit for squaring price and time (e.g., in the "Square of 12" where multiples like 12, 24, etc., measure cycles in days, weeks, or months). At 12 periods, the EMA reacts quickly to price changes without excessive noise, making it ideal for short-term trend detection.
72 (Medium-Term): This acts as an intermediate bridge, derived from Gann's divisions of the 360-degree circle (a key Gann concept representing a full cycle). Specifically, 72 is 360/5 (relating to pentagonal geometry and natural harmonics) and appears in Gann's time cycle measurements (e.g., as a multiple in the Square of 12: 12×6=72). It's roughly half of 144, providing a balanced midpoint for medium-term trends without overlapping too closely with the others. In practice, 72 periods smooth out short-term fluctuations while still responding to developing trends.
144 (Long-Term): This is a powerhouse number in trading lore, being both 12 squared (12×12=144, central to Gann's "Square of 144" for monthly charts and major cycle turns, as there are 12 months in a year) and a Fibonacci sequence value (1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144...). Fibonacci periods are popular in moving averages for their alignment with natural growth patterns in markets, and 144 is often used for long-term regime definition (e.g., confirming trends over 144 bars). It helps identify major support/resistance in extended cycles.
Overall, these values form a geometric/harmonic series (12, 72=12×6, 144=12×12), promoting alignment with market cycles as per Gann and Fibonacci principles, rather than generic lengths like 50 or 200. They can be adjusted based on the asset or timeframe, but the defaults provide a starting point rooted in time-tested trading numerology for balanced multi-period analysis.
Please use this along with other indicators (eg. Pivot, MACD, etc) for better results.
Dynamic Support & Resistance (DSR)tndicator description: Dynamic Support & Resistance (DSR)
What it does
Plots dynamic support and resistance that adapt to any timeframe. In bullish phases it highlights resistances; in bearish phases it highlights supports. Works for scalping, binary options, and day trading.
How it works
Detects recent swing highs/lows with noise filtering.
Merges nearby levels into “zones” with configurable tolerance.
Promotes a zone after a valid break-and-close.
Classifies context as trend, channel, or range via slope and move strength.
Shows only context-relevant zones to reduce clutter.
Inputs
Swing length (pivot high/low).
Merge tolerance (%, ticks, or ATR fraction).
Lookback depth.
Trend filter (EMA or optional ADX).
Minimum touches to validate a zone.
Display mode: lines, bands, or blocks.
Break sensitivity (close condition, wick allowance, body %).
Visual outputs
Resistance zones during bullish phases.
Support zones during bearish phases.
Dual zones in ranges/channels.
Labels: touch count, zone strength, last test timestamp.
Signals and rules (suggested)
Reversal: rejection candle at a valid zone + momentum/volume confirmation.
Continuation: strong close through the zone + successful retest.
Invalidation: two full closes back inside the zone in the opposite direction.
Alerts (templates)
“Price touched DSR Resistance .”
“Break of DSR Support with close > sensitivity.”
“Successful retest at DSR Zone. Possible continuation.”
Timeframe guidance
1–5m: higher sensitivity, tighter tolerance. For scalping and binaries.
15–60m: balance between frequency and reliability.
4H–D: anchor levels for intraday planning.
Risk management
Technical stop: beyond the opposite zone + tolerance buffer.
Scaled TP: first at mid-range, second at next DSR zone.
Avoid trading into high-impact news.
Advantages
Auto-adapts to trend, channel, and range without constant tuning.
Reduces noise by merging redundant levels.
Focus on zones with verified touches and strength.
Limitations
Not predictive. Use with price/volume confirmation.
In high volatility, zones can update quickly. Tune tolerance accordingly.
Disclaimer
Educational only. Not financial advice. Test on demo before live use.
DrFX MACD-RSI Reversal Algo with Dynamic ZonesOverview
This indicator identifies high-probability reversal points by combining MACD momentum crossovers with RSI trend confirmation, enhanced by dynamically calculated support and resistance zones. Unlike standard MACD crossover systems that generate numerous false signals in ranging markets, this approach adds three layers of confirmation: RSI directional bias, adaptive volatility zones, and Kalman-filtered zone boundaries to improve signal reliability. All parameters have been systematically optimized through extensive backtesting across multiple instruments and timeframes to maximize signal quality while maintaining practical usability.
Core Methodology
1. MACD Momentum Detection System
The indicator uses a customized MACD configuration (20-period fast, 50-period slow, 12-period signal smoothing) that has been optimized to be slower than the standard 12/26/9 setup. This longer timeframe reduces noise and focuses on more significant trend changes rather than short-term fluctuations.
Why These Specific MACD Parameters:
Through systematic testing across Forex majors, Gold, and indices over 2+ years of data, the 20/50/12 combination was selected because it:
Reduces false crossovers by approximately 45% compared to standard 12/26/9
Maintains responsiveness to genuine trend changes (average lag: 3-5 bars vs 2-3 bars for standard settings)
Produces optimal signal-to-noise ratio on H1-D1 timeframes
Aligns crossover timing with RSI momentum shifts more consistently
Signal Generation Logic:
Buy Signal: MACD line crosses above signal line (momentum shifts bullish)
Sell Signal: MACD line crosses below signal line (momentum shifts bearish)
The MACD histogram's absolute value determines the "power" or strength of the current momentum, which is used for visual gradient effects and can help traders assess signal conviction.
2. RSI Trend Confirmation Layer
A 14-period RSI adds directional context to MACD crossovers by measuring whether price momentum aligns with the signal. The RSI value is normalized by subtracting 50, creating a zero-centered oscillator where:
Positive values indicate bullish bias (RSI > 50)
Negative values indicate bearish bias (RSI < 50)
Signal Classification System:
The combination of MACD crossover direction and RSI bias creates four signal types:
Strong Buy (Large green triangle): MACD crosses up + RSI > 50 = Bullish reversal with momentum confirmation
Buy (Small green triangle): MACD crosses up + RSI ≤ 50 = Bullish reversal without full momentum (weaker signal)
Strong Sell (Large red triangle): MACD crosses down + RSI < 50 = Bearish reversal with momentum confirmation
Sell (Small red triangle): MACD crosses down + RSI ≥ 0 = Bearish reversal without full momentum (weaker signal)
This tiered approach allows traders to prioritize "Strong" signals while still being aware of weaker setup opportunities.
3. Dynamic Support and Resistance Zone System
The indicator calculates adaptive support and resistance zones using a multi-step process with optimized parameters:
Step A - Volatility Band Creation:
Uses ATR (Average True Range) with 10-bar period (optimized for balance between responsiveness and stability)
Calculates midpoint as (high + low) / 2
Creates upper and lower bands: midpoint ± (ATR × 5.0 multiplier)
Why ATR Period = 10 and Multiplier = 5.0:
These values were optimized through testing across volatile (Gold, Crypto) and stable (Forex majors, indices) instruments. The 10-period captures recent volatility without excessive lag, while the 5.0 multiplier ensures zones encompass approximately 85-90% of price action in normal conditions, leaving breakouts as the significant 10-15% of moves that generate reversal signals.
Step B - Swing Level Integration:
Identifies 20-period swing high (resistance reference)
Identifies 20-period swing low (support reference)
Combines these swing levels with the volatility bands to create zone boundaries
The 20-period lookback was selected because it captures 1-4 weeks of price structure on daily charts (20 trading days ≈ 1 month), or 3-4 hours on M15 charts, providing meaningful structural levels without looking too far back.
Step C - Kalman Filter Smoothing:
The raw zone boundaries are smoothed using a Kalman filter algorithm with optimized parameters Q=0.01 (process noise) and R=0.1 (measurement noise).
Why These Kalman Parameters:
Through iterative testing, Q=0.01 and R=0.1 provide the optimal balance:
Q=0.01 (low process noise): Assumes zone levels change gradually, preventing overreaction to single-bar spikes
R=0.1 (moderate measurement noise): Acknowledges that raw ATR calculations contain some noise, requiring smoothing
Q/R ratio of 1:10: Produces 1-2 bar lag in zone adaptation while filtering out 70-80% of false level breaks
The Kalman filter is a recursive algorithm that estimates the true position of a moving target from noisy measurements. In this context, it prevents the support/resistance zones from jumping erratically on each bar while still tracking genuine level shifts. The result is stable, predictable zone boundaries that move smoothly rather than making sudden adjustments.
4. Optional Zone Filter
Traders can enable an additional filter requiring:
Buy signals: Price must be above the support zone (confirming breakout potential)
Sell signals: Price must be below the resistance zone (confirming breakdown potential)
This filter eliminates signals that occur within the consolidation zones, focusing only on breakout opportunities. Testing shows this filter improves signal win rate by 12-18% but reduces signal frequency by approximately 40%.
5. Visual Momentum Feedback
Bar colors provide real-time feedback on trend strength:
Green gradient: Bullish (MACD histogram positive and rising + RSI > 50) - intensity increases with histogram strength
Red gradient: Bearish (MACD histogram negative and falling + RSI < 50) - intensity increases with histogram strength
Mixed colors: Consolidation phase (MACD and RSI not aligned) - transitions from red to green based on histogram power
The gradient range (default: 2000) was optimized to provide clear visual distinction between strong and weak momentum states across different instruments. Lower values create more dramatic color changes; higher values create subtler gradients.
Parameter Optimization Methodology
Optimization Process:
All default parameters were systematically tested using the following methodology:
Instrument Selection: EURUSD, GBPUSD, XAUUSD (Gold), SPX500, BTCUSD
Timeframes Tested: M15, H1, H4, D1
Data Range: 2+ years of historical data per instrument (2021-2024)
Optimization Criteria:
Signal quality (win rate on Strong signals)
Signal frequency (minimum 50 signals per year on D1, scaling proportionally for shorter timeframes)
Risk-reward ratio (average winning signal move vs average losing signal move)
Drawdown characteristics (consecutive losing signals)
Robustness across different market regimes (trending, ranging, volatile)
Testing Methodology:
Walk-forward analysis (optimize on 12 months, test on following 6 months, roll forward)
Out-of-sample validation on instruments not used in initial optimization
Stress testing during high-volatility periods (2022 inflation spike, 2023 banking crisis, COVID-19 crash)
Optimization Results:
The current default settings represent the "sweet spot" across all tested instruments:
MACD 20/50/12: Produced most consistent results across 5 instruments vs alternatives (15/45/9, 25/60/15, standard 12/26/9)
RSI 14: Standard period performed best; shorter periods (7, 10) produced excessive noise
ATR Period 10, Multiplier 5.0: Best balance of zone stability and adaptability
Kalman Q=0.01, R=0.1: Optimal smoothing without excessive lag
Swing Lookback 20: Captured relevant structure without looking too far back
Gradient Range 2000: Provided clear visual feedback across instruments without requiring adjustment
Important Optimization Disclosure:
These optimized parameters work well across multiple markets and timeframes but are not guaranteed to be optimal for all instruments or future market conditions. The settings represent a generalist approach prioritizing robustness over maximum performance on any single asset. Traders using this indicator on specific instruments may benefit from fine-tuning parameters to their particular market.
Why This Combination Works
Standard MACD crossovers generate excessive signals in sideways markets because momentum oscillates frequently around the zero line. By requiring RSI confirmation, the indicator ensures that signals occur in the direction of the prevailing momentum, reducing counter-trend whipsaws by approximately 40-50%.
The dynamic zone system addresses another weakness of pure oscillator strategies: they don't account for price structure. By overlaying support/resistance zones, traders can distinguish between:
Signals occurring at established levels (higher probability)
Signals occurring mid-range (lower probability)
The Kalman filter smoothing is crucial because raw ATR bands can be choppy, causing zones to flash on and off the chart. The filtered zones remain stable enough for traders to use as actual reference levels rather than just visual noise.
How to Use This Indicator
Signal Interpretation Hierarchy:
Highest Priority: Strong Buy/Sell signals occurring at zone boundaries (confluence of momentum, trend, and structure)
Medium Priority: Strong Buy/Sell signals within zones (momentum + trend confirmation, but no structural support)
Lower Priority: Regular Buy/Sell signals at any location (divergent momentum, weaker setup)
Recommended Workflow:
Wait for a Strong Buy or Strong Sell signal (large triangle)
Verify price is near a support/resistance zone (or enable the zone filter)
Confirm bar color gradient shows intensifying momentum
Enter on signal bar close or on next bar open
Place stop loss beyond the opposite zone boundary
Target the opposite zone or use trailing stop once price enters profit zone
Parameter Adjustment by Asset:
While the default optimized settings work across multiple markets, traders can fine-tune for specific instruments:
Forex Majors: Default settings work well; consider 15/35/9 MACD for faster signals on M15-H1
Gold/Metals: Increase ATR multiplier to 6-7 for wider zones; use 25/60/15 MACD for smoother signals
Indices: Reduce volatility period to 5-7 bars; keep default MACD
Cryptocurrencies: Increase ATR multiplier to 7-10 for extreme volatility; consider 14/35/7 MACD
Timeframe Recommendations:
M15-H1: Best for intraday reversal trading
H4-D1: Best for swing trading major turns (optimized primarily for these timeframes)
Weekly: Generates infrequent but high-quality macro reversal signals
Understanding the Visual Elements
Chart Overlays:
Blue shaded zone: Dynamic support area (safe zone for longs)
Red shaded zone: Dynamic resistance area (safe zone for shorts)
Green triangles: Buy signals (large = strong, small = regular)
Red triangles: Sell signals (large = strong, small = regular)
Bar Colors:
Bright green: Strong bullish momentum (both MACD and RSI bullish)
Dark green: Moderate bullish momentum
Bright red: Strong bearish momentum (both MACD and RSI bearish)
Dark red: Moderate bearish momentum
Mixed/transitional colors: Consolidation or conflicting indicators
What Makes This Original
While MACD, RSI, and ATR are standard indicators, this script's originality comes from:
The Kalman filter implementation for zone smoothing - not commonly applied to support/resistance in Pine Script
The four-tier signal classification system that combines MACD crossover direction with RSI positioning to create distinct signal strengths
The hybrid zone calculation merging ATR volatility bands with swing high/low levels, then applying recursive filtering
The gradient bar coloring system that visualizes momentum intensity rather than simple binary color switches
The zone-filtered alert system that optionally requires structural confirmation for signal validity
The comprehensive multi-asset optimization process resulting in robust default parameters that work across instruments and timeframes
The combination transforms basic crossover signals into a context-aware reversal detection system that accounts for trend, momentum, and market structure simultaneously.
Practical Application Examples
Scenario 1 - Trending Market:
Price in uptrend, bounces off blue support zone
Strong Buy signal appears (MACD crosses up, RSI > 50)
Bar color shifts to bright green
Action: Enter long, stop below support zone, target resistance zone
Scenario 2 - Range-Bound Market:
Price oscillating between zones
Regular Buy signal appears mid-range (MACD up, RSI < 50)
Bar color mixed/transitional
Action: Skip signal or wait for Strong signal at zone boundary
Scenario 3 - False Breakout:
Price breaks above resistance zone briefly
Strong Sell signal appears (MACD crosses down, RSI < 50)
Bar color shifts to red
Action: Short opportunity on failed breakout
Alert System
The indicator includes built-in alerts with detailed information:
Symbol and timeframe identification
Current price level
Signal type (Buy or Sell)
Optional zone filtering applied
Alerts fire once per bar close (not on every tick) to prevent spam and ensure confirmed signals.
Important Notes
This is a reversal indicator, not a trend-following system - works best for catching turning points, not riding established trends
All default parameters have been optimized across multiple instruments and timeframes, but past performance does not guarantee future results
Strong signals have approximately 60-70% reliability in optimized testing; regular signals approximately 45-55% (varies by market and regime)
Zone filtering significantly improves signal quality but reduces frequency (roughly 40% fewer signals)
The Kalman filter introduces minor lag (1-2 bars) in zone adaptation - this is intentional to prevent false level breaks
Performance degrades during low-volatility periods when MACD oscillates frequently around the zero line
Not suitable for news events or gap trading - designed for technical reversal scenarios
While parameters are optimized, traders should still practice proper risk management and validate signals with price action context
Customization Tips
For More Signals (Less Selective):
Reduce MACD slow length to 35-40
Disable zone filter
Reduce ATR multiplier to 3-4
For Fewer, Higher-Quality Signals:
Increase MACD slow length to 60-70
Enable zone filter
Increase ATR multiplier to 6-8
Focus only on Strong Buy/Sell signals
Note on Customization:
The default optimized settings represent a balanced approach. Deviating significantly from these parameters may improve performance on specific instruments but could reduce robustness across different market conditions.
15-Min RSI Scalper [SwissAlgo]15-Min RSI Scalper
Tracks RSI Momentum Loss and Gain to Generate Signals
-------------------------------------------------------
WHAT THIS INDICATOR CALCULATES
This indicator attempts to identify RSI directional changes (RSI momentum) using a step-by-step "ladder" method. It reads RSI(14) from the next higher timeframe relative to your chart. On a 15-minute chart, it uses 1-hour RSI. On a 5-minute chart, it uses 15-minute RSI, and so on.
How the ladder logic works:
The indicator doesn't track RSI all the time. It only starts tracking when RSI crosses into potentially extreme territory (these are called "events" in the code):
For sell signals : when RSI crosses above a dynamic upper threshold (typically between 60-80, calculated as the 90th percentile of recent RSI)
For buy signals : when RSI crosses below a dynamic lower threshold (typically between 20-40, calculated as the 10th percentile of recent RSI)
Once tracking begins, RSI movement is divided into 2-point steps (boxes). The indicator counts how many boxes RSI climbs or falls.
A signal generates only when:
RSI reverses direction by at least 2 boxes (4 RSI points) from its extreme
RSI holds that reversal for 3 consecutive confirmed bars
Example: Dynamic threshold is at 68. RSI crosses above 68 → tracking starts. RSI climbs to 76 (4 boxes up). Then it drops back to 72 and stays below that level for 3 bars → sell signal prints. The buy signal works the same way in reverse.
-------------------------------------------------------
SIGNAL GENERATION METHODOLOGY
Sell Signal (Red Triangle)
RSI crosses above a dynamic start level (calculated as the 90th percentile of the last 1000 bars, constrained between 60-80)
Indicator tracks upward progression in 2-point boxes
RSI reverses and drops below a boundary 2 boxes below the highest box reached
RSI remains below that boundary for 3 confirmed bars
Red triangle plots above price
Reset condition: RSI returns below 50
Buy Signal (Green Triangle)
RSI crosses below a dynamic start level (10th percentile of last 1000 bars, constrained between 20-40)
Indicator tracks downward progression in 2-point boxes
RSI reverses and rises above a boundary 2 boxes above the lowest box reached
RSI remains above that boundary for 3 confirmed bars
Green triangle plots below price
Reset condition: RSI returns above 50
-------------------------------------------------------
TECHNICAL PARAMETERS
All parameters are hardcoded:
RSI Period: 14
Box Size: 2 RSI points
Reversal Threshold: 2 boxes (4 RSI points)
Confirmation Period: 3 bars
Reset Level: RSI 50
Sell Start Range: 60-80 (dynamic)
Buy Start Range: 20-40 (dynamic)
Lookback for Percentile: 1000 bars
Note: Since the code is open source, users can modify these hardcoded values directly in the script to adjust sensitivity. For example, increasing the confirmation period from 3 to 5 bars will produce fewer but more conservative signals. Decreasing the box size from 2 to 1 will make the indicator more responsive to smaller RSI movements.
-------------------------------------------------------
KEY FEATURES
Automatic Higher Timeframe RSI
When applied to a 15-minute chart, the indicator automatically reads 1-hour RSI data. This is the next standard timeframe above 15 minutes in the indicator's logic.
Dynamic Adaptive Start Levels
Sell signals use the 90th percentile of RSI over the last 1000 bars, constrained between 60-80. Buy signals use the 10th percentile, constrained between 20-40. These thresholds recalculate on each bar based on recent data.
Ladder Box System
RSI movements are tracked in 2-point boxes. The indicator requires a 2-box reversal followed by 3 consecutive bars maintaining that reversal before generating a signal.
Dual Signal Output
Red down-triangles plot above price when the sell signal conditions are met. Green up-triangles plot below the price when buy signal conditions are met.
-------------------------------------------------------
REPAINTING
This indicator does not repaint. All calculations use "barstate.isconfirmed" to ensure signals appear only on closed bars. The request.security() call uses lookahead=barmerge.lookahead_off to prevent forward-looking bias.
-------------------------------------------------------
INTENDED CHART TIMEFRAME
This indicator is designed for use on 15-minute charts. The visual reminder table at the top of the chart indicates this requirement.
On a 15-minute chart:
RSI data comes from the 1-hour timeframe
Signals reflect 1-hour momentum shifts
3-bar confirmation equals 45 minutes of price action
Using it on other timeframes will change the higher timeframe RSI source and may produce different behavior.
-------------------------------------------------------
WHAT THIS INDICATOR DOES NOT DO
Does not predict future price movements
Does not provide entry or exit advice
Does not guarantee profitable trades
Does not replace comprehensive technical analysis
Does not account for fundamental factors, news events, or market structure
Does not adapt to all market conditions equally
-------------------------------------------------------
EDUCATIONAL USE
This indicator demonstrates one approach to momentum reversal detection using:
Multi-timeframe analysis
Adaptive thresholds via percentile calculation
Step-wise momentum tracking
Multi-bar confirmation logic
It is designed as a technical study, not a trading system. Signals represent calculated conditions based on RSI behavior, not trade recommendations. Always do your own analysis before taking market positions.
-------------------------------------------------------
RISK DISCLOSURE
Trading involves substantial risk of loss. This indicator:
Is for educational and informational purposes only
Does not constitute financial, investment, or trading advice
Should not be used as the sole basis for trading decisions
Has not been tested across all market conditions
May produce false signals, late signals, or no signals in certain conditions
Past performance of any indicator does not predict future results. Users must conduct their own analysis and risk assessment before making trading decisions. Always use proper risk management, including stop losses and position sizing appropriate to your account and risk tolerance.
MIT LICENSE
This code is open source and provided as-is without warranties of any kind. You may use, modify, and distribute it freely under the MIT License.
GRG/RGR Signal, MA, Ranges and PivotsThis indicator is a combination of several indicators.
It is a combination of two of my indicators which I solely use for trading
1. EMA 10-20-50-200, Pivots and Previous Day/Week/Month range
2. 3/4-Bar GRG / RGR Pattern (Conditional 4th Candle)
You can use them individually if you already have some of them or just use this one. Belive me when I say, this is all you need, along with market structure knowlege and even if you don’t have that, this indicator has been doing wonders for me. This is all I use. I do not use anything else.
**Note - Do checkout the indicators individually as I have added valuable information in the comment section.
It contains the following,
1. 10 EMA/SMA - configurable
2. 20 EMA/SMA - configurable
3. 50 EMA/SMA - configurable
4. 200 EMA/SMA - configurable
5. Previous Day's Range
6. Previous Week's Range
7. Previous Month's Range
8. Pivots
9. Buy Sell Signal
The Moving Averages
It is a very important combination and using it correctly with price action will strengthen your entries and exits.
The ema's or sma's added are the most powerful ones and they do definitely act as support and resistance.
The Daily/Weekly/Monthly Ranges
The Daily/Weekly/Monthly ranges are extremely important for any trader and should be used for targets and reversals.
Pivots
Pivots can provide support and resistance level. R5 and S5 can be used to check for over stretched conditions. You can customise them however you like. It is a full pivot indicator.
It is defaulted to show R5 and S5 only to reduce noise in the chart but it can be customised.
The 3/4 RGR or GRG Signal Generator
Combined with a 3/4 RGR or GRG setup can be all a trader needs.
You don't need complex strategies and SMC concepts to trade. Simple EMAs, ranges and RGR/GRG setup is the most winning combination.
This indicator can be used to identify the Green-Red-Green or Red-Green-Red pattern.
It is a price action indicator where a price action which identifies the defeat of buyers and sellers.
If the buyers comprehensively defeat the sellers then the price moves up and if the sellers defeat the buyers then the price moves down.
In my trading experience this is what defines the price movement.
It is a 3 or 4 candle pattern, beyond that i.e, 5 or more candles could mean a very sideways market and unnecessary signal generation.
How does it work?
Upside/Green signal
1. Say candle 1 is Green, which means buyers stepped in, then candle 2 is Red or a Doji, that means sellers brought the price down. Then if candle 3 is forming to be Green and breaks the closing of the 1st candle and opening of the 2nd candle, then a green arrow will appear and that is the place where you want to take your trade.
2. Here the buyers defeated the sellers.
3. Sometimes candle 3 falls short but candle 4 breaks candle 1's closing and candle 2's opening price. We can enter on candle 4.
4. Important - We need to enter the trade as soon as the price moves above the candle 1 and 2's body and should not wait for the 3rd or 4th candle to close. Ignore wicks.
5. But for a more optimised entry I have added an option to use candle’s highs and lows instead of open and close. This reduces lot of noise and provides us with more precise entry. This setting is turned on by default.
6. I have restricted it to 4 candles and that is all that is needed. More than that is a longer sideways market.
7. I call it the +-+ or GRG pattern or Green-Red-Green or Buyer-Seller-Buyer or Seller defeated or just Buyer pattern.
8. Stop loss can be candle 2's mid for safe traders (that includes me) or candle 2's body low for risky traders.
9. Back testing suggests that body low will be useless and result in more points in loss because for the bigger move this point will not be touched, so why not get out faster.
Downside/Red signal
1. Say candle 1 is Red, which means sellers stepped in, then candle 2 is Green or a Doji, that means buyers took the price up. Then if candle 3 is forming to be Red and breaks the closing of the 1st candle and opening of the 2nd candle then a Red arrow will appear and that is the place where you want to take your trade.
2. Sometimes candle 3 falls short but candle 4 breaks candle 1's closing and candle 2's opening price. We can enter on candle 4.
3. We need to enter the trade as soon as the price moves below the candle 1 and 2's body and should not wait for the 3rd or 4th candle to close.
4. But for a more optimised entry I have added an option to use candle’s highs and lows instead of open and close. This reduces lot of noise and provides us with more precise entry. This setting is turned on by default.
5. I have restricted it to 4 candles and that is all that is needed. More than that is a longer sideways market.
6. I call it the -+- or RGR pattern or Red-Green-Red or Seller-Buyer-Seller or Buyer defeated or just Seller pattern.
7. Stop loss can be candle 2's mid for safe traders ( that includes me) or candle 2's body high for risky traders.
8. Back testing suggests that body high will be useless and result in more points in loss because for the bigger move this point will not be touched, so why not get out faster.
Important Settings
1. Include 4th Candle Confirmation - You can enable or disable the 4th candle signal to avoid the noise, but at times I have noticed that the 4th candle gives a very strong signal or I can say that the strong signal falls on the 4th candle. This is mostly a coincidence.
2. Bars to check (default 10) - You can also configure how many previous bars should the signal be generated for. 10 to 30 is good enough. To backtest increase it to 2000 or 5000 for example.
3. Use Candle High/Low for confirmation instead of Candle Open/Close - More optimized entry and noise reduction. This option is now defaulted to false.
4. Show Green-Red-Green (bull) signals - Show only bull entries. Useful when I have a predefined view i.e, I know market is going to go up today.
5. Show Red-Green-Red (bear) signals - Show only bear entries. Useful when I have a predefined view i.e, I know market is going to go down today.
6. 3rd candle should be a Strong candle before considering 4th candle - This will enforce additional logic in 4 candle setup that the 3rd candle is the candle in our direction of breakout. This means something like GRGG is mandatory, which is still the default behaviour. If disabled, the 3rd candle can be any candle and 4th candle will act as our breakout candle. This behaviour has led to breakouts and breakdowns as times, hence I added this as a separate feature. Vice-versa for a RGGR.
For a 4 candle setup till now we were expecting GRGG or RGRR but we can let the system ignore the 3rd candle completely if needed.
This will result in additional signals.
7. Three intraday ranges added for index and stock traders - 1 min, 5 min and 15 min ranges will be displayed. These are disabled by default except 15 min. These are very important ranges and in sideways days the price will usually move within the 15 min. A breakout of this range and a positive signal can be a very powerful setup.
Safe traders can avoid taking a trade in this range as it can lead to fakeouts.
The line style, width, color and opacity are configurable.
Pointers/Golden Rules
1. If after taking the trade, the next candle moves in your direction and closes strong bullish or bearish, then move SL to break even and after that you can trail it.
2. If a upside trade hits SL and immediately a down side trade signal is generated on the next candle then take it. Vice versa is true.
3. Trades need to be taken on previous 2 candle's body high or low combined and not the wicks.
4. The most losses a trader takes is on a sideways day and because in our strategy the stop loss is so small that even on a sideways day we'll get out with a little profit or worst break even.
5. Hold trades for longer targets and don't panic.
6. If last 3-4 days have been sideways then there is a good probability that today will be trending so we can hold our trade for longer targets. Inverse is true when the market has been trending for 2-3 days then volatility followed by sideways is coming (DOW theory). Target to hold the trade for whole day and not exit till the day closes.
7. In general avoid trading in the middle of the day for index and stocks. Divide the day into 3 parts and avoid the middle.
8. Use Support/Resistance, 10, 20, 50, 200 EMA/SMA, Gaps, Whole/Round numbers(very imp) for identifying targets.
9. Trail your SL.
10. For indexes I would use 5 min and 15 min timeframe and at times 10 mins.
11. For commodities and crypto we can use higher timeframe as well. Look for signals during volatile time durations and avoid trading the whole day. Signal usually gives good targets on those times.
12. If a GRG or RGR pattern appears on a daily timeframe then this is our time to go big.
13. Minimum Risk to Reward should be 1:2 and for longer targets can be 1:4 to 1:10.
14. Trade with small lot size. Money management will happen automatically.
15. With small lot size and correct Risk-Reward we can be very profitable. Don't trade with big lot size.
16. Stay in the market for longer and collect points not money.
17. Very imp - Watch market and learn to generate a market view.
18. Very imp - Only 3 type of candles are needed in trading -
Strong Bullish (Big Green candle), Strong Bearish (Big Red candle),
Hammer (it is Strong Bullish), Inverse Hammer (it is Strong Bearish)
and Doji (indecision or confusion).
If on daily timeframe I see Strong Bullish candle previous day then I am biased to the upside the next day, if I see Strong Bearish candle the previous day then I am biased to the downside the next day, if I see Doji on the previous day then I am cautious the next day, if there are back to back Dojis forming in daily or weekly then I am preparing for big move so time to go big once I get the signal.
19. Most Important Candlestick pattern - Bullish and Bearish Engulfing
20. The only Chart patterns I need -
a) Falling Wedge Bullish Pattern Uptrend or Bull Flag - Buying - Forming over a couple days for intraday and forming over a couple of weeks for swing
b) Falling Wedge Bullish Pattern Downtrend or Falling Channel - Buying
c) Rising Wedge Bearish Pattern Uptrend or Rising Channel - Selling
d) Rising Wedge Bearish Pattern Downtrend or Bear flag - Selling
e) M and W pattern - Reversal Patterns - They form within the above 4 patterns, usually resulting in the break of trend line
21. How Gaps work -
a) Small Gap up in Uptrend - Market can fill the gap and reverse. The perception is that people are buying. If previous day candle was Strong Bullish then market view is up.
b) Big Gap up in Uptrend - Not news driven - Profit booking will come but may not fill the entire gap
c) Big Gap up in Uptrend - News driven, war related, tax, interest rate - Market can keep going up without stopping.
c) Flat opening in Uptrend - Big chance of market going up. If previous day candle was Strong Bullish then view is upwards, if it was Doji then still upwards.
d) Gap down in Uptrend - Market is surprised. After going down initially it can go up
e) Small Gap down in Downtrend - Market can fill the gap and keep moving down. If previous day candle was Strong Bearish then view is still down.
f) Flat opening in Downtrend - View is down, short today.
g) Big Gap down in Downtrend - Profit booking and foolish buying will come but market view is still down.
h) Gap down with News - Volatility, sideways then down.
22. Go big on bearish days for option traders. Puts are better bought and Calls are better sold.
23. Cluster of green signals can lead to bigger move on the upside and vice versa for red signals.
24. Most of this is what I learned from successful traders (from the top 2%) only the indicator is mine.