TRI - Multi-Timeframe FVGTRI - MULTI-TIMEFRAME FAIR VALUE GAPS v1.0.0
DESCRIPTION:
Advanced multi-timeframe Fair Value Gap (FVG) indicator that displays FVG zones from higher timeframes
on your current chart. Supports automatic or manual timeframe selection with comprehensive visualization
and alert system.
KEY FEATURES:
Multi-timeframe FVG detection - view FVG from any higher timeframe
Automatic timeframe selection - configure different FVG timeframes for each chart timeframe
Automatic mitigation detection - zones change color when price mitigates them
Configurable FVG threshold - filter out small gaps
Customizable visualization - colors, borders, labels, text colors
Smart zone inclusion - larger zones automatically remove smaller included zones
Memory efficient - automatic cleanup of expired zones
HOW IT WORKS:
A Fair Value Gap (FVG) is detected when there's a 3-candle pattern with a gap between candle 1 and
candle 3, indicating institutional order flow imbalances. Bullish FVG occurs when candle 3's low is
above candle 1's high (gap up), creating a demand zone shown in green. Bearish FVG occurs when candle
3's high is below candle 1's low (gap down), creating a supply zone shown in red.
The indicator uses request.security() to fetch data from the selected higher timeframe, detects FVG
patterns on that timeframe, and displays them on your current chart. FVG zones remain active until
price closes through them (mitigation), then change color and remain visible for a configurable
number of bars before disappearing.
TIMEFRAME CONFIGURATION:
Configure different FVG timeframes based on current chart timeframe:
1m-5m charts → Default 4h FVG
15m charts → Default 4h FVG
30m-1h charts → Default 4h FVG
4h charts → Default 4h FVG
Daily charts → Default Daily FVG
Weekly charts → Default Weekly FVG
Monthly charts → Default Monthly FVG
All timeframes are configurable via input settings.
BEST USE:
Works on all timeframes and asset classes. Particularly useful for intraday traders who want to see
higher timeframe FVG zones on their lower timeframe charts. FVG zones often act as support/resistance
and are frequently filled by price returning to rebalance the imbalance. Use them to identify potential
entry/exit points, stop-loss placement, and institutional order flow areas.
Multitimeframe
Dynamic Swing Anchored VWAP (Zeiierman) with alert functionoriginal script by the author, added alert function only
MTF Switch Level (Single TF)Multi-timeframe Switch Level (Single TF)
This indicator marks the most recent “switch level” created by breakout / breakdown behaviour on the current timeframe.
How it works
– After a bullish breakout (close above the previous bar’s high), the script sets a bearish switch level at that previous high.
– After a bearish breakdown (close below the previous bar’s low), it sets a bullish switch level at that previous low.
– A single horizontal line extends from the latest switch level.
– The line and “S” label turn bullish when price is above the level and bearish when price is below it.
– Optional alerts fire when price crosses the active switch level.
Use-cases
– Visualise where breakout traders are likely trapped.
– Define a simple “above = bullish / below = bearish” bias line.
– Combine with higher-timeframe analysis or other tools for context.
Inputs
– Enable/disable bullish and bearish switch conditions.
– Line length, colour, style, thickness.
– Label position and offsets.
– Alert conditions for crosses.
Disclaimer
This tool is for charting and educational purposes only and is not financial advice or a signal service. Always do your own research and risk management.
RSI Swing Indicator (Win-Rate + Forecast Line + Range Row)What the script does:
It’s essentially an enhanced RSI tool that doesn’t just show the raw RSI line. Instead, it adds forecasting, trade statistics, and range detection so you can see how reliable RSI signals have been historically and what they might mean going forward.
The main components
RSI Calculation
- Uses your chosen source (close, hl2, etc.) and length (default 7).
- Plots the RSI line (orange).
Forecasting
- Projects RSI into the future using slope extrapolation.
- Plots a forecast line (blue) and shows whether RSI is likely to become overbought, oversold, or stay neutral.
Trade Statistics
- Tracks how many long and short trades would have been profitable based on RSI bias.
- Calculates Win‑Rate (percentage of profitable trades) and Average Return (average gain/loss per trade).
- This gives you a statistical edge: are longs or shorts historically working better?
Bias & Conflict Detection
- Defines current bias (Bullish, Bearish, Neutral).
- Flags Conflict when the forecast disagrees with the current bias (e.g., RSI bullish now but forecast bearish).
- Helps you avoid trading against weakening momentum.
Range Detection
- Checks if RSI slope is flat and values are between mid‑bounds (40–60).
- Calculates Range Probability (how often range conditions occur).
- Adds a Range row to the table so you know when the market is likely sideways instead of trending.
Table Display
- Summarizes everything in a neat table: Forecast, Win‑Rates, Avg Returns, Prob Bias, Conflict, Range Prob, and Range status.
- Color‑coded so you can instantly see what’s favorable (green), risky (red), or neutral (yellow/orange).
How to use it
- Trend trading: Look for Profitable Bias with forecast alignment.
- Range trading: When both win‑rates are weak and Range row says Range Likely, fade extremes (buy low RSI, sell high RSI).
- Risk management: Avoid trades when Conflict is flagged.
- Forecasting: Use the projected RSI to anticipate overbought/oversold zones before they happen.
In short:
The script is like a “smart RSI dashboard”. It takes the basic RSI, adds forecasting, tracks how well past trades worked, and tells you whether the market is trending or ranging. This way, you’re not just reacting to RSI — you’re trading with context, probabilities, and forward‑looking signals.
PDL & PDH + Separators D&W + TimeZone [MattRick]Indicador Simple y Fácil.
Combinación de algunos que fui encontrando.
NoProcess Prior Month/Week/Day High/Low/EQ Prior Period Levels
Plots key support/resistance levels from previous timeframes: Day, Week, and Month.
Levels Displayed:
PDH/PDL/PDE — Prior Day High, Low, and Equilibrium (midpoint)
PWH/PWL/PWE — Prior Week High, Low, and Equilibrium
PMH/PML/PME — Prior Month High, Low, and Equilibrium
Features:
Toggle each timeframe independently
Single color control for clean chart aesthetics
Configurable right extension (1-50 bars)
Dotted line style with labels positioned at line endpoints
Use Case:
Reference levels for institutional order flow concepts. Prior period highs/lows act as liquidity pools; equilibriums mark fair value zones where price often rebalances. Works on any instrument and timeframe.
FANBLASTERFANBLASTER
Methodology & Rules (Live Trading Version)
Purpose
Catch the exact moment the market flips from chop into a high-conviction trending move using a clean, stacked Fib EMA ribbon + volatility + volume confirmation.
Core Idea
When the 5-8-13-21-34-55 EMA stack suddenly “fans out” in perfect order with significant separation, a real trend is being born. Most retail traders chase late – FANBLASTER alerts you on the very first bar the fan opens.
What Triggers a “FAN BLAST” Alert
Perfect EMA Alignment
Bullish: 5 > 8 > 13 > 21 > 34 > 55
Bearish: 5 < 8 < 13 < 21 < 34 < 55
(Has to flip from NOT aligned on the previous bar → aligned on this bar)
Significant Separation
Distance between EMA 5 and EMA 55 ≥ 1.3 × ATR(14)
(1.3 is the ES sweet spot – filters fake little wiggles)
Trend Strength Confirmation
ADX(14) ≥ 22
(Ensures the move isn’t just noise; ES trends explode while ADX is still climbing)
Volume Conviction
Current volume > 1.4 × 20-period EMA of volume
(Real moves have real participation)
When ALL FOUR conditions are true on the same bar → you get the green or red circle + phone alert.
How to Trade It (Live Rules)
Alert fires → look at the chart immediately
If price is pulling back to the 8 or 13 EMA in the direction of the fan → enter on touch or close above/below
Initial stop: opposite side of the fan (below the 55 for longs, above the 55 for shorts)
Target: 2–4 R minimum, trail with the 21 or 34 once in profit
No alert = stay flat. This is a “trend birth” sniper, not a scalping tool.
Best Instruments & Timeframes (2025)
ES & NQ futures
2 min, 5 min, 15 min (all work with the exact same settings)
Works on MES/MNQ too (same params)
Bottom Line
FANBLASTER sits silent 90 % of the day and only screams when the market is actually about to run 20–100+ points.
One alert = one high-probability trend. That’s it.
Lock it, load it, and let the phone do the hunting.
Good luck, stay disciplined, and stack those points.
— Your edge is now live.
HTF Candle Overlay – Multi-Timeframe Visualization ToolThis indicator overlays true Higher Timeframe (HTF) candlesticks directly onto any lower timeframe chart, allowing you to see the larger market structure while trading on precise execution timeframes such as 1-minute, 3-minute, or 5-minute.
Instead of constantly switching chart timeframes, you can now see both higher and lower timeframe price action at the same time. Each HTF candle is drawn as a large transparent candlestick with full upper and lower wicks, perfectly aligned in both time and price.
This makes it easy to identify:
- Trend direction from the higher timeframe
- Key support and resistance zones inside each HTF candle
- Liquidity sweeps and rejections across timeframes
- Optimal entries on lower timeframes with higher-timeframe confirmation
Key Features
- Displays true Higher Timeframe candles on any lower timeframe
- Clear transparent candle bodies for unobstructed price visibility
- Full upper and lower wicks
- Non-repainting confirmed candles
- Optional live display of the currently forming HTF candle
- Accurate time-based alignment
- Lightweight and optimized for performance
Who This Indicator Is For
- Scalpers who want higher-timeframe bias
- Day traders using multi-timeframe confirmation
- Smart Money / ICT traders monitoring HTF structure
- Anyone who wants clean multi-timeframe clarity without chart switching
How To Use
- Apply the indicator to any chart.
- Select your preferred Higher Timeframe (HTF) in the settings.
- Use your lower timeframe for entries while respecting HTF structure and direction.
- This tool helps you trade with the bigger picture in view while executing with precision on lower timeframes.
AKP Momentum TableThe table give at one glance the RSI,ADX and Relative Strength values on the 15 min,125 min, Daily,Weekly and Monthly timeframes to help identify the stocks with strong momentum securities. The Table is movable at various parts of the screen from a drop down menu and the values of RSI,ADX and RS period can also be changes.Enjoy!
Daily Tracker Highs LowsSolid lines mark the most recent daily highs/lows that have not been crossed yet (you choose how many per side).
Dashed lines mark daily highs/lows from the last N days that have been crossed since—use as secondary S/R or “magnet” levels.
White lines show today’s high/low updating in real time.
Tune settings to pick how many uncrossed levels per side (1–10), the lookback window for crossed levels, and an optional cap per side.
(5+15+60min+1D)EMA20+Y'SH/L+count简介: 这是一个专为 5分钟图表 (5min Chart) 日内交易者设计的综合辅助工具。它结合了多周期趋势均线、美股核心交易时段的时间周期计数以及关键流动性位置(前一日高低点)的智能突破监测。该脚本针对美股个股及 24/7 交易的 BTC/ETH 进行了优化,强制锁定纽约时间进行运算。
核心功能:
1. 多周期 EMA 监控系统 (MTF EMAs)
5min EMA20 (蓝色):日内短期趋势核心线(默认开启)。
60min EMA20 (绿色):小时级别趋势参考(默认开启)。
15min EMA20 (红色) & 1D EMA20 (橙色):可选开启,用于捕捉更大周期的支撑阻力。
特点:所有均线采用最细线宽,平滑显示,右上角表格实时展示当前价格。
2. 美股时段 Bar Count 计数器
时间锚定:以纽约时间 (New York Time) 09:30 开盘为起点(Bar 0)。
显示规则:仅在 K 线底部显示 偶数 序号 (0, 2, 4, 6 ...),直至第 82 根 K 线停止。
关键时间窗 (Time Pivots):
Bar 18 (约 NY 10:55) 和 Bar 40 (约 NY 12:45) 会被自动高亮。
字体变为 蓝色粗体,且对应 K 线实体变为蓝色,提示潜在的变盘或宏观流动性注入时刻。
3. 智能 PDH/PDL 射线 (Smart Rays)
精确锚点:前一日高点 (PDH) 和低点 (PDL) 的射线不是从开盘画起,而是从昨日形成高低点的具体时间点射出,精确还原价格行为。
自动阻断 (Breakout Logic):一旦当前价格触碰或突破该射线,射线将自动停止延伸,直观展示“阻力/支撑已失效”。
自动清理:每日自动清除旧线,仅保留当天的参考线,保持图表整洁。
4. 视觉优化
每日分割线:自动绘制灰色虚线分隔交易日。
图表限制:脚本仅在 5分钟图表上可见,切换周期自动隐藏,避免干扰大周期分析。
设置说明:
可在设置面板中自由开关各周期 EMA 的显示。
可开关底部的计数数字显示。
English Version (for TradingView Publishing)
Title: 5min Intraday Precision Toolkit: MTF EMAs + NY Session Count + Smart Rays
Introduction: This is a comprehensive auxiliary tool designed specifically for 5-minute chart intraday traders. It combines multi-timeframe trend EMAs, time cycle counting based on the US Session, and smart breakout monitoring for key liquidity levels (Previous Day High/Low). Optimized for US Equities and Crypto (BTC/ETH) using New York Time.
Key Features:
1. Multi-Timeframe EMA System
5min EMA20 (Blue): Core short-term intraday trend (On by default).
60min EMA20 (Green): Hourly trend reference (On by default).
15min EMA20 (Red) & 1D EMA20 (Orange): Optional overlays for higher timeframe support/resistance.
Visuals: All EMAs are rendered with fine lines for a clean look, accompanied by a top-right dashboard table.
2. NY Session Bar Count
Time Anchor: Starts counting from 09:30 New York Time (Bar 0).
Display Logic: Displays only EVEN numbers (0, 2, 4...) at the bottom of the bars, stopping at count 82.
Time Pivots:
Bar 18 (~10:55 NY) and Bar 40 (~12:45 NY) are highlighted.
Labels turn Bold Blue, and the specific candles are colored Blue to indicate potential reversal or liquidity injection times.
3. Smart PDH/PDL Rays
Precise Origin: Rays for Previous Day High (PDH) and Previous Day Low (PDL) originate from the exact timestamp they were created yesterday, not just the daily open.
Breakout Stop Logic: Rays automatically stop extending once price touches or breaks them, clearly indicating that the level has been tested.
Auto-Clean: Automatically removes old rays from previous days to keep the chart clean.
4. Visual Optimization
Daily Separators: Automatic vertical dotted lines marking new days.
Visibility: All elements are hidden on non-5m charts to prevent clutter.
Settings:
Toggle visibility for individual EMAs.
Toggle visibility for the bottom bar counter.
ONH / ONL Auto LevelsThis script automatically detects and plots the Overnight High (ONH) and Overnight Low (ONL) for each trading day.
It scans the entire overnight/Globex session (default: 18:00–09:30 EST for ES futures) and records the highest and lowest prices formed during that period.
At the start of the regular trading session (RTH), ONH and ONL levels remain on the chart as key liquidity zones.
These levels are commonly used for:
• Identifying liquidity sweeps
• Opening drive reversals
• Break-and-retest setups
• VWAP + ON levels confluence
• Scalping on 1m–5m charts
The script updates automatically every day and draws clean, minimal levels suitable for intraday traders.
Time settings can be adjusted to match any market or instrument.
OHLC HistoryOHLC History is a Pine Script v6 overlay that snapshots up to 32 historical OHLC-derived levels from a selectable higher (or different) timeframe and projects them onto the active chart. It uses request.security to fetch the chosen source (Close/High/Low/Open), rounds each value to the instrument’s minimum tick, and stores them in an array. A “Max Number Lookback” input limits how many of those levels are rendered. For each retained level the script draws a horizontal line extended both ways, coloring it dynamically based on whether the level is above (customizable “above” color) or below (customizable “below” color) the current price, and places compact labels (01–32) with optional price text offset by a user-defined label distance. Prior bar artifacts (lines and labels) are explicitly deleted each update to keep the chart clean, while small white plot markers ensure the levels appear in the price scale and data window for quick reference.
BTC Swing Plan – Levels & ZonesThis indicator draws a structured breakout model for BTCUSD with clearly defined entry levels, stop zones, and four realistic upside targets.
It automatically plots:
Breakout zone
Stop-loss zone
Target 1
Target 2
Target 3
Target 4 (stretch target)
Midlines & color-coded structure boxes
This tool is designed for traders who prefer clean execution levels, disciplined risk management, and realistic price expansion steps—not overly aggressive moon projections.
All levels are fully adjustable from the settings menu.
MTF Bias Alert SystemMulti-Time-Frame Bias Alert System
include HTF BIAS and any Time Frame Confluence
Fractal MTF MA System Overview Unlock the fractal nature of the market with a single, clean indicator. This tool allows you to visualize the exact same Moving Average length (default: 50) across 5 different timeframes simultaneously. By comparing "apples to apples" across time dimensions, you get a clear, immediate view of the overall market trend and momentum health.
No more switching charts or manually adding 5 different indicators. This script does it all with a single global setting.
Key Features
🧩 Fractal Logic: Applies one consistent calculation (e.g., 50 Period) to 15m, 30m, 1H, 2H, and 4H timeframes.
🎛️ Global Control: Change the Length or MA Type once, and it instantly updates all 5 lines. No need to adjust each line individually.
🚀 3 Calculation Modes: Switch between DEMA (Double Exponential - Default/Fast), EMA (Standard), or SMA (Smooth) to fit your trading style.
🎨 Visual Clarity: Choose between Step mode (for precise MTF levels) or Line mode (for a smoother, cleaner look).
How to Use This Indicator
1. Trend Following (The Fan) When the market is trending strongly, the lines will stack in perfect order:
Bullish: Price > 15m > 30m > 1H > 2H > 4H.
Bearish: Price < 15m < 30m < 1H < 2H < 4H.
Strategy: Ride the trend as long as the "Fan" is open and orderly.
2. Mean Reversion (The Snap-Back) When the price moves too far from the anchor line (the 4H line) and the gaps between the lines become extreme, the market is "overextended" (like a stretched rubber band).
Strategy: Watch for price to stall and cross back over the fastest line (15m) as an early sign of a correction towards the slower averages.
3. Dynamic Support & Resistance During a trend, price often pulls back to test the 1H or 2H lines before continuing. These lines act as dynamic support zones.
Settings
Global Length: Sets the lookback period for ALL lines (Default: 50).
MA Type: Select DEMA, EMA, or SMA.
Line Style: Toggle between Step (precise) or Line (smooth).
Individual Toggles: You can hide specific timeframes via the settings menu if you want a cleaner chart.
Enjoy the clean charts! Feedback and likes are appreciated. 🚀
Liquidity Analysis🙏🏻 Liquidity Analysis is 1 of 2 structural layer / orderflow layer analysis scripts. Both are independent so can’t be released together as a single script, but should be used together. The second one which is called (Signed) Volume Analysis is incoming.
The same math used in this script can be applied on other types of profile-like data: orderbooks, trading volumes of all options for each strike.
Important: market or volume profile, just as orderbooks and options traded volume by strikes, are all liquidity ‘estimates’, showing where liquidity is more likely or less likely to be. These estimates however, especially combined with other info, are really useful and reliable.
This script works with inferred volumes vs the provided one. It's the better choice for equities, bonds; neutral choice for currencies; and suboptimal choice for natural & artificial commodities.
Contents:
Output description;
How to analyze & use the outputs;
How to use it together with upcoming (Signed) Volume Analysis script;
How did I use both scripts to finish The Leap profitably and skipped many losses.
1. Output description
Color of the profile reflects the liquidity imbalance state: red is negative, purple is neutral, blue is positive.
Bar coloring represents history values of liquidity imbalance for backtesting purposes. It can be turned on/off in the script's Style settings.
Two purple vertical lines represent calculated borders of excessive liquidity (HVN), scarce liquidity (LVN), and sufficient liquidity (NVN) zones.
Vertical dash line marks the moving window end, this way you can be certain over what exact data you see the profile was built.
2. How to analyze & use the outputs
Setup up the script:
Moving window length: set it to ~ ¼ of your data analysis window. E.g if you see on your charts and use ~ 256 bars, set the length to 64.
Native tick size multiplier: leave it at 0 to calculate optimal number of rows automatically, or set it manually to match native tick size multiples you desire.
Use 2 timeframes: main one and a far lower one 3 steps down, just like on the screenshot.
Native lot size multiplier allows to round profile rows themselves to nearest multiples of native lot size. I added this just in case any1 needs it.
Find out current liquidity imbalance state:
As mentioned before, based on profile color, it can be negative, neutral or positive. This is the state variable that changes slowly and denies/confirms the signals that would be explained in the minute.
I use my own statistically grounded imbalance metric (no hardcoded/learned thresholds), that unlike mainstream imbalance metrics (e.g orderbook imbalance as sum of bids vs sum of asks) provides a natural neutral zone, when liquidity imbalance is ofc there but not strong enough to be considered.
…
Profile-based signals: look at profile shape vs 2 vertical purple lines.
where profile rows exceed the left purple line, these prices are considered HVN. Too much potential liquidity is there.
where profile rows don’t exceed the right purple line, these prices are considered LVN. Potential thin/lack of liquidity is expected there.
where profile rows are in between these 2 purple lines, these are NVN, or neutral liquidity zones.
Trading ruleset itself is based on couple of simple rules:
Only! Use limit orders hence provide liquidity in LVNs and Only! use stop-market orders hence consume liquidity in HVNs;
These orders should be put in advance ‘only’. This is how you discover the direction or orders: you can only put sell limit orders above you and buy limit orders below you, and you can only put buy stop orders above you, and sell stop orders below you.
This is really it. It may look weird, but once you just try to follow these 2 rules letter by letter for 1 hour, you’ll see how liquidity trading works.
Now once you know that, just don’t open new trades against the liquidity imbalance state. So don’t open shorts when the profile is blue, and don’t open longs when it’s red.
The last part is multi-timeframe logic. Prefer to act when a lower timeframe is Not against the main timeframe. That’s all, no multiple higher timeframes are needed.
3. How to use it together with upcoming (Signed) Volume Analysis script.
That upcoming script would also have a mean to generate its own signals, and another state variable called volume imbalance.
So now you’re not only looking at liquidity imbalance but also at volume imbalance that would deny/confirm a profile based signal. You need at least one of these to favor your long or short.
This is the same logic widely used in HFT, where MM bots cancel/shift/resize orders when book is too onesided And ordeflow is one sided as well.
4. How did I use both scripts to finish The Leap profitably and skipped many losses.
Even tho you can use structural information as your main strategic layer, as many so-called orderflow traders do, I traded in objective style: my fade signals were volatility based in essence, and I used ordeflow for better entries and stops, but most importantly to skip losses.
When ‘both‘ liquidity imbalance and volume imbalance (in their main timeframes) were against my trades, I skipped them all, saving many ~$500 stop losses (that was my basis risk unit for the Leap). Unless I had a very strong objective signal, i.e confluence of several signals, or just one higher timeframe signal, I did all these skips.
I traded ~ intraweek timeframe, so I was analyzing either the last 230 30min bars or 1380 5min bars. Both Liquidity Analysis and (signed) Volume Analysis scripts were set to moving window length 46 or 276 for either granulary.
I finished the leap with 9% profit and max DD ~ 5%, a bit short of my goal of 12.5%. If not these 2 scripts I would’ve finished a bit above breakeven I think.
∞
Smart Money Time by TMUSMT-Integrated Institutional Structure
This solution addresses a critical limitation in retail technical analysis: Fractal Blindness. While standard indicators operate linearly on a single timeframe, this script utilizes a Synchronous Multi-Timeframe (MTF) Architecture combined with SMT (Smart Money Time) logic to overlay higher-order market structure directly onto your execution chart.
It is engineered to align your entry triggers with the dominant institutional trend, effectively filtering out counter-trend noise that often leads to liquidity sweeps.
Core Technology: The "Fractal-Sync" Engine
1. Hierarchical Trend Propagation (MTF Logic) The script performs a real-time request.security analysis of user-selected higher timeframes to determine the "True State" of the market.
The Mechanism: Instead of repainting historical data, the algorithm uses a Step-Locked logic. It projects the confirmed Swing Highs and Lows of the Higher Timeframe (e.g., 4H) onto your Lower Timeframe (e.g., 5m or 15m).
Practical Value: You instantly visualize the "Big Picture" bias without switching tabs, ensuring your local trades are aligned with the global flow.
2. SMT-Grade Pivot Detection Integrating concepts from Smart Money analysis, the indicator identifies Key Swing Points that have a high probability of defense by large operators.
Technique: By calculating volatility-adjusted deviations (ATR) across multiple timeframes, the script distinguishes between a standard "pullback" and a genuine Structure Shift (MSS) or Break of Structure (BOS).
Benefit: It visually separates weak internal structure (inducement) from strong external structure (protected levels).
Technical Specifications & Filters
To satisfy strict stability requirements and provide objective signals, the engine incorporates unique validation methods:
Volatility Normalization: Structure breaks are validated against a dynamic ATR threshold. This ensures that low-volume consolidation does not trigger false structural resets.
Candle-Close Validation Protocol: A level is considered breached only if the candle body closes beyond the pivot. This filters out "Wick Fakeouts" and Stop-Hunts often seen during news events.
Conflict Resolution: When the Lower Timeframe trend contradicts the Higher Timeframe structure, the indicator visualizes this as a "Retracement Phase," advising caution.
Operational Workflow
This tool acts as a Market Context Filter, not a simple signal generator:
Trend Alignment: Use the visual cues to instantly recognize the dominant institutional flow.
Zone Identification: The script automatically plots "Strong Lows" (Invalidation Points) and "Weak Highs" (Targets).
Execution: Seek entries on your timeframe only when the higher timeframe structure (shown by this script) confirms the direction.
Note for Professional Use: This script is designed for precision execution. It minimizes chart clutter by displaying only confirmed structural points, providing a clean, logic-driven workspace for objective decision-making.
Trend Following $BTC - Multi-Timeframe Structure + ReversTREND FOLLOWING STRATEGY - MULTI-TIMEFRAME STRUCTURE BREAKOUT SYSTEM
Strategy Overview
This is an enhanced Turtle Trading system designed for cryptocurrency spot trading. It combines Donchian Channel breakouts with multi-timeframe structure filtering and ATR-based dynamic risk management. The strategy trades both long and short positions using reverse signal exits to maximize trend capture.
Core Features
Multi-Timeframe Structure Filtering
The strategy uses Swing High/Low analysis to identify market structure trends. You can customize the structure timeframe (default: 3 minutes) to match your trading style. Only enters trades aligned with the identified trend direction, avoiding counter-trend positions that often lead to losses.
Reverse Signal Exit System
Instead of using fixed stop-losses or time-based exits, this strategy exits positions only when a reverse entry signal triggers. This approach maximizes trend profits and reduces premature exits during normal market retracements.
ATR Dynamic Pyramiding
Automatically adds positions when price moves 0.5 ATR in your favor. Supports up to 2 units maximum (adjustable). This pyramid scaling enhances profitability during strong trends while maintaining disciplined risk management.
Complete Risk Management
Fixed position sizing at 5000 USD per unit. Includes realistic commission fees of 0.06% (Binance spot rate). Initial capital set at 10,000 USD. All backtest parameters reflect real-world trading conditions.
Trading Logic
Entry Conditions
Long Entry: Close price breaks above the 20-period high AND structure trend is bullish (price breaks above Swing High)
Short Entry: Close price breaks below the 20-period low AND structure trend is bearish (price breaks below Swing Low)
Position Scaling
Long positions: Add when price rises 0.5 ATR or more
Short positions: Add when price falls 0.5 ATR or more
Maximum 2 units including initial entry
Exit Conditions
Long Exit: Triggers when short entry signal appears (price breaks 20-period low + structure turns bearish)
Short Exit: Triggers when long entry signal appears (price breaks 20-period high + structure turns bullish)
Default Parameters
Channel Settings
Entry Channel Period: 20 (Donchian Channel breakout period)
Exit Channel Period: 10 (reserved parameter)
ATR Settings
ATR Period: 20
Stop Loss ATR Multiplier: 2.0
Add Position ATR Multiplier: 0.5
Structure Filter
Swing Length: 300 (Swing High/Low calculation period)
Structure Timeframe: 3 minutes
Adjust these based on your trading timeframe and asset volatility
Position Management
Maximum Units: 2 (including initial entry)
Capital Per Unit: 5000 USD
Visualization Features
Background Colors
Light Green: Bullish market structure
Light Red: Bearish market structure
Dark Green: Long position entry
Dark Red: Short position entry
Optional Display Elements (Default: OFF)
Entry and exit channel lines
Structure high/low reference lines
ATR stop-loss indicator
Next position add level
Entry/exit labels
Alert Message Format
The strategy sends notifications with the following format:
Entry: "5m Long EP:90450.50"
Add Position: "15m Add Long 2/2 EP:91000.25"
Exit: "5m Close Long Reverse Signal"
Where the first part shows your current chart timeframe and EP indicates Entry Price
Backtest Settings
Capital Allocation
Initial Capital: 10,000 USD
Per Entry: 5,000 USD (split into 2 potential entries)
Leverage: 0x (spot trading only)
Trading Costs
Commission: 0.06% (Binance spot VIP0 rate)
Slippage: 0 (adjust based on your experience)
Best Use Cases
Ideal Scenarios
Trending markets with clear directional movement
Moderate to high volatility assets
Timeframes from 1-minute to 4-hour charts
Best suited for major cryptocurrencies with good liquidity
Not Recommended For
Highly volatile choppy/ranging markets
Low liquidity small-cap coins
Extreme market conditions or black swan events
Usage Recommendations
Timeframe Guidelines
1-5 minute charts: Use for scalping, consider Swing Length 100-160
15-30 minute charts: Good for short-term trading, Swing Length 50-100
1-4 hour charts: Suitable for swing trading, Swing Length 20-50
Optimization Tips
Always backtest on historical data before live trading
Adjust swing length based on asset volatility and your timeframe
Different cryptocurrencies may require different parameter settings
Enable visualization options initially to understand entry/exit points
Monitor win rate and drawdown during backtesting
Technical Details
Built on Pine Script v6
No repainting - uses proper bar referencing with offset
Prevents lookahead bias with lookahead=off parameter
Strategy mode with accurate commission and slippage modeling
Multi-timeframe security function for structure analysis
Proper position state tracking to avoid duplicate signals
Risk Disclaimer
This strategy is provided for educational and research purposes only. Past performance does not guarantee future results. Backtesting results may differ from live trading due to slippage, execution delays, and changing market conditions. The strategy performs best in trending markets and may experience drawdowns during ranging conditions. Always practice proper risk management and never risk more than you can afford to lose. It is recommended to paper trade first and start with small position sizes when going live.
How to Use
Add the strategy to your TradingView chart
Select your desired timeframe (1m to 4h recommended)
Adjust parameters based on your risk tolerance and trading style
Review backtest results in the Strategy Tester tab
Set up alerts for automated notifications
Consider paper trading before risking real capital
Tags
Trend Following, Turtle Trading, Donchian Channel, Structure Breakout, ATR, Cryptocurrency, Spot Trading, Risk Management, Pyramiding, Multi-Timeframe Analysis
---
Strategy Name: Trend Following BTC
Version: v1.0
Pine Script Version: v6
Last Updated: December 2025
SMT [Advanced] by TMUThis is a proprietary technical analysis tool designed to detect SMT (Smart Money Time) Divergences with a specific focus on Time-Cycle Theory and advanced Data Visualization.
Originality & Technical Uniqueness Unlike standard open-source SMT indicators that simply compare Highs/Lows and clutter the chart with overlapping text, this script utilizes a custom-built "Label Registry & Stacking Engine". Standard indicators often fail when multiple divergences occur simultaneously on different timeframes. This script solves this problem using a proprietary deferred rendering algorithm:
Registry System: Instead of drawing signals immediately, the script calculates potential divergences across multiple assets/timeframes and pushes them into a dynamic array (registry).
Dynamic Stacking: A background sorting algorithm processes this stack every bar, groups signals by their timestamp and type, and renders them with calculated offsets. This ensures labels never overlap, providing a clean, professional workspace impossible to achieve with basic plotting functions.
Signal Rotation: It implements a "rotation manager" logic for 90-minute cycles. As price action evolves, the script automatically assesses whether to update an existing divergence line or create a new historical reference, keeping the analysis strictly relevant to the current cycle structure.
How it Works (Methodology) The script performs a relative strength analysis between two correlated assets (e.g., ES vs. YM) using request.security to fetch comparative data.
Pivot Analysis: It identifies structural Pivot Highs and Lows based on a configurable length, filtering out minor internal noise.
Divergence Logic:
Bearish SMT: Validated when the primary asset makes a Higher High while the comparison asset makes a Lower High.
Bullish SMT: Validated when the primary asset makes a Lower Low while the comparison asset makes a Higher Low.
Time-Cycle Isolation: The analysis is confined within strictly defined temporal windows (Daily, Weekly, and custom 90-minute intraday blocks). The script detects cracks in correlation specifically within these isolated sessions rather than looking at infinite history.
Features
Smart Filter: Advanced logic to filter out "Internal" structure and focus only on major external pivot breaches.
Multi-Cycle Dashboard: A real-time table monitoring the SMT status of Monthly, Weekly, Daily, and intraday cycles simultaneously.
Auto-Ticker Selection: Automatically detects the current asset class (Indices/Forex) and selects the appropriate comparison symbol (e.g., selects YM when viewing ES).
Settings
Comparisons: Manual or Auto-ticker selection.
Visuals: Custom colors, line styles, and label positioning modes.
Alerts: Customizable alerts for valid SMT formation on any monitored timeframe.
NQ Points of Interest Suite (Fixed)Defines pre level of support and resistance
Daily MID LOW OPEN CLOSE
WEEKLY MID LOW OPEN CLOSE
MONTHLY MID LOW OPEN CLOSE
Amin_RsiBar_Macd2m in 1m_BB_ V 3.0Pro RSI Divergence Detector
This indicator automatically detects bullish and bearish divergences on the RSI by comparing key swing highs and lows in price with momentum shifts on the oscillator. It identifies both classic and hidden divergences, helping traders spot early trend reversals, momentum exhaustion, and high-probability entry zones.
Designed for traders who rely on momentum analysis, this tool provides clear on-chart signals, improves timing, and filters out false moves. It works on all markets and timeframes.
Suitable for: Crypto, Forex, Stocks, Indices
Use cases: Trend reversal detection, entry confirmation, exit optimization, momentum analysis






















