Price Line Indicator
This indicator plots evenly spaced horizontal lines on the price chart starting from a user-defined price. You can customize:
Starting Price
Price Spacing (supports decimals)
Number of Lines
Line Color & Width
Each line is extended across the chart with a label showing its precise price level (up to 4 decimal places). Ideal for marking psychological levels, support/resistance zones, or custom grid setups.
圖表形態
Consolidation Box1. Overview & Purpose
The "Faithful Box" is a powerful TradingView indicator designed to automatically identify and visualize high-quality price consolidation zones, often known as 'trading ranges' or 'boxes'.
This tool is a direct Pine Script translation of a specific, robust Python-based analysis strategy. Its primary goal is not just to find any sideways movement, but to qualify it based on a strict set of rules, ensuring that only meaningful and tradable consolidation patterns are highlighted on the chart.
2. Core Logic: How It Works
The indicator's intelligence is based on several key rules translated from the original Python script:
Box Definition (Based on Closing Prices): The most crucial rule is how the box is defined. Unlike many tools that use candle wicks (highs and lows), this indicator establishes the Ceiling (Resistance) and the Floor (Support) of the box using the highest Close price and the lowest Close price over the specified analysis period. This provides a more stable and representative view of the true consolidation zone, ignoring outlier price spikes.
Quality Filters: A consolidation is only considered valid and drawn on the chart if it meets two strict criteria:
Minimum Touches: The price must "test" the ceiling and floor a minimum number of times. A "touch" is counted with a tolerance — the High of a candle only needs to get close to the ceiling, and the Low close to the floor. This simulates how price interacts with support and resistance zones in the real world.
Maximum Height: The consolidation range cannot be excessively wide or volatile. The box will only be drawn if its total height, as a percentage of its price, is below a user-defined limit.
3. Visual Features on the Chart
When a valid consolidation pattern is detected, the indicator draws a semi-transparent box over the analysis period. The most powerful visual feature is its dynamic coloring, which functions as a built-in alert system:
🟥 Red Box: The box turns red when the price enters the upper "Action Zone" (e.g., the top 30% of the range). This visually signals that the price is near a key resistance level, alerting the trader to a potential reversal or breakout opportunity.
🟩 Green Box: The box turns green when the price enters the lower "Action Zone" (e.g., the bottom 30% of the range). This highlights that the price is testing a key support level.
⬜ Gray Box: The box remains a neutral gray when the price is trading in the middle of the range, which can often be considered a "no-trade" or "wait-and-see" zone.
4. Configuration (Indicator Inputs)
You have full control over the indicator's sensitivity through its inputs:
Analysis Period (days): Defines the lookback window (in trading days) to search for a consolidation pattern. Common values are 42 (approx. 2 months) or 63 (approx. 3 months).
Maximum Box Height (%): Filters out consolidations that are too volatile or wide. A lower percentage will find tighter, more compressed consolidations.
Minimum Ceiling/Floor Touches: Defines the "strength" of the support and resistance levels. Requiring more touches will result in fewer detected patterns, but likely of higher quality.
Touch Tolerance (%): Defines how close the High/Low needs to get to the edge of the box to be counted as a touch. A value of 2% means a touch is registered if the price comes within 2% of the box's total height from the edge.
Action Zone (%): Customizes the size of the red (resistance) and green (support) zones. A value of 30% means the top 30% of the box will be the red zone, and the bottom 30% will be the green zone.
Taiyoz Gaps1. Purpose
Tyoz Gaps highlights “gaps” between yesterday’s close and today’s open directly on your chart. A gap occurs when the opening price is significantly above or below the prior bar’s close. By drawing persistent boxes around each gap, you can instantly see where price left a void and monitor when (or if) that void gets completely filled.
2. Gap Detection Logic
Threshold: A gap is only detected if the open-to-previous-close difference exceeds a user-defined “Minimal Deviation” (percentage of the 14-bar average high-low range).
Direction:
Gap Up: today’s open > yesterday’s close
Gap Down: today’s open < yesterday’s close
3. Box Drawing
For each detected gap, the script draws a rectangular box spanning from yesterday’s close level to today’s open level.
Border & Fill Colors are configurable separately for up-gaps and down-gaps.
Boxes extend to the right as new bars form.
4. Display & Filtering Options
Show Gap Up / Show Gap Down toggles let you hide bullish or bearish gaps independently.
Max Number of Gaps: Limits how many boxes remain on-screen; oldest boxes are removed when the limit is exceeded.
Limit Max Gap Trail Length: Optionally force-close any gap box after a given number of bars, even if unfilled.
5. Closing Logic
Full-Fill Only: A gap box stays visible until price fully “fills” it—i.e., for an up-gap, price must exceed the top edge (yesterday’s close); for a down-gap, price must cross below the bottom edge.
Once filled, the box is removed and a “Gap Closed” alert flag is set.
6. Labels & Alerts
Each active gap can optionally show a label at the gap’s lower edge containing:
Absolute size (in price points) and percentage of the gap
Bar count since the gap formed
Label Text Color and Label Text Size are both user-configurable.
Two built-in alertcondition()s fire when a new gap appears or when a gap closes.
Daily Pivot Points + R1 S1 R2 S2 with PricesThis indicator automatically plots daily pivot points (PP) along with the first and second resistance (R1, R2) and support (S1, S2) levels on your chart. Each level is clearly labeled with its price, making it easy to identify key areas for potential reversals or breakouts. Perfect for day traders and swing traders looking for reliable intraday support and resistance zones.
Efficient Candle Range (ECR)Efficient Candle Range (ECR)
A custom-built concept designed to detect zones of efficient price movement, often signaling the start, pause, or end of an implied move.
What is the Efficient Candle Range?
The Efficient Candle Range (ECR) is a unique tool that identifies price zones based on efficient candles—candles with relatively small bodies and balanced wicks. These candles reflect balanced or orderly price action, and when grouped into a range, they can reveal areas of temporary equilibrium in the market.
Rather than focusing on single candles, ECR builds a range that dynamically adjusts as new efficient candles form. This gives traders an objective way to track potential areas of absorption, distribution, or transition.
Why use ECR?
Efficient candles often occur:
At the beginning of a new move, after a liquidity sweep or shift in sentiment
At the end of a strong move, as momentum fades
Within consolidation zones, where price trades in a balanced, indecisive state
While ECRs can appear in any market condition, their interpretation depends on context:
In a range, an ECR might just reflect sideways balance.
But after a sweep or breakout, it could signal a potential shift in direction or continuation.
A close outside the ECR often marks the end of that balance and the start of a new impulse.
How it works
The script detects efficient candles based on body-to-range ratio and wick symmetry.
Consecutive ECs are grouped into a live ECR box.
The box dynamically extends as long as price stays inside the high-low range.
Once a candle closes outside, the ECR is considered invalid (fades visually, but remains visible for reference).
Each active range is labeled "ECR" within the box for easy tracking.
Customizable in settings
Max body percentage of range
Max wick imbalance
Box and label color/transparency
Suggested usage
Let the ECR define your observation zone.
Instead of reacting immediately to an efficient candle, wait for a confirmed breakout from the ECR to validate the next move.
Whether you trade breakouts, reversals, or continuation setups, ECR provides an objective way to visualize price balance and understand when the market is likely to expand.
Designed for individual traders looking to build structure around efficient price movement — no specific methodology required.
Sharp Entry TMixture of Combined Technical indicators :
FAST EMA
SLOW EMA
RSI
ADX
VOLUME
Combined together to provide sharp BUY and SELL signals .
OC損益率 (%)This Pine Script indicator computes the percentage change from the daily open price to the daily close price and exposes it as a custom column for TradingView’s Stock Screener and Watchlist. By enabling screener compatibility, the script automatically calculates:
ocRet = (close - open) / open * 100
for each bar and plots the result. Once published (as a public or protected script), you can add the OC損益率 (%) column in your Watchlist or Stock Screener 2.0 → Columns → Custom, allowing you to sort, filter, and export symbols based on their intraday return.
Order Block + FVG Detector- chakrashows OBs with entry and exits and volumes. It also shows the volumes in each Order block
Multi-Indicator Market SignalMulti-Indicator Market Signal with rsi , macd ,volume buy and sell signal
Period Highlighter ProPeriod Highlighter Pro is a versatile Pine Script indicator designed to visually highlight specific time periods on your TradingView charts, making it easier to analyze seasonal patterns, trading sessions, or specific weekdays. With customizable settings for months, weekdays, or intraday time ranges, this tool adapts to your trading strategy, allowing you to focus on key periods with precision.
Features
Flexible Highlight Modes: Choose from three modes to highlight:
Month Range: Highlight specific months or a range (e.g., March to June) for seasonal analysis.
Weekday Range: Highlight specific weekdays (e.g., Mondays or Monday to Wednesday) for weekly pattern analysis.
Time Range: Highlight daily time windows (e.g., 15:30–22:00) for intraday session analysis, restricted to weekdays.
Customizable Timezone: Set any IANA timezone (e.g., America/New_York, Europe/London) or UTC offset to align highlights with your preferred market hours.
Historical Range Control: Define how far back to apply highlights with options for years (Month Range), weeks (Weekday Range), or days (Time Range).
Visual Customization: Choose your highlight color to match your chart style.
User-Friendly Inputs: Intuitive dropdowns and tooltips guide you through configuring each mode, ensuring only relevant settings are adjusted.
How It Works
Select a highlight mode and configure the corresponding settings:
Month Range: Pick a start month and an optional end month (or "Disabled" for a single month) and set the number of years back.
Weekday Range: Choose a start weekday and an optional end weekday (or "Disabled" for a single day) and set the number of weeks back.
Time Range: Specify a start and end time (24-hour format) and the number of weekdays back. The indicator then applies a semi-transparent background color to chart bars that meet your criteria, making it easy to spot relevant periods.
Use Cases
Seasonal Traders: Highlight specific months to analyze recurring market patterns.
Day Traders: Focus on active trading sessions (e.g., New York open) with precise time range highlighting.
Weekly Pattern Analysts: Isolate specific weekdays to study price behavior.
Global Traders: Adjust for any timezone to align with your market of interest.
Why Use Period Highlighter Pro?
This indicator simplifies time-based analysis by providing a clear visual overlay for your chosen periods. Whether you're studying historical trends or focusing on specific trading hours, Period Highlighter Pro offers the flexibility and precision to enhance your chart analysis.
Licensed under the Mozilla Public License 2.0.
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.
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.
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.
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.
Confluence Indicator: Fib, MACD, SMA 50/200This is a scalping indicator best used on the 1hour and 15min charts
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.
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