SMC Entry Signals MTF v2📘 User Guide for the SMC Entry Signals MTF v2 Indicator
🎯 Purpose of the Indicator
This indicator is designed to identify reversal entry points based on Smart Money Concepts (SMC) and candlestick confirmation. It’s especially useful for traders who use:
Imbalance zones, order blocks, breaker blocks
Liquidity grabs
Multi-timeframe confirmation (MTF)
📈 How to Use the Signals on the Chart
✅ LONG Signal (green triangle below the candle):
Conditions:
Price is in a discount zone (below the FIB 50% level)
A bullish engulfing candle appears
A bullish Order Block (OB) or Breaker Block is detected
There’s an upward imbalance
A bullish OB is confirmed on the higher timeframe
➡️ How to act:
Consider entering long on the current or next candle.
Place your stop-loss below the OB or the nearest swing low.
Take profit at the nearest liquidity zone or premium area (above FIB 50%).
🔻 SHORT Signal (red triangle above the candle):
Conditions:
Price is in a premium zone (above FIB 50%)
A bearish engulfing candle appears
A bearish OB or Breaker Block is detected
There’s a downward imbalance
A bearish OB is confirmed on the higher timeframe
➡️ How to act:
Consider short entry after the signal.
Place your stop-loss above the OB or swing high.
Target the discount zone or the next liquidity pocket.
⚙️ Recommended Settings by Trading Style
Trading Style Suggested Settings Notes
Intraday (1–15m) fibLookback = 20–50, obLookback = 5–10, htf_tf = 1H/4H Fast signals. Use Discount/Premium + Engulfing.
Swing/Position (1H–1D) fibLookback = 50–100, obLookback = 10–20, htf_tf = 1D/1W Higher trust in MTF confirmation. Ideal with fundamentals.
Scalping (1m) fibLookback = 10–20, obLookback = 3–5, htf_tf = 15m/1H Remove Breaker and MTF for quick reaction trades.
🧠 Best Practices for Traders
Trend Filtering:
Use EMAs or volume to confirm the current trend.
Take longs only in uptrends, shorts in downtrends.
Liquidity Zones:
Use this indicator after liquidity grabs.
OBs and Breakers often appear right after stop hunts.
Combine with Manual Zones:
This works best when paired with manually drawn OBs and key levels.
Backtest the Signals:
Use Bar Replay mode on TradingView to test past signals.
🧪 Example Trade Setup
Example on BTCUSDT 15m:
Price drops into the discount zone.
A green triangle appears (bullish engulfing + OB + imbalance + HTF OB).
You enter long, stop below the OB, target the premium zone.
🎯 This type of setup often gives a risk/reward ratio of 1:2 or better — profitable even with a 40% win rate.
⏰ Alerts & Automation
Enable alerts:
"SMC Long Entry" — fires when a long signal appears.
"SMC Short Entry" — fires when a short signal appears.
You can integrate this with bots via webhook, like:
TradingConnector, 3Commas, Alertatron, etc.
✅ What This Indicator Gives You
High-probability entries using SMC logic
Customizable filters for entry logic
Multi-timeframe confirmation for stronger setups
Suitable for both intraday and swing trading
Pontos e níveis de pivô
Custom Opening Range - CommoditiesThe Custom Opening Range Indicator for Commodities is designed for instruments that trade nearly 24 hours, such as crude oil or natural gas. It allows traders to define the Opening Range based on Indian Standard Time (IST)—typically starting at 3:30 AM IST, which aligns with the global commodities market open. Users can customize both the start time and duration of the range (e.g., 5, 15, or 30 minutes). The indicator dynamically plots the high and low of this range and shades the area between them, providing a clear visual reference for breakout or reversal setups during the rest of the trading session.
Combined High Low & MI Pivot PointsThis is an major upgrade of the old MI_Pivots indicator with mid levels. I have included key levels like the Yesterday high and low, Last weeks high and low and combined it into one indicator. If you trade Forex or Crypto intraday you need this indicator 😊
Highest/Lowest Range in TimeframeThis script helps traders visually identify the highest high and lowest low within a customizable range of recent bars.
🔍 Key Features
Scans the last 100 to 1000 bars (user-defined)
Automatically detects:
The highest wick (high) and lowest wick (low)
Draws dotted green horizontal lines at both levels
Shows a label indicating the percentage range between high and low
Displays real-time high and low price labels directly on the chart
⚙️ Use Cases
Quickly spot price extremes over your desired time window
Visually measure market range and volatility
Identify breakout potential or reversal zones
✅ How to Use
Add the script to your chart.
Set the “Bars to Scan” input to your desired lookback period (between 100–1000).
Use the displayed lines and labels to identify key high/low price levels and range metrics.
The Trade Borough - Multi-Timeframe High/Low LevelsThe first thing I used to do when I opened TradingView each day was to manually draw Highs & Lows on different timeframes on the same chart.
This tool has automated this process and it's really simple to use.
This is my first published indicator, so any feedback would be valuable!
Scalpers HelperScalaping indicator for options trading for Indian markets. This lists the levels such as PDO, PDH, PDL, PDC etc and also shows the 5,20,50,200 EMAs
Smart Trend Lines 𝒯𝒽𝑒_𝓁𝓊𝓇𝓀𝑒𝓇Smart Trend Lines is a tool for drawing dynamic, highly accurate, and error-free trend lines (major, intermediate, and short-term) with the detection of breaks in these lines using advanced filters such as ADX (Average Directional Index), RSI (Relative Strength Index), and trading volume. It aims to assist traders in accurately identifying trends and breakout points, thereby enhancing decision-making in trading.
1. Features of the Indicator
// Dynamic Trend Line Drawing with Three Lengths:
- Main Line: Based on a long time period (default is 50 candles) to identify long-term trends.
- Mid Line: Based on a medium time period (default is 21 candles) to identify medium-term trends.
- Short Line: Based on a short time period (default is 9 candles) to identify short-term trends.
//Breakout Detection:
- Monitors breakouts when the price crosses a trend line, either upward (for downward lines) or downward (for upward lines).
- Uses filters (ADX, RSI, volume) to confirm the validity of the breakout and reduce false signals.
//Filters for Signal Confirmation:
- ADX: Confirms the strength of the trend (default minimum is 20).
- RSI: Checks for overbought conditions (above 65) or oversold conditions (below 35) to avoid false breakouts.
- Trading Volume: Compares the current trading volume with the moving average of volume to ensure momentum.
//Flexible Settings:
- Customization of line colors (upward and downward) and styles (solid, dashed, dotted).
- Option to show or hide mid and short lines.
- Selection of price type for breakout detection (close, high, low).
//Optional Display of Previous Lines:
- Allows users to optionally view previously drawn trend lines.
//Alerts and Labels:
- Provides instant alerts when a breakout occurs, along with details of the achieved conditions (e.g., V for volume, A for ADX, R for RSI).
- Adds visual labels on the chart at the point of breakout, with customizable label sizes.
//Automatic Line Extensions:
- Dynamically extends trend lines as long as they remain unbroken, ensuring that prices do not breach the line in the opposite direction.
2. Methods of Drawing Lines
// Identification of Pivot Points:
- Pivot High and Pivot Low points are detected using specific time periods for each type of line (Main: 50, Mid: 21, Short: 9).
- High points (Pivot High) are used to draw downward trend lines, while low points (Pivot Low) are used to draw upward trend lines.
Clarification:
- The `ta.pivothigh` function is used to identify high points (Pivot High), and the `ta.pivotlow` function is used to identify low points (Pivot Low) based on the specified periods for each line:
- Main Line:** Uses `trendLineLength` (default 50 candles).
- Mid Line:** Uses `trendLineLengthMid` (default 21 candles).
- Short Line:** Uses `trendLineLengthShort` (default 9 candles).
- High points (Pivot High) are utilized to draw downward trend lines, while low points (Pivot Low) are utilized to draw upward trend lines.
This ensures that the trend lines are dynamically drawn based on significant price pivots, providing a precise representation of the market's directional movements.
//Calculating the Slope:
- The slope between two points (start and end) is calculated using the difference in price divided by the difference in the number of candles:
Slope = ( Price Difference/Number of Candles Difference)
- Downward trend lines require a negative slope, indicating that the price is decreasing over time.
- Upward trend lines require a positive slope, indicating that the price is increasing over time.
This calculation ensures that the trend lines accurately reflect the direction and rate of price movement, providing traders with a clear visual representation of the market's momentum.
Additional Notes:
- The slope of the line reflects not only the direction (upward or downward) but also the intensity of the trend. The steeper the slope, the stronger and faster the price movement.
- The use of this dynamic method for calculating the slope ensures that trend lines adapt to changing market conditions, providing real-time updates for traders.
- The mathematical precision of this method enhances the reliability of trend lines and reduces errors, making it a valuable tool for technical market analysis.
//Drawing the Lines:
- Base Line (Start Line): Connects the two Pivot points (start and end).
- Extended Line (Trend Line): Starts from the endpoint of the base line and extends to the current candle with the same slope.
- The line's color and style are determined based on user settings (e.g., red for downward lines, green for upward lines).
Clarification:
- The function `line.new` is used to draw the base line (`bearishStartLine`) from the starting point (`bearStartIndex, bearStartVal`) to the endpoint (`bearEndIndex, bearEndVal`).
- The extended line (`bearishTrendLine`) starts from the endpoint and extends to the current candle (`bar_index`) using the slope (`bearSlope`) to maintain the trend direction.
// Extending the Lines:
- The lines are dynamically extended to the current candle if no breakout occurs.
- The extension stops when a breakout occurs or if the price crosses the line in the opposite direction.
Clarification:
- The function `extendTrendline` updates the extended line by modifying the endpoint coordinates (`x2, y2`) to the current candle (`bar_index`) using the slope (`slope).
- If a crossover in the opposite direction is detected via `checkExtendedStrictMode`, the extension stops at the previous candle.
3. Conditions for Drawing Lines
Presence of at Least Two Pivot Points:
- Drawing a line requires the presence of two Pivot points:
- Two high points (Pivot High) for a downward line.
- Two low points (Pivot Low) for an upward line.
- These points must fall within a specified time period, not exceeding five times the length of the line.
Slope Validation:
- A downward line requires a negative slope, meaning the endpoint is lower than the starting point.
- An upward line requires a positive slope, meaning the endpoint is higher than the starting point.
Validation of Strict Mode:
- All candles between the two Pivot points are examined to ensure that the price does not breach the trend line:
- For a downward line: The price (close, high, or low, depending on the settings) must not exceed the projected value of the line.
- For an upward line: The price must not fall below the projected value of the line.
This ensures that the trend line remains valid and accurately reflects the price movement without interruptions caused by temporary breaches.
Validation of Post-Pivot Break:
- Candles after the endpoint are examined to ensure that the price has not breached the line in the opposite direction, ensuring the line's validity.
Validation of Strict Extension:
- When extending the line, it is confirmed that the price does not breach the extended line in the opposite direction.
These checks ensure the trend line remains accurate and reliable, both during its initial drawing and as it dynamically extends over time.
4. Conditions for Breakout Detection
Price Crossing the Line:
- For a downward line: The price (close, high, or low, depending on the settings) exceeds the level of the line.
- For an upward line: The price falls below the level of the line.
Candle Confirmation:
- The candle must be closed (confirmed) to register the breakout.
Filter Conditions:
- Trading Volume:
- The trading volume must be higher than the moving average.
- For an upward breakout: A green candle (close > open) with a volume higher than the last green candle is preferred.
- For a downward breakout: A red candle (close < open) with a volume higher than the last red candle is preferred.
- ADX (Average Directional Index):
- The ADX value must exceed the minimum threshold (default is 20) to confirm the strength of the trend.
- RSI (Relative Strength Index) (if enabled):
- For an upward breakout: The RSI should be less than or equal to the upper limit (65) to avoid overbought conditions.
- For a downward breakout: The RSI should be greater than or equal to the lower limit (35) to avoid oversold conditions.
Non-Repetition of Breakouts:
- Each breakout is recorded only once per line until a new line is drawn.
These conditions ensure that breakouts are accurately detected and validated, minimizing false signals and enhancing the reliability of the trading decisions.
5. Additional Notes
Display Settings:
- Users can choose to show or hide previous lines and customize the size of labels (e.g., Very Small, Small, Normal, Large, Huge).
Visual Styles:
- Line styles vary to facilitate differentiation:
- Solid for the main line.
- Dashed for the intermediate line.
- Dotted for the short-term line.
Alerts:
- A single alert is sent for each breakout, with text specifying the type of breakout (main, intermediate, short) and the filters that have been met.
These features enhance user experience by providing flexibility in visualization, ease of interpretation, and timely notifications for informed trading decisions.
Disclaimer
The information and posts are not intended to be, or constitute, any financial, investment, trading or other types of preparation or execution of tasks or endorsed by TradingView.
Smart Trend Lines هو مؤشر تحليل فني يرسم خطوط اتجاه ديناميكية (رئيسية، متوسطة، قصيرة) على الرسم البياني، ويكتشف كسورها باستخدام فلاتر ADX، RSI، وحجم التداول لتأكيد الإشارات.
1. المميزات
1. خطوط اتجاه بثلاثة أطوال:
- رئيسي (50 شمعة): للاتجاهات طويلة الأمد.
- متوسط (21 شمعة): للاتجاهات متوسطة الأمد.
- قصير (9 شموع): للاتجاهات قصيرة الأمد.
2. اكتشاف الكسور: يرصد اختراق السعر للخطوط مع فلاتر لتقليل الإشارات الكاذبة.
3. فلاتر التأكيد:
- ADX (>20): يؤكد قوة الاتجاه.
- RSI (65/35): يتجن“B” للرئيسي، “M” للمتوسط، “S” للقصير).
4. إعدادات مرنة: تخصيص الألوان، الأنماط (متصل، متقطع، منقط)، ونوع السعر (إغلاق، أعلى، أدنى).
5. تمديد الخطوط: يمدد الخطوط تلقائيًا حتى الكسر.
2. طرق رسم الخطوط
1. نقاط Pivot: تحديد النقاط العليا (للخطوط الهابطة) والدنيا (للصاعدة) باستخدام فترات زمنية (50، 21، 9).
2. حساب الميل: قسمة فرق السعر على فرق الشموع (ميل سالب لهابط، موجب لصاعد).
3. رسم الخطوط: خط أساسي يربط نقطتي Pivot، وخط ممتد إلى الشمعة الحالية.
4. التمديد: يستمر التمديد إذا لم يُكسر الخط.
3. شروط الرسم
1. وجود نقطتين Pivot ضمن فترة (≤5 أضعاف طول الخط).
2. ميل مناسب (سالب لهابط، موجب لصاعد).
3. الوضع الصارم: السعر لا يخترق الخط بين النقطتين.
4. فحص ما بعد النقطة: عدم اختراق الخط بعد النهاية.
5. تمديد صارم: السعر لا يخترق الخط الممتد.
4. شروط الكسر
1. اختراق السعر للخط (فوق الهابط، تحت الصاعد).
2. تأكيد الشمعة (مغلقة).
3. فلاتر:
- حجم أعلى من المتوسط، مع شمعة خضراء (للصاعد) أو حمراء (للهابط).
- ADX > 20.
- RSI: ≤65 (صاعد)، ≥35 (هابط).
4. كسر واحد لكل خط.
5. ملاحظات
- العرض: خيارات لإخفاء الخطوط السابقة وتخصيص التسميات.
- التنبيهات: تنبيهات فورية مع تفاصيل الفلاتر.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView.
T GEX LevelsDraw GEX levels from T
Use Case
Purpose: Visualizes key GEX levels to aid traders in identifying potential support (positive) and resistance (negative) zones based on options market data.
Visual Cues:
Thicker, more opaque lines highlight higher (more significant) price levels.
Fainter, thinner lines indicate lower (less significant) levels.
Ghost zones highlight price gaps where price movement may be less contested.
Application: Useful for options traders analyzing gamma exposure to anticipate price behavior near key levels.
Anchored Darvas Box## ANCHORED DARVAS BOX
---
### OVERVIEW
**Anchored Darvas Box** lets you drop a single timestamp on your chart and build a Darvas-style consolidation zone forward from that exact candle. The indicator freezes the first user-defined number of bars to establish the range, verifies that price respects that range for another user-defined number of bars, then waits for the first decisive breakout. The resulting rectangle captures every tick of the accumulation phase and the exact moment of expansion—no manual drawing, complete timestamp precision.
---
### HISTORICAL BACKGROUND
Nicolas Darvas’s 1950s box theory tracked institutional accumulation by hand-drawing rectangles around tight price ranges. A trade was triggered only when price escaped the rectangle.
The anchored version preserves Darvas’s logic but pins the entire sequence to a user-chosen candle: perfect for analysing a market open, an earnings release, FOMC minute, or any other catalytic bar.
---
### ALGORITHM DETAIL
1. **ANCHOR BAR**
*You provide a timestamp via the settings panel.* The script waits until the chart reaches that bar and records its index as **startBar**.
2. **RANGE DEFINITION — BARS 1-7**
• `rangeHigh` = highest high of bars 1-7 plus optional tolerance.
• `rangeLow` = lowest low of bars 1-7 minus optional tolerance.
3. **RANGE VALIDATION — BARS 8-14**
• Price must stay inside ` `.
• Any violation aborts the test; no box is created.
4. **ARMED STATE**
• If bars 8-14 hold the range, two live guide-lines appear:
– **Green** at `rangeHigh`
– **Red** at `rangeLow`
• The script is now “armed,” waiting indefinitely for the first true breakout.
5. **BREAKOUT & BOX CREATION**
• **Up breakout** =`high > rangeHigh` → rectangle drawn in **green**.
• **Down breakout**=`low < rangeLow` → rectangle drawn in **red**.
• Box extends from **startBar** to the breakout bar and never updates again.
• Optional labels print the dollar and percentage height of the box at its left edge.
6. **OPTIONAL COOLDOWN**
• After the box is painted the script can stay silent for a user-defined number of bars, letting you study the fallout without another range immediately arming on top of it.
---
### INPUT PARAMETERS
• **ANCHOR TIME** – Precise yyyy-mm-dd HH:MM:SS that seeds the sequence.
• **BARS TO DEFINE RANGE** – Default 7; affects both definition and validation windows.
• **OPTIONAL TOLERANCE** – Absolute price buffer to ignore micro-wicks.
• **COOLDOWN BARS AFTER BREAKOUT** – Pause length before the indicator is allowed to re-anchor (set to zero to disable).
• **SHOW BOX DISTANCE LABELS** – Toggle to print Δ\$ and Δ% on every completed box.
---
### USER WORKFLOW
1. Add the indicator, open settings, and set **ANCHOR TIME** to the candle you care about (e.g., “2025-04-23 09:30:00” for NYSE open).
2. Watch live as the script:
– Paints the seven-bar range.
– Draws validation lines.
– Locks in the box on breakout.
3. Use the box boundaries as structural stops, targets, or context for further trades.
---
### PRACTICAL APPLICATIONS
• **OPENING RANGE BREAKOUTS** – Anchor at the first second of the session; capture the initial 7-bar range and trade the first clean break.
• **EVENT STUDIES** – Anchor at a news candle to measure immediate post-event volatility.
• **VOLUME PROFILE FUSION** – Combine the anchored box with VPVR to see if the breakout occurs at a high-volume node or a low-liquidity pocket.
• **RISK DISCIPLINE** – Stop-loss can sit just inside the opposite edge of the anchored range, enforcing objective risk.
---
### ADVANCED CUSTOMISATION IDEAS
• **MULTIPLE ANCHORS** – Clone the indicator and anchor several boxes (e.g., London open, New York open).
• **DYNAMIC WINDOW** – Switch the 7-bar fixed length to a volatility-scaled length (ATR percentile).
• **STRATEGY WRAPPER** – Turn the indicator into a `strategy{}` script and back-test anchored boxes on decades of data.
---
### FINAL THOUGHTS
Anchored Darvas Boxes give you Darvas’s timeless range-break methodology anchored to any candle of interest—perfect for dissecting openings, economic releases, or your own bespoke “important” bars with laboratory precision.
Auto Darvas Boxes## AUTO DARVAS BOXES
---
### OVERVIEW
**Auto Darvas Boxes** is a fully-automated, event-driven implementation of Nicolas Darvas’s 1950s box methodology.
The script tracks consolidation zones in real time, verifies that price truly “respects” those zones for a fixed validation window, then waits for the first decisive range violation to mark a directional breakout.
Every box is plotted end-to-end—from the first candle of the sideways range to the exact candle that ruptures it—giving you an on-chart, visually precise record of accumulation or distribution and the expansion that follows.
---
### HISTORICAL BACKGROUND
* Nicolas Darvas was a professional ballroom dancer who traded U.S. equities by telegram while touring the world.
* Without live news or Level II, he relied exclusively on **price** to infer institutional intent.
* His core insight: true market-moving entities leave footprints in the form of tight ranges; once their buying (or selling) is complete, price erupts out of the “box.”
* Darvas’s original procedure was manual—he kept notebooks, drew rectangles around highs and lows, and entered only when price punched out of the roof of a valid box.
* This indicator distills that logic into a rolling, self-resetting state machine so you never miss a box or breakout on any timeframe.
---
### ALGORITHM DETAIL (FOUR-STATE MACHINE)
**STATE 0 – RANGE DEFINITION**
• Examine the last *N* candles (default 7).
• Record `rangeHigh = highest(high, N) + tolerance`.
• Record `rangeLow = lowest(low, N) – tolerance`.
• Remember the index of the earliest bar in this window (`startBar`).
• Immediately transition to STATE 1.
**STATE 1 – RANGE VALIDATION**
• Observe the next *N* candles (again default 7).
• If **any** candle prints `high > rangeHigh` or `low < rangeLow`, the validation fails and the engine resets to STATE 0 **beginning at the violating candle**—no halfway boxes, no overlap.
• If all *N* candles remain inside the range, the box becomes **armed** and we transition to STATE 2.
**STATE 2 – ARMED (LIVE VISUAL FEEDBACK)**
• Draw a **green horizontal line** at `rangeHigh`.
• Draw a **red horizontal line** at `rangeLow`.
• Lines are extended in real time so the user can see the “live” Darvas ceiling and floor.
• Engine waits indefinitely for a breakout candle:
– **Up-Breakout** if `high > rangeHigh`.
– **Down-Breakout** if `low < rangeLow`.
**STATE 3 – BREAKOUT & COOLDOWN**
• Upon breakout the script:
1. Deletes the live range lines.
2. Draws a **filled rectangle (box)** from `startBar` to the breakout bar.
◦ **Green fill** when price exits above the ceiling.
◦ **Red fill** when price exits below the floor.
3. Optionally prints two labels at the left edge of the box:
◦ Dollar distance = `rangeHigh − rangeLow`.
◦ Percentage distance = `(rangeHigh − rangeLow) / rangeLow × 100 %`.
• After painting, the script waits a **user-defined cooldown** (default = 7 bars) before reverting to STATE 0. The cooldown guarantees separation between consecutive tests and prevents overlapping rectangles.
---
### INPUT PARAMETERS (ALL ADJUSTABLE FROM THE SETTINGS PANEL)
* **BARS TO DEFINE RANGE** – Number of candles used for both the definition and validation windows. Classic Darvas logic uses 7 but feel free to raise it on higher timeframes or volatile instruments.
* **OPTIONAL TOLERANCE** – Absolute price buffer added above the ceiling and below the floor. Use a small tolerance to ignore single-tick spikes or data-feed noise.
* **COOLDOWN BARS AFTER BREAKOUT** – How long the engine pauses before hunting for the next consolidation. Setting this equal to the range length produces non-overlapping, evenly spaced boxes.
* **SHOW BOX DISTANCE LABELS** – Toggle on/off. When on, each completed box displays its vertical size in both dollars and percentage, anchored at the box’s left edge.
---
### REAL-TIME VISUALISATION
* During the **armed** phase you see two extended, colour-coded guide-lines showing the exact high/low that must hold.
* When the breakout finally occurs, those lines vanish and the rectangle instantly appears, coloured to match the breakout direction.
* This immediate visual feedback turns any chart into a live Darvas tape—no manual drawing, no lag.
---
### PRACTICAL USE-CASES & BEST-PRACTICE WORKFLOWS
* **INTRADAY MOMENTUM** – Drop the script on 1- to 15-minute charts to catch tight coils before they explode. The coloured box marks the precise origin of the expansion; stops can sit just inside the opposite side of the box.
* **SWING & POSITION TRADING** – On 4-hour or daily charts, boxes often correspond to accumulation bases or volatility squeezes. Waiting for the box-validated breakout filters many false signals.
* **MEAN-REVERSION OR “FADE” STRATEGIES** – If a breakout immediately fails and price re-enters the box, you may have trapped momentum traders; fading that failure can be lucrative.
* **RISK MANAGEMENT** – Box extremes provide objective, structure-based stop levels rather than arbitrary ATR multiples.
* **BACK-TEST RESEARCH** – Because each box is plotted from first range candle to breakout candle, you can programmatically measure hold time, range height, and post-breakout expectancy for any asset.
---
### CUSTOMISATION IDEAS FOR POWER USERS
* **VOLATILITY-ADAPTIVE WINDOW** – Replace the fixed 7-bar length with a dynamic value tied to ATR percentile so the consolidation window stretches or compresses with volatility.
* **MULTI-TIMEFRAME LOGIC** – Only arm a 5-minute box if the 1-hour trend is aligned.
* **STRATEGY WRAPPER** – Convert the indicator to a full `strategy{}` script, automate entries on breakouts, and benchmark performance across assets.
* **ALERTS** – Create TradingView alerts on both up-breakout and down-breakout conditions; route them to webhook for broker automation.
---
### FINAL THOUGHTS
**Auto Darvas Boxes** packages one of the market’s oldest yet still potent price-action frameworks into a modern, self-resetting indicator. Whether you trade equities, futures, crypto, or forex, the script highlights genuine contraction-expansion sequences—Darvas’s original “boxes”—with zero manual effort, letting you focus solely on execution and risk.
Horizontal Color BandsJust horizontal bands running across the chart. Choice of 2 colors you pick and the spacing is a percentage of price. The "grid" runs up from a price you choose and also can be dragged around on the chart. Possibly makes trading measured % moves visually clearer....
Smart Market Matrix Smart Market Matrix
This indicator is designed for intraday, scalping, providing automated detection of price pivots, liquidity traps, and breakout confirmations, along with a context dashboard featuring volatility, trend, and volume.
## Summary Description
### Menu Settings & Their Roles
- **Swing Pivot Strength**: Controls the sensitivity for detecting High/Low pivots.
- **Show Pivot Points**: Toggles the display of HH/LL markers on the chart.
- **VWMA Length for Trap Volume** & **Volume Spike Multiplier**: Identify concentrated volume spikes for liquidity traps.
- **Wick Ratio Threshold** & **Max Body Size Ratio**: Detect candles with disproportionate wicks and small bodies (doji-ish) for traps.
- **ATR Length for Trap**: Measures volatility specific to trap detection.
- **VWMA Length for Breakout Volume**, **ATR Multiplier for Breakout**, **ATR Length for Breakout**, **Min Body/Range Ratio**: Set adaptive breakout thresholds based on volatility and volume.
- **OBV Smooth Length**: Smooths OBV momentum for breakout confirmation.
- **Enable VWAP Filter for Confirmations**: Optionally validate breakouts against the VWAP.
- **Enable Higher-TF Trend Filter** & **Trend Filter Timeframe**: Align breakout signals with the 1h/4h/Daily trend.
- **ADX Length**, **EMA Fast/Slow Length for Context**: Parameters for the context dashboard (Volatility, Trend, Volume).
- **Show Intraday VWAP Line**, **VWAP Line Color/Width**: Display the intraday VWAP line with custom style.
### Signal Interpretation Map
| Signal | Description | Recommended Action |
|--------------------------------|-----------------------------------------------------------|-------------------------------------------|
| 📌 **HH / LL (pivot)** | Market structure (support/resistance) | Note key levels |
| **Bull Trap(green diamond)** | Sweep down + volume spike + wick + rejection | Go long with trend filter
| **Bear Trap(red diamond)** | Sweep up + volume spike + wick + rejection | Go short with trend filter
| 🔵⬆️ **Breakout Confirmed Up** | Close > ATR‑scaled high + volume + OBV↑ | Go long with trend filter |
| 🔵⬇️ **Breakout Confirmed Down** | Close < ATR‑scaled low + volume + OBV↓ | Go short with trend filter |
| 📊 **VWAP Line** | Intraday reference to guide price | Use as dynamic support/resistance |
| ⚡ **Volatility** | ATR ratio High/Med/Low | Adjust position size |
| 📈 **Trend Context** | ADX+EMA Strong/Moderate/Weak | Confirm trend direction |
| 🔍 **Volume Context** | Breakout / Rising / Falling / Calm | Check volume momentum |
*This summary gives you a quick overview of the key settings and how to interpret signals for efficient intraday scalping.*
### Suggested Settings
- **Intraday Scalping (5m–15m)**
- `Swing Pivot Strength = 5`
- `VWMA Length for Trap Volume = 10`, `Volume Spike Multiplier = 1.6`
- `ATR Length for Trap = 7`
- `VWMA Length for Breakout Volume = 12`, `ATR Length for Breakout = 9`, `ATR Multiplier for Breakout = 0.5`
- `Min Body/Range Ratio for Breakout = 0.5`, `OBV Smooth Length = 7`
- `Enable Higher-TF Trend Filter = true` (TF = 60)
- `Show Intraday VWAP Line = true` (Color = orange, Width = 2)
- **Swing Trading (4h–Daily)**
- `Swing Pivot Strength = 10`
- `VWMA Length for Trap Volume = 20`, `Volume Spike Multiplier = 2.0`
- `ATR Length for Trap = 14`
- `VWMA Length for Breakout Volume = 30`, `ATR Length for Breakout = 14`, `ATR Multiplier for Breakout = 0.8`
- `Min Body/Range Ratio for Breakout = 0.7`, `OBV Smooth Length = 14`
- `Enable Higher-TF Trend Filter = true` (TF = D)
- `Show Intraday VWAP Line = false`
*Adjust these values based on the symbol and market volatility for optimal performance.*
Swing Highs and Lows between two InstrumentsThis Indicator will show you common Swing Points between two different trading symbols.
You can also use it to display the Swing Points of the current symbol or another symbol only.
When applying the Indicator to your chart it will ask you to put in a symbol. This symbol is used to find common Swing Points against the symbol that you have on your screen. Should you decide not to choose any symbol the indicator will instead mark all Swing Points for the current symbol.
Settings
Symbol: Choose any symbol that you want to compare to the selected symbol on your screen.
Sensitivity: The sensitivity defines how many candles left and right of a Swing Point have to be below (Swing High) or above (Swing Low) in order for the Indicator to mark it. A lower sensitivity will give a lot more Swing points, whereas a higher sensitivity will show less, but more important Swing Points.
Equal Highs Permissible: When calculating where a Swing Point is you can decide how you want equal highs and equal lows to be handled. The default is set to "yes" which means equal highs will be counted as if they were below (Swing High) or above (Swing Low). Choosing "no" will alter the indicators behaviour and only mark a Swing Point if all values within the sensitivity are below (Swing High) or above (Swing Low). As equal highs/lows are not below/above the Swing Point, but at the same level it will not mark the Swing Point.
Options:
You can choose to display Swing Highs and Lows for each symbol individually as well as Common Swing Points, which is the default. If you choose to display different Swing Points at the same time the visual order of importance is the following: common Swing Points > current symbol Swing Points > second symbol Swing Points.
You can also change the symbols and colors that mark the Swing Points or restrict the timeframes that the Indicator works on.
RSI + Stoch RSI SignalDisplays signals when both RSI and Stochastic RSI are in extremes. Great to use in confluence with Support and Resistance levels or EMA's For reversal signal extra confirmation. Works best in lower time frames like the 5 Minutes for day trading
[Stop!Loss] ADR Signal ADR Signal - a technical indicator located in a separate window, which displays by default the 80%-level , as well as the 100%-level of the average daily range (ADR) for the last 10 days and compares it with the current intraday range. The indicator helps not only with the use of a mathematical-statistical method to identify a potential reversal at the moment during intraday trading, but can also serves as an effective assistant in risk management.
👉 Basic mechanics of the indicator
Firstly, this indicator tracks the performance of the standard ATR indicator on the daily chart, in other words, ADR (Average Daily Range).
Important ❗️The ATR (Average True Range) indicator was created by J. Welles Wilder Jr. He first introduced ATR in his book "New Concepts in Technical Trading Systems", published in 1978. Wilder developed this indicator to measure market volatility to help traders estimate the range of price movements. This indicator is built into TradingView, more details can be found by link: www.tradingview.com
Like ATR , ADR calculates the average true range for a specified period. In this case, the distance in points from the maximum of each day to its minimum is calculated, after which the arithmetic mean is calculated - this is ADR .
👉 Visualization
ADR Signal is located in a separate window on the chart and has 3 levels:
1) "ADR level" (green line) - the same parameter, the calculations of which are briefly described above. There is 100%-level of ATR on the daily chart (ADR).
2) "Current level" (red line) - this is the current price passage within the day, calculated in points. At the start of a new day, this parameter is reset. Therefore, in the indicator window, this line has sharp drops at the start of a new trading day: "A new trading day - the instrument's power reserve is renewed again".
3) "Signal level" (blue line) - this is an individually customized value that demonstrates a certain part of the ADR parameter.
👉 Inputs
1) - is responsible for the ATR indicator period, the value of which will always be calculated on the daily chart. The default value is "10", that is, ATR is calculated for the last 10 days (not including the current one).
2) - signal level (in %). The default value is "0.8", that is, 80%-level of the ADR parameter (set earlier) is calculated.
👉 Style
1) - by default, this level is colored "blue".
2) - by default, this level is colored "red".
3) - by default, this level is colored "green".
👉 How to use this indicator
Important❗️ The two methods of the use of the ADR Signal indicator described below will be most effective when trading intraday (which is highlighted quite well below), so it is more logical to use the indicator information on time periods H1 and below.
1) Identifying potential reversals during intraday trading:
The ADR Signal indicator can be used as a potential individual reversal strategy.
Important ❗️It should be noted that using it in it without additional confirming analysis tools will be a rather aggressive trading approach. Therefore, it is best to support the entry point in particular with other methods.
In this case, the crossing of the red line (the number of points passed within the current day, that is, from the minimum of the current day to its maximum) and the blue line (color of the Signal level based on the default settings), indicates that the trading instrument has passed 80% (based on the default settings for the "Signal level") of its average distance from the maximum to the minimum over the past 10 days (based on the default settings for the "ADR Length"). Such a situation in the context of the mathematical-statistical approach indicates a probable reversal, since the "power reserve" of this instrument is mostly exhausted, so one can expect with a higher probability, at least, a price stop and possibly a reversal. In case of crossing of the red line and the green one (ADR level), it says again that based on the mathematical-statistical approach, this trading instrument has completely exhausted its intraday "power reserve". In this situation, a stop or reversal of the price will be even more likely.
Of course, using the "Signal level" parameter, one can filter out even more reliable situations for potential price reversals within a day, namely, by specifying, for example, 1.5 in the field of this parameter. Under such conditions, in the case of crossing the red and blue lines (based on the default style settings), to say that the trading instrument has passed 150% of its average distance over the last 10 days (based on the default style settings "ADR length"). In this case, the probability of a stop or reversal of the price increases even more.
2) Use in risk management:
In terms of risk management, this indicator is more applicable to open trades. For example, if one had an open Buy-position (especially if it is an intraday trade) and the price has raised significantly during the day, then the crossing of the red line with the blue line , and especially the red line with the green line , may indicate that the price will most likely stop growing, since the "power reserve" is almost or completely exhausted for this instrument within the current day. In this case, one can, at a minimum, move the trade to breakeven or even partially fix the profit.
We will continue to discuss the methods of using this indicator and strategies based on it here. And we are always waiting for your reactions and feedback on this topic 💬.
Thank you for your support 🚀
trail Timeframe Divergence TableFirst Version of Timeframe Divergence which can possibly point to a potential reversal
Pivots for DowntrendThis will help day traders. Automatic lines will be drawn every day once session opens. These lines can be used as Entry and exit points if trend is in down trend for that day. Can be used for Futures/Stocks/Indices. In day trading until the price is below purple line, trend can considered in downtrend for that particular day.
Smart DCA 1.0This indicator is designed to help swing traders and long-term investors catch high-probability buy opportunities during major Bitcoin pullbacks.
Gann Single SwingThe Gann Single Swing indicator is developed based on geometric market analysis methods introduced by William Gann. The core concept of the tool is the geometric interplay of time and price, designed to reveal hidden cycles and patterns in market movements.
To use the indicator, you must select two key points on the chart (for example, a local minimum and maximum). The tool automatically constructs a unique geometric model based on these points, incorporating internal bars. It then analyzes angles, distances, price-time ratios, and intersections of geometric structures.
Gann Single Swing identifies potential support and resistance levels, temporal zones of potential reversals, and critical areas of synchronization between price and time. Although the internal algorithms are proprietary and not disclosed, the calculations are grounded in classical and time-tested geometric principles and Gann cycles.
This indicator is particularly valuable for traders who study or apply Gann's methodologies and seek a profound, systematic understanding of market dynamics. It is not a simple price forecasting tool but rather an advanced instrument for comprehensive analysis of market structure and the interaction between the crucial elements—time and price.
RU:
Индикатор Gann Single Swing разработан на основе методов геометрического анализа рынков, предложенных Уильямом Ганном. В основе инструмента лежит геометрическое взаимодействие времени и цены, позволяющее выявить скрытые циклы и закономерности движения рынка.
Для использования индикатора необходимо выбрать две ключевые точки на графике (например, локальный минимум и максимум). На основе этих точек инструмент автоматически строит уникальную геометрическую модель, учитывая внутренние бары. Затем производится анализ углов, расстояний, соотношений между ценой и временем, а также пересечений геометрических конструкций.
Gann Single Swing позволяет определить потенциальные уровни поддержки и сопротивления, временные зоны возможных разворотов и важные области синхронизации цены и времени. Хотя внутренние алгоритмы защищены и не раскрываются, основой для расчетов служат классические и проверенные временем геометрические принципы и циклы Ганна.
Индикатор предназначен для трейдеров, изучающих или использующих подходы Ганна, и стремящихся к глубокому и системному пониманию рыночной динамики. Он не является инструментом простого прогнозирования цены, а служит для комплексного анализа структуры рынка и взаимодействия ключевых факторов — времени и цены.
DRT - OR with Fib Extensions [TraderVlad]Overview
The " DRT - OR " indicator is a versatile tool for intraday traders, designed to highlight the opening range (OR) of a market session based on a user-defined timeframe and start time.
It captures the high and low of the first candle at the specified time (default: 9:00 AM Berlin/Europe time, 30-second timeframe), plots a visual box to mark this range, and adds a 50% midpoint line as a potential pivot level.
This indicator is perfect for traders focusing on key market openings, such as the European session (e.g., for DAX, EUR/USD) or other sessions of your choice.
It’s highly customizable, allowing you to adjust the timeframe, start time, timezone, and visual styles to fit your trading strategy.
How It Works
The indicator operates in a straightforward way to provide clear insights:
Captures the Opening Range:
At the specified start time (default: 9:00 AM Berlin/Europe time), the indicator identifies the first candle in the chosen timeframe (default: 30 seconds).
It records the high (highest price) and low (lowest price) of this candle to define the opening range.
The range size is calculated as High - Low.
Draws the Opening Range Box:
A box is drawn on the chart, starting at the specified time and extending to the next day’s start time (or far into the future for the most recent day).
The top of the box is the high, and the bottom is the low, visually marking the range.
Plots the 50% Midpoint Line:
A horizontal line is drawn at the 50% level of the range (calculated as (High + Low) / 2).
This line extends alongside the box, helping you identify a potential pivot point within the range.
Weekday-Only Operation:
The indicator only draws ranges on weekdays (Monday to Friday), skipping weekends when markets are typically closed.
Display Limit:
You can control how many days’ worth of ranges are shown (default: 5 days).
Older ranges are automatically removed to keep your chart clean.
Trading Applications
The opening range often sets the tone for the trading session.
Here’s how to use this indicator:
Identify Key Levels:
The top and bottom of the box (high and low) can act as support and resistance levels.
A breakout above the high or below the low may indicate a directional move.
Use the 50% Midpoint:
The midpoint line can serve as a pivot point within the range.
Price may find support or resistance at this level before breaking out.
Analyze Range Size:
The label shows the range size, helping you gauge volatility at the open.
A larger range suggests higher volatility, while a smaller range indicates a quieter start.
Flexible Application:
Use the indicator for any market session by adjusting the timezone and start time (e.g., 9:30 AM New York for US markets).
Combine with other indicators (e.g., volume, RSI) to confirm trades based on the opening range.
This indicator is part of the DRT (Dynamic Range Theory) series by TraderVlad, aimed at helping traders identify critical price levels at key market openings.
Feedback and suggestions are welcome to improve this tool further!
DC - Volatility ZigZag Support/ResistanceThis indicator combines advanced Volatility ZigZag detection, SMA 200 trend analysis, and dynamic support/resistance zones based on volume and price pivots. It's designed to help traders visually identify trend reversals, key price levels, and potential breakouts or bounces with clarity and precision.
What It Does
Volatility ZigZag: Uses price volatility (standard deviation, ATR, true range) to plot ZigZag lines and identify significant trend changes. Labels provide reversal price, price/percentage change, and volume data between pivots.
SMA 200: Plots the 200-period Simple Moving Average to indicate the long-term trend direction.
Support/Resistance Zones: Automatically detects price levels based on pivot highs/lows confirmed by volume conditions. Boxes are color-coded and dynamically update based on breakout or retest behavior.
⚙️ Key Features
Fully customizable ZigZag settings: deviation %, pivot confirmation, std dev factor, and lookback length.
Configurable visuals: pivot markers (⦿), alert points (◯), and labeled statistics between pivots.
Volume-sensitive support/resistance zones that react to breakouts or bounces.
Alerts for new ZigZag pivots.
Data window feedback on trend status and deviation metrics.
✅ Ideal For
Swing traders tracking reversals or continuation patterns.
Trend followers using SMA 200 and pivot points for confirmation.
Volume-based traders looking for support/resistance backed by meaningful volume spikes or drops.
ZenAlgo - RangerThe core of the indicator is the daily range, anchored around the 1-minute timeframe VWAP (volume-weighted average price), with ±2 standard deviations defining the upper and lower bounds. This range dynamically forms throughout the day and then gets “locked” at 23:59 each day to establish historical reference values.
The indicator calculates this locked VWAP and standard deviation per day, which serves two primary purposes:
Drawing today's real-time evolving range , updated each minute.
Plotting previous daily ranges , based on historical locked VWAPs and standard deviations, providing visual reference boxes on the chart.
This design enables the trader to identify mean-reversion zones and persistent directional biases based on volume-weighted price consensus.
Multiple Standard Deviation Layers
Beyond the ±2.0 deviation bounds, optional lines are available at half-step increments (e.g., ±0.5, ±1.5, ..., ±4.5) and full-step levels beyond ±2.0 (±3.0, ±4.0, ±5.0). These provide a customizable grid to visualize price extremes, tail behavior, or potential breakout zones relative to volume-adjusted price equilibrium.
Users can enable only the levels they need, offering flexibility depending on their strategy (e.g., scalping versus swing trading).
Historical Range Retention
The script stores up to 70 previous daily VWAP + standard deviation values (adjustable). For each, it draws a full range box and standard deviation lines in the past. This historical context helps in understanding how current price interacts with prior days’ balance zones.
These boxes are always drawn from 00:00 to 23:59 UTC , ensuring consistent alignment across instruments and avoiding session-based discrepancies.
Monday Range Reference (Drawn on Tuesdays)
On Tuesdays, the indicator plots the previous Monday's VWAP-based range across the rest of the week. This serves as a persistent contextual anchor for traders watching weekly unfolding behavior. The range is defined identically (VWAP ±2σ) and drawn from Monday 00:00 through the following Monday.
This method assumes Monday often sets the tone or structure for the week, and tracking this level through time may highlight support/resistance confluence or range expansion scenarios.
Each Monday range is extended over 7 days and includes dashed lines at the 25%, 50%, and 75% marks within the range. These midrange markers help traders assess microstructure behaviors (e.g., reversion to median, failure to hold midpoint, etc.).
Daily Volume Delta via 4H Candles
The indicator also integrates daily buy/sell volume deltas , derived from 4-hour candles of the regular session (non-Heikin Ashi). The logic categorizes volume as:
Buy volume when candle closes above the previous close.
Sell volume when it closes below.
Even split when the candle closes flat.
These volumes accumulate each day to derive net delta (buy - sell). This delta is recorded for each day and can optionally be displayed. A similar process tracks the delta for each Monday range on an ongoing basis.
This information quantifies the market’s aggressive buying vs. selling , correlating with price positions inside or outside the VWAP ranges. A strong delta in one direction may justify a price sustaining above/below VWAP, or diverging from the previous range.
Interpretation and Best Usage Practices
VWAP±2σ Range : Considered a high-probability area for consolidation or reversal. Mean-reverting strategies can benefit from signals within this area.
VWAP±3.0 and beyond : Extreme deviations may signal exhaustion or breakout potential, but are less frequent.
Previous Range Overlap : Overlap of today’s price with past VWAP zones may indicate support/resistance zones.
Monday Range on Tuesday : Persistent levels where the week may repeatedly pivot. Best used on instruments that exhibit weekly cyclical behavior (e.g., indices, forex).
Delta Behavior : Sharp positive or negative delta combined with price outside VWAP bands may suggest initiative participation and potential trend continuation.
Added Value Over Free Alternatives
While many free VWAP tools exist, this script differs in several specific and factual ways:
Anchored 1-minute VWAP lock at a consistent daily timestamp (23:59 UTC), enabling historical analysis.
Historical storage of previous VWAP ranges , with adjustable memory depth and visual continuity.
Flexible standard deviation plotting , down to 0.5 increments, tailored to the user's strategy needs.
Dedicated Monday range analysis , not common in freely available scripts.
Volume delta tracking per day and per Monday range , offering a directional volume view unavailable in standard VWAP implementations.
Persistent and visual interpretation framework using extended boxes and dashed lines for easier contextual navigation.
Each of these additions increases the script’s utility for methodical traders relying on volume-weighted statistics, without requiring additional configuration or external calculations.
Limitations and Disclaimers
VWAP based on 1-minute resolution : The indicator uses minute-level data to calculate daily VWAP and standard deviation. This offers high fidelity on liquid instruments but may produce noisy or unreliable levels on illiquid assets or during periods of low volume. For example, microcap stocks or thinly traded altcoins might not yield stable VWAP centers.
Inferred buy/sell volume : Volume delta is estimated using price movement from one candle to the next (close-to-close logic), rather than actual trade-level aggressor data (which is not accessible via TradingView). This approximation may misclassify volume in choppy or low-volatility environments, especially in assets where price changes do not correlate well with order flow (e.g., crypto during low-volume weekends).
Non-continuous markets and price gaps : For assets that do not trade continuously (e.g., stocks, futures), the VWAP calculation starts fresh every day at 00:00 UTC, regardless of the instrument’s official session start. As a result:
Pre-market/post-market trades may be included in VWAP when analyzing equities, even though they are often excluded in professional VWAP tools.
Opening gaps in equities and futures may distort early VWAP values due to lack of volume context, especially if the previous day's session was already closed when new data begins accumulating.
Weekend gaps in crypto, although less frequent due to 24/7 trading, can still influence delta accumulation if abrupt moves happen during low liquidity periods.
Daily session alignment : The VWAP anchoring and box drawing uses 00:00 UTC to 23:59 UTC windows. For instruments with different official session timings (e.g., US equities, CME futures), this may cause mismatches between expected session VWAPs and the ones shown in this script.
Conclusion
The ZenAlgo – Ranger script offers a systematic visualization of volume-adjusted price behavior, combining statistical VWAP ranges with volume delta overlays. By integrating daily and weekly reference zones, this tool supports structured decision-making in various market environments, particularly for traders prioritizing mean reversion, range expansion, or trend confirmation.
Scalping total strategy alertsUpdated version of the Scalping Total Strategy.
This version has updated debug plots.
All settings can be changed to your own liking, but as default they work on most timeframes.
If you like sharp buy/sell signals before any long/short, set cooldown to 1.
On smaller timeframes, like 15 min and under that, set the Ema1 to 5 and the Ema3 to 9, and just disable Ema2.
This Strategy gives buy/ sell signals, byt also gives potential entry calls for long/short entries, and alerts can be set for these calls.