Debt Refinance Cycle + Liquidity vs BTC (Wk) — Overlay Part 1Debt Refi Cycle - Overlay script (BTC + Liquidity + DRCI/Z normalized to BTC range)
Grafik Desenleri
IMB zones, alerts, 8 EMAs, DO lvlThis indicator was created to be a combined indicator for those who use DO levels, IMBs, and EMAs in their daily trading, helping them by providing a script that allows them to customize these indicators to their liking.
Here you can set the IMBs, DO levels, and EMAs. Its special feature is that it uses alerts to indicate which IMB zones have been created, along with the invalidation line for the new potential IMB.
The program always calculates the Daily Opening (DO) level from the opening of the broker, and you can set how many hours the line should be drawn.
Help for use:
There are 3 types of alerts:
- Use the "Bullish IMB formed" alert if you are looking for Bull IMBs.
- Use the "Bearish IMB formed" alert if you are looking for Bear IMBs.
- Use the "Either IMB" alert if you are looking for Bull and Bear IMBs.
Tip: Set the alert type "Once per bar close" if you do not want to set new alerts after an IMB is formed.
IMBs:
- Customizable IMB quantity (1-500 pcs)
- Zone colors and borders can be customized
- Potential IMB line can be customized
EMAs:
- You can set and customize 8 EMA lengths
- Only the current and higher timeframe EMAs are displayed
Daily Open Level:
- Displays today's Daily Open level
- Note: The DO level does not work in Replay mode
Last OFR:
"Show True OFR" checkbox added.
It displays the latest OFR, and hides the old ones.
AlgoAIDESIGNED FOR HEIKEN ASHI BARS
Gain Access here: algoai.store
AlgoAI
The Dark Edge of Trading
An AI-powered TradingView strategy that thrives across all markets. Short altcoin pumps. Ride NAS100 waves. Dominate gold, FX, stocks, and futures — all with one AI brain.
#1
Semi-Automatic Trading (Recommended)
Set up alerts on AlgoAI signals. As they come in, grade the setups and choose to enter manually. This gives you full control while leveraging AI precision.
#2
Fully Automated Trading
Pass signals via webhooks to TradersPost for futures or PineConnector for FX. Note: When running fully automated, it's suggested to use long-only or short-only mode to avoid side swiping and potential unintended drawdown.
BITSTAMP:BTCUSD
多空多周期面板(1/3/5/15/30m) · 难度1-9+加权投票+自适应 · 可行度% · 精准过滤版Multi-Timeframe Consensus Panel (1/3/5/15/30m) — Difficulty 1-9 · Weighted Votes · Adaptive · Confidence %
What it does
This indicator builds a consensus long/short signal across 1/3/5/15/30-minute charts. For each timeframe it computes a normalized oscillator (with signal line) and casts a vote when conditions are bullish/bearish. Votes are optionally weighted toward higher timeframes. A final score blends trend (EMA50/200), RSI gates, recent crosses, mid-band distance, slope, volatility (ATR%), S/R distance (pivot-based with ATR buffer), chop filter (ADX + mid-band), candle confirmation, and optional HTF bar-close confirmation. The result is a Long/Short triangle on the chart and an optional confidence % label.
How to use
Add to any symbol/timeframe. The top-right panel shows each TF’s state, crosses, votes, and filters.
Choose Mode (Aggressive / Moderate / Conservative) and refine with Difficulty 1–9 (1 = loose, 9 = strict).
Optionally adjust weights (give 15/30m more influence), Min Confidence %, S/R buffer (ATR), Chop/ADX, and Candle confirmation.
Trade the Long (▲)/Short (▼) triangles that meet your confidence threshold; circle = near-miss continuation, diamond = trend re-entry. Use your own risk management (TP/SL) or a separate strategy.
Key inputs
Difficulty 1–9: linearly tightens OB/OS, votes needed, scoring, cool-down/hold bars, RSI gates, ATR% floor, slope, and mid-band gap.
Weighted votes: favors higher TFs (editable w1–w5).
Regime auto: in strong-trend (ADX + EMA slope) the score requirement is relaxed by one notch.
Filters: S/R distance (pivot with ATR buffer), chop brake, candle body ratio & direction, HTF bar-close confirm (“None / At least one / Both”).
Signals & confidence
Final signals are shown only when confidence ≥ Min Confidence %. Confidence (10–100%) combines normalized score, weighted votes, and trend strength.
Alerts (Chinese names in the UI; English meaning below)
“多周期共识:多(增强)” – Consensus Long
“多周期共识:空(增强)” – Consensus Short
“近似命中补票:多/空” – Near-miss Long/Short
“续势再入:多/空” – Trend Re-entry Long/Short
Tip: for stability, set alerts Once per bar close when using HTF confirmation.
Suggested presets
ETH futures 5m: Mode = Moderate, Difficulty = 6–7, Min Confidence = 55–70%, HTF confirm = At least one, S/R buffer = 0.7–1.0 ATR.
Want more signals? Lower Difficulty or Min Confidence; too noisy? Raise them and/or enable Chop filter.
Notes
MTF values are requested without look-ahead; pivot-based S/R waits for confirmation. Signals are generated on confirmed data, but—as with any MTF tool—manage orders on bar close to avoid intra-bar flicker.
This is an indicator, not financial advice. Always pair with sound risk management.
ROGUE NR4/NR7ROGUE NR4/NR7 is a pattern-detection tool that highlights Narrow Range 4 (NR4) and Narrow Range 7 (NR7) setups and tracks their breakout behavior. These patterns are known for marking consolidation zones where volatility contracts. A breakout from these ranges often signals the start of an expansion move — making them useful for traders who focus on breakout strategies.
Key Features:
-NR4 / NR7 Detection: Automatically identifies the narrowest 4- or 7-bar ranges on your selected timeframe.
-Custom Sessions: Option to restrict detection and signals to specific trading hours (e.g., RTH).
-Breakout Signals: Prints a single up or down signal on the first valid breakout from the NR range.
-Dynamic Stop-Loss: Plots ATR-based stop loss levels alongside breakout signals.
-Deviation Levels: Plots customizable deviation lines based on the NR7/NR4 range size for measured move projections.
-Session-Aware: All signals and ranges reset at the start of a new trading day, preventing carryover into the next session.
-Clean Charting: Range boxes and lines extend for a user-defined number of bars, keeping your charts clear and focused.
How to Use:
-Select your preferred higher timeframe for detecting NR4/NR7 patterns.
-Wait for an NR box to appear (highlighted with color).
-Monitor for the first breakout signal (▲ for bullish, ▼ for bearish).
-Use the ATR stop-loss line and deviation levels to plan risk and targets.
-Combine with broader market context or confirmation tools for best results.
Signature Five Lines by SidHemSignature Five Lines by SidHem
Overview:
Signature Five Lines by SidHem is a chart overlay tool that lets traders and analysts display a fully customizable multi-line signature or text annotation directly on TradingView charts. It allows up to five user-defined lines, optional logo or emoji on the first line, and automatic inclusion of the symbol and instrument description. The display can be shown either as a table or a label, with complete control over fonts, colors, spacing, and positioning.
If you’re tired of adding your details manually on every new chart, Signature Five Lines by SidHem helps you display your standard information automatically on any chart you open.
This script is useful for traders who want to keep key information visible, add personal notes, or include contextual text on charts without manually adding labels or text boxes.
Inputs and How to Use Them
1. Multi-Line Signature
Enable Line 1–5: Toggle visibility of each signature line. Show or hide this line on the chart.
Line 1–5 Text: Enter the custom text for each line. Line 1 can include a logo or emoji if enabled.
2. Logo / Emoji
Show Emoji / Text in Line 1: Enable an emoji or small text to appear before Line 1 of the signature for personalization.
Logo Text: Enter the emoji or symbol to display at the start of Line 1 when enabled.
3. Symbol / Instrument
Show Symbol Row: Display the chart’s symbol (e.g., NSE:INFY) above your custom lines.
Show Name / Description Row: Display the instrument’s name or description below the symbol.
Combine Symbol & Name in 1 Row: Merge the symbol and description into a single row for compact display.
4. Display Mode
Display Mode: Choose how the signature is displayed: Table (row-based) or Label (near price).
Theme Skin: Select a prebuilt color theme or choose Custom to define your own colors for text and background.
5. Table Style
Table Vertical Spacer Rows: Number of empty rows added above the signature lines to adjust vertical positioning.
Table Position: Set the location of the table on the chart (Top, Middle, Bottom; Left, Center, Right).
Table Font Size: Set the font size for the signature lines. Options: Tiny, Small, Normal, Large, Huge.
6. Table Custom Line Colors
Lines 1–5 Background & Text Colors: Customize the background and text color for each signature line individually.
Symbol Row (line6) Background & Text Colors: Customize background and text colors for the symbol row.
Name/Description Row (line7) Background & Text Colors: Customize background and text colors for the description row.
7. Label Style (for Label Mode)
Label Text Color: Color of text when using Label mode.
Label Background Color: Background color of the label; supports transparency.
Label Style: Position of the label pointer relative to the bar (Left, Right, Up, Down, Center).
Label X Offset: Horizontal shift of the label in bars relative to the current bar.
Label Y Offset: Vertical shift of the label in price points; allows precise positioning above or below the price.
How it Works:
The script dynamically builds a display array combining the chart symbol, instrument description, and your custom signature lines.
Long text is automatically wrapped to ensure readability without overlapping chart elements.
Users can choose Table mode (row-based display) or Label mode (floating near price), with customizable X/Y offsets for precise placement.
Predefined color themes make it easy to match the chart’s style, or you can select Custom to fully control background and text colors for each line.
An optional logo/emoji can appear at the start of Line 1 for personalization.
Advantages:
Keeps key chart information visible at all times.
Adds a professional annotation layer to charts for notes or commentary.
Multi-line support allows clear separation of different information (symbol, description, personal notes, optional emoji).
Dynamic wrapping ensures text remains readable on different timeframes or zoom levels.
Works with any TradingView chart or instrument.
Recommended Use:
Add Prefixed notes or annotations directly on charts - simply calling it a Signature
Display symbol and description alongside personal commentary.
Combine multiple lines of information in a clean and readable overlay.
SCTI - D14SCTI - D14 Comprehensive Technical Analysis Suite
English Description
SCTI D14 is an advanced multi-component technical analysis indicator designed for professional traders and analysts. This comprehensive suite combines multiple analytical tools into a single, powerful indicator that provides deep market insights across various timeframes and methodologies.
Core Components:
1. EMA System (Exponential Moving Averages)
13 customizable EMA lines with periods ranging from 8 to 2584
Fibonacci-based periods (8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987, 1597, 2584)
Color-coded visualization for easy trend identification
Individual toggle controls for each EMA line
2. TFMA (Multi-Timeframe Moving Averages)
Cross-timeframe analysis with 3 independent EMA calculations
Real-time labels showing trend direction and price relationships
Customizable timeframes for each moving average
Percentage deviation display from current price
3. PMA (Precision Moving Average Cloud)
7-layer moving average system with customizable periods
Fill areas between moving averages for trend visualization
Support and resistance zone identification
Dynamic color-coded trend clouds
4. VWAP (Volume Weighted Average Price)
Multiple anchor points (Session, Week, Month, Quarter, Year, Earnings, Dividends, Splits)
Standard deviation bands for volatility analysis
Automatic session detection and anchoring
Statistical price level identification
5. Advanced Divergence Detector
12 technical indicators for divergence analysis (MACD, RSI, Stochastic, CCI, Williams %R, Bias, Momentum, OBV, VW-MACD, CMF, MFI, External)
Regular and hidden divergences detection
Bullish and bearish signals with visual confirmation
Customizable sensitivity and filtering options
Real-time alerts for divergence formations
6. Volume Profile & Node Analysis
Comprehensive volume distribution analysis
Point of Control (POC) identification
Value Area High/Low (VAH/VAL) calculations
Volume peaks and troughs detection
Support and resistance levels based on volume
7. Smart Money Concepts
Market structure analysis with Break of Structure (BOS) and Change of Character (CHoCH)
Internal and swing structure detection
Equal highs and lows identification
Fair Value Gaps (FVG) detection and visualization
Liquidity zones and institutional flow analysis
8. Trading Sessions
9 major trading sessions (Asia, Sydney, Tokyo, Shanghai, Hong Kong, Europe, London, New York, NYSE)
Real-time session status and countdown timers
Session volume and performance tracking
Customizable session boxes and labels
Statistical session analysis table
Key Features:
Modular Design: Enable/disable any component independently
Real-time Analysis: Live updates with market data
Multi-timeframe Support: Works across all chart timeframes
Customizable Alerts: Set alerts for any detected pattern or signal
Professional Visualization: Clean, organized display with customizable colors
Performance Optimized: Efficient code for smooth chart performance
Use Cases:
Trend Analysis: Identify market direction using multiple EMA systems
Entry/Exit Points: Use divergences and structure breaks for timing
Risk Management: Utilize volume profiles and session analysis for better positioning
Multi-timeframe Analysis: Confirm signals across different timeframes
Institutional Analysis: Track smart money flows and market structure
Perfect For:
Day traders seeking comprehensive market analysis
Swing traders needing multi-timeframe confirmation
Professional analysts requiring detailed market structure insights
Algorithmic traders looking for systematic signal generation
---
中文描述
SCTI - D14是一个先进的多组件技术分析指标,专为专业交易者和分析师设计。这个综合套件将多种分析工具整合到一个强大的指标中,在各种时间框架和方法论中提供深度市场洞察。
核心组件:
1. EMA系统(指数移动平均线)
13条可定制EMA线,周期从8到2584
基于斐波那契的周期(8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987, 1597, 2584)
颜色编码可视化,便于趋势识别
每条EMA线的独立切换控制
2. TFMA(多时间框架移动平均线)
跨时间框架分析,包含3个独立的EMA计算
实时标签显示趋势方向和价格关系
每个移动平均线的可定制时间框架
显示与当前价格的百分比偏差
3. PMA(精密移动平均云)
7层移动平均系统,周期可定制
移动平均线间填充区域用于趋势可视化
支撑阻力区域识别
动态颜色编码趋势云
4. VWAP(成交量加权平均价格)
多个锚点(交易时段、周、月、季、年、财报、分红、拆股)
标准差带用于波动性分析
自动时段检测和锚定
统计价格水平识别
5. 高级背离检测器
12个技术指标用于背离分析(MACD、RSI、随机指标、CCI、威廉姆斯%R、Bias、动量、OBV、VW-MACD、CMF、MFI、外部指标)
常规和隐藏背离检测
看涨看跌信号配视觉确认
可定制敏感度和过滤选项
背离形成的实时警报
6. 成交量分布与节点分析
全面的成交量分布分析
控制点(POC)识别
价值区域高/低点(VAH/VAL)计算
成交量峰值和低谷检测
基于成交量的支撑阻力水平
7. 聪明钱概念
市场结构分析,包括结构突破(BOS)和结构转变(CHoCH)
内部和摆动结构检测
等高等低识别
公允价值缺口(FVG)检测和可视化
流动性区域和机构资金流分析
8. 交易时区
9个主要交易时段(亚洲、悉尼、东京、上海、香港、欧洲、伦敦、纽约、纽交所)
实时时段状态和倒计时器
时段成交量和表现跟踪
可定制时段框和标签
统计时段分析表格
主要特性:
模块化设计:可独立启用/禁用任何组件
实时分析:随市场数据实时更新
多时间框架支持:适用于所有图表时间框架
可定制警报:为任何检测到的模式或信号设置警报
专业可视化:清洁、有序的显示界面,颜色可定制
性能优化:高效代码确保图表流畅运行
使用场景:
趋势分析:使用多重EMA系统识别市场方向
入场/出场点:利用背离和结构突破进行时机选择
风险管理:利用成交量分布和时段分析进行更好定位
多时间框架分析:在不同时间框架间确认信号
机构分析:跟踪聪明钱流向和市场结构
适用于:
寻求全面市场分析的日内交易者
需要多时间框架确认的摆动交易者
需要详细市场结构洞察的专业分析师
寻求系统化信号生成的算法交易者
DXY-GU Divergence (Overlay)divergence indicator with for dxy . alerts availabkle for everytime frame ! best way to catch manipulation
Mark Minervini Trend Template Candles📊 Mark Minervini Trend Template (Enhanced)
This script brings Mark Minervini’s famous Trend Template directly onto your TradingView charts — combining candle coloring, moving averages, trend checks, and a live criteria table into one tool.
🔎 What it does:
Candle Coloring: Each bar is colored on a gradient from red → yellow → light green → strong green, depending on how many of the 10 Trend Template rules are satisfied.
Key Moving Averages: Plots the 50-day, 150-day, and 200-day SMAs with distinct colors.
52-Week Context: Checks if the stock is trading near its yearly highs/lows.
Relative Strength vs. S&P 500: Scales performance into a percentile rank (0–100).
Trend Template Table: A neat table appears on the right-hand side of the chart, showing:
Each of the 10 Minervini rules ✅ / ❌
Current values (relative strength, % from 52-week high/low)
Total score out of 10
✅ Benefits:
Quickly spot whether a stock meets Minervini’s strict criteria for strong uptrends.
Use the color-coded candles for fast visual scanning.
Get a transparent checklist (no guesswork) with real-time updates.
📈 Ideal For :
Swing traders & growth investors who follow Mark Minervini’s methodology.
Traders who want a visual, rule-based filter to focus only on the strongest stocks.
Liquidity Grab Strategy SuvorovLiquidity grab strategy
Description:
This indicator is built around the Liquidity Grab Strategy, which identifies and reacts to stop hunts and false breakouts at key swing highs and lows. It detects where liquidity is likely to be resting (e.g., above highs or below lows) and provides trade signals when that liquidity is taken and price begins to reverse.
Core Features:
Liquidity Detection: Automatically identifies and marks key swing highs and lows where stop-losses are likely to accumulate.
Entry Signals: Generates BUY/SELL signals after a liquidity sweep and a confirmed reversal — based on price action, volume, or structure shifts.
Stop Loss & Take Profit Zones: Visualizes stop-loss just beyond the liquidity wick and take-profit near the next major structure point, with configurable Risk/Reward ratios.
False Signal Filters: Optional filters based on volume spikes, RSI divergence, or market structure confirmation.
Multi-Timeframe Logic: Supports separate timeframes for structure detection and signal confirmation (e.g., structure on 1H, entry on 5m).
Swing Failure Pattern SuvorovIndicator: Logic-based Swing Failure Pattern (SFP)
What is the logic of my indicator based on and what makes it unique:
1. The indicator can calculate extreme candles that close with huge shadows and a small body and it works on any timeframe.
2. The indicator analyzes the volumes on which the desired bar was closed. This function is customizable. That is, you can build a search for signals according to your trading strategy, based on the number of volumes. What does this mean - you select the number of previous bars where the indicator calculates the average value and based on these numbers, you can set up: how many times the desired candle should be larger than the previous average volume.
3. Since SFP is based on the removal of important liquidity, the search for such situations occurs from swing structures (swing high/low). When these parameters are found on the chart (on history), the indicator draws the situation and shows where important liquidity was removed and why the trading situation appeared right now.
4. The indicator gives recommendations on possible takes and stops.
The structure of takes has a built-in logic for searching for previous swings to remove liquidity, as well as searching for imbalances to cover them (50 and 100%).
5. For TP (Take Profit): there are 3 TPthat can be adjusted to your trading strategy (Risk/Profit). For example: you always trade from 2 to 1 on the 1st Take, 3 to 1 on the second, 5 to 1 on the third: you can set all this in the indicator and all your targets will be detected by the indicator, taking into account the logic of searching for important ranges. If, for example, in your 3 to 1 range there are no important zones for TP, then the indicator writes that NaN (not found).
6. The indicator works on any timeframe.
7. The indicator has a built-in RSI logic, which comes as an additional function to the indicator. If this function is enabled, then trading situations are detected only when there is a divergence (from the swing point to the extreme bar that has formed).
HEERA DIAMOND OPTION PROThis indicator is designed for option sellers who need trend confirmation + key intraday levels to manage risk and time entries.
It combines Daily CPR, Supertrend (10,2), and VWAP — three essential tools that help filter trades and avoid false breakouts.
⚡ Components & Role in Option Selling:
Central Pivot Range (CPR – Daily)
Defines the intraday trend bias (above bullish, below bearish).
Narrow CPR → likely trending day → avoid aggressive selling.
Wide CPR → sideways market → better for option selling (short straddle/strangle, iron condor).
Supertrend (10,2)
Provides directional bias.
For option sellers, use this as a stop-loss indicator:
Stay short OTM Calls if price trades below Supertrend (bearish).
Stay short OTM Puts if price trades above Supertrend (bullish).
VWAP (Daily Anchored)
Acts as a fair value line.
Option sellers use VWAP as a mean-reversion reference:
If price stays close to VWAP → sideways → good for selling options.
If price trends away strongly from VWAP → avoid shorting both sides (avoid straddles).
🎯 Suggested Option Selling Use:
Straddle/Strangle Selling → When price is inside CPR and close to VWAP, with Supertrend flat.
Directional Credit Spreads (Bear Call / Bull Put) → When CPR + VWAP + Supertrend align in one direction.
Avoid Selling → If CPR is narrow and market breaks strongly (high trending risk).
Trendlines Breakouts Pro V1.2 - 4TP [Wukong Algo]Trendlines Breakouts Pro
Trading method “High Tight Trendline Breakout”. This is a simple but effective and flexible method that can support many other methods such as: support and resistance, supply and demand, volume profile...
Automatically connect TradingView and MetaTrader 5 (MT5) for automatic trading and order management via PineConnector
The system includes a risk management grid including the levels: Stop Loss (SL), Break-even (BE), Trail Trigger, Trailing Stop, TP1 (1/4), TP2 (2/4), TP3 (3/4), TP4 (4/4). This grid helps you easily monitor and manage orders on TradingView in parallel with automatic order management on MT5.
Focus on tight capital and risk management, reduce emotion and stress when trading
Suitable for all markets: Forex, Gold, Crypto, Stocks, as long as you use MT5 and TradingView
If you do not need to trade automatically via MT5, the Trendlines Breakokuts Pro can also be used as an effective indicator in visual order management on TradingView charts, helps maintain discipline and good trading psychology (less Stress or FOMO)
Trendlines Breakouts Pro System User Guide
Step 1 - Draw trendline AB. Just click to select 2 points A, B on the chart
This is a straight line at the border of a chart pattern or support/resistance zone on the chart that you determine has high potential when it is broken, the price will have strong momentum and you will enter the order (Entry). The trendline AB can be a diagonal line or a horizontal line.
Step 2 - Entry Window: Set the time allowed for transactions
You can choose the earliest and latest time allowed for trading signals, called Entry Window. This means that the system will not allow trading outside the Entry Window. This option allows you to manage trading times as you wish, avoiding bad times for trading such as sideways, choppy, high volatility, news
Step 3 - Set up the input parameters for trading
You choose the direction you want to wait for trading: Wait Long (Buy), Wait Short (Sell), Turn Off, Hidden
You enter the ID of your PineConnector account if you want to trade automatically from TradingView to MT5
You enter the order parameters: Lotsize per order, Stop Loss (SL%), BE(%), Trail Trigger (%), TP1(%), TP2(%), TP3(%), TP4(%)
You enter the safe filter parameters for Entry: max distance from entry to swing high/low, max distance from entry to trendline's breakpoint C, max entries per trendlines
See more details in the screenshots
Step 4 - Set up automatic trading from TradingView via MT5
If you do not need automatic trading in MT5, skip this step. Entry signals and risk management grids will still be displayed on the TradingView chart for you to see, but there is no connection and automatic trading signal shooting and automatic order management from TradingView to MT5 via PineConnector.
We need to create an Alert in TradingView and attach it to this Indicator so that the Alert's trading signals are transmitted via MetaTrader 5 (MT5) via PineConnector.
When trading, you need to turn on 3 software at the same time to be able to connect to each other to operate: TradingView, MetaTrader 5 (MT5), PineConnector
See more details in the screenshots
Step 5 - Complete setup, and wait for trading signals
You have completed the setup steps for the Indicator, ready when there is a trading signal
You do not need to sit in front of the screen all day if you do not want. The system has been set up to execute and manage orders automatically.
Of course, sometimes you should still check your transaction status, in case of unexpected problems such as lost internet connection.
If you still have questions about this Indicator, please email tuanwukongvn@gmail.com for support.
RSI MOVWe can consider the 200 RSI and 200 m/s crossovers as reaction movements.
The periods I use are:
5-minute and 15-minute for short trades
1-hour and 4-hour for swing trades
Trades that can be taken with the intersection and breakout of the red moving average with the green moving average
FVG Diamond📊 Overview
FVG Diamond is an advanced indicator that detects three specific price action patterns: Inside Bar, Outside Bar, and Diamond Formation. Unlike basic FVG tools, it focuses on these higher-level setups for more precise analysis.
✨ Key Features
🎯 Detection of 3 Advanced FVG Pattern Types
Independent on/off toggle for each pattern
Inside FVG (Inside Bar / Harami): The body of the 3rd candle forms an inside bar relative to the 2nd candle
Outside FVG (Outside Bar / Engulfing): The body of the 1st candle forms an outside bar relative to the 2nd candle
Diamond FVG (Diamond Formation): A unique pattern that satisfies both Inside and Outside conditions
🎯 Mitigation Feature
ON: FVG boxes are automatically removed once price fully fills the FVG zone (keeps the chart clean by showing only active FVGs)
OFF: FVG boxes remain on the chart indefinitely (allows full historical review of all FVGs)
🎨 Visual Features
Color Coding: Assign unique colors to each pattern type
Transparency Control: Default 70% transparency for optimal readability
Extension Display: Extend the right edge of FVG boxes for any number of bars
⚙️ Advanced Configuration
Threshold Settings
Manual Threshold: Define a minimum gap size by percentage
Auto Threshold: Dynamically adjusts based on market volatility
Mitigation Tools
Real-Time Mitigation: Automatic removal when price fills an FVG zone
Mitigation Levels: Display filled FVG levels with dashed lines
🔔 Alerts
Notification on new Bullish/Bearish FVG detection
Notification when an FVG is mitigated (filled)
Works with all FVG types
📈 How to Use
Add the indicator to your chart
The three advanced FVG patterns will be detected and displayed automatically
Set your preferred threshold (0% = detect all gaps)
⚠️ Note: This indicator is designed as an analysis support tool. Trading decisions should be made in combination with other methods of technical and fundamental analysis.
Author: omochi_
Version: 1.0
Last Updated: September 28, 2025
Shamji's Liquidity Sweep + FVG (Follow-up + Filters) Purpose (what it does)
This indicator looks for two related price structures used by many smart-money / liquidity-hunt traders:
Liquidity Sweeps — candles that wick beyond a recent swing high (for buy-side stop-hunts) or swing low (for sell-side stop-hunts), then close back inside. These are flagged as potential stop-hunt events that clear obvious liquidity.
Fair Value Gaps (FVGs) — simple 3-bar style gaps where an older bar’s high is below the current low (bullish FVG) or an older bar’s low is above the current high (bearish FVG). When an FVG appears after a sweep (within a configurable window), this is considered a follow-up alignment.
The script adds optional filters (volume spike and candle-range vs ATR) to increase confidence, and can restrict marking/alerts to only events that meet the follow-up and filter rules.
ATR Regime Study [CHE] ATR Regime Study — ATR percentile regimes with clear bands, table and live label
Summary
This study classifies volatility into five regimes by converting ATR into a percentile rank over a rolling window, plotted on a standardized scale between zero and one hundred. Colored bands mark regime thresholds, while a compact table and an optional label report the current percentile and regime. The standardized scale makes symbols and timeframes easier to compare than raw ATR values. Implemented in Pine v6 as a separate pane (overlay set to false), it is a context tool to adapt tactics and risk handling to the prevailing volatility environment.
Motivation: Why this design?
Raw ATR varies with price scale and asset characteristics, which makes regime comparison inconsistent and leads to poor transfer of settings across symbols and timeframes. The core idea is to transform ATR into a percentile rank within a user-defined lookback, then map it into discrete regimes. This yields a stable, interpretable context signal that shifts slower than raw ATR while still responding to genuine volatility changes.
What’s different vs. standard approaches?
Reference baseline: Traditional ATR plots or ATR bands using fixed multipliers.
Architecture differences:
Percentile ranking of ATR within a rolling window.
Five discrete regimes with fixed thresholds at ninety, seventy, thirty, and ten.
Visual fills between thresholds plus a live table and a last-bar label.
Practical effect: You read a single normalized line between zero and one hundred with consistent thresholds. This improves cross-asset comparison and makes regime shifts obvious at a glance.
How it works (technical)
The script computes ATR over a configurable length, then converts that series to a percentile rank over a configurable number of bars. The percentile is naturally scaled and limited between zero and one hundred. That value is mapped to one of five regimes: above ninety (Extreme), between seventy and ninety (Elevated), between thirty and seventy (Normal), between ten and thirty (Calm), and below ten (Squeeze). Horizontal guide lines mark the thresholds, and fills shade the regions. A table is created once and updated on each bar to show regime definitions and highlight the current row. An optional label on the last bar displays the current percentile and regime. No higher-timeframe requests are used, so repaint risk is limited to normal live-bar fluctuation until the bar closes.
Parameter Guide
ATR length — Effect: Controls how fast ATR reacts to new ranges. Default: fourteen. Trade-offs/Tips: Increase to reduce noise in choppy markets; decrease to react faster during regime changes.
Percentile window (bars) — Effect: Number of bars used for the percentile ranking. Default: two hundred fifty-two. Trade-offs/Tips: Larger windows stabilize the percentile but slow adaptation after structural regime shifts; smaller windows adapt faster but may flip more often.
Table › Show — Effect: Toggles the regime overview table. Default: enabled. Trade-offs/Tips: Disable on constrained layouts to reduce visual clutter.
Table › Position — Effect: Anchors the table in a chart corner. Default: Top Right. Trade-offs/Tips: Choose a corner that avoids overlapping other panels or drawings.
Label › Show — Effect: Toggles a last-bar label with current percentile and regime. Default: enabled. Trade-offs/Tips: Useful for quick reads; disable if it obscures other annotations.
Reading & Interpretation
The white line shows ATR percentile between zero and one hundred. Crossing above seventy signals an elevated volatility environment; above ninety indicates event-driven extremes. Between thirty and seventy represents typical conditions. Between ten and thirty indicates calm conditions that often suit mean reversion. Below ten reflects compression, where breakout probability often increases. The colored bands visually reinforce these ranges. The table summarizes regime definitions and highlights the current state. The last-bar label mirrors the current percentile and regime for quick inspection.
Practical Workflows & Combinations
Trend following: Prefer continuation tactics when the percentile holds in the Normal or Elevated bands and structure confirms higher highs and higher lows. Consider wider stops and partial position sizing as percentile rises.
Mean reversion: Favor fades in Calm regimes within defined ranges; use structure filters and time-of-day constraints to avoid low-liquidity whipsaws.
Breakout preparation: Track compressions below ten; plan entries only with structure confirmation and risk caps, since compressions can persist.
Multi-asset/Multi-TF: Defaults travel well on daily charts. For intraday, reduce the percentile window to align with session dynamics. Combine with trend or market structure tools for confirmation.
Behavior, Constraints & Performance
Repaint/confirmation: The percentile updates during live bars and stabilizes on close; closed bars do not repaint.
security/HTF: Not used. If you add higher-timeframe aggregation externally, account for standard repaint caveats.
Resources: Declared maximum bars back is two thousand; limits for lines and labels are five hundred each. A short loop updates the table rows; arrays are used for table content only.
Known limits: Regime boundaries are fixed; assets with persistent volatility shifts may require window retuning. Low-liquidity periods and gaps can produce abrupt percentile changes. ATR is direction-agnostic and should be paired with trend or structure context.
Sensible Defaults & Quick Tuning
Start with ATR length fourteen and percentile window two hundred fifty-two on daily charts.
Too many flips: Increase ATR length or increase the percentile window.
Too sluggish: Decrease the percentile window or reduce ATR length.
Intraday noise: Keep ATR length moderate and reduce the window to a session-appropriate size; optionally hide the label to declutter.
Compressed markets: Maintain defaults but rely more on structure and volume filters before acting.
What this indicator is—and isn’t
This is a volatility regime context layer that standardizes ATR into interpretable regimes. It is not a complete trading system, not predictive, and not a stand-alone entry signal. Use it alongside structure analysis, confirmation tools, and disciplined risk management.
Disclaimer
The content provided, including all code and materials, is strictly for educational and informational purposes only. It is not intended as, and should not be interpreted as, financial advice, a recommendation to buy or sell any financial instrument, or an offer of any financial product or service. All strategies, tools, and examples discussed are provided for illustrative purposes to demonstrate coding techniques and the functionality of Pine Script within a trading context.
Any results from strategies or tools provided are hypothetical, and past performance is not indicative of future results. Trading and investing involve high risk, including the potential loss of principal, and may not be suitable for all individuals. Before making any trading decisions, please consult with a qualified financial professional to understand the risks involved.
By using this script, you acknowledge and agree that any trading decisions are made solely at your discretion and risk.
Best regards and happy trading
Chervolino
XAUUSD CSI+RSI+Delta (15m)XAUUSD 15m
Candle Stability Index: 0.4
RSI Index: 80
Candle Delta Length: 6
Disable Repeating Signals: Enabled