Multi-Timeframe MA - TCMaster🧩 Overview
This indicator displays up to four moving averages from different timeframes on a single chart.
It’s designed for traders who want to track higher-timeframe trends while analyzing price action on lower timeframes — a key technique in multi-timeframe confluence trading.
You can freely customize the type, length, timeframe, and color for each moving average line.
⚙️ Features
4 configurable Moving Averages (each with its own type, length, and timeframe).
Supported types:
SMA, EMA, WMA, RMA, HMA, VWMA, DEMA, TEMA.
Real-time values are fetched from higher timeframes using request.security() (no repaint).
Individual visibility toggle and line width for each MA.
Dynamic info label shows current distance between price and each MA.
Built with Pine Script v6, ensuring optimal performance and flexibility.
📊 Typical Use Cases
Identify trend direction across multiple timeframes.
Confirm entries/exits using higher timeframe trend alignment.
Spot potential reversal or continuation zones when short-term price interacts with long-term MAs.
Build confluence setups for swing, scalp, or intraday strategies.
🧠 Example Setup
MA Type Length Timeframe Purpose
MA #1 SMA 200 1m Micro trend
MA #2 EMA 200 5m Short-term trend
MA #3 EMA 200 15m Medium trend
MA #4 SMA 200 30m Macro trend
🔔 Tips
Combine with oscillators (e.g., RSI, Stoch, MACD) for stronger confluence.
Use color coding to distinguish short vs long timeframe trends.
Consider adding alerts when price crosses any MA (can be extended easily in code).
⚠️ Notes
All higher-timeframe data is handled safely using lookahead=barmerge.lookahead_off to prevent repainting.
Label updates only on the latest bar for efficiency.
VWMA, DEMA, TEMA, and HMA are computed via internal formulas for compatibility with Pine Script v6.
🏁 Summary
Multi-Timeframe MA is a powerful tool for traders who want to merge the clarity of moving averages with the precision of multi-timeframe analysis.
It helps you see the bigger picture without switching charts — perfect for intraday, swing, and trend-following strategies.
指标和策略
Mitigation Blocks — Lite (ICT) + Stats + Entry75Mitigation Blocks — Lite (ICT) + Stats + Entry75
What it does
This indicator finds recent Mitigation Blocks (ICT-style) and draws a single active bullish and bearish block on the chart.
It also plots the 75% entry level for each active block and shows a compact performance HUD (“Отработано / Worked”) so you can quickly judge how well blocks have been reacting on the current symbol and timeframe.
Logic (brief)
Structure impulse
A new block is created when price breaks the last swing (pivot-based) with an optional ATR body filter.
After an upswing break → search the most recent bearish candle within a lookback window → its body defines the bullish block (top/bottom = max/min of that candle’s open/close).
After a downswing break → search the most recent bullish candle → defines the bearish block.
Touch & mitigation
First time price touches a block, the block is marked mitigated (border becomes dashed).
Entry line for that block is removed (no history clutter to the left).
75% entry levels
Long (bullish block): entry = top − 0.75 × (top − bottom) (deeper inside from the top).
Short (bearish block): entry = bottom + 0.75 × (top − bottom) (deeper inside from the bottom).
Lines are drawn only to the right (history on the left is hidden).
Stats (HUD)
The HUD shows Worked% per side: percentage of first touches that reached a simple target in the check window.
Current version uses a conservative proxy: success if, within the next bars, price moved away from the block by at least ~1×ATR (internally calculated) without first invalidating the block’s opposite boundary.
Values are accumulated while the script runs on the loaded chart range.
Inputs
Structure
Swing length (pivot) — pivot size to detect last swing.
Require minimum impulse / Min body × ATR / ATR length — filter for strong displacement bars.
Search last opposite candle (bars back) — lookback to find the candle that defines the block.
Style
Fill & border colors for bullish/bearish blocks.
Mitigated border color (dashed on first touch).
Entry 75% lines
Show 75% entry lines (on/off)
Colors and line width.
Autoscale
Optional hidden anchor plots for better autoscaling.
On-chart elements
Active bullish/bearish block (rectangle, extended right).
Dashed border once the block is mitigated (first touch).
75% entry line for each non-mitigated block (drawn only to the right; removed on mitigation).
HUD (top-right):
LONG | Worked: XX.X% |
SHORT | Worked: XX.X% |
If there is no active (non-mitigated) block on a side, the entry cell shows “ожидаем” (“waiting”).
How to read it
Trade from block to block: use the 75% line as a reference entry inside the zone; stops are commonly placed beyond the opposite side of the block.
Worked% helps compare symbols/timeframes: higher with a decent sample typically means more reliable reactions.
The indicator shows only the latest valid block per side to keep the chart clean.
Notes & tips
This is a discretionary tool intended to support ICT-style execution; it is not a strategy and does not place trades.
Try different timeframes. Many users prefer M5–H1 for entries and H4–D1 for context.
You can turn off entry lines if you only want the zones.
Because stats are computed on the visible history while the script runs, switching symbols/TFs will reset the counters.
Inputs (defaults)
Pivot length: 5
ATR length: 14
Min body × ATR: 1.0 (enable/disable filter)
Opposite candle lookback: 5
Entry 75% lines: ON
Bollinger ALTswap Alert v1.0 (MA28 Rotation ALT↔BTC)Inspired by: Bollinger Awesome Alert R1 by JustUncleL
What is it?
BBALTSWAP overlays Bollinger Bands (20, 2), a 3-EMA, and a Rotation MA (default 28), then gives state-change alerts to rotate between ALT ↔ BTC on any ALT/BTC chart.
Core rotation rule
• Rotate → ALT when close > Bollinger middle and close > MA28.
• Rotate → BTC when close < Bollinger middle and close < MA28.
• Otherwise: Wait (no rotation).
Labels only print when the state changes (to avoid spam). You can also compute the rotation on a higher timeframe (default 4h) while viewing a lower one (e.g., 1h).
Optional extras
• Breakout arrows (scalping-style) when 3-EMA crosses the Bollinger middle with an Awesome Oscillator direction filter.
• Bollinger Squeeze coloring (relative width) to highlight expansion/contraction.
• Min bars between labels to throttle how often rotation labels appear.
Inputs (highlights)
• Use EMA for Bollinger / Rotation MA
• Bollinger length & multiplier
• AO fast/slow lengths
• Higher-timeframe selector for rotation (default 240 = 4h)
• Show breakout arrows / show “Wait” / min bars between labels
How to use (simple playbook)
1. Chart: open your ALT/BTC pair (e.g., ETHBTC).
2. Direction: leave rotation HTF at 4h for steadier signals.
3. Execution: take rotations on bar close; manage entries on your lower TF (1h/15m) if desired.
4. Override check (optional): when BTCUSDT is in a fresh breakout, prefer BTC even if ALT flashes briefly.
Alerts
Add two alerts, Once per bar close:
• “Rotate to ALT (state change)”
• “Rotate to BTC (state change)”
Notes
• Works on any ALT/BTC pair.
• The breakout arrows are optional and independent from the rotation signals.
• This tool is educational; not financial advice.
9:30 USA OPENEasy if it go up it will turn green and you can lng if it goes down it will turn red and you can short
Quant Trend + Donchian (Educational, Public-Safe)What this does
Educational, public-safe visualization of a quant regime model:
• Trend : EMA(64) vs EMA(256) (EWMAC proxy)
• Breakout : Donchian channel (200)
• Volatility-awareness : internal z-scores (not plotted) for concept clarity
Why it’s useful
• Shows when trend & breakout align (clean regimes) vs conflict (chop)
• Helps explain why volatility-aware systems size up in smooth trends and scale down in noise
How to read it
• EMA64 above EMA256 with price near/above Donchian high → trend-following alignment
• EMA64 below EMA256 with price near/below Donchian low → bearish alignment
• Inside channel with EMAs tangled → range/chop risk
Notes
• Indicator is educational only (no orders).
• Built entirely with TradingView built-ins.
• For consistent visuals: enable “Indicator values on price scale” and disable “Scale price chart only” in Settings → Scales .
Highlight Running Daily Candlehighlights the currently forming Daily candle
with a shaded box extending slightly beyond the candle’s range.
Disappears as soon as the candle closes.
HTF Candle Overlay (Boxes + Wicks) 1hr / SolalDescription:
This indicator lets you visualize higher time frame (HTF) candles directly on a lower time frame chart.
It draws each HTF candle as a transparent box (the body) with wicks extending to the high and low. The boxes automatically update as each higher time frame candle forms and remain fixed once the candle closes.
You can choose any higher time frame (e.g., 1H, 4H, 1D) while trading on lower intervals (like 1m, 5m, 15m) to see key market structure and price zones.
Features:
Display candles from any higher time frame on your current chart.
Customizable colors for bullish and bearish candles.
Adjustable transparency, border and wick thickness.
History depth setting to control how many past HTF candles are displayed.
No repainting — candles stay fixed once closed.
Use case:
Ideal for traders who want to monitor higher time frame price action (support/resistance, trend direction) without switching chart time frames.
Reversal Zone from Price Scaling and MACD histogramOANDA:XAUUSD
This indicator is intended for upward reversal techniques only.
The reversal zone is calculated by reverse-engineering price scaling and the MACD histogram. The maximum and minimum values of the upper and lower zones are then plotted as the bands.
The adjacent table displays five reverse-calculated values for each of the upper and lower bands, as well as two mode values for each.
The principle is similar to Bollinger Bands, but a signal is generated only when there is clear buying or selling pressure.
We would like you to try it and share your feedback.
EMA 9/18 Weekly on all time frameweekly ema 9/18 on all your time frame
If you want to have your weekly time frame ema on all your time frame this indicator is made for you !
BTC Momentum Strategy Ver2.0 by @AshokTrendThe BTC Momentum Strategy with LazyBear SQZMOM & Custom SL + Angle Filter is a technical trading strategy that blends multiple proven concepts to capture favorable momentum trades in Bitcoin or other assets.
### Core Components
- **LazyBear Squeeze Momentum Indicator (SQZMOM):** This indicator identifies low volatility "squeeze" periods when Bollinger Bands contract inside Keltner Channels, signaling potential explosive moves once the squeeze releases. The strategy uses momentum derived from linear regression on price to judge trade direction—positive momentum favors longs, negative momentum favors shorts.
- **EMA 200 Trend Filter:** The 200-period Exponential Moving Average defines the prevailing trend. Trades are taken long only if price is above the EMA and short if below, reducing risk of countertrend entries.
- **Price Movement Angle Filter:** The strategy calculates the angle of recent price movement over a lookback period. Entries require a price angle greater than 27 degrees for longs and less than -27 degrees for shorts, confirming strong directional momentum and filtering out weak moves.
- **Stop Loss Management:** A custom stop loss in fixed points distance from the entry price manages risk, protecting capital if the market moves against the trade.
- **Trading Time Window:** The strategy trades only during Indian market hours (4:00 AM to 11:00 PM IST), filtering trades to relevant active market sessions.
- **Swing Levels:** Recent swing highs and lows are used as additional confirmation levels for entries and exits, helping to time trade triggers more precisely.
### How Trades Are Executed
- **Long Entry:** When trading hours are active, SQZMOM indicates bullish momentum (momentum histogram positive and squeeze released), price is in an uptrend (above EMA 200), the current close is above recent swing highs, and the price movement angle exceeds 27 degrees, the strategy enters a long position.
- **Short Entry:** When trading hours are active, SQZMOM shows bearish momentum (momentum histogram negative and squeeze released), price is in a downtrend (below EMA 200), the current close is below recent swing lows, and the price movement angle is less than -27 degrees, the strategy enters a short position.
- **Exits:** Positions are closed either when price breaches opposite swing levels, momentum conditions reverse, or trading hours end. Stop losses are also triggered if price moves unfavorably by the defined points.
### Strategy Benefits
- Detects volatility contractions and momentum expansions for potentially strong directional moves.
- Reduces false entries with the EMA trend and angle momentum filters.
- Manages risk actively with stop losses and time-based filters.
- Combines multiple technical tools — momentum, trend, volatility, price structure — for a holistic approach.
This strategy tends to work best on active higher timeframes where trends and momentum have clarity and is designed for disciplined, momentum-focused trading with robust trade management.
Concepts used-
SMC
TRednline Breaout,
Timefram-15M or Higher For better Result.
Note-We are not SEBI-Registered, Graphs, charts, and tables are provided for illustrative purposes only. Investing is subject to market risks. Investors acknowledge and accept the potential loss of some or all of an investment's value.Please consult your financial advisor before taking any decision.
Please whatsapp only=7835983697.
Candle Color [AY¹]Visually highlight specific time periods with custom colors on intraday charts.
Ideal for session-based traders who want to emphasize New York, London or any custom trading hours. Developed by AY¹
Candle Color Highlighter
A simple yet powerful intraday visualization tool that colors candles or chart background during your chosen trading sessions.
Perfect for traders who rely on time-based confluences — such as ICT, SMC, or session scalping frameworks.
🔧 Key Features
✅ Highlight up to four custom time periods (e.g. London Open, NY Open, Lunch Hour, etc.)
✅ Supports multiple highlight styles:
• Bar Color only
• Background only
• Both
✅ Full timezone control (Exchange, UTC, New York, London, Tokyo, or custom UTC+3)
✅ Works on all intraday timeframes or only those you select (1m–4h).
✅ Optional labels marking session starts.
✅ Integrated alerts when any period becomes active.
✅ Informative status table showing timezone, timeframe, and active period.
🕒 Use Cases
Highlight New York Killzone (07:30–09:30) or London Open (02:00–03:00)
Separate different liquidity windows
Emphasize your backtest periods
Combine with volume, displacement, or structure indicators for time-based confluence setups
🎨 Customization
Each of the four configurable periods allows you to choose:
Start/End time
Custom color and transparency
Session label visibility
Highlight style preference
💡 Example Setup
Period Session Time Color Notes
Period 1 02:00–03:00 Magenta London Killzone
Period 2 07:30–08:30 Yellow NY Pre-market
Period 3 08:30–09:30 Blue NY Open
Period 4 09:30–10:00 Green Initial Balance
Pritesh@24Smart Money + Momentum fusion indicator combining EMA trend, ADX strength, RSI filter, and SMC Order Blocks — ideal for clean entries and exits in all markets
Liquidity Depth - TitanWealth AlgorithmTranslates the order book in a visual, historical & data-driven format.
Highlights Liquidity Depth, your visual guide to the order book. See where leveraged traders are most exposed and define your edge.
Levels are based on leverage onto positions & is adaptive based on the security, factoring in naturally leveraged products available to all traders globally.
Project 6SMC Order-Block + EMA/ADX/RSI/Volume composite — shows Pre-Entry (inside OB), Buy/Sell reversal signals, weak-trend lines and a compact 0–7 confidence score.
Intraday Trading Master - Institutionthis is a momentum indicator where you will find the big player entry and exit
MACD / AO Alineación (V21) PublicA long or short indicator for any timeframe. It's important to consider volatility and ADX to find the most appropriate momentum. There are also other details to consider.
OneHolo-TGAPSNRTGAPSNR: Multi time frame - Trend Gap Stop And Reverse strategy/Study PnL. This script outlines a systematic approach to generating buy and sell signals by combining Fair Value Gaps (FVGs), specific market structures, and three different trend direction methods (Swing, Gravity, and FVG Inverse direction). The strategy incorporates multiple entry modes, such as Hyper Mode, Swiper Mode, and a Custom mode, allowing users to tailor signal conditions, alongside extensive logic for trade management, higher time frame analysis, and various visual indicators for plotting trend, pivots, and profit and loss information.
I. Core Trend Direction Consensus (The Three-Pillar System)
The primary method for determining market bias is a three-pillar consensus model, requiring all directional methods to align before the overall Trend Direction is established (up or down). This ensures high conviction for trend signals.
• Pillar 1: Swing Direction: Determines market direction based on classic price action, specifically checking for continuous higher highs and higher lows for an upward bias, or lower lows and lower highs for a downward bias.
• Pillar 2: Gravity Direction (Peak and Valley): This uses specific market structure pivots. Direction is set based on whether the close price successfully crosses the established recent Peak High (indicating upward momentum) or crosses under the recent Valley Low (indicating downward pressure).
• Pillar 3: FVG Inverse Direction: This relies on Fair Value Gaps (FVGs), defined as a gap between the current bar's price and the price two bars prior. Direction shifts occur when the Close price crosses the midpoint of the last relevant FVG. For instance, crossing above the midpoint of the last FVG Down signals a potential inverse long trade.
II. Flexible Signal Generation Modes
The strategy offers several pre-configured and highly detailed entry modes, plus a powerful Custom Mode:
• Session Open Range Break (ORB) Mode: Uses the high/low of the session's first bar to generate initial signals, then defaults to the Three-Pillar Trend Direction after the ORB session concludes.
• Swiper Mode: Designed to identify continuations, combining a confirmed Trend Direction with a Stop and Reverse signal (SnR) while actively avoiding confirmed pivot breaks.
• Hyper/Aggressive Modes: These modes use broad combinations of signals, allowing for earlier entry based on momentum and structural breaks (like PeakCrossLong, SnRtrapLong, or FVG signals).
• Custom Query Mode (The Seven-Slot Logic): This non-redundant system allows the user to define complex, tailored entry conditions by selecting any combination of 14 core patterns across seven distinct slots.
◦ AND/OR Combination: For each of the seven slots, the user determines if the chosen pattern must be met (AND component) or if it can serve as an alternative trigger (OR component).
◦ The final signal requires that all configured AND conditions are true and then integrates the result of the OR conditions, allowing for highly specific "hook queries" (e.g., "Condition A AND Condition B, OR Condition C").
III. Advanced PnL and Mobile App Diagnostics
A key proprietary element is the implementation of a dual PnL system and customized visualization features:
• Dual PnL Display (Strategy PnL vs. Study PnL): Users can choose to view either the native platform's strategy performance data or the script's internal, proprietary Study PnL. The Study PnL calculates profits/losses based strictly on the close price and tracks performance using Pine Script® arrays, providing a transparent, diagnostic view of performance independent of broker/platform simulation biases.
• Lower Panel Visualization: Both PnL types are displayed on the lower panel using detailed bar plots (style=plot.style_columns), which color according to profitability, and include labels that show current open profit and total net profit.
• Detailed Trade Labels: The script generates detailed, customizable labels on both the chart (above/below bars) and the lower PnL panel, providing historical PnL, number of trades, and real-time profit information for each entry or exit.
IV. Higher Time Frame (HTF) Context and Lookahead Prevention
The strategy integrates multi-time frame analysis using strict methodology to prevent lookahead bias:
• HTF Bias Filtering: When enabled, the strategy uses the position calculated on a user-defined higher time frame (HTF) as a mandatory filter. A long signal on the current chart is only executed if the HTF is also in a long position, and vice-versa.
• Lookahead Prevention: To maintain integrity, all HTF data requests use a mandatory lookback index (often ) to ensure the script only accesses confirmed data from the prior completed bar on the higher timeframe.
• HTF Visual Mode: The user can opt to display key structural elements—such as the Gravity Pivots and the Trend Direction blocks—as calculated on the HTF, overlaying this higher-level context onto the current chart for visual analysis.
The TGAPSNR: Multi time frame - Trend Gap Stop And Reverse strategy/Study PnL script, despite its complexity, intentionally excludes realistic considerations such as fees, slippage, and explicit risk management settings (like fixed stop-loss or take-profit rules) from its primary logic.
Here is an explanation of why these elements are omitted in the strategy's current implementation and why they must be applied by the user for real-world application, drawing on the context of the sources:
1. Absence of Realistic Fees, Commissions, and Slippage
The primary function of the TGAPSNR script is to execute intricate signal generation and diagnostic PnL calculation based on its three-pillar trend system and Custom Mode logic.
However, the strategy's backtesting results, particularly those displayed by the internal Study PnL feature, are based purely on price difference (e.g., (close - lse) * syminfo.pointvalue * IUnits).
• Strategy Result Requirements: TradingView explicitly states that strategies published publicly should strive to use realistic commission AND slippage when calculating backtesting results to avoid misleading traders.
• User Responsibility: Since the script currently focuses on signal integrity and uses a fixed contract size (IUnits = 1) without configurable commission/slippage inputs shown in the source, the user must manually configure these fees within the Pine Script® Strategy Tester settings (Properties tab) to ensure the strategy results are reflective of actual trading costs.
2. Omission of Built-in Risk Management (Stop-Loss and Take-Profit)
The TGAPSNR strategy's core focuses on entry signals and trend confirmation. Exits are primarily governed by:
• Reversal signals (BuyStop or SellStop).
• End-of-Day (EOD) session closures (EODStop).
• HTF bias opposition.
What is Missing: The script does not include explicit, hard-coded risk management parameters for traditional stop-loss (SL) or take-profit (TP) levels (e.g., risk percentage or ATR-based exits).
• Viable Risk: TradingView guidelines stipulate that strategies should generally risk sustainable amounts of equity, usually not exceeding 5-10% on a single trade, and trade size must be appropriate.
• User Application: To ensure the strategy operates within realistic risk boundaries, users must apply their own risk management rules. This includes:
◦ Implementing realistic stops and profit targets, which can be added via Pine Script® code or manually managed during live trading.
◦ Sizing trades to only risk sustainable amounts of equity. The current default unit size (IUnits = 1) is unrealistic for risk assessment unless the symbol is micro-sized.
3. Execution Quality (Fills)
The strategy is set to fill_orders_on_standard_ohlc = true and operates on confirmed bar closes (barstate.isconfirmed).
• Fill Assumption: This suggests the strategy primarily uses close price or the HTF close price (EntryPrice = HTFClose) for execution.
• Real-World Limitation: In volatile markets, obtaining a fill price equal to the close of the bar is rare. The user must be aware that the simulated fill price shown in backtesting may differ significantly from actual execution prices due to market action and chosen order type, reinforcing the importance of applying slippage settings.
In summary, while the script provides highly detailed and unique signal generation and internal PnL diagnostics, users must exercise caution and apply their own realistic parameters for fees, slippage, and explicit risk controls to prevent misleading performance results and ensure viable trading
Momentum Pro (Tuned v6) — 8/18 EMA • RVOL • PrevHigh • ADXMomentum strategy with signals (VWAP + 9/20 EMA alignment, MACD hist > 0, RSI 55–70, RVOL filter, ATR stop, 2R target
Episodic Pivot -AparnaEpisodic pivot when volume are 5x of SMA 14 and price is 10% higher than previous close
MACD-V+ (ATR Normalized MACD)MACD-V+ is an ATR-normalized MACD tool that focuses on true turning points inside Overbought/Oversold zones. It marks a signal only when the MACD’s slope changes direction and shows real progress back toward the zero line, with an optional dwell (depth & time) filter so you don’t get faked out by shallow pokes into a zone. Clean visuals, “first-in-zone” gating, and configurable labeling make it practical for discretionary and systematic traders alike.
For best results, adjust Overbought and Oversold levels based on stock volatility. The default settings of 150 and -150 are for highly volatile tickers. Reduce for less volatile tickers.
Please help me improve the code for everyone.
AO3 BETA 3.4.2 (v6)AO filter trend lead. capture impulse. entry on small timeframe corrective wave.
suggest 5mins executing timeframe.
Option 1 - zizag
Option 2 - more frequent
Option 3 - more filter