TR37This indicator plots a 377-day Exponential Moving Average (EMA) based on the closing price, ideal for long-term trend analysis. The EMA emphasizes recent price movements while smoothing out short-term fluctuations. A label "TR37" with white text is displayed at the end of the line for clear identification.
Pattern grafici
Smooth Cloud + RSI Liquidity Spectrum + Zig Zag Volume ProfileSmooth Cloud + RSI Liquidity Spectrum + Zig Zag++ Volume Profile" Indicator
| Advanced Trend & Liquidity Analysis.
---
📌 Key Features & Enhancements (Zig Zag++)
This advanced indicator combines **trend-following moving averages, RSI momentum with liquidity factors, and an improved Zig Zag++ algorithm with volume profiling** for precise swing detection.
🔹 Zig Zag++ Upgrades:
✅ **Dynamic Reversal Detection** – Adapts to volatility using percentage-based pivots.
✅ **Volume-Weighted Swing Points** – Highlights high-liquidity turning points.
✅ **Multi-Timeframe Confirmation** – Uses historical pivots for stronger signals.
✅ **Volume Profile Clustering** – Reveals key support/resistance zones based on traded volume.
---
📊 Indicator Components Breakdown
1️⃣ Smooth Cloud (Trend Filter)
- **Fast MA (20-period) & Slow MA (50-period)** – Configurable as EMA, SMA, or WMA.
- **Cloud Coloring** – Green when fast MA > slow MA (bullish), red otherwise (bearish).
- **Purpose**: Acts as a trend filter—only take trades in the direction of the cloud.
2️⃣ RSI Liquidity Spectrum (Momentum + Volume)
- **RSI (14-period default)** – Standard momentum oscillator.
- **Liquidity-Adjusted Momentum** = `(RSI + ROC(RSI,3)) * (Volume / SMA(Volume, RSI Length))`
- **Purpose**: Identifies overbought/oversold conditions with volume confirmation (high volume = stronger signal).
3️⃣ Zig Zag++ (Swing Detection & Volume Profiling)
📈 Zig Zag Logic:**
- **Percentage-Based Reversals** (default: 5%) – Only plots swings exceeding this threshold.
- **Pivot Tracking** – Stores price & bar index of each swing point in arrays.
- **Dynamic Line Drawing** – Connects swing points with yellow trendlines.
📊 Volume Profile at Swings:
- **Lookback Period** (200 bars default) – Analyzes volume distribution between Zig Zag turns.
- **10-Price Bin Clustering** – Splits the price range into 10 levels and calculates traded volume at each.
- **Transparency Scaling** – Higher volume zones appear darker (stronger support/resistance).
---
🎯 Step-by-Step Trading Strategies
📈 Strategy 1: Trend-Following with RSI Liquidity Confirmation**
1. **Enter Long** when:
- Smooth Cloud is **green** (fast MA > slow MA).
- RSI Liquidity Momentum crosses above **30** (bullish momentum + volume).
- Price pulls back to the **Volume Profile high-volume zone** (demand area).
2. **Enter Short** when:
- Smooth Cloud is **red** (fast MA < slow MA).
- RSI Liquidity Momentum crosses below **70** (bearish momentum + volume).
- Price rallies into the **Volume Profile high-volume zone** (supply area).
3. **Exit** when:
- Zig Zag++ detects a new reversal (5% move against position).
- RSI Liquidity Momentum crosses back mid-level (50).
---
📉 Strategy 2: Swing Trading with Zig Zag++ Pivots**
1. **Buy at Swing Lows** when:
- Zig Zag++ prints a **higher low** (bullish structure).
- Volume Profile shows **strong absorption** (high volume at the low).
- RSI Liquidity Momentum is rising from oversold (<30).
2. **Sell at Swing Highs** when:
- Zig Zag++ prints a **lower high** (bearish structure).
- Volume Profile shows **distribution** (high volume at the top).
- RSI Liquidity Momentum is falling from overbought (>70).
3. **Stop Loss**:
- Below the recent Zig Zag low (for longs).
- Above the recent Zig Zag high (for shorts).
---
📌 Additional Enhancements (Pro Tips)**
- **Combine with Higher Timeframe (HTF) Cloud** – Use a 4H/1D cloud to filter trades.
- **Divergence Detection** – Hidden bullish/bearish divergences between Zig Zag & RSI Liquidity.
- **Volume Spike Confirmation** – Only trade if volume exceeds SMA(volume, 20) at reversal points.
---
🚀 Conclusion
This **all-in-one indicator** provides:
✔ **Trend direction** (Smooth Cloud)
✔ **Momentum + Liquidity strength** (RSI Spectrum)
✔ **Precise swing points** (Zig Zag++)
✔ **Volume-based S/R zones** (Profile Clustering)
Best used on **15M-4H timeframes** for swing/day trading. Adjust parameters based on asset volatility.
Moving Average Convergence Divergence (with Fade Alert) • Adds a new alertcondition() called “MACD Histogram Fading”.
• This alert triggers whenever the histogram bar is shrinking, regardless of direction.
• You can now set your alert on TradingView using that condition.
swing_fun_advancedThis indicator is similar to my free open-source swing_fun indicator, but it contains sell signals and sell alerts too.
Design to be used on the indexes with the 4hr chart. It gives alerts whenever a long or short signal is found.
I have tested it with US100, UK100, DE40, US30, US500, J225.
AMOGH smc bo/bd - Delta Bot IntegrationAMOGH SMC BO/BD – Delta Bot Integration ek advanced Pine Script indicator hai jo CHoCH ke baad breakout/breakdown (BO/BD) entries detect karta hai. Ye structure flip, SL, aur smart alerts ke sath auto-trading bots ke liye optimized hai. Entry precision aur exit logic strategy-grade hai.
fast market structure Dynamic Support Resistance Candle ColorsA trend reversal occurs when the direction of the market changes from an uptrend to a downtrend or vice versa. It is typically confirmed by a shift in price structure, such as a break of key support or resistance, a change in swing highs/lows, or specific candlestick patterns
Peak ↔ Trough Leg & Cycle CounterThis indicator plots both leg counts and cycle counts between peaks and troughs, and includes a real-time counter showing the number of bars since the last swing (peak or trough).
=== Description ===
"Peak ↔ Trough Leg + Cycle + Real-Time Counter" is a swing-based timing tool designed for discretionary and systematic traders.
It detects local peaks and troughs based on user-defined swing length and visually tracks:
The number of bars between alternating peaks and troughs ("Leg Count")
The number of bars between recurring same-type swings (Peak→Peak and Trough→Trough "Cycle Count")
A real-time counter showing bars elapsed since the last confirmed swing (updated live on the most recent bar)
Labels are drawn at each swing point:
Top arrows (teal) at local peaks
Bottom arrows (green) at local troughs
Each label contains:
Line 1 – Bars since last swing (Leg Count)
Line 2 – Bars since last same-type swing (Cycle Count)
A yellow label is shown on the most recent bar, counting live from the last swing.
=== Potential Uses ===
**Time-based entry filters**: Wait for X bars since last swing before entering a trade.
**Cycle analysis**: Visually gauge market rhythm and mean-reversion timing.
**Backtesting timing rules**: Use swing-to-swing durations to test ideas like "enter long only if X bars since peak".
**Momentum/fade context**: Identify when a market is overextended in time vs. price.
**Bar-count-based trailing stops**: Combine time since last swing with price stops for dynamic exits.
**Training visual intuition**: Reinforce understanding of market structure through peak/trough rhythm.
Hourly Strong Pivot Rays with ClustersHourly pivots with areas of confluence clusters. Works best with strong stocks and indexes.
Multi-Timeframe SFP + SMTImportant: Please Read First
This indicator is not a "one size fits all" solution. It is a professional and complex tool that requires you to learn how to use it, in addition to backtesting different settings to discover what works best for your specific trading style and the assets you trade. The default settings provided are my personal preferences for trading higher-timeframe setups, but you are encouraged to experiment and find your own optimal configuration.
Please note that while this initial version is solid, it may still contain small errors or bugs. I will be actively working on improving the indicator over time. Also, be aware that the script is not written for maximum efficiency and may be resource-intensive, but this should not pose a problem for most users.
The source code for this indicator is open. If you truly want to understand precisely how all the logic works, you can copy and paste the code into an AI assistant like Gemini or ChatGPT and ask it to explain any part of the script to you.
Author's Preferred Settings (Guideline)
As a starting point, here are the settings I personally use for my trading:
SFP Timeframe: 4-Hour (Strength: 5-5)
Max Lookback: 35 Bars
Raid Expiration: 1 Bar
SFP Lines Limit: 1
SMT Timeframe 1: 30-Minute (Strength: 2-2) with 3-Minute LTF Detection.
SMT Timeframe 2: 15-Minute (Strength: 3-3) with 3-Minute LTF Detection.
SMT Timeframe 3: 1-Hour (Strength: 1-1) with 3-Minute LTF Detection.
SMT Timeframe 4: 15-Minute (Strength: 1-1) with 3-Minute LTF Detection.
Multi-Timeframe SMT: An Overview
This indicator is a powerful tool designed to identify high-probability trading setups by combining two key institutional concepts: Swing Failure Patterns (SFP) on a higher timeframe and Smart Money Technique (SMT) divergences on a lower timeframe. A key feature is the ability to configure and run up to four independent SMT analyses simultaneously, allowing you to monitor for divergences across multiple timeframes (e.g., 15m, 1H, 4H) from a single indicator.
Its primary purpose is to generate automated signals through TradingView's alert system. By setting up alerts, the script runs server-side, monitoring the market for you. When a setup presents itself, it will send a push notification to your device, allowing you to personally evaluate the trade without being tied to your screen.
The Strategy: HTF Liquidity Sweeps into LTF SMT
The core strategy is built on a classic institutional trading model:
Wait for a liquidity sweep on a significant high timeframe (e.g., 4-hour, Daily).
Once liquidity is taken, look for a confirmation of a shift in market structure on a lower timeframe.
This indicator uses an SMT divergence as that confirmation signal, indicating that smart money may be stepping in to reverse the price.
How It Works: The Two-Step Process
The indicator's logic follows a precise two-step process to generate a signal:
Step 1: The Swing Failure Pattern (SFP)
First, the indicator identifies a high-timeframe liquidity sweep. This is configured in the "Swing Failure Pattern (SFP) Timeframe" settings.
It looks for a candle that wicks above a previous high (or below a previous low) but then closes back within the range of that pivot. This action is known as a "raid" or a "swing failure," suggesting the move failed to find genuine momentum.
Step 2: The SMT Divergence
The moment a valid SFP is confirmed, the indicator's multiple SMT engines activate.
Each engine begins monitoring the specific SMT timeframe you have configured (e.g., "SMT Timeframe 1," "SMT Timeframe 2," etc.) for a Smart Money Technique (SMT) divergence.
An SMT divergence occurs when two closely correlated assets fail to move in sync. For example, after a raid on a high, Asset A makes a new high, but Asset B fails to do so. This disagreement suggests weakness and a potential reversal.
When the script finds this divergence, it plots the SMT line and triggers an alert.
The Power of Alerts
The true strength of this indicator lies in its alert capabilities. You can create alerts for both unconfirmed and confirmed SMTs.
Enable Alerts LTF Detection: These alerts trigger when an unconfirmed, potential SMT is spotted on the lower "LTF Detection" timeframe. While not yet confirmed, these early alerts can notify you of a potential move before it fully happens, allowing you to be ahead of the curve and find the best possible trade entries.
Enable Alerts Confirmed SMT: These alerts trigger only when a permanent, confirmed SMT line is plotted on your chosen SMT timeframe. These signals are more reliable but occur later than the early detection alerts.
Key Concepts Explained
What is Pivot Strength?
Pivot Strength determines how significant a high or low needs to be to qualify as a valid structural point. A setting of 5-5, for example, means that for a candle's high to be considered a valid pivot high, its high must be higher than the highs of the 5 candles to its left and the 5 candles to its right.
Higher Strength (e.g., 5-5, 8-8): Creates fewer, but more significant, pivots. This is ideal for identifying major structural highs and lows on higher timeframes.
Lower Strength (e.g., 2-2, 3-3): Creates more pivots, making it suitable for identifying the smaller shifts in momentum on lower timeframes.
Raid Expiration & Validity
An SFP signal is not valid forever. The "Raid Expiration" setting determines how many SFP timeframe bars can pass after a raid before that signal is considered "stale" and can no longer be used to validate an SMT. This ensures your SMT divergences are always in response to recent liquidity sweeps.
Why You Must Be on the Right Chart Timeframe to See SMT Lines
Pine Script™ has a fundamental rule: an indicator running on a chart can only "see" the bars of that chart's timeframe or higher.
When the SMT logic is set to the 15-minute timeframe, it calculates its pivots based on 15-minute data. To accurately plot lines connecting these pivots, you must be on a 15-minute chart or lower (e.g., 5-minute, 1-minute).
If you are on a higher timeframe chart, like the 1-hour, the 15-minute bars do not exist on that chart, so the indicator has no bars to draw the lines on.
This is precisely why the alert system is so powerful. You can set your alert to run on the 15-minute timeframe, and TradingView's servers will monitor that timeframe for you, sending a notification regardless of what chart you are currently viewing.
EMA Cross + M Pivot TP + TP Labels & Alertuse it because i SAID SO NOW!!!!!
EMA CROSS
M PIVOT
TP LABELS AND ALERTS
ATR-Filtered EMA Scale-Out + PVRSA M Pivot Highatr filter ema scale in out pvrsa
use because I said so nothing more or less
Confluence Indicator: Fib, MACD, SMA 50/200This is a scalping indicator best used on the 1hour and 15min charts
Pivot Cluster Support Resistance ZonesPivot Cluster Support Resistance Zones
An adaptive S/R tool that turns recent pivots into clean, readable zones with optional trade setup guidance and midline cross alerts.
What the script shows on your chart
It draws shaded price zones that act as support or resistance based on where the zone midpoint sits relative to the current close. Zones above price are tinted as resistance and zones below price are tinted as support. Each zone carries a compact label that prints the current timeframe plus the exact mid price, for example “4H | 4325.25”. When you enable trade setups, the script adds labels for an entry at the nearest zone midpoint, a stop placed just outside the zone with a volatility aware buffer, and one or more take profit points at the next zone midpoints in the path of the move. The script also exposes three alert conditions that trigger when price crosses a zone midpoint upward, downward, or either way.
How to use it if you are new to TradingView or price action
Apply the indicator to a clean chart first so the shaded boxes and labels are easy to read. Green tinted boxes are support areas that can catch pullbacks when price trades above them. Red tinted boxes are resistance areas that can cap rallies when price trades below them. Start by watching how price reacts when it approaches the nearest zone. If you enable the trade setup option, use the “Entry” label as a suggested fair value inside the nearest zone, place the “Stop Loss” just beyond the zone using the automatic buffer shown in the label, and consider scaling out at the “Take Profit” labels as price reaches the next zones. Treat these labels as a structured map rather than a promise. Always wait for your own confirmation, such as a candle close that respects the zone, and always size your risk.
How it works in plain language
The script waits for real, confirmed turning points in price called pivots. When a pivot forms, it gets saved into a rolling list of recent turning points. The script then looks for tight groups of those pivots that sit near each other in price. The allowed distance for a group is not fixed. It scales with the asset’s recent 300 bar range so that busy, volatile markets get wider tolerance and quiet markets get tighter tolerance. Each group of nearby pivots becomes a candidate zone. The number of pivots inside the group is the strength of the zone. If two candidate zones overlap in price, the script keeps the stronger one and removes the weaker one. Only the strongest zones are kept on the chart up to your chosen limit. For each final zone the midpoint is the single reference used for tinting, labels, and alerts. This keeps the logic consistent and easy to reason about.
Technical explanation for advanced users
Pivot detection is based on a symmetric period length over either High or Low, or a Close or Open surrogate using max and min. Each confirmed pivot is unshifted into an array capped by your “Maximum Number of Pivot”. On rebuild, a clustering pass iterates over the array to compute zone candidates. The cluster width equals the recent 300 bar range multiplied by “Maximum Channel Width %”. For a given seed value the pass grows the candidate by including any pivot value that stays within the current low to high bounds while the total spread remains within the width threshold. The count of included pivots is the strength metric. A second pass enforces mutual exclusion, replacing an existing zone with a new one if the new strength is higher within an overlapping price interval. Zones are kept in descending order of strength and trimmed to “Maximum Number of S/R”. Each drawn zone uses a midpoint rounded to mintick for label clarity. The visual is a background box centered around the midpoint with a small pad for legibility. Zone shading updates every bar so the support or resistance tint always reflects the current close, while the full set of zones and trade labels rebuild on new pivot confirmation. Alerts compute midpoint crosses using close on the previous bar versus the current close to avoid repainting.
Inputs and practical tuning in real trading
Pivot Period controls how quickly turning points confirm. Lower values confirm sooner and create more candidate pivots, which can make zones appear faster at the cost of noise. Source lets you choose between High and Low or a Close and Open surrogate that can be more conservative during gaps. Maximum Number of Pivot caps memory and performance. Maximum Channel Width % scales zone formation relative to the last 300 bars. If your chart looks messy, reduce this percentage to demand tighter clusters and raise Minimum Strength so that only zones formed by multiple pivots survive. Maximum Number of S or R limits the number of visible zones so the view stays readable. Label Location shifts labels to the right if they sit too close to candles. The trade setup block has a switch to show or hide guidance, a number that controls how many take profits you want to see, and a Stop Loss Buffer percent that extends beyond the zone height to account for volatility and slippage. If you want fewer signals, raise Minimum Strength and lower the channel width. If you want more signals, do the opposite. If labels overlap on lower timeframes, move Label Location farther to the right.
Reading the zones with a repeatable workflow
Begin on a higher timeframe to understand the main structure then drop to a lower timeframe to refine entries around the same zones. When price approaches a support zone from above, look for a reaction such as a wick rejection, a strong close back above the midpoint, or a quick reclaim after a shallow break. When price approaches a resistance zone from below, watch for hesitation, lower highs inside the zone, or a decisive close under the midpoint. If you use the optional trade setup labels, treat the midpoint entry as a baseline. Use the buffer based stop as a pre planned exit that avoids getting tagged by normal chop inside the zone. Use the staged take profits at the next zone midpoints to reduce risk as price reaches logical targets. Alerts on midpoint crosses can help you monitor multiple charts without staring at them.
Alerts and how to set them
Open the alert dialog on TradingView and select one of the three exposed conditions. Choose “Resistance Broken” when you want a notification for crosses above any zone midpoint, “Support Broken” when you want a notification for crosses below any zone midpoint, or the combined condition if you simply want to know when price has moved through any midpoint in either direction. Consider adding a secondary filter in your trading plan, for example only take alerts that align with the higher timeframe bias.
Notes, limitations, and expectations
Pivots confirm only after the chosen period, which means zones update when a new pivot locks in. This is intentional and avoids repainting. If price moves far without forming a new pivot, the optional trade setup labels will not update until the next pivot confirms. Zones are derived from recent data and can change as new pivots arrive. Treat the script as a structure and risk framework, not as a signal generator. Your own confirmation, risk sizing, and trade management remain essential.
Originality
This publication and code are original works by the author. No third party or open source code was reused.
Publication guidance to satisfy moderator checks
Use a clean chart for your main screenshot so the shaded boxes and labels are obvious. If you show the optional trade setup labels, include a short caption that explains Entry, Stop Loss, and Take Profit placement. If you show the alert dialog, include a second image with a brief caption so reviewers can match the conditions to what the script exposes.
Changelog
Version 2 introduces strength ordered clustering with overlap resolution, range scaled width based on the last 300 bars, midpoint based coloring and alerts, optional trade setup labels with a buffer based stop and multiple take profits, and timeframe aware zone labels. Presentation defaults were tuned so zones and labels are readable on a blank chart.
Disclaimer
This tool is for research and charting. It does not predict outcomes or guarantee results. Always validate ideas with your own method and manage risk accordingly.
Alert condition references
// Exposed alert conditions
alertcondition(crossed_over, title='Resistance Broken', message='Resistance Broken')
alertcondition(crossed_under, title='Support Broken', message='Support Broken')
alertcondition(crossed_over or crossed_under, title='Support or Resistance Broken', message='Support or Resistance Broken')
First Candle RuleThis script detects Fair Value Gaps (FVGs) on the 1-minute chart and highlights potential smart money long and short entries. It automatically calculates a risk-reward target based on a customizable ratio and displays clear caption labels showing the entry, stop, and target levels. Designed for ICT-style scalping setups.
Multi Time Frame Supporting Candles (with EMA/VWAP)Overview
This script provides a clean and, most importantly, correctly-scaled Multi-Time-Frame (MTF) analysis panel. It displays the candles of a higher timeframe (e.g., 1-hour candles while you are on a 5-minute chart) in a separate pane below your main chart.
Crucially, it solves a common Pine Script scaling issue, allowing you to plot indicators like EMA and VWAP from the higher timeframe alongside the candles without distorting the display. This tool is essential for traders who practice Multi-Time-Frame Analysis, helping you stay aware of the larger trend context while executing trades on a lower timeframe.
AuraAURA is an indicator designed for trend analysis of cryptocurrencies, aiming to provide information with real-time chart data. It is in continuous development and aims to contribute to market analysis.
RSI MA Cross AlertAlerts when RSI-based Moving Average crosses above 50. Can be used on any symbol and timeframe. Displays RSI, RSI-MA, and levels 30/50/70.
Bullish/Bearish Trend Indicator [MTF + Alerts] by Dow theory Summary of Logic:
✅ Bullish Trend:
Setup Bar: High > Previous High AND Low ≥ Previous Low
Confirmation Bar: High > Highest High of last 3 candles, Low ≥ Setup Bar Low
Trend Continues Until: Latest candle breaks 2nd last candle’s low → then trend becomes Bearish
🔻 Bearish Trend:
Setup Bar: Low < Previous Low AND High ≤ Previous High
Confirmation Bar: Low < Lowest Low of last 3 candles, High ≤ Setup Bar High
Trend Continues Until: Latest candle breaks 2nd last candle’s high → then trend becomes Bullish