Multi-Time-Frame EMA Sampler (6-pack) [DarthSHO]📈 Multi-Timeframe EMA Sampler (6-Pack)
Author: DarthSHO fpgrainger@gmail.com
Type: Overlay
Category: Moving Averages/Multi-Timeframe Analysis
License: Open-source
This script plots up to six EMAs calculated from a higher timeframe of your choice (e.g., 1H, Daily) and samples them at a user-defined update interval (e.g., every 5 or 15 minutes). The result is a precise, non-repainting display of higher-timeframe EMAs — visible on any chart, including lower timeframes.
🔧 Features
✅ Choose the source timeframe for EMA calculations (e.g., 1H, Daily)
✅ Set a custom update interval (sampling timeframe)
✅ Plot up to 6 EMAs, each with:
Individual length
Color customization
On/off visibility toggle
✅ Fully overlays on current chart timeframe
✅ Updates on bar close of your chosen sampling interval (no repainting)
🧠 Use Cases
See key EMAs from higher timeframes without switching charts
Lock in values only once per sampling interval (e.g., only update 1H EMAs every 15min)
Avoid noisy intra-bar flicker or repainting
Combine with price action or support/resistance for confluence setups
⚙️ Example Settings
EMA Calculation Timeframe: 1H
Update/Sampling Timeframe: 15m
Chart Timeframe: Any (1m, 5m, 1H, etc.)
🚫 No Repainting
This script uses lookahead=barmerge.lookahead_on to ensure EMAs are stable and only update at the end of each sampling bar.
💡 Tip
Use the shorter sampling_tf (like 5 or 15) to keep your EMA lines responsive but reliable — or set it equal to the calculation TF to see them step only once per bar.
✨ Created by Darth SHO
Helping traders "Escape the Matrix" with clarity and confluence.
Discord, education, alerts, and more.
Multi
Multi-Timeframe Resonance v2.0📌 Multi-Timeframe Resonance System — Identify trend, range, and turning points at a glance
✨ Core Advantages:
🔹 Multi-timeframe resonance analysis: Detects trend direction and range across timeframes. Helps identify M tops, W bottoms, consolidation turning points, and trend switches.
🔹 Clear phase visualization: Highlights trend momentum (green) and consolidation zones (red).
🔹 Universally compatible: Works on stocks/ETFs, futures/commodities, forex, gold, crypto — parameter tuning is the only requirement.
🎯 Target Users:
✅ Traders needing fast structure analysis
✅ Trend-followers, swing traders, or range-arbitrageurs
✅ Multi-timeframe analysts & volume researchers
✅ Quant teams seeking stable signal output
📈 Market Structure Evolution Sequence:
**Same-Bear → Small Box Bull → Medium Box Bull → Large Box Bull → Same-Bull → Small Box Bear → Medium Box Bear → Large Box Bear → Same-Bear**
- “Same-Bear”/“Same-Bull”: full agreement among timeframes,strongest trend stages.
- “Small/Medium/Large Box”: represent increasing-level consolidations indicating trend emergence or turn.
🔍 By identifying the current structure phase, traders can determine if:
- The market is in the **early trend stage** (Same-Bull/Same-Bear)
- Or in a **trend shift period** (Bear→Bull or Bull→Bear)
- Or still **oscillating** (structures switching)
⚠️ **Practical Note:**
Although structure usually follows the sequence above, in strong or volatile moves it may:
- **Skip steps** (e.g., Same-Bear → Large Box Bull)
- **Switch rapidly** within a few candles
Traders should use volume, candle patterns, and higher-timeframe trends to confirm valid structure changes or avoid false breakouts.
📌 Execution Logic:
This indicator applies **multi-timeframe resonance** to capture **trend pullbacks**:
- Identifies trend direction via higher timeframes
- Uses pullback in shorter timeframe to signal entry
- Executes trend-following trades at pullback points
- Protects with structured stop-loss based on higher timeframe structure
🔒 This is a protected script. For access details, please see the Author’s Instructions.
📌 多周期共振识别系统 — 趋势、震荡与拐点,一目了然
✨ 核心优势:
🔹 多周期共振分析:同时检测多个周期的趋势方向与震荡结构,辅助识别 M 顶 / W 底 / 震荡拐点 / 趋势转换等关键信号。
🔹 趋势与震荡清晰可视:自动高亮趋势推进(绿色)与震荡盘整(红色)区域,一眼看清市场节奏。
🔹 全品种通用:适配股票 / ETF、期货 / 商品、外汇 / 黄金、加密货币等市场,仅需轻微参数微调。
🎯 适用人群:
✅ 需要快速识别图表结构的交易者
✅ 趋势跟随者、波段捕捉者、震荡套利者
✅ 热衷于多周期分析与量能行为研究的交易者
✅ 追求稳定信号输出的量化策略团队
📈 市场结构演变路径:
同空 → 小箱多 → 中箱多 → 大箱多 → 同多 → 小箱空 → 中箱空 → 大箱空 → 同空
“同空” / “同多”:表示多周期趋势完全一致,代表趋势最强阶段
“小箱 / 中箱 / 大箱”:代表不同级别的震荡结构,结构逐步递进,表示趋势正在酝酿或转向
🔍 通过识别当前所处的结构阶段,交易者可以判断:
当前是否处于趋势初期阶段(如同空 / 同多)
是否处于趋势转换区间(如由空转多或由多转空)
或仍处于震荡反复区间(结构频繁切换)
⚠️ 实战提醒:
虽然市场结构通常遵循上述顺序演化,但在强趋势或剧烈波动行情下,可能出现以下情况:
跳跃演化(如从“同空”直接进入“大箱多”阶段)
快速切换(几根K线内连续跳过多个结构)
因此,交易者应结合量能、K线形态及更高周期趋势,判断结构变化是否“有效”或为“假突破”。
📌 执行逻辑:
本指标通过多周期趋势共振确认,捕捉趋势中的回踩机会:
利用高阶周期判断趋势方向
在低阶周期的回踩位置作为进场信号
顺势交易,捕捉主趋势中的低吸 / 高抛机会
止损位置依据上位周期结构确认,明确清晰
🔒 本脚本为受控授权版本,如需获取使用权限,请参阅“作者说明”。
Multi-Timeframe Resonance v2.0📌 Multi-Timeframe Resonance System — Identify trend, range, and turning points at a glance
✨ Core Advantages:
🔹 Multi-timeframe resonance analysis: Detects trend direction and range across timeframes. Helps identify M tops, W bottoms, consolidation turning points, and trend switches.
🔹 Clear phase visualization: Highlights trend momentum (green) and consolidation zones (red).
🔹 Universally compatible: Works on stocks/ETFs, futures/commodities, forex, gold, crypto — parameter tuning is the only requirement.
🎯 Target Users:
✅ Traders needing fast structure analysis
✅ Trend-followers, swing traders, or range-arbitrageurs
✅ Multi-timeframe analysts & volume researchers
✅ Quant teams seeking stable signal output
📈 Market Structure Evolution Sequence:
**Same-Bear → Small Box Bull → Medium Box Bull → Large Box Bull → Same-Bull → Small Box Bear → Medium Box Bear → Large Box Bear → Same-Bear**
- “Same-Bear”/“Same-Bull”: full agreement among timeframes,strongest trend stages.
- “Small/Medium/Large Box”: represent increasing-level consolidations indicating trend emergence or turn.
🔍 By identifying the current structure phase, traders can determine if:
- The market is in the **early trend stage** (Same-Bull/Same-Bear)
- Or in a **trend shift period** (Bear→Bull or Bull→Bear)
- Or still **oscillating** (structures switching)
⚠️ **Practical Note:**
Although structure usually follows the sequence above, in strong or volatile moves it may:
- **Skip steps** (e.g., Same-Bear → Large Box Bull)
- **Switch rapidly** within a few candles
Traders should use volume, candle patterns, and higher-timeframe trends to confirm valid structure changes or avoid false breakouts.
📌 Execution Logic:
This indicator applies **multi-timeframe resonance** to capture **trend pullbacks**:
- Identifies trend direction via higher timeframes
- Uses pullback in shorter timeframe to signal entry
- Executes trend-following trades at pullback points
- Protects with structured stop-loss based on higher timeframe structure
🔒 This is a protected script. For access details, please see the Author’s Instructions.
📌 多周期共振识别系统 — 趋势、震荡与拐点,一目了然
✨ 核心优势:
🔹 多周期共振分析:同时检测多个周期的趋势方向与震荡结构,辅助识别 M 顶 / W 底 / 震荡拐点 / 趋势转换等关键信号。
🔹 趋势与震荡清晰可视:自动高亮趋势推进(绿色)与震荡盘整(红色)区域,一眼看清市场节奏。
🔹 全品种通用:适配股票 / ETF、期货 / 商品、外汇 / 黄金、加密货币等市场,仅需轻微参数微调。
🎯 适用人群:
✅ 需要快速识别图表结构的交易者
✅ 趋势跟随者、波段捕捉者、震荡套利者
✅ 热衷于多周期分析与量能行为研究的交易者
✅ 追求稳定信号输出的量化策略团队
📈 市场结构演变路径:
同空 → 小箱多 → 中箱多 → 大箱多 → 同多 → 小箱空 → 中箱空 → 大箱空 → 同空
“同空” / “同多”:表示多周期趋势完全一致,代表趋势最强阶段
“小箱 / 中箱 / 大箱”:代表不同级别的震荡结构,结构逐步递进,表示趋势正在酝酿或转向
🔍 通过识别当前所处的结构阶段,交易者可以判断:
当前是否处于趋势初期阶段(如同空 / 同多)
是否处于趋势转换区间(如由空转多或由多转空)
或仍处于震荡反复区间(结构频繁切换)
⚠️ 实战提醒:
虽然市场结构通常遵循上述顺序演化,但在强趋势或剧烈波动行情下,可能出现以下情况:
跳跃演化(如从“同空”直接进入“大箱多”阶段)
快速切换(几根K线内连续跳过多个结构)
因此,交易者应结合量能、K线形态及更高周期趋势,判断结构变化是否“有效”或为“假突破”。
📌 执行逻辑:
本指标通过多周期趋势共振确认,捕捉趋势中的回踩机会:
利用高阶周期判断趋势方向
在低阶周期的回踩位置作为进场信号
顺势交易,捕捉主趋势中的低吸 / 高抛机会
止损位置依据上位周期结构确认,明确清晰
🔒 本脚本为受控授权版本,如需获取使用权限,请参阅“作者说明”。
Advanced Trend Panel v3.0Advanced Trend Panel v3.0 is a comprehensive indicator that analyzes market trends across multiple timeframes. It combines long-term and short-term EMAs, ADX for trend strength, RSI, Volume Profile (POC), and volume comparisons. The script calculates trend duration (in bars or time units) and provides a higher-timeframe forecast for context. All data is displayed in a customizable table with adjustable position and text size.
Key Features:
- Long/Short Trend States with Duration
- Trend Strength via ADX
- Price vs. POC
- RSI Overbought/Oversold
- Volume Analysis
- Higher TF Trend Forecast
- Optional Plots for EMAs and POC Line
Customize inputs to fit your strategy. This script is for educational purposes and not financial advice. Use at your own risk.
Bollinger Bands - Multi Symbol Alert (Miu)This script extends the classic Bollinger Bands indicator with support for up to 8 user-defined symbols and a unique alert system.
Unlike traditional Bollinger Band indicators, it allows traders to configure alerts across multiple assets without keeping the indicator visible on the chart, making it ideal for passive multi-asset monitoring.
What it does:
This script calculates Bollinger Bands using a 100-period simple moving average and a standard deviation multiplier of 3 (or any input you set in the settings panel).
For each selected symbol, the upper and lower bands are retrieved using request.security() and monitored for breakouts.
Alerts are triggered when the closing price of the selected symbol breaks above the upper band (Overbought) or below the lower band (Oversold) — at the bar close.
How to use it:
1) Add the indicator to your chart.
2) Open the settings panel.
3) Select up to 8 symbols to monitor.
4) After setting parameters, click the three dots next to the indicator title and choose "Add Alert on...".
5) Name your alert and confirm.
6) If you don’t wish to keep the indicator visible, you can remove it from the chart — alerts will still function as expected.
Alert message includes:
- Symbol name (e.g., BTC, ETH, LTC)
- (OB) for overbought or (OS) for oversold
- Symbol’s price at the alert moment
Technical note:
This script uses request.security() to fetch Bollinger Band levels and closing prices from up to 8 selected symbols in real time.
Feel free to leave your feedback or suggestions in the comments section below.
Enjoy!
Candle Ghosts: MTF 3 Candle Viewer by Chaitu50cCandle Ghosts: MTF 3 Candle Viewer helps you see candles from other timeframes directly on your chart. It shows the last 3 candles from a selected timeframe as semi-transparent boxes, so you can compare different timeframes without switching charts.
You can choose to view candles from 30-minute, 1-hour, 4-hour, daily, or weekly timeframes. The candles are drawn with their full open, high, low, and close values, including the wicks, so you get a clear view of their actual shape and size.
The indicator lets you adjust the position of the candles using horizontal and vertical offset settings. You can also control the spacing between the candles for better visibility.
An optional EMA (Exponential Moving Average) from the selected timeframe is also included to help you understand the overall trend direction.
This tool is useful for:
Intraday traders who want to see higher timeframe candles for better decisions
Swing traders checking lower timeframe setups
Anyone doing top-down analysis using multiple timeframes on a single chart
This is a simple and visual way to study how candles from different timeframes behave together in one place.
Stochastic + RSI + Volume Average HeatMap [DAITAR]Welcome! This indicator was carefully designed to deliver essential insights in a clean, space‑saving, and powerful compact format below your price chart, providing clarity without clutter and enhancing your trading experience.
📊 What You Get in One Small Pane
1. RSI (Relative Strength Index)
- RSI is a momentum oscillator bound between 0 and 100 that measures how fast and how much price has changed, helping you see if an asset is overbought (above 70) or oversold (below 30).
2. Stochastic Oscillator (%K & %D)
- This oscillator compares the current closing price to its recent range, giving values between 0 and 100. When it's above 80, the asset is considered overbought; under 20, it’s oversold. The %K line tracks the raw result and the %D line smooths that data for signal clarity.
3. Volume Average HeatMap (five color levels)
- Shows how heavy the volume really is compared to recent history, not just raw numbers.
---
🤝 Use Them Together… or Solo
- Individually, RSI gives you a gauge of overall momentum, and Stochastic helps identify potential price reversals based on recent highs and lows.
- Combined, they provide a stronger, more reliable signal. i.e., both showing overbought or oversold reinforces the likelihood of a reversal.
---
🔍 Why This Indicator Combines All Three
By layering RSI for momentum, Stochastic for precision in reversals, and a Volume Average Heat Map for context, this tool offers a full-spectrum view that’s more reliable than relying on just one method.
---
🔥 How the Volume Average Heat Map Works
1. Look‑back window – Choose how many past bars to include (default 100, up to 5,000). The script finds the highest volume in that range.
2. Volume percentage – Each bar gets a score using:
1. (current volume ÷ highest volume) × 100%
3. Capped at 100% – Keeps values tidy and consistent.
4. Five intensity tiers – Bars are colored based on thresholds:
- Extra High
- High
- Medium )
- Normal
- Low
Seeing an Extra High bar means that volume is in the top of recent activity and could signal a significant move.
---
✅ User-Friendly Benefits
- Saves space: No need to stack multiple indicators; everything is neatly shown below the price chart.
- Instant clarity: Color‑coded volume bars and shaded zones make reading signals easy, even for new traders.
- Smart signal combinations: When high volume aligns with overbought or oversold RSI and Stoch levels, you get a strong indication that something important could be happening.
---
How to Use It
1. Apply the indicator beneath your chart to keep your workspace clean.
2. Look for High or Extra High volume bars, they often precede big moves.
3. Watch the RSI and Stochastic lines: if they both enter their shaded zones, a reversal or pause might be on the horizon.
Multi Ranges Volume Distribution [LuxAlgo]The Multi Ranges Volume Distribution tool allows traders to see the volume distribution by price for three different timeframes simultaneously. Each distribution can report the total amount of accumulated volume or the accumulated buy/sell volume separately.
Levels are displayed at the top and bottom of each timeframe's range, as well as the POC or level with the most volume.
🔶 USAGE
By default, the tool displays daily, weekly, and monthly volume distributions, highlighting the accumulated volume within each row.
Each distribution shows the volume at each price, as well as three lines: the top and bottom prices, and the price at which the most volume was traded.
The reported accumulated volume can be useful for highlighting which price areas are of the most interest to traders, with the specific timeframe specifying whether this interest is long-term or short-term.
🔹 Timeframes & Rows
Traders can adjust the timeframe and the number of rows for each volume distribution.
This is useful for multi-timeframe analysis of volume at the same price levels, or for obtaining detailed data within the same timeframe.
The chart above shows three volume distributions with the same monthly timeframe but a different number of rows; each is more detailed than the previous one.
🔹 Total vs Buy & Sell Volume
Traders can choose to display either the total volume or the buy and sell volumes.
As we can see on the above chart, the background of each row uses a gradient that is a function of the delta between the buy and sell volumes.
This is useful to determine which areas attract buyers and sellers.
🔶 SETTINGS
Volume Display: Select between total volume and buy and sell volume.
Distance between each box: Adjust the spacing of the volume distributions.
Period A: Select a timeframe and the number of rows.
Period B: Select a timeframe and the number of rows.
Period C: Select a timeframe and the number of rows.
Multi-Timeframe EMAs & WMAsMulti-Timeframe EMAs & WMAs (MTF EMAWMA)
The Multi-Timeframe EMAs & WMAs (MTF EMAWMA) indicator is a comprehensive tool designed to provide a multi-dimensional view of market trends by plotting various Exponential Moving Averages (EMAs) and Weighted Moving Averages (WMAs) from different timeframes onto your current chart. This allows traders to quickly assess confluent support and resistance levels, identify trend strength, and gain a broader market perspective without switching timeframes.
Key Features:
Multiple EMAs and WMAs:
This indicator includes:
- EMA 200: Plotted from H1 and M15 timeframes.
- EMA 100: Plotted from H1, M30, and M15 timeframes.
- EMA 50: Plotted from H4, H1, M30, and M15 timeframes.
- WMA 720: Plotted from H4, H1, M30, M15, and M1 timeframes.
Multi-Timeframe Analysis: By displaying moving averages from various timeframes, the indicator helps in understanding the interplay of different trends and their potential impact on price action.
Visual Distinction : Each moving average type and its timeframe representation are color-coded and styled (solid vs. dashed lines) for easy identification and clarity on the chart.
EMA 200: Dark Red
EMA 100: Cyan/Teal
EMA 50: SaddleBrown
WMA 720: Orange
Recommended Usage:
This indicator is specifically tailored for XAU/USD (Gold). It is intended to be used as a confluence tool to complement your existing trading strategies and indicators. It is not designed to be used solely as an entry or exit signal. Instead, leverage the information provided by these multi-timeframe moving averages to:
- Identify major trend directions: Observe the alignment and slope of longer-term moving averages.
- Spot potential support and resistance zones: Price often reacts to these key moving average levels from higher timeframes.
- Confirm trade bias: Use the higher timeframe moving averages to confirm the direction of your trades on lower timeframes.
- Enhance risk management: Understand where strong levels might exist to place stop-losses or take-profits.
Always combine this indicator with other forms of analysis, such as price action, chart patterns, volume analysis, or other technical indicators, to make informed trading decisions.
Remark: The script and description were created by AI.
Candle close on high time frameOVERVIEW
This indicator plots persistent closing levels of higher time frame candles (H1, H4, and Daily) on the active intraday chart in real time. Unlike similar tools, it offers granular control over line projection length, fully independent toggles per timeframe, and a built-in mechanism that automatically limits the total number of historical levels to avoid chart clutter and performance issues.
CONCEPTS
Key levels from higher time frames often act as areas where price reacts or consolidates. By projecting each candle's exact closing price forward as a horizontal reference, traders can quickly identify dynamic support and resistance zones relevant to the current price action. This indicator enables seamless multi-timeframe analysis without the need to manually switch chart intervals or re-draw lines.
FEATURES
Independent Time Frame Selection: Enable or disable H1, H4, and Daily levels individually to tailor the analysis.
Custom Extension Length: Each timeframe's closing level can be projected forward for a user-defined number of bars.
Performance Optimization: The script maintains an internal limit (default: 100) on the number of active lines. When this threshold is exceeded, the oldest lines are removed automatically.
Visual Differentiation: Colors for each timeframe are fully customizable, enabling immediate recognition of level origin.
Immediate Update: New levels appear as soon as a higher timeframe candle closes, ensuring real-time reference.
USAGE
From the indicator inputs, select which timeframes you want to track.
Adjust the extension lengths to fit your trading style and time horizon.
Customize the line colors for clarity and personal preference.
Use these projected levels as part of your confluence criteria for entries, exits, or stop placement.
Combine with trend indicators or price action tools to enhance your multi-timeframe strategy.
ORIGINALITY AND ADDED VALUE
While similar scripts exist that plot higher timeframe levels, this implementation differs in:
Its efficient automatic cleanup of old lines to preserve chart performance.
The independent extension and color settings per timeframe.
Immediate reaction to new candle closes without repainting.
Simplicity of use combined with precise customization.
This combination makes it a practical and flexible tool for traders who rely on clear HTF level visualization without manual drawing or the limitations of built-in TradingView tools.
LICENSE
This script is published open-source under the Mozilla Public License 2.0.
DriftLine - Pivot Open Zones [SiDec]What is DriftLine?
DriftLine is your visual roadmap for navigating the markets — designed for both day traders and swing traders who want to understand where price truly matters.
It automatically plots the most meaningful price levels on your chart:
dOpen → today’s open
pdOpen → yesterday’s open
bpdOpen → two days ago
wOpen → this week’s open
mOpen → this month’s open
yOpen → this year’s open
These are not just lines — they are the milestones big traders, funds, and algos watch to measure bias, performance, and momentum across timeframes.
DriftLine also layers on:
Fib zones (50%, 61.8%, 78.6%) between today’s and yesterday’s opens — highlighting natural pullback or continuation areas.
Fade bands around monthly and yearly opens — showing where the market may be overextended, exhausted, or ripe for reversal.
Optional % distance labels — letting you instantly see how stretched or compressed price is relative to key opens.
How to Use DriftLine
1️⃣ Daily setups:
Trade with the daily bias (dOpen vs. pdOpen). Use the fib pocket as a pullback zone or continuation platform.
2️⃣ Weekly trends:
Watch wOpen breaks + retests — often the start of powerful multi-day moves.
3️⃣ Monthly & yearly pivots:
Treat mOpen and yOpen as heavyweight macro levels — they shape sentiment and direction.
4️⃣ Fade bands:
Spot reactions at the outer bands around mOpen and yOpen — these zones often mark where trends pause or reverse.
Why Are Daily Opens So Important?
Many traders overlook dOpen (today’s open), pdOpen (yesterday’s open) and bpdOpen (before previous daily open) — but they’re the heartbeat of intraday trading.
Here’s why they matter:
🔷 Above dOpen → bullish bias.
The market is paying more than it opened — intraday momentum leans long.
🔷 Below dOpen → bearish bias.
We’re under today’s open — cautious, risk-off, or short setups.
🔷 pdOpen/bpdOpen as magnet & target.
Even in strong trends, price often revisits yesterday’s open. It can act as support, resistance, or a key flip level.
🔷 The Fib pocket between dOpen and pdOpen.
The 50–78.6% zone is a dynamic battleground. Watch for price to bounce, reverse, or break through here.
In short:
dOpen and pdOpen are your intraday compass, showing you whether you’re trading with or against the day’s flow.
Why Are Monthly Opens So Powerful?
The monthly open (mOpen) is a macro anchor for institutional traders.
It answers:
✅ Are we green or red for the month?
✅ Are big funds defending long exposure, or trimming risk?
🔷 Above mOpen = bullish tone, momentum follows.
🔷 Below mOpen = caution, risk-off, defensive market.
You’ll often see sharp reactions at mOpen — even when lower timeframes look messy.
Aligning your intraday or swing trades with the monthly bias improves your edge dramatically.
Why Is the Yearly Open (yOpen) Critical?
The yearly open (yOpen) is the king of all opens — the most powerful macro line on the chart.
Big funds, asset managers, and long-term traders benchmark everything against yOpen:
🔷 Above yOpen → bullish year tone.
Funds are green on the year; dips are often bought aggressively.
🔷 Below yOpen → bearish year tone.
Caution dominates; rallies tend to be sold or fade.
🔷 Sharp reactions at yOpen.
Expect explosive moves or violent rejections when price approaches this level — it’s where macro players act.
And when price hits the fade bands around yOpen?
It's a prime territory for reversals or profit-taking.
How to Add DriftLine to Your Chart
✅ Easiest way → Go to my TradingView profile, open the Scripts tab, and ⭐ Add to Favourites.
Then, on your chart:
1️⃣ Click Indicators → Favourites → select DriftLine
2️⃣ Done — you’re live!
Can I Customise It?
Absolutely!
You can:
🎨 Change line colours and thickness.
🎨 Pick fade band colours to match your theme.
🎨 Adjust fade zone width (e.g., 0.5% or 1%).
🎨 Toggle % distance labels on/off for a clean or detailed view.
⚡ Pro Tip: Use DriftLine With Confluence! ⚡
DriftLine is not a buy/sell signal tool.
It’s your map — but you need your own compass.
Combine it with:
Fibonacci retracements & extensions
Elliott Wave patterns
Order flow or volume profile
Momentum or trend indicators
Other tools
When multiple tools align at a DriftLine level, that’s where the magic happens — and where the highest-probability trades live.
Key Takeaway
DriftLine doesn’t predict the future — it frames the battlefield.
It highlights where the real action is happening:
Where price flips, where traders fight, and where momentum builds.
Use it as your market map, combine it with your favourite strategies, and let it sharpen your decisions.
🌊 Read the currents. Trade the flow.
Stay sharp, stay patient and trade with clarity.
Happy trading!
Premium/Discount with Candle Open stats [Herman]Premium/Discount with Stats
This indicator is designed to help traders identify and analyze premium/discount zones on any timeframe while automatically tracking statistics on price behavior relative to these zones. It is especially valuable for traders looking to structure entries, manage targets, and quantify market reactions to prior session ranges.
What it draws on the chart
✅ Range High and Low Lines
For each selected timeframe period (15min, 30min 1H, 4H, Daily), the indicator plots the high and low of the completed previous period.
These lines are color-coded dynamically based on sweep detection:
If the high was swept (price broke the previous high), the high line is marked as Premium.
If the low was swept, the low line is marked as Discount.
If both were swept or neither, it uses the default color settings.
✅ Midline
An optional midline at the 50% level of the previous period’s high-low range.
Helpful for mean-reversion traders or anyone watching for retests of equilibrium.
✅ Quartile Lines (25%–75%)
Optional additional lines at 25% and 75% of the previous range, helping traders visualize inner range subdivisions.
✅ Open Price Line
Marks the open price of the previous period as a horizontal reference.
✅ Background Fills
The region between low and midline is shaded with the Discount color.
The region between high and midline is shaded with the Premium color.
These optional fills help highlight the premium and discount zones visually.
✅ Current Incomplete Period Lines (optional)
You can choose to display provisional high, low, midline, quartiles, and open for the current forming period.
These update in real-time until the period closes.
Sweep Detection Logic
The indicator automatically tracks if the current period price sweeps above the previous period’s high or below the low.
A "sweep" is simply defined as price exceeding the previous high/low while tracking is active.
The sweep status affects the colors of the premium/discount lines, helping traders see potential liquidity grabs or stop hunts.
What it counts and tracks (Statistics)
The script automatically compiles statistics over time:
✅ Total Touches
Counts how many times the price in a new period touches either the previous period’s high or low.
A “touch” is registered once per side per period.
✅ Midline Returns
Counts how often, after touching the previous high/low, price returns to the previous period’s midline.
Gives you a measure of mean-reversion success.
✅ Open Returns
Similarly, tracks how often price returns to the previous period’s open after touching the previous high/low.
✅ Return Percentages
Displays the percentage of touches that result in a return to midline or open.
These percentages are calculated live on your chart and updated after each period closes.
✅ Stats Table
A customizable on-chart table summarizing all of these stats in real-time.
Helps traders evaluate the effectiveness of range-based trading setups over time.
How it Works (Technical details)
On each new bar, the script checks if a new period (as defined by your timeframe selection) has begun.
When a new period starts, the previous period’s high, low, open, midline, quartiles are recorded and drawn on the chart.
The script then “watches” the current period:
Updates provisional high and low.
Detects sweeps of previous highs/lows.
Tracks if price returns to the previous period’s midline or open after those sweeps.
Increments statistical counters if conditions are met.
Background fills and lines update dynamically based on real-time data.
Intended Use Cases
This indicator is ideal for:
✅ Identifying premium/discount zones for swing or intraday trades.
✅ Spotting liquidity sweeps and possible manipulation zones.
✅ Structuring trades with logical, data-driven target zones (midline, open).
✅ Quantifying the probability of mean-reversion moves after liquidity events.
✅ Developing and backtesting range-based trading models with live stats.
Highly Customizable
Choose any timeframe for defining the premium/discount range.
Toggle visibility of midline, quartiles, open line, current period preview.
Full control over colors, line styles, line widths, and background shading.
Optional real-time statistical table with total counts and return percentages.
Multi SMA AnalyzerMulti SMA Analyzer with Custom SMA Table & Advanced Session Logic
A feature-rich SMA analysis suite for traders, offering up to 7 configurable SMAs, in-depth trend detection, real-time table, and true session-aware calculations.
Ideal for those who want to combine intraday, swing, and higher-timeframe trend analysis with maximum chart flexibility.
Key Features
📊 Multi-SMA Overlay
- 7 SMAs (default: 5, 20, 50, 100, 200, 21, 34)—individually configurable (period, source, color, line style)
- Show/hide each SMA, custom line style (solid, stepline, circles), and color logic
- Dynamic color: full opacity above SMA, reduced when below
⏰ Session-Aware SMAs
- Each SMA can be calculated using only user-defined session hours/days/timezone
- “Ignore extended hours” option for accurate intraday trend
📋 Smart Data Table
- Live SMA values, % distance from price, and directional arrows (↑/↓/→)
- Bull/Bear/Sideways trend classification
- Custom table position, size, colors, transparency
- Table can run on chart or custom (higher) timeframe for multi-TF analysis
🎯 Golden/Death Cross Detection
- Flexible crossover engine: select any two from (5, 10, 20, 50, 100, 200) for fast/slow SMA cross signals
- Plots icons (★ Golden, 💀 Death), optional crossover labels with custom size/colors
🏷️ SMA Labels
- Optional on-chart SMA period labels
- Custom placement (above/below/on line), size, color, offset
🚨 Signal & Trend Engine
- Bull/Bear/Sideways logic: price vs. multiple SMAs (not just one pair)
- Volume spike detection (2x 20-period SMA)
- Bullish engulfing candlestick detection
- All signals can use chart or custom table timeframe
🎨 Visual Customization
- Dynamic background color (Bull: green, Bear: red, Neutral: gray)
- Every visual aspect is customizable: label/table colors, transparency, size, position
🔔 Built-in Alerts
- Crossovers (SMA20/50, Golden/Death)
- Bull trend, volume spikes, engulfing pattern—all alert-ready
How It Works
- Session Filtering:
- SMAs can be set to count only bars from your chosen market session, for true intraday/trading-hour signals
Dynamic Table & Signals:
- Table and all signal logic run on your selected chart or custom timeframe
Flexible Crossover:
- Choose any pair (5, 10, 20, 50, 100, 200) for cross detection—SMA 10 is available for crossover even if not shown as an SMA line
Everything is modular:
- Toggle features, set visuals, and alerts to your workflow
🚨 How to Use Alerts
- All key signals (crossovers, trend shifts, volume spikes, engulfing patterns) are available as alert conditions.
To enable:
- Click the “Alerts” (clock) icon at the top of TradingView.
- Select your desired signal (e.g., “Golden Cross”) from the condition dropdown.
- Set your alert preferences and create the alert.
- Now, you’ll get notified automatically whenever a signal occurs!
Perfect For
- Multi-timeframe and swing traders seeking higher timeframe SMA confirmation
- Intraday traders who want to ignore pre/post-market data
- Anyone wanting a modern, powerful, fully customizable multi-SMA overlay
// P.S: Experiment with Golden Cross where Fast SMA is 5 and Slow SMA is 20.
// Set custom timeframe for 4 hr while monitoring your chart on 15 min time frame.
// Enable Background Color and Use Table Timeframe for Background.
// Uncheck Pine labels in Style tab.
Clean, open-source, and loaded with pro features—enjoy!
Like, share, and let me know if you'd like any new features added.
SMA Crossing Background Color (Multi-Timeframe)When day trading or scalping on lower timeframes, it’s often difficult to determine whether the broader market trend is moving upward or downward. To address this, I usually check higher timeframes. However, splitting the layout makes the charts too small and hard to read.
To solve this issue, I created an indicator that uses the background color to show whether the current price is above or below a moving average from a higher timeframe.
For example, if you set the SMA Length to 200 and the MT Timeframe to 5 minutes, the indicator will display a red background on the 1-minute chart when the price drops below the 200 SMA on the 5-minute chart. This helps you quickly recognize that the trend on the higher timeframe has turned bearish—without having to open a separate chart.
デイトレード、スキャルピングで短いタイムフレームでトレードをするときに、大きな動きは上に向いているのか下に向いているのかトレンドがわからなくなることがあります。
その時に上位足を確認するのですが、レイアウトをスプリットすると画面が小さくて見えにくくなるので、バックグラウンドの色で上位足の移動平均線では価格が上なのか下なのかを表示させるインジケーターを作りました。
例えば、SMA Length で200を選び、MT Timeframeで5分を選べば、1分足タイムフレームでトレードしていて雲行きが怪しくなってくるとBGが赤になり、5分足では200線以下に突入しているようだと把握することができます。
Two Poles Trend Finder MTF [BigBeluga]🔵 OVERVIEW
Two Poles Trend Finder MTF is a refined trend-following overlay that blends a two-pole Gaussian filter with a multi-timeframe dashboard. It provides a smooth view of price dynamics along with a clear summary of trend directions across multiple timeframes—perfect for traders seeking alignment between short and long-term momentum.
🔵 CONCEPTS
Two-Pole Filter: A smoothing algorithm that responds faster than traditional moving averages but avoids the noise of short-term fluctuations.
var float f = na
var float f_prev1 = na
var float f_prev2 = na
// Apply two-pole Gaussian filter
if bar_index >= 2
f := math.pow(alpha, 2) * source + 2 * (1 - alpha) * f_prev1 - math.pow(1 - alpha, 2) * f_prev2
else
f := source // Warm-up for first bars
// Shift state
f_prev2 := f_prev1
f_prev1 := f
Trend Detection Logic: Trend direction is determined by comparing the current filtered value with its value n bars ago (shifted comparison).
MTF Alignment Dashboard: Trends from 5 configurable timeframes are monitored and visualized as colored boxes:
• Green = Uptrend
• Magenta = Downtrend
Summary Arrow: An average trend score from all timeframes is used to plot an overall arrow next to the asset name.
🔵 FEATURES
Two-Pole Gaussian Filter offers ultra-smooth trend curves while maintaining responsiveness.
Multi-Timeframe Trend Detection:
• Default: 1H, 2H, 4H, 12H, 1D (fully customizable)
• Each timeframe is assessed independently using the same trend logic.
Visual Trend Dashboard positioned at the bottom-right of the chart with color-coded trend blocks.
Dynamic Summary Arrow shows overall market bias (🢁 / 🢃) based on majority of uptrends/downtrends.
Bold + wide trail plot for the filter value with gradient coloring based on directional bias.
🔵 HOW TO USE
Use the multi-timeframe dashboard to identify aligned trends across your preferred trading horizons.
Confirm trend strength or weakness by observing filter slope direction .
Look for dashboard consensus (e.g., 4 or more timeframes green] ) as confirmation for breakout, continuation, or trend reentry strategies.
Combine with volume or price structure to enhance entry timing.
🔵 CONCLUSION
Two Poles Trend Finder MTF delivers a clean and intuitive trend-following solution with built-in multi-timeframe awareness. Whether you’re trading intra-day or positioning for swing setups, this tool helps filter out market noise and keeps you focused on directional consensus.
Order + Breaker Blocks MTF - Vees Hidden LiquidityThis indicator is a Hidden Liquidity Script, being a much more refined and precise version of "Order Blocks" also known as "Supply and Demand" zones.
This script is more refined and precise as this script is the only script that displays the exact body part of blocks on multiple timeframes, showing potentially powerful price reversal zones for taking a long or short.
This is a PRICE ACTION indicator, demonstrating price action that can result in potential good support/resistance levels for taking a long or short trade.
This indicator only displays the body part of order blocks, instead of including wicks that all other indicators do. That makes this script a much more refined version of all other scripts out there.
Not only that, this script can collate multiple timeframes into one indicator, again something other scripts cannot do.
This script is also unique compared to other Hidden Liquidity style scripts in that you have full control over each Order Block so you can see each individual block on a chart, whilst other charts combine them into a zone instead. This refined version gives you precise potential entries and much further refinement as well as more thorough backtesting capabilities.
This script also can highlight order blocks that pass THROUGH a Fair Value Gap. These are known as 'Breaker Blocks'. These powerful blocks can be places of interest as support or resistance for a long or short trade. Note: This script shows the body part of a block only and not the wick.
Breaker Blocks, where significant displacement has occurred in price past a block can be more powerful. This script does not highlight Fair Value Gaps themselves, only order blocks (supply and demand) and breaker blocks through displacement in price (through an FVG). FVGs on their own can be weaker without order blocks behind them hence they are not highlighted.
The BODY of the order block, and the 0.5 of the order block are key regions for considering a trade, treating that level as either resistance or support.
Important: PLEASE NOTE: This indicator will only show timeframes that are higher than or the same as the current chart timeframe.
For Example, only blocks 3 Days or higher will show on a 3D chart. It will not show 12h blocks on a 3D chart. You would need to go to a 12 hour chart with the 12h blocks showing to see all Blocks that are 12h or higher drawn.
SETTINGS:
There is options to change the colours of the boxes and to differentiate between Order Blocks and stronger Breaker Blocks if desired.
If this is NOT desired, make all color options the same color,.
Shown below is blue Order Blocks (Supply and Demand
Shown below there is Pink Breaker Blocks.
There is options to weaken the colour of blocks that have been tapped by a wick and thus partially used up, also called partially "mitigated".These blocks can be considered weaker support/resistance.
Once a block has had a wick or body close over it entirely, the block can be considered fully "mitigated" and will disappear from the indicator once that candle has closed. This block level can now be considered too weak. You can also choose to not show these partially mitigated blocks at all.
The charts above shows pale Violet blocks as partially mitigated or "tapped" blocks.
The blocks in HOT BRIGHT Violet are untapped and potentially stronger levels for a Long or Short trade. See below the 7h.
Additional SETTINGS:
Further options include, if selected: Counting the number of fair value gaps an order block may pass through. More FVGs an order block (now a breaker block) passes through can strengthen the support of that block level, making a reversal more likely.
There is an option of showing old mitigated order blocks and changing the color of these on the chart. This can aid in backtesting of levels.
Further Settings include:
- an option to remove very thin blocks that may not be strong points.
- an option to denote with a character such as a * blocks that have their EQ 0.5 region wicked - these can be considered weaker.
- an option to denote with an additional * or another character blocks that are barely tapped by a small percent so you know they are still considered quite strong.
- an option to show how many candles form the order block.
Additional Options include:
- an option to show blocks only within a specific price range or percent range of the current price.
- an option to only look X number of bars back.
There is Options regarding labelling, and Border widths on boxes.
It is ESSENTIAL to do your own research and backtesting!
It is recommended to combine these levels with other concepts for added confluence.
Other indicators are NOT included in this script. This is purely a refined order block script for the BODY of a block only.
You can combine Order Blocks and stronger versions known as Breaker Blocks in this script with other indicators or concepts to form a Full Trading Strategy.
Other potential concepts to combine, not shown in this script can include Smart Money Concepts, Market Structure, Fibonnaccis, SMAs, EMAs or any other concept to give added confluence to the support / resistance levels identified in this script that may indicate that the level is stronger.
This indicator is not a trading strategy on its own. It is best used in combination with other concepts to improve the success.
Backtesting this indicator is highly recommended and incorporated into a full trading system of your own design. This only identifies possible key regions based on Price Action Strategies.
This indicator simply makes the identification of these hot levels easier and simpler to find, especially across multiple timeframes.
A strong bright zone on the indicator can be a stronger level than a weak partial block that is in light colours.
Again -Please do your own research and backtesting.
These indicators make finding these levels much much simpler and easier when combined with a full trading strategy.
Any feedback is welcome.
Multi-Timeframe OHLC Levels█ OVERVIEW
A fully customizable multi-timeframe indicator that independently plots levels based on the open, previous close, previous high, previous low, and previous mid-price.
This tool is ideal for traders who require a high level of tailoring and usability.
█ FEATURES
Multi-timeframe
Select the timeframe for each level separately. The indicator shows higher timeframe levels down to the 1-second chart.
Multi-source
Choose the source for each level individually from the current open, previous close, previous high, previous low, and previous mid-price.
Past levels
Manage the number of relevant levels displayed on historical bars for trading or backtesting.
Projections
Extend the levels to the current price action with clear and clean options.
Styling
Adjust the appearance according to your preferences and screen size using options for color, line style, line thickness, custom name, and text size.
█ NOTES
This is a PREMIUM indicator.
You may also find my free Daily Weekly Monthly Yearly Opens and Previous Day Week Highs & Lows indicators helpful.
HTF Box Range Overlay - FIXEDThis script overlays higher timeframe candles (e.g. 4H) onto lower timeframe charts (e.g. 5min), showing both the body and wick ranges of the last N HTF candles.
Features:
✔ Displays both candle body and wick as separate shaded boxes
✔ Fully customizable for bullish/bearish colors and wick appearance
✔ Supports any higher timeframe (15m, 1H, 4H, 1D, etc.)
✔ Clean overlay with no performance lag
✔ Automatically adjusts in real-time as new candles form
Great for traders using HTF zones, supply/demand, or structure-based confluence. Works best when used on intraday charts.
Aqua MTF Trend Oscillator——————————————————————————————————————————————————————————
The Aqua Multi-Timeframe (MTF) Trend Oscillator is a comprehensive momentum and trend analysis tool designed to synthesize
complex market dynamics into a single, intuitive oscillator. It moves beyond single-timeframe analysis by aggregating
trend information from up to five distinct, user-configurable sources—spanning different timeframes, symbols, and
moving average types.
--- CORE CONCEPT ---
The strength and direction of a trend are rarely uniform across all market perspectives. This indicator's core
principle is to quantify and weigh the trend's character from multiple angles simultaneously. By blending these
perspectives, it generates a composite score that reflects the overall "consensus" of trend momentum, providing
a more robust view than any single moving average could offer alone.
--- METHODOLOGY ---
The indicator's power lies in its sophisticated, multi-step normalization process for each analysis slot:
1. **MA Calculation:** A standard moving average (e.g., EMA, SMA) is calculated for the specified source, symbol, and timeframe.
2. **Volatility-Normalized Distance:** It first measures the deviation of price from its moving average in terms
of Average True Range (ATR) units. This volatility-normalization step is crucial for comparing trend strength
across different timeframes or instruments, as it measures distance in a context-aware manner.
3. **Magnitude Squashing:** This ATR-based distance is then passed through a hyperbolic tangent (`tanh`) squashing
function. This elegantly transforms the potentially unbounded measurement into a standardized score oscillating
between -1 (maximum bearish magnitude) and +1 (maximum bullish magnitude). This prevents extreme outliers in one
timeframe from disproportionately skewing the final result.
4. **Weighted Aggregation:** Each of these normalized (-1 to +1) scores is then combined based on a user-defined
weight. The weighted average of all enabled slots produces the final composite score.
5. **Final Scaling & Smoothing:** The composite score is scaled to oscillate between -100 and +100. An optional
final smoothing pass can be applied to this master line to reduce noise and clarify the overall trend.
All higher-timeframe calculations are performed correctly within their native context to ensure the indicator is
non-repainting and provides a stable, reliable output on the chart.
--- KEY FEATURES ---
• **Five Independent Analysis Slots:** Fully customize up to five sources, each with its own symbol, timeframe, MA type, period, and weight.
• **Advanced Normalization:** Utilizes ATR and the hyperbolic tangent function for robust, comparable trend magnitude scores.
• **Correct MTF Calculation:** Employs best practices for non-repainting data requests, ensuring historical and real-time results are consistent.
• **Weighted Composite Score:** Assign importance to different timeframes to tailor the oscillator to your specific analytical needs.
• **Optional Master Smoothing:** Apply a final MA to the composite score line for enhanced clarity and signal filtering.
• **Clear Visualization:** A simple, color-coded oscillator line shows the final trend score, while individual component trends can also be plotted.
--- HOW TO INTERPRET ---
• **Zero Line Cross:** A cross above 0 indicates that the weighted balance of trend components has shifted to bullish. A cross below 0 signals a shift to bearish.
• **Oscillator Magnitude:** Values approaching +100 suggest a strong, broad-based uptrend consensus. Values nearing -100 indicate a strong downtrend consensus.
• **Slope:** The slope of the oscillator line indicates the accelerating or decelerating nature of the aggregate trend momentum.
• **Divergence:** As with any oscillator, watch for divergences between price action and the oscillator, which can signal a potential exhaustion of the prevailing trend.
Author: Aquaritek
——————————————————————————————————————————————————————————
Aqua MTF Stochastic Oscillator——————————————————————————————————————————————————————————
The Aqua Multi-Timeframe (MTF) Stochastic Oscillator is a comprehensive momentum analysis tool that synthesizes
stochastic data from up to five distinct, user-configurable sources and timeframes into a single, unified view.
--- CORE CONCEPT ---
Traditional oscillators provide insight into one specific timeframe. This indicator overcomes that limitation by
aggregating momentum readings from multiple timeframes. The core principle is to gauge the confluence of momentum
across different market cycles. A strong trend is often characterized by aligned momentum across short-term,
medium-term, and long-term perspectives. This tool visualizes that alignment in a clear, intuitive oscillator.
--- METHODOLOGY ---
For each of the five analysis slots, the script calculates the Stochastic %K line and its corresponding %D signal line.
To allow for direct comparison and weighting, each of these standard 0-100 oscillator values is then normalized
to a bipolar scale of -100 to +100, where 0 represents the neutral midline.
These normalized scores are then blended, according to user-defined weights, into two master composite lines:
1. A master "Score Line" representing the weighted average of the raw %K momentum values.
2. A master "Signal Line" representing the weighted average of the smoothed %D signal values.
--- KEY FEATURES ---
• Multi-Timeframe & Multi-Symbol Analysis: Configure up to five slots, each with its own symbol, timeframe, price source, and stochastic settings.
• Normalized Momentum Scale: All stochastic values are re-scaled to a -100 to +100 range, providing a standardized measure of momentum. Values above 0 indicate bullish momentum, while values below 0 indicate bearish momentum.
• Weighted Composite Score: User-defined weights allow for prioritizing certain timeframes, creating a custom-tailored final momentum reading.
• Dynamic Color-Coding: The color of the master Score Line and each individual timeframe's line instantly changes based on its position relative to its signal line (%K vs. %D). This provides immediate visual feedback on momentum acceleration (bullish) or deceleration (bearish).
--- HOW TO INTERPRET ---
• Crossovers: The interaction between the master Score Line and the Signal Line can be used to identify potential shifts in momentum, similar to a traditional MACD.
• Line Color: The color of the master Score Line itself serves as a primary signal. A bullish color indicates that overall raw momentum is leading smoothed momentum, and vice-versa.
• Overbought/Oversold Levels: Extreme readings near the +100 or -100 levels suggest that the aggregated momentum may be overextended and due for a reversion.
• Zero Line Crosses: When the oscillator crosses above the zero line, it signals that the balance of momentum has shifted to positive territory. A cross below zero signals a shift to negative territory.
• Divergence: Look for divergences where price makes a new high or low, but the oscillator fails to confirm it. This can often signal a pending reversal.
Author: Aquaritek
——————————————————————————————————————————————————————————
Multi-Session MarkerMulti-Session Marker is a flexible visual tool for traders who want to highlight up to 10 custom trading sessions directly on their chart’s background.
Custom Sessions: Enter up to 10 time ranges (in HHMM-HHMM format) to mark any market session, news window, or personal focus period.
Visual Clarity: For each session, toggle the highlight on or off and select a unique background color and opacity, making it easy to distinguish active trading windows at a glance.
Universal Time Handling: Session times automatically follow your chart’s time zone—no manual adjustment required.
Efficient and Fast: Utilizes TradingView’s bgcolor() for smooth performance, even on fast timeframes like 1-second charts.
Clean Interface: All session controls are grouped for easy editing in the indicator’s settings panel.
How to use:
In the indicator settings, enter your desired session times (e.g., 0930-1130) for each session you want to highlight.
Toggle “Show Session” and pick a color for each session.
The background will automatically highlight those periods on your chart.
This indicator is ideal for day traders, futures traders, or anyone who wants to visually segment their trading day for better focus and analysis.
Multi-Timeframe 20 EMA Horizontal LinesOverview
This Multi-Timeframe 20 EMA indicator provides intelligent trend analysis by displaying your current timeframe EMA alongside relevant higher timeframe EMA levels as horizontal support/resistance lines. On lower timeframes, you see all higher EMA levels for comprehensive multi-timeframe confluence, while on higher timeframes, it filters out lower timeframe noise to maintain focus on macro trends. This allows traders to align short-term entries with long-term market structure, identifying high-probability setups where multiple timeframe EMAs converge while using the current timeframe EMA for precise timing.
Feature
Multi-Timeframe Horizontal EMA Lines
The indicator fetches and displays 20 EMAs from five higher timeframes:
Daily (D): Daily 20 EMA
Weekly (W): Weekly 20 EMA
Monthly (M): Monthly 20 EMA
Quarterly (Q): 3-Month 20 EMA
Half-Yearly (HY): 6-Month 20 EMA
Intelligent Timeframe Filtering
Smart Display Logic: Only shows EMAs from timeframes higher than your current chart timeframe
Prevents Redundancy: Automatically filters out lower timeframe EMAs to avoid clutter
Example: On a 4-hour chart, you'll see Daily, Weekly, Monthly, Quarterly, and Half-Yearly EMAs, but on a Weekly chart, you'll only see Weekly and higher timeframes
Half-Yearly (HY): 6-Month 20 EMA
Shows only current timeframe EMA with half-yearly horizontal line, filtering out all lower timeframes.
Quarterly (Q): 3-Month 20 EMA
Displays current timeframe EMA with quarterly and higher horizontal lines, hiding monthly, weekly, and daily EMAs.
Monthly (M): Monthly 20 EMA
Shows current timeframe EMA with monthly and higher horizontal EMAs, excluding weekly and daily timeframes.
Weekly (W): Weekly 20 EMA
Displays current timeframe EMA with weekly and higher horizontal EMA lines, filtering out daily timeframe.
Daily (D):
Shows current timeframe EMA with all higher timeframe horizontal EMAs (daily, weekly, monthly, quarterly, half-yearly).
Note: Make sure to enable Price-Line in Style Settings after Importing Script.
MA Cross MTF Alert (Miu)This script extends the classic moving average crossover strategy with support for up to 8 user-defined symbols across 4 custom timeframes, combined with a visual and alert system designed for traders who monitor multiple assets simultaneously.
Unlike traditional MA crossover tools, this script enables traders to receive real-time alerts for crossovers across multiple assets and timeframes, even when the script is not actively displayed on the chart — ideal for passive monitoring in multi-asset strategies.
What it does:
This script calculates two customizable moving averages (SMA or EMA) for each selected symbol and timeframe.
It then tracks crossover events:
- Bullish crossover when the fast MA crosses above the slow MA
- Bearish crossunder when the fast MA crosses below the slow MA
On the chart, it also displays the crossover signals for the current symbol and timeframe using color-coded cross icons.
Key features:
- Select SMA or EMA type for both moving averages
- Customize MA lengths and colors
- Works with any asset and timeframe
- Alerts include symbol and timeframe info for easy identification
How to use:
1) Add the indicator to your chart.
2) Choose the moving average type and lengths.
3) Enable/disable any of the 8 symbols and 4 timeframes.
4) Set up TradingView alerts by clicking “Create Alert” and selecting one of the alert() calls.
5) You will receive a message like:
BTC (1h) | MA Crossover ▲ or ETH (15m) | MA Crossunder ▼
Technical note:
This script uses request.security() to retrieve moving average values from up to 8 different symbols and 4 different timeframes in real time.
Feel free to leave your feedback or suggestions in the comments section below.
Enjoy!
Correlation MA – 15 Assets + Average (Optional)This indicator calculates the moving average of the correlation coefficient between your charted asset and up to 15 user-selected symbols. It helps identify uncorrelated or inversely correlated assets for diversification, pair trading, or hedging.
Features:
✅ Compare your current chart against up to 15 assets
✅ Toggle assets on/off individually
✅ Custom correlation and MA lengths
✅ Real-time average correlation line across enabled assets
✅ Horizontal lines at +1, 0, and -1 for easy visual reference
Ideal for:
Portfolio diversification analysis
Finding low-correlation stocks
Mean-reversion & pair trading setups
Crypto, equities, ETFs
To use: set the benchmark chart (e.g. TSLA), choose up to 15 assets, and adjust settings as needed. Look for assets with correlation near 0 or negative values for uncorrelated performance.