Moving Averages Trend FilterA filter to determine the trend using moving averages.
Plotted as text on a different panel.
Different outputs:
- Bullish Trend
- Bearish Trend
- Sideways
You can use up to 4 MAs. Fill in the inputs in order, be it the first being the fastest and the last being the slowest.
You can change between EMAs and SMAs. You can activate/deactivate the MAs to be used as a filter and choose them .
There's an option of minimum bars to define the trend.
**If the pane is mixed with the indicators, move it below using right click.
Analyse de la tendance
ARO Pro — Adaptive Regime OscillatorARO Pro — Adaptive Regime Oscillator (v6)
ARO Pro turns your chart into a context-aware decision system. It classifies every bar as Trending (up or down) or Ranging in real time, then switches its math to match the regime: trend strength is measured with an ATR-normalized EMA spread, while range behavior is tracked with a center-based RSI oscillator. The result is cleaner entries, fewer false signals, and faster reads on regime shifts—without repainting.
⸻
How it works (under the hood)
1. Regime Detection (Kaufman ER):
ARO computes Kaufman’s Efficiency Ratio (ER) over a user-defined length.
- ER > threshold → Trending (direction from EMA fast vs. EMA slow)
- ER ≤ threshold → Ranging
2. Adaptive Oscillator Core:
- Trend mode: (EMA(fast) − EMA(slow)) / ATR * 100 → momentum normalized by volatility.
- Range mode: RSI(length) − 50 → mean-reversion pressure around zero.
3. Volatility Filter (optional):
Blocks signals if ATR as % of price is below a floor you set. This reduces noise in thin or quiet markets.
4. MTF Trend Filter (optional & non-repainting):
Confirms signals only if a higher timeframe EMA(fast) > EMA(slow) for longs (or < for shorts). Implemented with lookahead_off and gaps_on.
5. Confirmation & Alerts:
Signals are locked only on bar close (barstate.isconfirmed) and offered via three alert types: ARO Long, ARO Short, ARO Regime Shift.
⸻
What you see on the chart
• Background heat:
• Green = Trending Up, Red = Trending Down, Gray = Range.
• ARO line (panel): Adaptive oscillator (trend/value colors).
• Signal markers: ▲ Long / ▼ Short on confirmed bars.
• Guide lines: Upper/Lower thresholds (±K) and zero line.
• Info Panel (table): Regime, ER, ATR %, ARO, HTF status (OK/BLOCK/OFF), and a Confidence light.
• Debug Overlay (optional): Quick view of thresholds and raw conditions for tuning.
⸻
Inputs (quick reference)
• Signals: Fast/Slow EMA, RSI length, ER length & threshold, oscillator smoothing, signal threshold.
• Filters: ATR length, minimum ATR% (volatility floor), toggle for volatility filter.
• Visuals: Background on/off, Info Panel on/off, Debug overlay on/off.
• MTF (safe): Toggle + HTF timeframe (e.g., 240, D, W).
⸻
Interpreting signals
• Long: Trend regime AND fast EMA > slow EMA AND ARO ≥ +threshold (confirmed bar, filters passing).
• Short: Trend regime AND fast EMA < slow EMA AND ARO ≤ −threshold (confirmed bar, filters passing).
• Regime Shift: Alert when ER moves the market from Range → Trend or flips trend direction.
⸻
Practical use cases & examples
1) Intraday momentum alignment (scalps to day trades)
• Timeframes: 5–15m with HTF filter = 4H.
• Flow:
1. Wait for Trend Up background + HTF OK.
2. Enter on ▲ Long when ARO crosses above +threshold.
3. Stops: 1–1.5× ATR(14) below trigger bar or below last micro swing.
4. Exits: Partial at 1× ATR, trail remainder with an ATR stop or when ARO reverts to zero/Regime Shift.
• Why it works: You’re trading with the dominant higher-timeframe structure while avoiding low-volatility fakeouts.
2) Swing trend following (cleaner trend legs)
• Timeframes: 1H–4H with HTF filter = 1D.
• Flow:
1. Only act in Trend background aligned with HTF.
2. Add on subsequent ▲ signals as ARO maintains positive (or negative) territory.
3. Reduce or exit on Regime Shift (Trend → Range or direction flip) or when ARO crosses back through zero.
• Stops/targets: Initial 1.5–2× ATR; move to breakeven once the trade gains 1× ATR; trail with a multiple-ATR or structure lows/highs.
3) Range tactics (fade the extremes)
• Timeframes: 15m–1H or 1D on mean-reverting names.
• Flow:
1. Act only when background = Range.
2. Fade moves when ARO swings from ±extremes back toward zero near well-defined S/R.
3. Exit at the opposite band or zero line; abort if a Regime Shift to Trend occurs.
• Tip: Increase ER threshold (e.g., 0.35–0.40) to label more bars as Range on choppy instruments.
4) Event days & macro filters
• Approach: Raise the volatility floor (Min ATR%) on macro days (FOMC, CPI).
• Effect: You’ll ignore “fake” micro swings in the minutes leading up to releases and catch only post-event confirmed momentum.
⸻
Parameter tuning guide
• ER Threshold:
• Lower (0.20–0.30) = more Trend bars, more signals, higher noise.
• Higher (0.35–0.45) = stricter trend confirmation, fewer but cleaner signals.
• Signal Threshold (±K):
• Raise to reduce whipsaws; lower for earlier but noisier triggers.
• Volatility Floor (ATR%):
• Thin/quiet assets benefit from a higher floor (e.g., 0.3–0.6).
• Highly liquid futures/forex can work with lower floors.
• HTF Filter:
• Keep it ON when you want higher win consistency; turn OFF for tactical counter-trend plays.
⸻
Alerts (recommended setup)
• “ARO Long” / “ARO Short”: Entry-style alerts on confirmed signals.
• “ARO Regime Shift”: Context alert to scale in/out or switch playbooks (trend vs. range).
All alerts are non-repainting and fire only when the bar closes.
⸻
Best practices & combinations
• Price action & S/R: Use ARO to define when to engage, and price structure to define where (breakout levels, pullback zones).
• VWAP/Session tools: In intraday trends, ▲ signals above VWAP tend to carry; avoid shorts below session VWAP in strong downtrends.
• Risk first: Size by ATR; never let a single ARO event override your max risk per trade.
• Portfolio filter: On indices/ETFs, enable HTF filter and a stricter ER threshold to ride regime legs.
⸻
Non-repaint and implementation notes
• The script does not repaint:
• Signals are computed and locked on bar close (barstate.isconfirmed).
• All higher-timeframe data uses request.security(..., lookahead_off, gaps_on).
• No future indexing or negative offsets are used.
• The Info Panel and Debug overlay are purely visual aids and do not change signal logic.
⸻
Limitations & tips
• Chop sensitivity: In hyper-choppy symbols, consider raising ER threshold and the signal threshold, and enable HTF filter.
• Instrument personality: EMAs/RSI lengths and volatility floor often need a quick 2–3 minute tune per asset class (FX vs. crypto vs. equities).
• No guarantees: ARO improves context and timing, but it is not a promise of profitability—always combine with risk management.
⸻
Quick start (TL;DR)
1. Timeframes: 5–15m intraday (HTF = 4H); 1H–4H swing (HTF = 1D).
2. Use defaults, then tune ER threshold (0.25–0.40) and Signal threshold (±20).
3. Enable Volatility Floor (e.g., 0.2–0.5 ATR%) on quiet assets.
4. Trade ▲ / ▼ only in matching Trend background; fade extremes only in Range background.
5. Set alerts for Long, Short, and Regime Shift; manage risk with ATR stops.
⸻
Author’s note: ARO Pro is designed to be clear, adaptive, and operational out of the box. If you publish variants (e.g., different ER logic, alternative trend cores), please credit the original and document any changes so users can compare behavior reliably.
Trend Magic EMA RMI Trend Sniper📌 Indicator Name:
Trend Magic + EMA + MA Smoothing + RMI Trend Sniper
📝 Description:
This is a multi-functional trend and momentum indicator that combines four powerful tools into a single overlay:
Trend Magic – Plots a dynamic support/resistance line based on CCI and ATR.
Helps identify trend direction (green = bullish, red = bearish).
Acts as a trailing stop or dynamic level for trade entries/exits.
Exponential Moving Average (EMA) – Smooths price data to highlight the underlying trend.
Customizable length, source, and offset.
Serves as a trend filter or moving support/resistance.
MA Smoothing + Bollinger Bands (Optional) – Adds a secondary smoothing filter based on your choice of SMA, EMA, WMA, VWMA, or SMMA.
Optional Bollinger Bands visualize volatility expansion/contraction.
Great for spotting consolidations and breakout opportunities.
RMI Trend Sniper – A momentum-based system combining RSI and MFI.
Highlights bullish (green) or bearish (red) conditions.
Plots a Range-Weighted Moving Average (RWMA) channel to gauge price positioning.
Provides visual BUY/SELL labels and optional bar coloring for fast decision-making.
📊 Uses & Trading Applications:
✅ Trend Identification: Spot the dominant market direction quickly with Trend Magic & EMA.
✅ Momentum Confirmation: RMI Sniper helps confirm whether the market has strong bullish or bearish pressure.
✅ Dynamic Support/Resistance: Trend Magic & EMA act as adaptive levels for stop-loss or trailing positions.
✅ Volatility Analysis: Optional Bollinger Bands show squeezes and potential breakout setups.
✅ Entry/Exit Signals: BUY/SELL alerts and color-coded candles make spotting trade opportunities simple.
💡 Best Use Cases:
Swing Trading: Follow Trend Magic + EMA alignment for higher probability trades.
Scalping/Intraday: Use RMI signals with bar coloring for quick momentum entries.
Trend Following Strategies: Ride trends until Trend Magic flips direction.
Breakout Trading: Watch for price closing outside the Bollinger Bands with RMI confirmation.
Previous Day OHLCDescription :
This script automatically draws the previous day’s Open, High, Low, and Close levels on each trading day. Traders widely use these reference levels to identify key support and resistance zones, potential breakout areas, and intraday bias.
The levels update daily and remain visible throughout the trading session to quickly identify price interactions with yesterday’s important zones.
Features :
Plots the previous day’s Open, High, Low, and Close.
Levels extend across the full trading day for easy reference.
Useful for intraday and swing traders tracking price reactions at historical levels.
Elite Entries Heikin Ashi Based PSARElite Entries — Heikin Ashi PSAR (MTF)
Purpose: precision entries that flow with trend.
Core idea: use Heikin-Ashi on a higher timeframe to drive a clean PSAR trend, auto-build support/resistance zones from PSAR flips, then only take retests of those zones or PSAR bounces that confirm on the next candle. Optional presets make it turnkey for NQ/ES/CL/GC and 0DTE indices.
What you get
MTF HA-PSAR trend with flip labels (Long/Short).
Dynamic zones drawn from each PSAR flip (choose Body, HA Wick, or ATR×).
Retest signals
Touch = any wick overlap with the active zone.
Confirmed = touch and close back out of the zone (default).
PSAR Bounce signals
Only after price touches but does not break the PSAR.
Fires on the next confirming candle (bull candle for buys, bear for sells).
Trend filter: when PSAR is long, only bullish signals plot; when short, only bearish (toggleable).
Cooldowns to avoid clustering.
Presets for instant deployment + a “One and Done” mode.
Presets (pick from the dropdown)
Default – full manual control of inputs.
Swing Master – same as Default, but MTF = 5m (great for 1m charts with 5m bias).
Instrument presets (1m charts):
NQ: MTF 3m, PSAR Max 0.20, Zones ATR×1.2
ES: MTF 5m, PSAR Max 0.16, Zones ATR×1.0
CL: MTF 3m, PSAR Max 0.22, Zones ATR×1.5
GC: MTF 5m, PSAR Max 0.14, Zones ATR×0.9
SPY 0DTE / QQQ 0DTE: MTF 3m, PSAR Max 0.18–0.20, Zones ATR×1.2
SPX 0DTE: MTF 5m, PSAR Max 0.16, Zones ATR×1.1
How entries work
PSAR Flip (info only): labels “Long/Short” mark bias changes on the MTF HA series.
Zone Retest (entry): after a flip creates a zone, look for a retest of that zone (Touch or Confirmed).
PSAR Bounce (entry): price must touch the PSAR without closing through it; the very next candle must confirm (bull for buy, bear for sell).
Trend filter (default ON) blocks counter-trend retests/bounces.
Key inputs (most used)
MTF Timeframe: blank = chart TF; set 3–5m on 1m charts.
PSAR Start/Increment/Max: 0.02/0.02/0.16–0.22 typical.
Zone Method:
Body = compact;
HA Wick = widest;
ATR× = adaptive (ATR Mult 0.9–1.5 common).
Retests: Style (Confirmed recommended), Cooldown (e.g., 2–15).
Bounces: next-bar confirm enforced; Cooldown 1–15.
Filter Retests & Bounces by PSAR Trend: ON by default.
Alerts
Use the built-in alert events:
HA PSAR Long / Short (flip information)
Bullish/Bearish Zone Retest
PSAR Bounce Buy/Sell
Create your TradingView alert and choose “Once per bar close” (recommended for reliability).
Best practices
Structure first, signal second. Prioritize Confirmed Retests of fresh zones; use Bounces as momentum adds.
Notes & Transparency
Signals are computed with request.security(..., lookahead=off) and fire on closed bars. PSAR flips update only when a new MTF bar starts. No future-bar peeking.
Zones persist and extend until replaced by a new flip.
Adaptive Average True RangeOANDA:XAUUSD OANDA:XAUUSD This indicator is based on the hypothesis that a candlestick exhibiting unusual movement, exceeding the maximum value of the Average True Range (ATR), signifies abnormally strong buying or selling pressure. These particular candlesticks are often followed by a retest. We can use Fibonacci levels to help measure the extent of these retests by drawing a box from the upper to the lower wick of the candlestick. The central box defaults to the 0.5 - 0.618 Fibonacci retracement levels, with dashed lines at the 0.382 and 0.732 levels.
The retest of the candlestick can be categorized into two patterns: a strong trend or a sideways market.
In the case of a strong trend, whether it is a downtrend or an uptrend, the retest often only reaches the box drawn on the wicks. However, sometimes it may only retest the 0.382 level for a downtrend or the 0.732 level for an uptrend. Infrequently, if the asset has sufficient volatility, the price may retest the box on the opposite side of the trend.
In the case of a market entering a sideways phase, whether it's a sideways down or sideways up, the price will typically retest the central box before determining its next direction.
This indicator also measures the standard deviation of the ATR to determine the maximum and minimum price movement, based on another hypothesis regarding "time for a move or time for a slow down," which is plotted as a background color.
Please use this indicator with caution, as it is based solely on a hypothesis.
Deep in the Tape – VSA Educational (Invite Only)Deep in the Tape – VSA Educational (Invite-Only)
Overview
This invite-only study is built entirely on the Volume Spread Analysis (VSA) methodology developed by Tom Williams. VSA examines the interplay of volume, spread (bar range), and closing position to highlight the footprints of professional activity.
The aim of this tool is educational: to make it easier for traders to study how supply and demand pressures appear on the chart in real time. It does not generate trading advice, but instead plots markers based on classical VSA principles so students of the method can recognize strength, weakness, confirmations, and traps without the cryptic complexity often found in raw VSA study.
What It Displays
Key VSA Events (visual markers on the chart):
Stopping Volume (SV): Wide down bars with climactic volume closing off the lows.
Selling Climax (SC): Exhaustion selling at the end of a decline, often near bottoms.
Shakeout (SO): A sharp push down that springs back to close strong.
No Supply (NS): Narrow down bar on low volume, showing lack of selling pressure.
No Demand (ND): Narrow up bar on low volume, showing lack of buying interest.
Supply Coming In: Volume surge after an up-move, suggesting sellers active.
Buying Climax (BC): Wide up bar with climactic volume and weakness into the close.
Upthrust (UT): False break above prior highs with a weak close.
End of Rising Market (EoRM): Narrow up bar on very high volume, closing weak, often signaling distribution.
Test Bar: Down bar on very low volume in an uptrend, testing for lack of supply.
Contextual Tools:
Trigger Levels: High/low of ultra-high volume bars projected forward, serving as natural support/resistance levels.
Cluster Zones: Optional shading to mark zones of repeated high-volume activity (potential accumulation/distribution).
Background MA: A simple moving average for context only — not a signal generator.
Interpreting the Markers (Tom Williams Style)
Bullish Background (professional strength):
Events such as SV, SC, SO, and NS.
Best studied when price is trading above trigger levels and above the MA, showing demand in control.
Bearish Background (professional weakness):
Events such as BC, UT, Supply Coming In, and EoRM.
Best studied when price is below trigger levels and below the MA, showing supply dominance.
Multi-Timeframe Context & Market Behavior
A key principle to study with this tool is that higher-timeframe context usually outweighs signals on smaller timeframes. For example:
A short marker on a 5-minute chart often fails if the hourly background is bullish.
Likewise, a bullish signal on a small timeframe is less reliable if higher-timeframe background is bearish.
This highlights an important discipline lesson: not every small signal should be acted upon in isolation. Patience and alignment with the broader background improves study of how professional activity develops.
Channeling & Probing Behavior After Climactic Volume:
After a Stopping Volume (SV) bar on ultra-high volume, the market often enters a sideways channel between the blue (support) and red (resistance) trigger lines.
Professionals may probe the market — for example, dropping price through the lower red line on low volume to test for active sellers. If no significant supply is found, price rallies back inside the channel.
This absorption process may repeat until weakness is removed. Only then do No Supply (NS) or Test bars appear, providing stronger bullish confirmation.
The reverse applies in a bearish background, where No Demand (ND) or weakness confirmations appear after probing and absorption.
Studying these patterns helps traders recognize the probing nature of professional activity, why markets often pause after climactic signals, and how strength or weakness is confirmed over time.
Aggressive Trades (Educational Extension)
In addition to classical confirmations, this study also highlights aggressive follow-through conditions — situations where professionals act quickly after a major VSA event, before the “clean” confirmation appears.
Aggressive Longs may include:
Breakouts immediately above a Stopping Volume (SV) or Selling Climax (SC) high with strong volume.
Shakeout confirmations (price closes above the SO high on effort).
Failure of weakness (e.g., BC/UT/Supply signals that get overrun on strength).
Aggressive Shorts may include:
Confirmed follow-through after Supply Coming In.
Breakdowns after a Buying Climax (BC) or Upthrust (UT).
Shakeout failures where the rally attempt collapses.
End of Rising Market (EoRM) breaks on weakness.
These are marked separately for study. They are not “signals” but rather examples of how strength or weakness can assert itself early.
Failures (Educational Study Only)
Not all setups confirm. In VSA, Tests sometimes fail, and NS/ND bars can be absorbed. These are marked as Failure markers.
Their purpose is purely educational:
To show where expectations do not play out.
To help students see how traps or absorptions form.
To illustrate Tom Williams’ lesson that the market is a testing ground — not a perfect pattern machine.
Why It’s Original
Built directly from Tom Williams’ VSA logic — spread, volume relative to average, wick size, close location, and background context.
Adds projected trigger levels, cluster zones, and aggressive trade markers for educational context.
Designed for clarity and study, removing unnecessary complexity while staying faithful to VSA principles.
Not a mash-up of public scripts — a purpose-built framework for studying supply and demand dynamics.
Disclaimer
This script is for educational and analytical purposes only.
It does not generate buy/sell/alert signals, nor does it provide financial advice.
Always perform your own analysis and risk management before making trading decisions.
Volume Spread Analysis — Educational (VSA Study)Volume Spread Analysis — Educational (VSA Study)
Overview
This study is an educational tool built around classic Volume Spread Analysis (VSA), the methodology introduced by Tom Williams.
VSA looks at the relationship between volume, price spread, and closing position to highlight potential supply and demand imbalances.
The script is designed for learning and visual study, not for trade signals. It highlights well-known VSA events directly on the chart and adds reference lines and a colored moving average to help contextualize strength and weakness.
What It Shows
Major VSA Events: Stopping Volume (SV), Selling Climax (SC), Shakeout (SO), No Supply (NS), No Demand (ND), Buying Climax (BC), Upthrust (UT), Supply Coming In (SCI), End of Rising Market (EoRM), and Test Bars.
Trigger Lines: When a strong VSA bar appears, the script draws horizontal levels at the bar’s high and low. These act as educational “zones” where future price reactions can be studied.
Context Moving Average: A dotted MA changes color with price context (black or green when strength is confirmed, red when weakness dominates).
How It Works
Each event is identified using a blend of conditions:
Volume vs. its average
Spread vs. its average
Close location within the bar
Wick analysis (upper/lower shadows)
Short-term trend filters (5- and 10-period SMAs)
By combining these elements, the script maps chart activity to classical VSA definitions.
How to Study With It
Signs of Strength
Look for SC, SV, or SO bars.
Wait until price trades above the blue trigger line drawn from those bars.
Watch for a No Supply (NS) test bar in that zone.
Confirmation comes when the immediate next bar closes up and strong, with higher volume than the prior two bars.
The dotted MA should shift to black or green, showing supportive background strength.
Signs of Weakness
Watch for Supply Coming In, BC, or UT events.
Wait until price trades below the red trigger line.
Look for a No Demand (ND) bar in that area.
Confirmation comes when the following bar closes down and weak, with higher volume than the prior two bars.
The dotted MA should be red, reinforcing weakness.
Originality
This script was written from scratch with a focus on education and clarity. While VSA concepts themselves are public domain, the implementation here is unique:
It combines event detection, trigger zones, and a contextual MA in one framework.
It avoids acting as a trading system and instead provides a practical study workflow that traders can follow step by step.
Disclaimer
This indicator is for educational purposes only.
It does not generate buy or sell signals and should not be used as financial advice.
Trading involves risk; always perform your own analysis and risk management.
Trend & Volatility ZoneUnlock the power of trend and volatility with the Dynamic Trend Zone, a complete trading suite for TradingView. Designed to help traders of all levels identify the direction and strength of market trends, this tool provides clean, actionable signals to remove guesswork and enhance your trading decisions.
Our system is built on a sophisticated logic that combines a smooth trend-following moving average with volatility bands based on the Average True Range (ATR). This creates an intuitive visual guide to the market's current state.
How It Works
The indicator is composed of two key elements:
The Trend Core: A central, responsive moving average acts as the baseline for determining the primary trend direction.
The Volatility Zone: Dynamic bands that expand and contract based on market volatility (ATR). These bands define the boundaries of the trend. When the price closes outside these bands, it signals a potential new trend is beginning.
The background color changes to provide an at-a-glance understanding of the market:
Blue Zone: Indicates a confirmed uptrend.
Red Zone: Indicates a confirmed downtrend.
Key Features
Visual Trend Zones: The colored background makes it effortless to see if the market is bullish or bearish, helping you stay on the right side of the trend.
Precise Entry Signals: Never miss a potential trend shift.
A green upward arrow appears when the trend officially flips from bearish to bullish, suggesting a buy opportunity.
A red downward arrow appears when the trend switches from bullish to bearish, highlighting a potential sell signal.
Fully Integrated Backtesting Strategy: This script isn't just an indicator; it's a complete, ready-to-use strategy. You can instantly backtest its performance on any asset and timeframe to validate its effectiveness.
Customizable Risk Management: The strategy includes optional Stop Loss and Take Profit parameters (in percent), allowing you to test different risk management approaches.
Highly Customizable Settings: Tailor the indicator to your preferred trading style by adjusting the sensitivity of the trend line and the width of the volatility zones.
Built-in Date Filter: Focus your backtesting on specific market conditions with a simple-to-use date filter, allowing you to analyze performance from any given start date.
How to Use
For a Long Position (Buy): Wait for the background to turn blue and a green arrow to appear below a candle. This signals that bullish momentum is taking control.
For a Short Position (Sell): Wait for the background to turn red and a red arrow to appear above a candle. This indicates that bearish momentum is building.
Confirmation: For best results, use these signals in conjunction with your own analysis, such as identifying key support/resistance levels or confirming with higher timeframe trends.
Customizable Settings
Trend Line Length: Controls the responsiveness of the central trend line. A lower value is faster; a higher value is smoother.
ATR Period: Sets the lookback period for calculating volatility.
ATR Multiplier: Adjusts the width of the trend zones. A higher value requires a stronger price move to signal a trend change.
Stop Loss % / Take Profit %: Define your risk-reward parameters for the backtesting strategy.
Disclaimer: The Dynamic Trend Zone is a tool designed for market analysis and backtesting. It is not financial advice. All forms of trading involve substantial risk, and past performance is not indicative of future results. Please use this tool responsibly as part of a well-rounded trading plan and risk management strategy.
Super SignalWhen all lines are below the 20 line its a super signal to buy. When all trends are above the 80 line it is a super signal to sell.
Trinity Multi-Timeframe MA TrendOriginal script can be found here: {Multi-Timeframe Trend Analysis } www.tradingview.com
1. all credit the original author www.tradingview.com
2. why change this script:
- added full transparency function to each EMA
- changed to up and down arrows
- change the dashboard to be able to resize and reposition
How to Use This Indicator
This indicator, "Trinity Multi-Timeframe MA Trend," is designed for TradingView and helps visualize Exponential Moving Average (EMA) trends across multiple timeframes. It plots EMAs on your chart, fills areas between them with directional colors (up or down), shows crossover/crossunder labels, and displays a dashboard table summarizing EMA directions (bullish ↑ or bearish ↓) for selected timeframes. It's useful for multi-timeframe analysis in trading strategies, like confirming trends before entries.
Configure Settings (via the Gear Icon on the Indicator Title):
Timeframes Group: Set up to 5 custom timeframes (e.g., "5" for 5 minutes, "60" for 1 hour). These determine the multi-timeframe analysis in the dashboard. Defaults: 5m, 15m, 1h, 4h, 5h.
EMA Group: Adjust the lengths of the 5 EMAs (defaults: 5, 10, 20, 50, 200). These are the moving averages plotted on the chart.
Colors (Inline "c"): Choose uptrend color (default: lime/green) and downtrend color (default: purple). These apply to plots, fills, labels, and dashboard cells.
Transparencies Group: Set transparency levels (0-100) for each EMA's plot and fill (0 = opaque, 100 = fully transparent). Defaults decrease from EMA1 (80) to EMA5 (0) for a gradient effect.
Dashboard Settings Group (newly added):
Dashboard Position: Select where the table appears (Top Right, Top Left, Bottom Right, Bottom Left).
Dashboard Size: Choose text size (Tiny, Small, Normal, Large, Huge) to scale the table for better visibility on crowded charts.
Understanding the Visuals:
EMA Plots: Five colored lines on the chart (EMA1 shortest, EMA5 longest). Color changes based on direction: uptrend (your selected up color) if rising, downtrend (down color) if falling.
Fills Between EMAs: Shaded areas between consecutive EMAs, colored and transparent based on the faster EMA's direction and your transparency settings.
Crossover Labels: Arrow labels (↑ for crossover/uptrend start, ↓ for crossunder/downtrend start) appear on the chart at EMA direction changes, with tooltips like "EMA1".
Dashboard Table (top-right by default):
Rows: EMA1 to EMA5 (with lengths shown).
Columns: Selected timeframes (converted to readable format, e.g., "5m", "1h").
Cells: ↑ (bullish/up) or ↓ (bearish/down) arrows, colored green/lime or purple based on trend, with fading transparency for visual hierarchy.
Use this to quickly check alignment across timeframes (e.g., all ↑ in multiple TFs might signal a strong uptrend).
Trading Tips:
Trend Confirmation: Look for alignment where most EMAs in higher timeframes are ↑ (bullish) or ↓ (bearish).
Entries/Exits: Use crossovers on the chart EMAs as signals, confirmed by the dashboard (e.g., enter long if lower TF EMA crosses up and higher TFs are aligned).
Customization: On lower timeframe charts, set dashboard timeframes to higher ones for top-down analysis. Adjust transparencies to avoid chart clutter.
Limitations: This is a trend-following tool; combine with volume, support/resistance, or other indicators. Backtest on historical data before live use.
Performance: Works best on trending markets; may whipsaw in sideways conditions.
Supertrend DashboardOverview
This dashboard is a multi-timeframe technical indicator dashboard based on Supertrend. It combines:
Trend detection via Supertrend
Momentum via RSI and OBV (volume)
Volatility via a basic candle-based metric (bs)
Trend strength via ADX
Multi-timeframe analysis to see whether the trend is bullish across different timeframes
It then displays this info in a table on the chart with colors for quick visual interpretation.
2️⃣ Inputs
Dashboard settings:
enableDashboard: Toggle the dashboard on/off
locationDashboard: Where the table appears (Top right, Bottom left, etc.)
sizeDashboard: Text size in the table
strategyName: Custom name for the strategy
Indicator settings:
factor (Supertrend factor): Controls how far the Supertrend lines are from price
atrLength: ATR period for Supertrend calculation
rsiLength: Period for RSI calculation
Visual settings:
colorBackground, colorFrame, colorBorder: Control dashboard style
3️⃣ Core Calculations
a) Supertrend
Supertrend is a trend-following indicator that generates bullish or bearish signals.
Logic:
Compute ATR (atr = ta.atr(atrLength))
Compute preliminary bands:
upperBand = src + factor * atr
lowerBand = src - factor * atr
Smooth bands to avoid false flips:
lowerBand := lowerBand > prevLower or close < prevLower ? lowerBand : prevLower
upperBand := upperBand < prevUpper or close > prevUpper ? upperBand : prevUpper
Determine direction (bullish / bearish):
dir = 1 → bullish
dir = -1 → bearish
Supertrend line = lowerBand if bullish, upperBand if bearish
Output:
st → line to plot
bull → boolean (true = bullish)
b) Buy / Sell Trigger
Logic:
bull = ta.crossover(close, supertrend) → close crosses above Supertrend → buy signal
bear = ta.crossunder(close, supertrend) → close crosses below Supertrend → sell signal
trigger → checks which signal was most recent:
trigger = ta.barssince(bull) < ta.barssince(bear) ? 1 : 0
1 → Buy
0 → Sell
c) RSI (Momentum)
rsi = ta.rsi(close, rsiLength)
Logic:
RSI > 50 → bullish
RSI < 50 → bearish
d) OBV / Volume Trend (vosc)
OBV tracks whether volume is pushing price up or down.
Manual calculation (safe for all Pine versions):
obv = ta.cum( math.sign( nz(ta.change(close), 0) ) * volume )
vosc = obv - ta.ema(obv, 20)
Logic:
vosc > 0 → bullish
vosc < 0 → bearish
e) Volatility (bs)
Measures how “volatile” the current candle is:
bs = ta.ema(math.abs((open - close) / math.max(high - low, syminfo.mintick) * 100), 3)
Higher % → stronger candle moves
Displayed on dashboard as a number
f) ADX (Trend Strength)
= ta.dmi(14, 14)
Logic:
adx > 20 → Trending
adx < 20 → Ranging
g) Multi-Timeframe Supertrend
Timeframes: 1m, 3m, 5m, 10m, 15m, 30m, 1H, 2H, 4H, 12H, 1D
Logic:
for tf in timeframes
= request.security(syminfo.tickerid, tf, f_supertrend(ohlc4, factor, atrLength))
array.push(tf_bulls, bull_tf ? 1.0 : 0.0)
bull_tf ? 1.0 : 0.0 → converts boolean to number
Then we calculate user rating:
userRating = (sum of bullish timeframes / total timeframes) * 10
0 → Strong Sell, 10 → Strong Buy
4️⃣ Dashboard Table Layout
Row Column 0 (Label) Column 1 (Value)
0 Strategy strategyName
1 Technical Rating textFromRating(userRating) (color-coded)
2 Current Signal Buy / Sell (based on last Supertrend crossover)
3 Current Trend Bullish / Bearish (based on Supertrend)
4 Trend Strength bs %
5 Volume vosc → Bullish/Bearish
6 Volatility adx → Trending/Ranging
7 Momentum RSI → Bullish/Bearish
8 Timeframe Trends 📶 Merged cell
9-19 1m → Daily Bullish/Bearish for each timeframe (green/red)
5️⃣ Color Logic
Green shades → bullish / trending / buy
Red / orange → bearish / weak / sell
Yellow → neutral / ranging
Example:
dashboard_cell_bg(1, 1, colorFromRating(userRating))
dashboard_cell_bg(1, 2, trigger ? color.green : color.red)
dashboard_cell_bg(1, 3, superBull ? color.green : color.red)
Makes the dashboard visually intuitive
6️⃣ Key Logic Flow
Calculate Supertrend on current timeframe
Detect buy/sell triggers based on crossover
Calculate RSI, OBV, Volatility, ADX
Request Supertrend on multiple timeframes → convert to 1/0
Compute user rating (percentage of bullish timeframes)
Populate dashboard table with colors and values
✅ The result: You get a compact, fast, multi-timeframe trend dashboard that shows:
Current signal (Buy/Sell)
Current trend (Bullish/Bearish)
Momentum, volatility, and volume cues
Trend across multiple timeframes
Overall technical rating
It’s essentially a full trend-strength scanner directly on your chart.
Fibonacci with Golden Zone - Trend Aware🎯 What This Indicator Does:
This advanced Fibonacci tool automatically detects trend direction and adapts Golden Zone calculations accordingly, providing dynamic support/resistance levels with market structure analysis.
✨ Key Features:
🔄 Trend-Aware Golden Zone: Automatically adjusts 61.8%-78.6% zone based on market direction
📈 Market Structure Labels: Shows HH, HL, LH, LL patterns with price levels
🎯 Smart Fibonacci Levels: Retracements (0%, 23.6%, 38.2%, 50%, 61.8%, 78.6%, 100%)
🚀 Extension Targets: 127.2%, 161.8%, 200%, 261.8% projections
📊 Pivot Points: Optional daily/weekly pivot levels
🔔 Smart Alerts: Golden Zone entry and extension target alerts
🧠 How It Works:
Uptrend: Golden Zone acts as support (retracement from swing high)
Downtrend: Golden Zone acts as resistance (retracement from swing low)
Auto-Detection: Uses trend MA to determine market direction
Structure Analysis: Identifies swing patterns for better entries
⚙️ Settings:
Lookback Period: Swing detection sensitivity (5-50)
Trend Period: Moving average for trend detection (20-200)
Golden Zone: Toggle 61.8%-78.6% zone display
Market Structure: Show HH/HL/LH/LL labels
Pivot Points: Optional daily pivot levels
📋 Best Use Cases:
🥇 Gold/Forex Trading: Perfect for XAUUSD analysis
📈 Swing Trading: Identify key reversal zones
🎯 Target Setting: Extension levels for profit taking
📊 Trend Following: Align trades with market direction
🎨 Visual Features:
🟡 Golden Zone Box: Highlighted support/resistance area
🏷️ Price Labels: Exact levels on all Fibonacci lines
🎨 Color Coding: Green for uptrend, Red for downtrend
📱 Clean Interface: Professional, non-cluttered design
🔔 Alert System:
🏆 Price entering Golden Zone
🎯 Approaching extension targets (127.2%, 161.8%)
📊 Includes trend direction in alerts
HTF Double TF Candle Projections by Pahto\ HTF Candle Projections (Dual Timeframe)\
This indicator projects higher-timeframe candles directly onto your chart, allowing you to see how larger structures are forming in real time. Instead of waiting for a higher-timeframe bar to close, it builds and updates projected candles tick-by-tick.
\ Key Features\
* \ Dual timeframe support\ – plot two higher-timeframe levels at once for deeper context.
* \ Custom opening times\ – align HTF candles to session opens or specific market times.
* \ Flexible candle types\ – choose between regular or Heikin Ashi projections.
* \ Projection lines\ – live open, high, and low levels extend from the current HTF candle.
* \ Configurable visuals\ – body, wick, border colors, label sizes, margins, and offsets.
* \ OHLC labels\ – optional price markers for open, high, low, and close of projected candles.
\ Use Cases\
* Anticipate higher-timeframe levels while trading on lower timeframes.
* Track evolving HTF opens, highs, and lows during live sessions.
* Compare two higher-timeframe perspectives side-by-side without switching charts.
This tool is designed for traders who rely on multi-timeframe confluence, price action mapping, or session-based analysis. It keeps HTF structure visible at all times so you can trade lower-timeframe setups with bigger-picture alignment.
SatoshiFrame Time Cycles)This powerful indicator highlights key upcoming time cycles on your chart, helping you anticipate potential market turning points. It automatically detects the latest trend cross and marks the next important intervals with vertical lines, giving you a clear visual guide for planning entries, exits, and timing your trades. All lines extend across the full chart for maximum clarity, even if they occur in future bars. Perfect for traders who want to stay ahead of the market rhythm.
Volatility Linear Regression Gaussian | Lyro RSVolatility Linear Regression Gaussian | Lyro RS
Overview
This indicator integrates linear regression analysis, Gaussian filtering, volatility measures, and regime detection into a single momentum and trend framework. Its purpose is to provide traders with a structured perspective on market state by combining smoothed regression signals with volatility envelopes and adaptive visualizations. Through these elements, it offers insights into whether markets are trending, consolidating, overextended, or reverting.
The indicator begins by applying a Gaussian filter to the chosen source, smoothing price data while preserving structural characteristics. Around this smoothed signal, volatility measures are introduced using ATR and standard deviation calculations, forming adaptive envelopes that define overbought and oversold conditions. A linear regression of filtered momentum values is then produced, with optional smoothing via multiple moving average types. This core regression signal becomes the basis for trend, strength, and reversal assessments. Users can toggle between Classic or Heikin Ashi display modes, with each mode providing a different representation of regression-driven momentum dynamics.
Originality
In terms of originality, this script distinguishes itself by unifying several advanced concepts into one modular framework. Gaussian smoothing of the regression base adds flexibility beyond standard linear regression models, while volatility-adjusted ATR bands and dynamic standard deviation envelopes frame regression values within a probabilistic context. The addition of a regime detector further expands utility by classifying the environment as trending or mean-reverting. Combined with Heikin Ashi transformations, multi-mode operation, customizable visualization, and integrated tables, this design enables a single indicator to adapt across multiple strategies, from directional bias to mean reversion and reversal identification.
Key Features
Linear regression inputs allow traders to choose the price source, regression length, smoothing method, and smoothing length, defining the sensitivity of the regression calculation.
Gaussian settings provide control over length and sigma, letting users adjust the degree of smoothing applied to the base signal.
Volatility settings define ATR length and factor as well as standard deviation length, tuning the responsiveness of volatility envelopes.
The regime detector offers long- or short-term modes, background coloring, and transparency adjustments for identifying structural market states.
Standard deviation band settings control whether a zero-line or dynamic midline is used, along with band length and multiplier for overbought/oversold thresholds.
Display options include Classic or Heikin Ashi modes, along with operational modes for Trend, Strength, or Reversals. Color schemes can be selected from predefined palettes or fully customized.
Table settings allow enabling or disabling the summary table, setting its position, forcing overlay if necessary, and choosing from multiple size options.
Visualization
The visualization combines dynamic candles, regression curves, standard deviation bands with shaded fills, and optional background colors tied to regime detection. A summary table displays active module states, showing the condition of trend, strength, reversals, and regime at a glance. Alerts are provided for all key conditions across both Classic and Heikin Ashi modes, including directional trend shifts, strength changes, reversal states, and regime classification.
Summary
In summary, the Volatility Linear Regression Gaussian indicator is a versatile analytical framework built from regression, Gaussian smoothing, volatility envelopes, and regime detection. Its design emphasizes adaptability by offering multiple operational modes, display variations, and alert conditions. By consolidating advanced methods into one unified tool, it supports different analytical approaches within a consistent and customizable structure.
⚠️Disclaimer
This indicator is a tool for technical analysis and does not provide guaranteed results. It should be used in conjunction with other analysis methods and proper risk management practices. The creators of this indicator are not responsible for any financial decisions made based on its signals.
BIST30 % Above Moving Average (Breadth)
BIST30 % Above Moving Average (Breadth)
This indicator shows the percentage of BIST30 stocks trading above a selected moving average.
It is a market breadth tool, designed to measure the overall health and participation of the market.
How it works
By default, it uses the 50-day SMA.
You can switch between SMA/EMA and choose different periods (5 / 20 / 50 / 200).
The script checks each BIST30 stock individually and counts how many are closing above the chosen MA.
Interpretation
Above 80% → Overbought zone (short-term correction likely).
Below 20% → Oversold zone (potential rebound).
Around 50% → Neutral / indecisive market.
If the index (BIST:XU030) rises while this indicator falls → the rally is narrow-based, led by only a few stocks (a warning sign).
Use cases
Short-term traders → Use MA=5 or 20 for momentum signals.
Swing / Medium-term investors → Use MA=50 for market health.
Long-term investors → Use MA=200 to track bull/bear market cycles.
Notes
This script covers only BIST30 stocks by default.
The list can be updated for BIST100 or specific sectors (e.g., banks, industrials).
Breadth indicators should not be used as standalone buy/sell signals — combine them with price action, volume, and other technical tools for confirmation.
[Outperforms Bitcoin Since 2011] Professional MA StrategyThis Strategy OUTPEFORMS Bitcoin since 2011.
Timeframe: Daily
MA used (Fast and Slow): WMA (Weighted Moving Average)
Fast MA Length: 30 days (Reflects the Monthly Trend - Short Term Perspective)
Slow MA Length: 360 days (Reflects the Annual Trend - Long Term Perspective)
Position Size: 100% of equity
Margin for Long = 10% of equity
Margin for Short = 10% of equity
Open Long = Typical Price Crosses Above its Fast MA and Price is above its Slow MA
Open Short = Typical Price Crosses Below its Fast MA and Price is below its Slow MA
Close Long = Typical Price Crosses Below its Fast MA
Close Short = Typical Price Crosses Below its Fast MA
note: Typical Price = (high + low + close) / 3
Sling Shot System By LorinThis script uses the Sling Shot System to draw a cloud of Fast EMA of 38 and Slow EMA of 62, a cloud where most of the pullbacks go to. Together with the Stochastic RSI it draws long and short signals:
1. Longs:
when the RSI is bellow 20.
when the candle has touched the cloud on close.
when the price is forming a higher low, meaning its higher then the last time these conditions were met.
when the price is the uptrend, meaning the cloud is green.
2. Shorts:
when the RSI is above 80.
when the candle has touched the cloud on close.
when the price is forming a lower low, meaning its lower then the last time these conditions were met.
when the price is in the downtrend, meaning the cloud is red.
Global Session Opens + 4H Background (한글: 글로벌 세션 개장 + 4시간 배경 표시)📌 추천 설명 (Description)
English
This indicator highlights two key elements for intraday and swing traders:
Global Session Opens (Asia, Europe, US)
Small session markers at candle open times (Asia 09:00 KST, Europe 16:00 KST, US 22:00 KST). Colors: Yellow = Asia, Red = Europe, White = US. Easy to spot, non-intrusive, and customizable placement.
4H Background Blocks kr.tradingview.com
Alternating faint background (5% opacity) every 4 hours. Helps track how lower timeframes (1m, 5m) move within the higher timeframe (4H).
✅ Perfect for scalpers and intraday traders who want to keep track of global liquidity flows without cluttering the chart.
한국어
이 인디케이터는 단타 및 스윙 트레이더를 위한 두 가지 핵심 기능을 제공합니다:
글로벌 세션 개장 (아시아, 유럽, 미국)
캔들 위에 개장 시간마다 작은 점으로 표시됩니다. (한국시간 기준: 아시아 09:00, 유럽 16:00, 미국 22:00)
색상: 아시아 = 노란색, 유럽 = 빨간색, 미국 = 흰색. 차트 가독성을 해치지 않으며 위치는 자유롭게 조정 가능합니다.
4시간 배경 블록
4시간마다 교차하는 희미한 배경(투명도 95%)이 표시됩니다. 분봉(1분, 5분)의 움직임이 4시간 캔들 안에서 어떻게 전개되는지 파악하는 데 큰 도움이 됩니다.
✅ 심플하지만 강력한 보조 도구로, 차트 분석 시 심리적 흔들림을 줄이고 글로벌 유동성 흐름을 쉽게 추적할 수 있습니다.
Weekend Hunter Ultimate v6.2 Weekend Hunter Ultimate v6.2 - Automated Crypto Weekend Trading System
OVERVIEW:
Specialized trading strategy designed for cryptocurrency weekend markets (Saturday-Sunday) when institutional traders are typically offline and market dynamics differ significantly from weekdays. Optimized for 15-minute timeframe execution with multi-timeframe confluence analysis.
KEY FEATURES:
- Weekend-Only Trading: Automatically activates during configurable weekend hours
- Dynamic Leverage: 5-20x leverage adjusted based on market safety and signal confidence
- Multi-Timeframe Analysis: Combines 4H trend, 1H momentum, and 15M execution
- 10 Pre-configured Crypto Pairs: BTC, ETH, LINK, XRP, DOGE, SOL, AVAX, PEPE, TON, POL
- Position & Risk Management: Max 4 concurrent positions, -30% account protection
- Smart Trailing Stops: Protects profits when approaching targets
RISK MANAGEMENT:
- Maximum daily loss: 5% (configurable)
- Maximum weekend loss: 15% (configurable)
- Per-position risk: Capped at 120-156 USDT
- Emergency stops for flash crashes (8% moves)
- Consecutive loss protection (4 losses = pause)
TECHNICAL INDICATORS:
- CVD (Cumulative Volume Delta) divergence detection
- ATR-based dynamic stop loss and take profit
- RSI, MACD, Bollinger Bands confluence
- Volume surge confirmation (1.5x average)
- Weekend liquidity adjustments
INTEGRATION:
- Designed for Bybit Futures (0.075% taker fee)
- WunderTrading webhook compatibility via JSON alerts
- Minimum position size: 120 USDT (Bybit requirement)
- Initial capital: $500 recommended
TARGET METRICS:
- Win rate target: 65%
- Average win: 5.5%
- Average loss: 1.8%
- Risk-reward ratio: ~3:1
IMPORTANT DISCLAIMERS:
- Past performance does not guarantee future results
- Leveraged trading carries substantial risk of loss
- Weekend crypto markets have 13% of normal liquidity
- Not suitable for traders who cannot afford to lose their entire investment
- Requires continuous monitoring and adjustment
USAGE:
1. Apply to 15-minute charts only
2. Configure weekend hours for your timezone
3. Set up webhook alerts for automation
4. Monitor performance table in top-right corner
5. Adjust parameters based on your risk tolerance
This is an experimental strategy for educational purposes. Always test with small amounts first and never invest more than you can afford to lose completely.
SatoshiFrame Pivot DetectorThis script detects pivot highs and lows on the chart and plots the last three pivots as fixed horizontal rays that do not shift when the chart moves. It also optionally displays labels for each pivot and can color the levels based on strength thresholds.
Triple RSI | MisinkoMasterThe Triple RSI (TRSI) is an advanced trend-following oscillator designed to capture trend reversals with speed and smoothness, combining concepts from traditional RSI, multi-timeframe momentum analysis, and layered moving average smoothing.
By blending multiple RSI lengths and applying a unique smoothing sequence, the TRSI creates a fast, momentum-driven RSI oscillator that reduces noise without sacrificing responsiveness.
🔎 Methodology
The indicator is built in three main steps:
Multi-Length RSI Calculation
Three RSIs are calculated using different lengths derived from the user’s input n:
RSI(√n) → very fast, highly responsive.
RSI(n/2) → moderately fast.
RSI(n) → slower, more stable baseline.
Each RSI is normalized by subtracting 50, centering values around zero.
Triple RSI Formula
The three RSIs are combined into the base formula:
TRSI=RSI(√n)+RSI(n/2)−RSI(n)
TRSI=RSI(√n)+RSI(n/2)−RSI(n)
This subtracts the slower RSI from the faster ones, boosting responsiveness and making the TRSI more momentum-oriented than a standard RSI.
Layered Smoothing
The raw TRSI is smoothed in three steps:
RMA(n/2)
RMA(√n)
HMA(√n)
This sequence balances stability and speed:
RMA provides consistency and reduces false noise.
HMA adds responsiveness and precision.
The result is a smooth yet reactive oscillator, optimized for reversal detection.
📈 Trend Classification
The TRSI offers three ways to interpret trend direction:
Oscillator Values
Above 0 → Bullish (uptrend).
Below 0 → Bearish (downtrend).
Oscillator Colors
Green TRSI line → Positive momentum.
Red TRSI line → Negative momentum.
Background Colors
Green background flash → Reversal into bullish trend.
Red background flash → Reversal into bearish trend.
This makes it easy to scan past price history and quickly identify turning points.
🎨 Visualization
TRSI line plotted with dynamic coloring (green/red).
Filled area between TRSI and zero-line reflects momentum bias.
Background flashes highlight trend reversal points, adding context and clarity for visual traders.
⚡ Features
Adjustable length parameter (n).
Dynamic use of √n and n/2 for multi-speed RSI blending.
Built-in smoothing with 2× RMA + 1× HMA.
Multiple trend detection methods (value, color, background).
Works across all assets and timeframes (crypto, forex, stocks, indices).
✅ Use Cases
Reversal Detection → Catch early shifts in trend direction.
Trend Confirmation → Stay aligned with momentum.
Momentum Filter → Avoid counter-trend trades in trending markets.
Historical Analysis → Quickly scan past reversals via background coloring.
⚠️ Limitations
As with all oscillators, TRSI may give false signals in sideways/choppy markets.
Optimal sensitivity depends on asset volatility → adjust n for best results.
It is not a standalone system and should be combined with other tools (trend filters, volume, higher timeframe confluence).