MATT 4This indicator helps identify high-probability trend shifts and continuation setups by combining momentum, trend strength, and volatility into a single, easy-to-read signal. It highlights bullish/bearish conditions, marks potential entries and exits, and reduces noise during choppy markets with adaptive filtering. Use it to confirm direction, time pullbacks, and stay aligned with the dominant trend.
المؤشرات والاستراتيجيات
Demand Index##Description:
This indicator is a precise Pine Script replica of the "Demand Index" (Study ID 139) as found in the Sierra Chart trading platform.
Originally developed by James Sibbet, the Demand Index combines price and volume data to measure buying and selling pressure. It is often considered a leading indicator, anticipating price trend changes by identifying divergences between the price action and the volume flow.
##Key Features & Formula Logic
This script strictly follows the official documentation provided by Sierra Chart to ensure the values match the original platform as closely as possible.
Specific calculation details included in this port:
- P(HL2C): Uses the weighted average (High + Low + 2*Close).
- Range Calculation: Uses a Moving Range based on Max(High, 2) - Min(Low, 2).
- The H0/L0 Factor: A unique characteristic of the Sierra Chart formula is the use of H0 and L0 (the High and Low of the first loaded bar in history) to scale the volatility exponent. This script replicates that behavior.
Note: Because H0 and L0 depend on the start of the loaded data, values may shift slightly if the amount of historical data on your chart changes. This is consistent with how the study behaves in Sierra Chart.
- Complex Weighting: Calculates "Buy Power" and "Sell Power" using the specific exponential decay formula outlined in SC ID 139.
##Settings (Inputs)
- Buy/Sell Power Length (nBS): Length for smoothing Volume and Range (Default: 19).
- Buy/Sell Power MA Length: Length for the smoothing of the calculated Buy/Sell Power (Default: 19).
- Demand Index MA Length: Length for the final Simple Moving Average (SMA) of the Demand Index (Default: 19).
- MA Type: Choose the smoothing algorithm for intermediate steps (EMA, SMA, WMA, RMA). Default is EMA.
##How to Trade / Interpret
- Divergence: The most powerful signal. If price makes a new High but the Demand Index fails to reach a new High, it suggests Buying Power is weakening (Bearish Divergence). Conversely for Bullish Divergence.
- Zero Line Cross: A cross above zero indicates Buy Power > Sell Power (Bullish). A cross below zero indicates Sell Power > Buy Power (Bearish).
Disclaimer: This script is for educational and analytical purposes only. It is a code conversion based on public documentation of Sierra Chart Study ID 139.
Sierra Chart, best trading software, EVER!
With the best datafeet. Denali Exchange Data Feed.
Momentum Exhaustion UltimateMomentum Exhaustion Ultimate
Introduction
This indicator is a comprehensive market timing tool based on Consecutive Bar Counting logic. Unlike standard oscillators like RSI or MACD which smooth data using averages (lagging price), this strategy analyzes the specific sequence and persistence of price action to identify moments of trend exhaustion in real-time.
It is widely used on professional trading desks to answer one specific question: "Has the current trend run out of gas?"
The Core Philosophy
Markets do not move in straight lines; they move in waves of momentum and exhaustion. This strategy posits that a trend typically exhausts itself after a specific cadence of buying or selling pressure. By "counting" these pressure bars, we can identify high-probability zones where the market is likely to pause (Extension) or reverse completely (Exhaustion).
How It Works: The Two Phases
1. The Extension Phase (The "9"):
Goal: Identifies a trend that is becoming overextended (Momentum).
The Signal: A count of 9 consecutive bars closing higher/lower than the close 4 bars prior.
Meaning: This is a "Momentum Pause" signal. When a 9 appears, the market often corrects for 1-4 bars. It is the first warning sign of fatigue.
2. The Exhaustion Phase (The "13"):
Goal: Identifies the final exhaustion of the trend.
The Signal: A count of 13 bars (not necessarily consecutive) where price pushes to new extremes relative to the high/low 2 bars prior.
Meaning: This is the "Reversal" signal. The buying/selling pressure has likely fully capitulated, and a major counter-trend move is expected.
How To Use This Script
This indicator is not just a "reversal catcher." It includes institutional features (Structure Lines and Invalidation Levels) to help you manage the trade:
Don't Just Fade the "9": A "9" isn't always a buy signal. If the trend is strong, the "9" might just be a pause. Wait for the 13 for major reversals.
The "Quality Filter" (Diamond ♦): A signal is statistically stronger if the final bar (8 or 9) actually pushes deeper than previous bars. This script marks these high-quality signals with a Diamond (♦).
The Trend Barrier Breakout: The script plots Structural Support/Resistance Lines (Dashed Red/Green). If price ignores a Reversal Signal and breaks through this line, the reversal has failed. Cancel your fade and trade the Breakout (Trend Continuation). This is often the most profitable signal in the system.
The "Invalidation" Line: The Blue Dotted line represents the "Stop Loss" level derived from the volatility of the count. If price closes past this line, the signal is invalid—exit immediately.
Features Included in This Script:
Full Engine: Includes both the Extension (1-9) and Exhaustion (1-13) counters.
Wick-Sensitive Mode: Option to switch logic for fast-moving markets (Crypto/FX) to detect wicks rather than closes.
Deferral Logic: "Qualifier" rules that prevent a 13 from firing until momentum actually slows down.
Structure Lines: Institutional trend barriers for breakout trading.
Volatility Stops: Dynamic invalidation levels to protect capital.
Minimalist Mode: Hides the "number soup" to keep your chart clean, showing only actionable signals.
Custom Dividers [louis]Custom Dividers is a streamlined utility designed for Multi-Timeframe Analysis (MTF). It allows you to visualize higher timeframe structures directly on lower timeframe charts by drawing infinite vertical lines at the open of new periods.
Unlike standard grid lines and other divider indicators, this has custom inputs, giving you complete control over non-standard timeframes (e.g., 90-minute cycles, 6-hour blocks, or 2-day periods).
🔑 Key Features
- 4 Independent Timeframe Slots: Configure up to four different vertical dividers simultaneously.
- Custom Minute Inputs (TF 1 & TF 2): Instead of restricting you to a dropdown, the first two slots allow you to input any integer for minutes.
Example: Set 90 for 90-minute cycle dividers.
Example: Set 360 for 6-hour dividers.
- Standard Timeframe Selectors (TF 3 & TF 4): Traditional dropdowns for standard periods like Daily (D), Weekly (W), or Monthly (M).
- Visual Customization:
Lines: Uses line.new() drawing logic to ensure dividers stretch infinitely from top to bottom, regardless of price scale.
Styles: Select from Solid, Dashed, or Dotted directly in the inputs.
Width & Color: Fully customizable to blend into your chart theme.
⚙️ How to Configure
Go to the Settings (Inputs Tab):
TF 1 & TF 2: Enter the specific number of minutes (e.g., 60 = 1 Hour, 240 = 4 Hours). Toggle the checkbox to Show/Hide.
TF 3 & TF 4: Select the timeframe period from the dropdown. Toggle the checkbox to Show/Hide.
Style: Choose your line style, color, and width.
Note: Since this indicator uses geometric drawings (line.new) to achieve full-height vertical lines, all visual settings (Color, Width, Style) are located in the Inputs Tab, not the Style tab.
ChoCH + BOS External Market Structure BBCchoch and bos with alerts for tradingview. alerts are included
Probabilidad Alcista / Bajista por Volumen yvvProbabilidad Alcista / Bajista por Volumen y tendencia
Pro HTF Last-Closed Levels (D / 4H / 1H) This is OHLC lines per one and 4 hour to track levels. simple and easy
Hide Only Current Candle ( So live is like back test )This will hide the current candle that is printing and only show past candles
To use this also go to settings and hide the price line and the candles
Settings: Go to Symbol, and uncheck body, wick, and borders so that it hides all candles.
To hide the horizontal line that follows the current market price, you need to adjust one more setting in the TradingView interface.
How to Hide the Current Price Line:
Right-click on your chart and select Settings (or press Alt + S).
Navigate to the Scales and lines tab (on some versions, it is just called Scales).
Look for the Symbol last price line option and uncheck it.
(Optional) If you also want to hide the price bubble on the right-hand axis, uncheck Symbol last value label.
Crypto Prev Day/Week Hi-Lo (UTC)escription
Crypto Prev + This Day/Week Hi-Lo (UTC) plots key high/low levels for crypto markets using a 24-hour session anchored to 00:00 UTC.
This indicator is designed for traders who treat crypto as a true 24/7 market and want consistent, global day/week levels that don’t shift with daylight savings.
What it plots
PDH / PDL = Previous Day High / Previous Day Low
PWH / PWL = Previous Week High / Previous Week Low
TWH / TWL = This Week High / This Week Low
00:00 UTC vertical line = marks the start of a new UTC day
Abbreviations
PDH = Previous Day High
PDL = Previous Day Low
PWH = Previous Week High
PWL = Previous Week Low
TWH = This Week High
TWL = This Week Low
UTC = Coordinated Universal Time (global standard time reference)
SMC Louis 4H-15M V6为了方便你将这个脚本分享到 TradingView 社区或私人收藏,我为你准备了一份中英文对照的专业描述。这份描述突出了脚本的技术核心——**Louis Trading 的 SMC 进场逻辑**。
---
## 📝 脚本描述 / Script Description
### 中文描述:SMC Louis 实战进场辅助工具 (V6版本)
**核心理念:**
本脚本根据 Louis Trading 的 SMC(Smart Money Concepts)交易教学编写,专注于 **4H 趋势过滤 + 15M 结构突破** 的高胜率进场逻辑。它通过自动化的绘图,将复杂的盘面观察简化为清晰的视觉信号。
**主要功能:**
* **多时段趋势追踪**:内置 200 EMA 动态过滤大周期方向,确保你始终顺势交易。
* **自动 BOS (结构突破) 检测**:实时标记市场结构的改变,识别潜在的反转或延续机会。
* **动态 0.715 进场参考线**:当 15M 级别发生 BOS 突破时,脚本自动根据波段高低点计算并绘制 Louis 教学中的 **0.715 黄金回撤位**,无需手动拉斐波那契线。
* **失衡区 (FVG) 视觉化**:自动高亮显示价格快速移动留下的真空区域,帮助识别高概率的订单回踩区。
* **实时仪表盘**:右上角直观显示当前大周期方向与行动建议(等待回踩或反弹)。
**使用说明:**
1. 建议在 **15分钟 (15M)** 周期下使用。
2. 观察仪表盘的趋势方向。
3. 当绿色 **BOS** 出现后,等待价格回踩 **黄色虚线 (0.715)** 且该线位于 **FVG** 区域内时考虑进场。
---
### English Description: SMC Louis Strategy Entry Assistant (V6)
**Core Concept:**
This script is meticulously designed based on the SMC (Smart Money Concepts) methodology taught by Louis Trading. It focuses on the high-probability **4H Trend Filter + 15M Market Structure Break (BOS)** execution workflow. It automates the complex manual charting process into clear, actionable visual cues.
**Key Features:**
* **MTF Trend Filtering**: Integrated 200 EMA helps you stay on the right side of the 4H higher-timeframe trend.
* **Automated BOS Detection**: Real-time identification of Market Structure Breaks (BOS), highlighting potential trend reversals or continuations.
* **Dynamic 0.715 Entry Level**: When a BOS occurs on the 15M timeframe, the script automatically calculates and plots the **0.715 Fibonacci retracement level**—a signature entry point from Louis's strategy.
* **Fair Value Gap (FVG) Visualization**: Automatically highlights price imbalances (FVGs), helping you spot where "Smart Money" is likely to mitigate orders.
* **Live Dashboard**: A clean UI in the top-right corner provides immediate context on trend direction and actionable advice.
**How to Use:**
1. Best used on the **15-Minute (15M)** timeframe.
2. Check the dashboard for the overall trend bias.
3. Wait for a **BOS** label; look for price to retracing into the **Yellow Dashed Line (0.715)**, especially if it aligns with a plotted **FVG box**.
---
### 💡 建议
如果你打算发布这个脚本,建议在 TradingView 的设置中将“15M 摆动回溯周期”默认设置为 **10-15**,这通常能最准确地过滤掉市场杂讯。
**你想让我为你生成一份专门针对“移动端使用”的简化版界面代码吗?(去掉了复杂的仪表盘,只保留核心线条,适合手机查看)**
Adaptive Trend Flow (ATF)Adaptive Trend Flow (ATF) is a custom trend-following indicator designed to work reliably across all markets and all timeframes.
It uses an adaptive moving average that automatically adjusts to market conditions, combined with trend slope analysis and a volatility filter to reduce noise during ranging periods.
Unlike traditional fixed moving averages, ATF reacts faster during strong trends and slows down during consolidation, helping traders stay aligned with meaningful price movements.
🔍 How It Works
Uses an adaptive smoothing algorithm to track price efficiently
Confirms trend direction using trend slope
Filters out low-volatility and choppy conditions using ATR-based logic
Does not repaint — signals are based only on confirmed data
📊 Visual Interpretation
🟢 Green line / background → Bullish trend
🔴 Red line / background → Bearish trend
⚪ Gray → No clear trend (range / low volatility)
⚙️ Features
Works on Crypto, Forex, Stocks, Futures
Compatible with all timeframes
Optional trend-change signals
Optional background highlighting
Fully customizable inputs
Alert-ready
🎯 Best Use Cases
Trend filter for entries and exits
Directional bias for scalping, day trading, or swing trading
Strategy backbone when combined with price action or momentum tools
⚠️ Disclaimer
This indicator is for educational and analytical purposes only and does not constitute financial advice. Always manage risk appropriately.
ATR with History (Red/Yellow Style)Gives you last 20 candles ATR (Red Line) , and averages the last 2 weeks' ATR at your current time (Yellow Line)
Consolidation Zones (Range + ATR + optional ADX)Consolidation Zones — Market Compression Visualizer
Consolidation Zones is a visual market-structure indicator designed to identify periods of price compression where volatility contracts and directional movement pauses. These zones often precede expansion, breakout, or trend continuation, making them critical areas for trade preparation and risk planning. Instead of relying on a single oscillator, this script evaluates price behavior over time to detect when the market is moving sideways within a defined range. When consolidation is present, the indicator highlights the zone directly on the chart, allowing traders to immediately see where balance is occurring.
What This Indicator Helps You Do:
Identify low-volatility, sideways markets
Spot compression before expansion
Avoid entering trades during chop and noise
Prepare for breakout or breakdown scenarios
Combine structure with your existing trend or momentum tools
How to Use It
Inside the zone: Expect indecision and mean-reversion behavior
Break above the zone: Potential bullish expansion
Break below the zone: Potential bearish expansion
Use zone boundaries as context for entries, stops, and targets
This indicator is intentionally non-predictive — it does not guess direction. Instead, it provides clarity, showing where the market is coiling so you can act when price reveals intent.
Best Paired With
Trend indicators (EMA, VWAP)
Momentum tools (RSI, MACD)
Volume or volatility expansion tools
Notes
Consolidation is timeframe-dependent — zones may differ across intervals
Designed as a context tool, not a standalone signal generator
This indicator is for educational and informational purposes only.
Intraday Time-of-Day RVOL (histogram)intraday relative volume indicator, which can use for measuring the strength of breakout
Opening Range with Timezone & Points Opening range indicator on 1min , which can use for breakout strategy
Candle Size Table (Big Font & Colors)Symbols: gold, oil, BTC, silver, USDJPY, GBPUSD, USDCAD, AUDUSD
Timeframes: 1m and 5m
Size of the previous candle (for each TF)
I’ll assume “size” = candle range (high − low) of the previous closed candle.
Noise Area (TS Intraday, Custom Session + Timezone List)This indicator replicates the algorithm proposed in “Beat the Market: An Effective Intraday Momentum Strategy for the S&P 500 ETF (SPY)” by Carlo Zarattini, Andrew Aziz, and Andrea Barbon. The implementation follows the core methodology described in the paper, reproducing its intraday momentum signals and trading logic as applied to the S&P 500 ETF (SPY)
NY Open 15M high low ( carrillos )This indicator marks the high and low of the first candle when the New York market opens, ideal for day trading.
Short Option Intrinsic + Option Price + Time ValueThis code print out and plot the intrinsic values, time values and the option price on the screen. This tells your how likely a short option will be exercised. User needs to select the option type (call, or put). Then input strike price and the current option price.
NY Open Range 15M BreakoutThe first candle's movements at the New York open help identify the low and high of the first 15-minute candle, as well as a breakout level.
Pivot Levels Real-Time Latest Bar (Skip Current, With Zones)ddPivot Levels Real-Time Indicator with Shaded Zones
Author: Ammar Hasan
Overview
The Pivot Levels Real-Time Indicator is a TradingView Pine Script (v5) indicator that plots classic pivot levels using the most recently confirmed bar while skipping the currently forming bar.
It enhances the chart with shaded zones between pivot levels to help visualize potential support, resistance, and price reaction areas.
Key Features
Uses the latest confirmed bar only (no repainting)
Plots Pivot, S1, S2, S3 and R1, R2, R3
Displays shaded zones between levels
Automatically removes old drawings to keep the chart clean
Lightweight and suitable for lower timeframes
No labels for a clean visual layout
Pivot Level Calculations
Pivot (P) = (High + Low + Close) / 3
Support Levels
S1 = 2 x Pivot - High
S2 = Pivot - (High - Low)
S3 = Low - 2 x (High - Pivot)
Resistance Levels
R1 = 2 x Pivot - Low
R2 = Pivot + (High - Low)
R3 = High + 2 x (Pivot - Low)
All values are calculated using the last confirmed candle to ensure stable, non-repainting levels.
Visual Components
Lines
The pivot line is drawn in yellow and slightly thicker for emphasis.
Support lines are drawn in red.
Resistance lines are drawn in green.
Shaded Zones
Resistance Zones
R3 to R2
R2 to R1
R1 to Pivot
Support Zones
Pivot to S1
S1 to S2
S2 to S3
These zones help visualize supply and demand areas and potential price reaction zones.
Use Cases
Intraday trading
Scalping
Support and resistance analysis
Price action confirmation
Notes and Limitations
Levels update once per confirmed candle
Zones are drawn only for a short forward range by default
This indicator is not intended to be used as a standalone trading system
Conclusion
The Pivot Levels Real-Time Indicator with Shaded Zones provides a clean and reliable visualization of key market levels while avoiding repainting. The shaded zones add depth and context, helping traders better understand price behavior around important levels.
Developed by Ammar Hasan






















