Fair Value Gaps by DGTFair Value Gaps
A refined, multi-timeframe Fair Value Gap (FVG) detection tool that brings institutional imbalance zones to life directly on your chart.
Designed for precision, it visualizes how price delivers into inefficiencies across chart, higher, and lower (intrabar) timeframes — offering a fluid, structural view of liquidity displacement and market flow.
The script continuously tracks unfilled, partially repaired, and fully resolved imbalances, revealing where liquidity inefficiencies concentrate and where price may seek rebalancing.
Overlapping zones naturally expose institutional footprints, potential liquidity targets, and key re-pricing regions within the broader market structure.
KEY FEATURES
⯌ Multi-Timeframe Detection
Detect and display FVGs from the current chart, higher timeframes (HTF), or lower timeframes (LTF)
⯌ Smart Fill Tracking
Automatic real-time monitoring of each FVG’s fill progress with live percentage updates
⯌ Custom Fill Logic
Choose your preferred definition of when a gap is considered filled: Any Touch
Midpoint Reached
Wick Sweep
Body Beyond
⯌ Dynamic Labels & Tooltips
Labels can be toggled on/off. Even when hidden, detailed tooltips remain available by hovering over the FVG midpoint.
⯌ Adaptive Lower-Timeframe Mode
When set to “Auto,” the script intelligently selects the optimal lower timeframe based on the chart resolution.
DISCLAIMER
This script is intended for informational and educational purposes only. It does not constitute financial, investment, or trading advice. All trading decisions made based on its output are solely the responsibility of the user.
Multitimeframe
EMA Trend Band with Buy/Sell Signals
## What This Indicator Does
The **EMA Trend Band with Buy/Sell Signals** is a powerful visual trend-following indicator that combines two exponential moving averages (30-period fast EMA and 40-period slow EMA) to identify market direction and generate clear trading signals.
### Core Components
**Dual EMA System**: The indicator uses a fast EMA (30) and slow EMA (40) to track short-term and long-term price momentum simultaneously. The fast EMA reacts quickly to price changes, while the slow EMA filters out market noise and confirms the overall trend
**Color-Coded Trend Band**: Both EMAs change color dynamically based on trend direction - blue when bullish (fast EMA above slow EMA) and pink when bearish (fast EMA below slow EMA). The filled area between the two EMAs creates a visual "trend channel" that makes it easy to identify market direction at a glance.
**Buy/Sell Signal Generation**: When the fast EMA crosses above the slow EMA, a BUY signal appears with a blue label and small triangle marker. When the fast EMA crosses below the slow EMA, a SELL signal appears with a red label and triangle marker.
**Background Highlighting**: The chart background has a subtle blue or red tint matching the current trend, providing additional visual confirmation.
**Built-in Alerts**: Three alert conditions notify you of buy signals, sell signals, or any crossover event, allowing you to monitor multiple charts without watching them constantly.
## How to Use This Indicator Effectively
### Entry Rules
**Long (Buy) Entry**: Enter a long position when you see the blue BUY label appear below a candle, which occurs when the 30 EMA crosses above the 40 EMA. Confirm the signal by ensuring the price is above both EMAs and the trend band has turned blue.
**Short (Sell) Entry**: Enter a short position when you see the red SELL label appear above a candle, which occurs when the 30 EMA crosses below the 40EMA. Confirm the signal by ensuring the price is below both EMAs and the trend band has turned pink.
**Additional Confirmation**: For higher probability trades, wait for the price to close above/below both EMAs before entering, rather than entering on the crossover candle itself. This reduces false signals in choppy markets.
### Trade Management
**Trend Following**: Once in a trade, stay in the position as long as the EMAs maintain their color (blue for longs, pink for shorts). The filled band acts as a dynamic support/resistance zone.
**Exit Strategy**: Exit your long position when the EMAs turn pink (sell signal), or exit your short position when the EMAs turn blue (buy signal). Alternatively, use a trailing stop below/above the fast EMA for tighter risk management.
**Stop Loss Placement**: Place your stop loss below the slow EMA (40) for long positions, or above the slow EMA for short positions. This gives the trade room to breathe while protecting against major reversals.
### Filtering False Signals
**Avoid Choppy Markets**: The indicator works best in trending markets and can generate false signals during sideways consolidation. When both EMAs are flat and price oscillates between them, stay out of the market.
**Combine with Higher Timeframes**: Check the trend on a higher timeframe before taking signals on lower timeframes. For example, if trading on 15-minute charts, ensure the 1-hour chart shows the same trend direction.
**Volume Confirmation**: Use volume to confirm signal strength - stronger volume on crossover candles typically leads to more reliable trends.
## Best Timeframes for Different Trading Styles
### Scalping (1-Minute to 5-Minute Charts)
**Settings**: Keep default 30/40 EMA or adjust to 20/100 for faster signals
**Best for**: Highly volatile cryptocurrencies like BTC, ETH during active trading sessions (morning US/evening Asian overlap)
**Advantages**: Quick signals, multiple trades per day, catches micro-trends
**Disadvantages**: More false signals, requires constant monitoring, high stress
**Recommendation**: Use 5-minute charts with this indicator for crypto scalping - it provides the best balance between signal frequency and reliability.
### Day Trading (15-Minute to 1-Hour Charts)
**Settings**: Default 30/40 works perfectly
**Best for**: Forex pairs (EUR/USD, GBP/USD), major crypto pairs, index futures
**Advantages**: Fewer false signals than lower timeframes, captures intraday trends, good risk-reward ratios
**Disadvantages**: Requires several hours of monitoring, 2-4 trades per day maximum
**Recommendation**: **15-minute and 1-hour charts are the OPTIMAL timeframes for this indicator**. The 1-hour timeframe provides the best balance of signal accuracy and trade frequency for most traders.
### Swing Trading (4-Hour to Daily Charts)
**Settings**: Default 30/100 or extend to 50/200 for stronger trends
**Best for**: Stocks, crypto spot trading, major forex pairs, commodities
**Advantages**: Highest signal reliability, less screen time, captures major moves, lower stress
**Disadvantages**: Fewer trading opportunities, larger stop losses required, slower signals
**Recommendation**: Use 4-hour charts for active swing trading or daily charts for position trading. The 4-hour timeframe is excellent for cryptocurrency swing trading with this indicator.
## Recommended Best Timeframe Overall
### For Cryptocurrency Trading (Your Primary Interest)
**1-Hour Chart**: This is the BEST all-around timeframe for this EMA band indicator when trading crypto on Binance. It provides:
- 2-5 quality signals per week per pair
- Strong trend filtering with minimal false signals
- Manageable stop losses (typically 1-2% of position)
- Good risk-reward ratios (2:1 to 4:1 average)
- Reasonable monitoring requirements (check every few hours)
**Alternative for Active Trading**: 15-minute charts if you want more frequent signals and can monitor markets actively during your trading sessions.
### For Forex Trading
**1-Hour Chart**: Also optimal for EUR/USD and other major pairs during London/New York sessions
### For Stocks
**Daily Chart**: Best for swing trading individual stocks with this indicator
## Pro Tips for Maximum Effectiveness
**Multiple Timeframe Confirmation**: Before taking a 15-minute signal, check that the 1-hour trend band shows the same color. This dramatically increases win rate.
**Trade in the Direction of the Larger Trend**: Use daily charts to identify the major trend, then take only signals in that direction on lower timeframes.
**Avoid Trading During Major News Events**: EMAs can give false signals during high-impact economic announcements as price whipsaws.
**Use with Support/Resistance**: Combine EMA crossovers with key support and resistance levels for high-probability setups.
**Paper Trade First**: Test this indicator on a demo account for at least 20-30 trades before risking real money to understand its behavior on your preferred timeframe and instruments.
Institutional Confluence Strategy - 4H Only This is the best 4H Strategy with over 8.1 Win rate. Test before implementing it.
| 🧠 **Auto Risk Sizing** | Calculates position size dynamically (based on equity & ATR). |
| ⚙️ **Dynamic SL/TP** | Adjusts to volatility automatically. |
| ⚡ **Range Adaptation** | Uses RSI + BB compression to catch sideways reversals. |
| 🎯 **Low-Noise Entries** | Requires SMA crossover + RSI + BB touch. |
| 📊 **Backtestable** | Use Strategy Tester to view win rate, profit factor, etc. |
Previous High/Low Multi-Timeframe (3 TFs)Supports 3 customizable timeframes, with full color, width, style, and label options
Previous 4-Hour High/Low (Updated)Features:
- Works on any chart timeframe.
- Automatically updates at the close of each 4H candle.
- Lines extend across the chart (both directions).
- Customizable color and thickness.
- Optional labels.
- No flickering or constant deletion/recreation — lines are updated only when the 4H candle closes
TSI Advanced - Enhanced with Signals & AlertsMeasures trend strength and momentum using a double-smoothed price change (True Strength Index), enhanced with automatic signals, divergences, and alerts.
### 🔧 Key Components
* **TSI Line (Blue):** Main momentum measure
* **Signal Line (Pink):** For crossovers (buy/sell)
* **Zero Line:** Defines bullish (above) or bearish (below) zones
* **OB/OS Zones:** +25 = Overbought, -25 = Oversold
### 🚨 Core Signals
1. **Crossovers (Triangles)**
* 🔼 Green = Buy (TSI > Signal)
* 🔽 Red = Sell (TSI < Signal)
2. **Zero Line Cross (Circles)**
* Above 0 → Bullish trend
* Below 0 → Bearish trend
3. **Divergences (Dashed Lines)**
* Green = Bullish divergence
* Red = Bearish divergence
4. **Zone Alerts:** Background turns green/red for OB/OS levels
### 📊 Strategies
* **Crossover Entry:** Trade on crossovers near OB/OS zones
* **Zero Line Momentum:** Ride trend while TSI stays above/below zero
* **Divergence Trading:** Combine divergence + crossover confirmation
* **Trend Confirmation:** Trade only with background color direction
### ⚙️ Recommended Settings
| Style | Long | Short | Signal | OB/OS |
| ------------- | ----- | ----- | ------ | ----- |
| Scalping (5m) | 15–20 | 8–10 | 8–10 | ±20 |
| Swing | 25 | 13 | 13 | ±25 |
| Day Trading | 20 | 10 | 10 | ±22 |
### 🔔 Alerts
* Crossover = Entry
* Zero Cross = Trend confirmation
* OB/OS = Exit or caution
### 💡 Pro Tip
For crypto scalping: bullish crossover in **oversold zone (-25 to -40)** near support + rising volume = high-probability long setup.
---
for more follow me
TG t.me
ALANI - Multi-Timeframe (MTF)An almost zero lag version of the LSMA (Least Squares Moving Average)
Gives instant linear regression of current price action.
This line works with the same rules as its "laggy" counterpart the LSMA:
When price crosses over it signals a bull trend.
When price crosses under it signals bear trend.
When price stays close or on the line sideways action is to be expected.
The direction of the line shows the direction of the trend.
H1 ATR on all timeframesVisual aid that displays the value of the H1 ATR (standard setting: 14) across all timeframes.
ATR Adaptive (auto timeframe)This indicator automatically adjusts the Average True Range (ATR) period based on the current chart timeframe, helping traders define dynamic Stop Loss (SL) and Take Profit (TP) levels that adapt to market volatility.
The ATR measures the average range of price movement over a defined number of bars. By using adaptive periods, the indicator ensures that volatility is interpreted consistently across different timeframes — from 1-minute charts to daily or weekly charts.
It plots two main levels on the chart:
🔴 Low – ATR × Multiplier → Suggested Stop Loss (below the candle’s low)
🟢 High + ATR × Multiplier → Suggested Take Profit or trailing level (above the candle’s high)
Optional additional lines show ATR-based TP levels calculated from the current close.
💡 How to use
Select your desired ATR multiplier (e.g., 1.3× for SL, 1.0× for TP).
The script automatically detects the chart timeframe and uses an appropriate ATR length (e.g., ATR(30) on M5, ATR(21) on H1, ATR(14) on Daily).
Use the plotted levels to:
Set Stop Loss just below the red ATR band (for long trades).
Set Take Profit near or slightly below the green ATR band (for short trades, reverse logic).
⚙️ Why it helps
Maintains consistent volatility-based risk across multiple timeframes.
Avoids arbitrary fixed SL/TP values.
Makes the trading strategy more responsive in high-volatility markets and more conservative when volatility contracts.
Particularly useful for intraday and swing trading, where volatility varies significantly between sessions.
Metals vs DXY CorrelationThere's a growing interest in Gold and Metals in general - due to safe have demand - a lot of traders get blindsided by sudden consolidation and reversals while trading Gold or Silver. The key is to know that GC is closely related to DXY because large institutions and central banks hedge the two instruments. They are inversely correlated for the most part.
This indicator looks at price action applies Pearson correlation to find the strength in their "entanglement" and tells you if its is strongly, weakly or positively correlated.
It has helped me stay away from the markets when there's a strong inverse correlation because the price action can be very unpredictable.
Hopefully you find this useful.
Multi-Timeframe Bollinger RSI SignalsIt's literally Free Money. Buy and Sell signal indicator based on RSI and Bollinger Bands Confluence.
EMA+MACD动态0轴主图动态MACD,EMA55作为当前周期动态0轴使用。EMA13作为小4倍周期动态0轴。当前周期DIF线穿越0轴标记+MACD金死叉标记。
The main chart dynamic MACD and EMA55 are used as the dynamic 0-axis for the current cycle. EMA13 is used as the dynamic 0- axis for the smaller 4x cycle. The current cycle's DIF line has crossed the 0-axis, marked with a "+" sign indicating a golden cross on the MACD.
XAU Aurum Precision Scalper Pro v1.0🏆 Aurum Precision Scalper Pro v1.0
SMMA 21/50/200 + RSI14 | Multi-Rule Gold Strategy (M3–M15)
💡 Overview
Aurum Precision Scalper Pro is a professional multi-rule intraday strategy built for scalping and day-trading XAUUSD (Gold) on short timeframes (3m, 5m, 15m).
It combines RSI, SMMA trend filters, volume, and volatility logic with clean breakout and mean-reversion mechanics.
Optimized for the London–New York overlap, this system captures directional moves while filtering out noise and false breakouts — the most common trap for gold traders.
⚙️ Core Components
1️⃣ Multi-Timeframe Guardrail
Works only on 3m / 5m / 15m charts for precision.
Prevents accidental backtests on irrelevant timeframes.
2️⃣ SMMA Trend Framework
Uses SMMA(21) for short-term bias,
SMMA(50) for medium-term direction,
SMMA(200) for higher-order trend control.
RSI(14) confirms momentum and prevents chasing extreme moves.
3️⃣ Global Filters
✅ Trend filter (optional):
• Longs only if close > SMMA200
• Shorts only if close < SMMA200
✅ SMMA proximity filters:
• Blocks trades when SMMA21–SMMA50 or SMMA21–SMMA200 are too close → reduces chop.
✅ Volume filter:
• Requires volume > SMA(volume) × multiplier.
✅ Impulse filter:
• Body size ≥ k × ATR (volatility confirmation).
✅ Active-session filter:
• Default: 07:00–20:00 CET (Europe/Brussels).
4️⃣ XAUUSD Preset (optional toggle)
When symbol = “XAU” or “GOLD”, auto-applies gold-specific tuning:
RSI thresholds tightened (BUY > 55 / SELL < 45)
Stronger volume & volatility filters
Stricter SMMA distance checks
Automatic session activation
⚔️ Entry Rules
Rule Setup Type Logic Summary
R1 Full SMMA breakout Price closes above (or below) all SMMAs + RSI confirms direction
R2 SMMA21 touch + alignment Price bounces on 21 while aligned with 50 & 200 + RSI filter
R3 3-bar engulfing reversal After 3 candles in one direction, an engulfing opposite bar + RSI momentum
R4 SMMA21/50 crossover 21 crosses 50 with trend & volume confirmation
All rules respect your global filters (trend, volume, impulse, proximity, sessions).
R2–R4 entries can be individually toggled ON/OFF in inputs.
💰 Exit Logic
Simple % exits (for quick prototyping):
• TP = +X% (default 1.0%)
• SL = −X% (default 0.5%)
All entries are managed individually (R1–R4 IDs).
More advanced versions include ATR-based partials, breakeven and dynamic trailing logic.
🎨 Visuals
SMMA21 → teal line
SMMA50 → orange line
SMMA200 → magenta line
On-chart labels for each rule (BUY/SELL R1–R4).
Alerts for all entry conditions — ready for automation or alerting bots.
🧠 Suggested Usage
Best window: 14:00–17:00 CET (London–New York overlap).
Ideal timeframes: M5 and M15.
Avoid over-trading during low volatility (Asian session).
For XAUUSD, enable all filters for realistic conditions.
Recommended baseline:
TP = 1.0%
SL = 0.5%
UseVolFilter = true
UseImpulse = true
GapFilter = true
TrendFilter = true
📈 Performance Tips
✅ Stronger filter = fewer but higher-quality trades.
✅ When gold volatility spikes (CPI/NFP/FOMC), increase “minGap%” thresholds slightly.
✅ For smooth trend capture, use R4 (SMMA21/50 cross) with trend filters ON.
✅ For reversals, combine R3 (engulfing) + RSI confirmation.
🧾 Changelog (v1.0)
✅ Multi-timeframe guard (3/5/15min only)
✅ 4 rule logic (R1–R4)
✅ Global filters: trend, volume, impulse, proximity
✅ XAUUSD preset with adaptive parameters
✅ Session/timezone logic
✅ Simple exits for fast backtesting
✅ On-chart labels and alert system
🧭 Recommended Title / Tagline for TradingView
Aurum Precision Scalper Pro v1.0
“A high-precision RSI-SMMA strategy for Gold scalpers — designed for the London–NY overlap.”
🔖 Tags
#XAUUSD #Gold #Scalping #SMMA #RSI #Strategy #DayTrading #PineScriptV6 #ATR #TrendFollowing #Breakout
4h Top & BottomDraws a line at the top of the first 4h candle as well as the bottom. Colors the background green for possible long entries after reclaiming the bottom and red for short entries after rejecting the top.
Simple MSSDisplays the two most recent market structure shifts, with adjustable pivot strength ranging from 1 to 5 for enhanced flexibility.
Opening Range Fibonacci Extensions (ATR Adjusted)this script displays daily, weekly, or monthly range extensions as a function of ATR in a Fibonacci retracement
VWMA True Range | Lyro RSVWMA True Range | Lyro RS
This script is a hybrid technical analysis tool designed to identify trends and spot potential reversals. It employs a consensus-based system that uses multiple smoothed, Volume-Weighted Moving Averages (VWMA) to generate both trend-following and counter-trend signals.
Understanding the Indicator's Components
The indicator plots a main line on a separate pane and provides visual alerts directly on the chart.
The Main Line: This line represents a smoothed average of momentum scores derived from multiple VWMAs. Its direction and value are the foundation of the analysis.
Signal Generation: The tool provides two distinct types of signals:
Trend Signals: These trend-following signals ("⬆️Long" / "⬇️Short") activate when the indicator's consensus reaches a pre-set strength threshold, indicating sustained momentum in one direction.
Reversal Signals: These counter-trend alerts ("📈Oversold" / "📉Overbought") trigger when the main line breaks a previous period's level, hinting at exhaustion and a potential short-term reversal.
Visual Alerts:
Colored Background: The indicator's background highlights during strong trend signals for added visual emphasis.
Chart Shapes: Small circles appear on the main chart to mark where potential reversals are detected.
Colored Candles: You can choose to color the price candles to reflect the current trend signal.
Information Table: A compact table provides an at-a-glance summary of all currently active signals.
Suggested Use and Interpretation
Here are a few ways to incorporate this indicator into your analysis:
Following the Trend: Use the "Long" or "Short" trend signals to align your trades with the prevailing market momentum.
Spotting Reversals: Watch for "Oversold" or "Overbought" reversal signals, often accompanied by chart shapes, to identify potential market turning points.
Combining Signals: Use the primary trend signal for context and look for reversal signals that may indicate a pullback within the larger trend, potentially offering favorable entry points.
Customization Options:
You can tailor the indicator's behavior and appearance through several settings:
Core Settings: Adjust the Calculation Period and Smooth Length to make the main line more or less responsive to price movements.
Signal Thresholds: Fine-tune the Long threshold and Short threshold to control how easily trend signals are triggered.
Visual Settings: Toggle various visual elements like the indicator band, candle coloring, and the information table on or off.
Table Settings: Customize where the information table appears and its size to suit your chart layout.
⚠️Disclaimer
This indicator is a tool for technical analysis and does not guarantee future results. It should be used as part of a comprehensive trading strategy that includes other analysis techniques and strict risk management. The creators are not responsible for any financial decisions made based on its signals.
Timeframe LiquidityTimeframe Liquidity – Multi-Timeframe Highs & Lows by @archie_trades
Timeframe Liquidity automatically plots previous day, week, month, and year highs and lows — key liquidity zones used by smart money and price-action traders. These levels extend into the future and can automatically stop once price wicks through, showing clear liquidity sweeps and tested zones.
Perfect for traders using ICT concepts, liquidity theory, or market structure analysis. Instantly see where liquidity rests, where it’s been taken, and how price reacts at major support and resistance.
Features:
Auto-plots PDH/PDL, PWH/PWL, PMH/PML, PYH/PYL
Custom line styles, colors, and label sizes
Option to stop line on wick (liquidity sweep)
Smart timeframe visibility (hides same-TF levels)
Accurate UTC offset handling
Identify liquidity pools fast, trade cleaner charts, and track where smart money hunts liquidity.
Built for precision, clarity, and confluence.
Dynamic 21 SMA Zone S/R (Weekly and 2-Day)This custom indicator creates a dynamic support and resistance zone based on the 21-period Simple Moving Average (SMA) from the weekly timeframe and the 21-period SMA from the 2-day timeframe. The zone is visible and functional across all chart timeframes, adapting seamlessly to provide multi-timeframe insights.
Color Logic:
Green: When the current price is fully above the upper boundary of the zone, indicating potential bullish strength or a support level.
Gray: When the price is fully below the lower boundary, signaling potential bearish pressure or a resistance level.
Light Blue: When the price is within the zone (between the two SMAs), representing a neutral "no man's land" where the market is indecisive.
As the two SMAs converge or diverge, the zone naturally thins or widens, visually reflecting changes in market momentum—such as a thinning green zone during a potential reversal. Ideal for higher-timeframe swing trading to identify key levels, this indicator is also useful on lower timeframes for gauging the relative position of these SMAs, helping traders align short-term moves with broader trends.
Adaptive Range Breakout (UPDATED RBVC)RBVC UPDATED WITH TIGHTER RANGE TIMELY BREAKOUT. This as an updated version for range breakout with volume as the earlier indicator had delayed response time
PO3 Time Dividers//@version=6
indicator("Smart Time Dividers (Auto)", overlay=true, max_lines_count=500)
// Appearance (change if you want)
line_color = color.new(#74757a, 50) // faint dark gray (0 = opaque, 255 = invisible)
line_style = line.style_dotted
line_width = 1
extend_type = extend.both
// time parts for current bar
y = year(time)
mo = month(time)
d = dayofmonth(time)
h = hour(time)
mi = minute(time)
// detect chart timeframe (common TradingView strings)
tf = timeframe.period
is_m1 = tf == "1"
is_m5 = tf == "5"
is_m15 = tf == "15"
is_h1 = (tf == "60") or (tf == "1H")
is_h4 = (tf == "240") or (tf == "4H")
is_d = (tf == "D") or (tf == "1D")
is_w = (tf == "W") or (tf == "1W")
// boundary checks (true on the first bar of the requested boundary)
new_year = y != y // start of year
new_quarter = (mo != mo ) and (mo == 1 or mo == 4 or mo == 7 or mo == 10) // start of Q
new_month = mo != mo // start of month
// week detection: use weekofyear if available, else use monday midnight fallback
new_week = false
//@compile_time_only
new_week := weekofyear(time) != weekofyear(time ) // this works in Pine v5
new_day = d != d // start of day
new_4h = (h % 4 == 0) and (mi == 0) // start of 4-hour block
new_hour = mi == 0 // start of hour
// choose which boundary to draw depending on chart timeframe
boundary = false
if is_w
boundary := new_year // weekly -> yearly
else if is_d
boundary := new_quarter // daily -> quarterly
else if is_h4
boundary := new_month // 4h -> monthly
else if is_h1
boundary := new_week // 1h -> weekly
else if is_m15
boundary := new_day // 15m -> daily
else if is_m5
boundary := new_4h // 5m -> every 4 hours
else if is_m1
boundary := new_hour // 1m -> every hour
else
// fallback: draw monthly lines on unknown timeframes
boundary := new_month
// draw line only on the transition bar (avoid duplicates)
if boundary and not boundary
line.new(x1=bar_index, y1=high, x2=bar_index, y2=low, xloc=xloc.bar_index,
extend=extend_type, color=line_color, style=line_style, width=line_width)