Machine Learning Moving Average [BackQuant]Machine Learning Moving Average
A powerful tool combining clustering, pseudo-machine learning, and adaptive prediction, enabling traders to understand and react to price behavior across multiple market regimes (Bullish, Neutral, Bearish). This script uses a dynamic clustering approach based on percentile thresholds and calculates an adaptive moving average, ideal for forecasting price movements with enhanced confidence levels.
What is Percentile Clustering?
Percentile clustering is a method that sorts and categorizes data into distinct groups based on its statistical distribution. In this script, the clustering process relies on the percentile values of a composite feature (based on technical indicators like RSI, CCI, ATR, etc.). By identifying key thresholds (lower and upper percentiles), the script assigns each data point (price movement) to a cluster (Bullish, Neutral, or Bearish), based on its proximity to these thresholds.
This approach mimics aspects of machine learning, where we “train” the model on past price behavior to predict future movements. The key difference is that this is not true machine learning; rather, it uses data-driven statistical techniques to "cluster" the market into patterns.
Why Percentile Clustering is Useful
Clustering price data into meaningful patterns (Bullish, Neutral, Bearish) helps traders visualize how price behavior can be grouped over time.
By leveraging past price behavior and technical indicators, percentile clustering adapts dynamically to evolving market conditions.
It helps you understand whether price behavior today aligns with past bullish or bearish trends, improving market context.
Clusters can be used to predict upcoming market conditions by identifying regimes with high confidence, improving entry/exit timing.
What This Script Does
Clustering Based on Percentiles : The script uses historical price data and various technical features to compute a "composite feature" for each bar. This feature is then sorted and clustered based on predefined percentile thresholds (e.g., 10th percentile for lower, 90th percentile for upper).
Cluster-Based Prediction : Once clustered, the script uses a weighted average, cluster momentum, or regime transition model to predict future price behavior over a specified number of bars.
Dynamic Moving Average : The script calculates a machine-learning-inspired moving average (MLMA) based on the current cluster, adjusting its behavior according to the cluster regime (Bullish, Neutral, Bearish).
Adaptive Confidence Levels : Confidence in the predicted return is calculated based on the distance between the current value and the other clusters. The further it is from the next closest cluster, the higher the confidence.
Visual Cluster Mapping : The script visually highlights different clusters on the chart with distinct colors for Bullish, Neutral, and Bearish regimes, and plots the MLMA line.
Prediction Output : It projects the predicted price based on the selected method and shows both predicted price and confidence percentage for each prediction horizon.
Trend Identification : Using the clustering output, the script colors the bars based on the current cluster to reflect whether the market is trending Bullish (green), Bearish (red), or is Neutral (gray).
How Traders Use It
Predicting Price Movements : The script provides traders with an idea of where prices might go based on past market behavior. Traders can use this forecast for short-term and long-term predictions, guiding their trades.
Clustering for Regime Analysis : Traders can identify whether the market is in a Bullish, Neutral, or Bearish regime, using that information to adjust trading strategies.
Adaptive Moving Average for Trend Following : The adaptive moving average can be used as a trend-following indicator, helping traders stay in the market when it’s aligned with the current trend (Bullish or Bearish).
Entry/Exit Strategy : By understanding the current cluster and its associated trend, traders can time entries and exits with higher precision, taking advantage of favorable conditions when the confidence in the predicted price is high.
Confidence for Risk Management : The confidence level associated with the predicted returns allows traders to manage risk better. Higher confidence levels indicate stronger market conditions, which can lead to higher position sizes.
Pseudo Machine Learning Aspect
While the script does not use conventional machine learning models (e.g., neural networks or decision trees), it mimics certain aspects of machine learning in its approach. By using clustering and the dynamic adjustment of a moving average, the model learns from historical data to adjust predictions for future price behavior. The "learning" comes from how the script uses past price data (and technical indicators) to create patterns (clusters) and predict future market movements based on those patterns.
Why This Is Important for Traders
Understanding market regimes helps to adjust trading strategies in a way that adapts to current market conditions.
Forecasting price behavior provides an additional edge, enabling traders to time entries and exits based on predicted price movements.
By leveraging the clustering technique, traders can separate noise from signal, improving the reliability of trading signals.
The combination of clustering and predictive modeling in one tool reduces the complexity for traders, allowing them to focus on actionable insights rather than manual analysis.
How to Interpret the Output
Bullish (Green) Zone : When the price behavior clusters into the Bullish zone, expect upward price movement. The MLMA line will help confirm if the trend remains upward.
Bearish (Red) Zone : When the price behavior clusters into the Bearish zone, expect downward price movement. The MLMA line will assist in tracking any downward trends.
Neutral (Gray) Zone : A neutral market condition signals indecision or range-bound behavior. The MLMA line can help track any potential breakouts or trend reversals.
Predicted Price : The projected price is shown on the chart, based on the cluster's predicted behavior. This provides a useful reference for where the price might move in the near future.
Prediction Confidence : The confidence percentage helps you gauge the reliability of the predicted price. A higher percentage indicates stronger market confidence in the forecasted move.
Tips for Use
Combining with Other Indicators : Use the output of this indicator in combination with your existing strategy (e.g., RSI, MACD, or moving averages) to enhance signal accuracy.
Position Sizing with Confidence : Increase position size when the prediction confidence is high, and decrease size when it’s low, based on the confidence interval.
Regime-Based Strategy : Consider developing a multi-strategy approach where you use this tool for Bullish or Bearish regimes and a separate strategy for Neutral markets.
Optimization : Adjust the lookback period and percentile settings to optimize the clustering algorithm based on your asset’s characteristics.
Conclusion
The Machine Learning Moving Average offers a novel approach to price prediction by leveraging percentile clustering and a dynamically adapting moving average. While not a traditional machine learning model, this tool mimics the adaptive behavior of machine learning by adjusting to evolving market conditions, helping traders predict price movements and identify trends with improved confidence and accuracy.
Поиск скриптов по запросу "entry"
Combined Signal + Auto Day Plan + Volume🧠 Combined Signal + Auto Day Plan + Volume
Version: Pine Script v5
Category: Strategy / Signal & Levels Tool
Author: (you can add your TradingView nickname)
📋 Overview
The Combined Signal + Auto Day Plan + Volume indicator merges multiple professional trading concepts into one visual tool — helping traders identify momentum shifts, entry zones, and daily trading plans with volume confirmation.
It automatically detects trend direction, generates dynamic take-profit & stop-loss levels, and overlays key daily reference points such as VWAP, pivot, support, and resistance zones based on ATR and trend context.
⚙️ Main Components
1️⃣ Signal System
Detects trend bias using SMA-based logic.
Generates entry price, TP1–TP3, and SL dynamically from recent impulse ranges.
Updates signals automatically when trend bias changes or previous targets are hit.
Visual levels are drawn directly on the chart.
2️⃣ Volume Analysis
Compares current volume against a moving average (SMA).
Classifies volume as:
🟢 Strong (above 1.5× average)
🟡 Average
🔴 Weak (below 0.8× average)
Displays the current volume strength and trend bias in an on-chart table.
3️⃣ Auto Day Plan
Uses multi-timeframe ATR calculations to define:
Support / Resistance zones
Pivot & Balance areas
Daily VWAP
Auto Targets (ATR-based expansion levels)
Adapts automatically to selected base timeframe (1H, 4H, or Daily).
4️⃣ Trend Context
Dual EMA system (50 & 200) to confirm bullish/bearish structure.
Aligns expected direction with VWAP & pivot location for context-aware bias.
🎯 What You Get on Chart
📈 Automatic LONG/SHORT signals
🎯 TP1, TP2, TP3, and SL levels
📊 Volume strength meter
🧭 VWAP, pivot, support/resistance & balance zones
🎨 Clean visual layout for intraday and swing traders
🧩 Inputs
Parameter Description
lenImpulse Impulse range length
smaLen SMA length for trend bias
levelRatio SL/TP ratio multiplier
volLen Volume SMA length
baseTF Base timeframe for zones/VWAP
atrMult1 / atrMult2 ATR multipliers for target levels
fwdBars Extension range for future projection
💡 How to Use
Add the script to your chart and choose your preferred timeframe.
Observe signal direction (📈 LONG / 📉 SHORT) and TP/SL levels.
Confirm entries when:
Trend aligns with VWAP direction, and
Volume category shows Strong or Average.
Use Auto Day Plan levels (pivot, balance, VWAP) as intraday reaction zones.
Monthly Color Marker V4
## 📊 Monthly Color Marker - Historical Month Highlighting
### Overview
A unique indicator that allows rapid identification of all monthly candles from a specific month across multiple years. The indicator marks candles with different colors based on their direction (bullish/bearish), enabling quick analysis of seasonal patterns and cyclical behavior of stocks or assets.
### 🎯 Purpose
- **Identify Seasonal Patterns (Seasonality)** - Discover recurring trends in specific months
- **Quick Historical Analysis** - Visual representation of monthly performance over the years
- **Direction Recognition** - Instant understanding of whether a month tends to be bullish or bearish
- **Seasonal Trading Planning** - Build strategies based on cyclical patterns
### ⚙️ Adjustable Parameters
1. **Month to Mark (1-12)**
- Select the desired month for analysis
- 1 = January, 2 = February... 12 = December
- Default: 11 (November)
2. **Years Back (1-50)**
- Determines how many years back to scan
- Recommended: 10-25 years for statistically reliable data
- Default: 25 years
3. **Bullish Candle Color**
- Color for marking bullish candles (close > open)
- Default: Green
- Customizable to your personal color scheme
4. **Bearish Candle Color**
- Color for marking bearish candles (close < open)
- Default: Red
- Customizable to your personal color scheme
5. **Show Current Year**
- Whether to include the current month in the marking
- Useful when the month hasn't finished yet
- Default: Yes
### 📈 How to Use the Indicator
#### Step 1: Adding to Chart
1. Switch to **Monthly timeframe** - Required!
2. Add the indicator to your chart
3. Select the month you want to analyze
#### Step 2: Initial Analysis
- **Count green vs red candles** - What's the ratio?
- **Look for patterns** - Are there years where the month always rises/falls?
- **Identify outliers** - Years where behavior was different
#### Step 3: Making Decisions
- **Mostly green** → Statistically, the month tends to rise
- **Mostly red** → Statistically, the month tends to fall
- **Mixed** → No clear seasonal pattern
### 💡 Usage Examples
**Example 1: "Santa Claus Rally"**
- Select month 12 (December)
- Check if there are mostly green candles
- If yes, this confirms the well-known year-end rally effect
**Example 2: "September Effect"**
- Select month 9 (September)
- Historically, September is considered a weak month
- Do the data support this for this stock?
**Example 3: Quarterly Earnings**
- Identify which month earnings are released
- Check the historical response
- Plan entry/exit accordingly
### 🔍 Combining with Other Indicators
This indicator works excellently with:
- **Historical Monthly Levels** (the first indicator) - Identify nearby price levels
- **Volume Profile** - Check volume during those months
- **RSI/MACD** - Identify momentum strength in specific months
### ⚠️ Important Notes
1. **Must use Monthly timeframe!** The indicator won't work correctly on other timeframes
2. **Statistical Sample** - More years = more reliable analysis
3. **Not a Guarantee** - Past performance doesn't guarantee future results, use additional analysis
4. **Adjust Colors** - If hard to see, change colors in settings
### 🎨 Tips for Optimal Experience
- **Zoom Out** - See more years at a glance
- **Clean Chart** - Remove unnecessary indicators for clear analysis
- **Compare Stocks** - Check multiple stocks for the same month
- **Document Findings** - Take screenshots and save insights for future reference
### 📊 Recommended Statistics
After identifying an interesting month:
- Calculate success rate (green / total candles)
- Check average volatility
- Identify outlier years and investigate what happened
- Plan entry/exit strategy
### 🚀 Who Is This Indicator For?
✅ **Swing Traders** - Plan medium-term trades
✅ **Seasonal Investors** - Exploit cyclical patterns
✅ **Technical Analysts** - Understand historical behavior
✅ **Portfolio Managers** - Time entries and exits
---
### 📝 Summary
The Monthly Color Marker indicator is a powerful and easy-to-use tool for identifying seasonal patterns. The combination of clear visualization with flexible parameters makes it an essential tool for any trader seeking a statistical edge in the market.
**Recommendation:** Start with 25 years back, analyze 2-3 key months, and build a data-driven strategy.
---
**Version:** 4.0
**Compatibility:** Pine Script v5
**Timeframe:** Monthly only
**Author:** 954
## 📊 Monthly Color Marker - סימון חודשים היסטוריים
### תיאור כללי
אינדיקטור ייחודי המאפשר לזהות במהירות את כל הנרות החודשיים מחודש ספציפי לאורך השנים. האינדיקטור מסמן את הנרות בצבעים שונים בהתאם לכיוון התנועה (עלייה/ירידה), ומאפשר ניתוח מהיר של דפוסים עונתיים והתנהגות מחזורית של המניה או הנכס.
### 🎯 מטרת האינדיקטור
- **זיהוי דפוסים עונתיים (Seasonality)** - מציאת מגמות חוזרות בחודשים מסוימים
- **ניתוח היסטורי מהיר** - ראייה ויזואלית של ביצועי החודש לאורך השנים
- **זיהוי כיווניות** - הבנה מיידית האם החודש נוטה להיות שורי או דובי
- **תכנון מסחר עונתי** - בניית אסטרטגיות מבוססות מחזוריות
### ⚙️ פרמטרים מתכווננים
1. **חודש לסימון (1-12)**
- בחירת החודש הרצוי לניתוח
- 1 = ינואר, 2 = פברואר... 12 = דצמבר
- ברירת מחדל: 11 (נובמבר)
2. **שנים אחורה (1-50)**
- קובע כמה שנים אחורה לסרוק
- מומלץ: 10-25 שנים לקבלת תמונה סטטיסטית מהימנה
- ברירת מחדל: 25 שנים
3. **צבע נר עולה**
- צבע לסימון נרות שורים (close > open)
- ברירת מחדל: ירוק
- ניתן להתאים לסכמת הצבעים האישית
4. **צבע נר יורד**
- צבע לסימון נרות דוביים (close < open)
- ברירת מחדל: אדום
- ניתן להתאים לסכמת הצבעים האישית
5. **צבע את השנה הנוכחית**
- האם לכלול את החודש הנוכחי בסימון
- שימושי כאשר החודש טרם הסתיים
- ברירת מחדל: כן
### 📈 איך להשתמש באינדיקטור
#### שלב 1: הוספה לגרף
1. עבור לטיימפריים **חודשי (Monthly)** - חובה!
2. הוסף את האינדיקטור לגרף
3. בחר את החודש שאתה רוצה לנתח
#### שלב 2: ניתוח ראשוני
- **ספור נרות ירוקים מול אדומים** - מה היחס?
- **חפש דפוסים** - האם יש שנים שבהן החודש תמיד עולה/יורד?
- **זהה חריגים** - שנים שבהן ההתנהגות הייתה שונה
#### שלב 3: קבלת החלטות
- **רוב ירוקים** → סטטיסטית החודש נוטה לעלות
- **רוב אדומים** → סטטיסטית החודש נוטה לרדת
- **מעורב** → אין דפוס עונתי ברור
### 💡 דוגמאות שימוש
**דוגמה 1: "Santa Claus Rally"**
- בחר חודש 12 (דצמבר)
- בדוק אם יש רוב נרות ירוקים
- אם כן, זה מאשר את האפקט הידוע של עליות בסוף השנה
**דוגמה 2: "September Effect"**
- בחר חודש 9 (ספטמבר)
- היסטורית, ספטמבר נחשב לחודש חלש
- האם הנתונים תומכים בכך במניה זו?
**דוגמה 3: דיווחים רבעוניים**
- זהה בחודש אילו נפרסמים דיווחים
- בדוק את התגובה ההיסטורית
- תכנן כניסה/יציאה בהתאם
### 🔍 שילוב עם אינדיקטורים אחרים
האינדיקטור עובד מצוין בשילוב עם:
- **Historical Monthly Levels** (האינדיקטור הראשון) - זיהוי רמות מחיר קרובות
- **Volume Profile** - בדיקת ווליום באותם חודשים
- **RSI/MACD** - זיהוי כוח המומנטום בחודשים ספציפיים
### ⚠️ הערות חשובות
1. **חובה להשתמש בטיימפריים חודשי!** האינדיקטור לא יעבוד נכון בטיימפריים אחרים
2. **מדגם סטטיסטי** - ככל שיש יותר שנים, הניתוח מהימן יותר
3. **לא ערובה** - עבר לא מבטיח עתיד, השתמש בניתוח נוסף
4. **התאם צבעים** - אם קשה לראות, שנה את הצבעים בהגדרות
### 🎨 טיפים לחוויית שימוש מיטבית
- **זום אאוט** - ראה יותר שנים במבט אחד
- **נקה גרף** - הסר אינדיקטורים מיותרים לניתוח ברור
- **השווה מניות** - בדוק מספר מניות לאותו חודש
- **תעד ממצאים** - צלם מסך ושמור תובנות לעתיד
### 📊 סטטיסטיקה מומלצת
לאחר שזיהית חודש מעניין:
- חשב אחוז הצלחה (ירוקים / כל הנרות)
- בדוק תנודתיות ממוצעת
- זהה שנים חריגות ובדוק מה קרה אז
- תכנן אסטרטגיית כניסה/יציאה
### 🚀 למי מתאים האינדיקטור?
✅ **סווינג טריידרים** - תכנון עסקאות לטווח בינוני
✅ **משקיעים עונתיים** - ניצול דפוסים מחזוריים
✅ **אנליסטים טכניים** - הבנת התנהגות היסטורית
✅ **מנהלי תיקים** - תזמון כניסות ויציאות
---
### 📝 סיכום
אינדיקטור Monthly Color Marker הוא כלי חזק וקל לשימוש לזיהוי דפוסים עונתיים. השילוב של ויזואליזציה ברורה עם פרמטרים גמישים הופך אותו לכלי חיוני לכל טריידר המחפש יתרון סטטיסטי בשוק.
**המלצה:** התחל עם 25 שנים אחורה, נתח 2-3 חודשים מרכזיים, ובנה אסטרטגיה מבוססת נתונים.
---
**גרסה:** 4.0
**תאימות:** Pine Script v5
**טיימפריים:** חודשי בלבד
**מחבר:** [954
---
Addikro_V1📌 Description – Trend+Entry+Risk Indicator
This indicator combines statistically proven trading concepts into a complete trading framework:
✅ Trend Filter (EMA200)
All trades follow the higher-timeframe trend. Trend direction is clearly visualized.
✅ Entry Signals (you can choose):
EMA Crossover (EMA50 crossing EMA200) — classic trend-following entry
Breakout of recent highs/lows (20-bar range) — optionally only valid after a pullback to EMA50
✅ ATR-Based Risk Management:
Dynamic Stop Loss (SL) and Take Profit (TP1/TP2) levels using ATR
The last entry is saved — SL/TP lines stay visible on the chart
Optional position size suggestion based on % risk of account
✅ Smart Filters for Higher Accuracy:
RSI filter: e.g., only long if RSI > 50
Volume filter: signal only if volume is above SMA × multiplier
✅ Fixed Chart HUD (Table Overlay):
Displays live information anchored to the chart (does not move with candles)
Shows: Trend direction, entry mode, RSI, ATR, SL/TP multiplier, position size suggestion
Position can be set: top-left / top-right / bottom-left / bottom-right
✅ Signals & Alerts:
Visual arrows on the chart for long/short signals
Custom alert conditions included (works with mobile, email, webhook, bots)
🎯 Why this indicator works
It follows the same logic used by many successful systematic and hedge fund strategies:
Trend direction + statistically solid entries + strict risk management → no repainting, no guessing, no emotion.
Fibonacci Auto Retracement & HTF candles ReferenceAdvanced Higher Timeframe (HTF) Candle & Fibonacci Viewer
Overview:
The Advanced HTF Candle & Fibonacci Viewer is a professional Trading View indicator designed to help traders overlay higher timeframe price structures onto lower timeframe charts. By combining daily candle analysis with precise Fibonacci retracement levels, this tool allows traders to identify critical support and resistance zones, potential breakouts, and retracement opportunities without switching charts.
Special Thanks:
This script includes a small part of coding inspired by Zeiierman, whose work on HTF analysis provided the foundation for visualizing higher timeframe structures. Full credit to Zeiierman for their invaluable contribution to the Trading View community.
Key Features:
1. Multi-Day HTF Range Display
Automatically displays high and low of 1–7 previous days.
Highlights candle bodies and wicks for clear structure visualization.
Ideal for spotting daily ranges and breakout levels.
2. Dynamic Fibonacci Levels
Standard levels: 0%, 11.8%, 23.6%, 38.2%, 50%, 61.8%, 76.4%, 88.2%, 100%.
Optional mid-level lines for intraday support/resistance identification.
Levels adjust automatically to reflect price action direction.
3. Customizable Labels & Colors
Adjustable text size, color, transparency, and offset.
Fully customizable candle and Fibonacci colors.
Mid-level lines can be shown or hidden for a cleaner look.
4. Persistent Levels
Levels remain until the next trading session or breakout, helping track trends and retracements consistently.
5. Multi-Timeframe Optimization
Works on any chart timeframe, from 1-minute to weekly charts.
Provides higher timeframe insight while trading on lower timeframes.
Why Traders Love This Indicator:
View higher timeframe action without switching charts.
Identify high-probability entry and exit zones.
Combine with other indicators for complete market analysis.
Useful for swing traders, day traders, and scalpers alike.
Customization Options:
Number of previous days (1–7)
Show/hide mid-level lines
Show/hide labels
Customize label size, color, and offset
Customize Fibonacci and candle colors
Ideal Use Cases:
Swing Trading: Identify daily key levels for entry, exit, and stop-loss.
Day Trading: Use HTF ranges on intraday charts to spot breakouts and reversals.
Fibonacci Analysis: Locate retracement zones efficiently.
Trend Confirmation: Validate trades with higher timeframe structure.
Summary:
The Advanced HTF Candle & Fibonacci Viewer is a powerful tool for traders seeking clarity, structure, and precision. With higher timeframe insight overlaid on active charts and proper credit to Zeiierman for their HTF coding contribution, this indicator helps traders make informed, confident decisions in any market.
EMA100 Breakout by shubhThis indicator is a clean, price-action-based breakout system designed for disciplined trend trading on any timeframe — especially for Nifty and Bank Nifty spot, futures, and options charts.
It uses a single 100-period EMA to define trend direction and waits for decisive candle closes across the EMA to trigger potential entries.
The logic ensures only one active trade at a time, enforcing patience and clarity in decision-making.
⚙️ Core Logic
Buy Setup
A bullish candle closes above the 100 EMA while its open was below the EMA.
Entry occurs at candle close.
Stop-Loss (SL): Low of the signal candle.
Target (TP): 4 × the SL distance (Risk : Reward = 1 : 4).
Sell Setup
A bearish candle closes below the 100 EMA while its open was above the EMA.
Entry occurs at candle close.
Stop-Loss (SL): High of the signal candle.
Target (TP): 4 × the SL distance.
Trade Management
Only one trade may run at a time (either long or short).
New signals are ignored until the current position hits SL or TP.
Transparent labels show Entry, SL, and TP levels on chart.
Dotted lines visualize active Stop-Loss (red) and Target (green).
Exit markers:
✅ Target Hit
❌ Stop Loss Hit
🧠 Key Advantages
Simple and transparent trend-following logic.
Enforces disciplined “one-trade-at-a-time” behavior.
High risk-to-reward (1 : 4).
Works across timeframes — 5 min to Daily.
Ideal for intraday and positional setups.
📊 Suggested Use
Apply on Nifty / Bank Nifty spot or futures charts.
Works on any instrument with clear momentum swings.
Best confirmation when EMA 100 acts as dynamic support/resistance.
⚠️ Disclaimer
This script is for educational and research purposes only.
It is not financial advice or an invitation to trade.
Always backtest thoroughly and manage risk responsibly before applying in live markets.
Halt-Risk Guard (5-min / 10%) — TTP Safe🛑 Halt-Risk Guard (5-min / 10%) — TTP Safe
Stay clear of halts, invalidations, and over-extended moves.
🔍 Overview
The Halt-Risk Guard helps traders avoid sudden invalidations by monitoring price velocity over the past X minutes (default: 5 min) and flagging when moves exceed a configurable threshold (default: 10%).
Originally built to meet Trade The Pool (TTP) risk-management rules — where even non-halted 10% moves can void trades — this tool provides a clear, visual warning system and optional entry blocker.
⚙️ Key Features
✅ Halt-Risk Detection – Calculates both reference-based and swing-based (high↔low) percentage change over the chosen lookback period.
✅ TTP Safe Mode – “Swing mode” captures extreme volatility spikes that may invalidate trades even when the market stays open.
✅ Entry Blocker (optional) – Automatically greys candles and dims the background during risky conditions to prevent impulsive entries.
✅ Customisable Positioning – Move the on-chart info box to any corner of your chart (Top Left / Top Right / Bottom Left / Bottom Right).
✅ Clean Alerts –
⚠️ At/Above Threshold
✅ Back to Safe
⛔ Entry Blocker Active
✅ Visual Table Display – Compact dashboard shows current % move, lookback window, and threshold with intuitive green/red status.
✅ Strategy-Ready Output – A hidden 0/1 plot lets you block or filter trades in automated systems.
⚡ How It Works
Monitors the selected symbol using your chosen computation timeframe (recommended 1-minute).
Evaluates either:
REF mode: Close-to-close change over the lookback window.
SWING mode: High-to-low range within the same window.
If the move ≥ Threshold %, the script highlights a halt-risk condition and optionally activates the entry blocker.
🎨 Recommended Settings
Lookback: 5 minutes
Threshold: 10 %
Swing mode: ON (TTP-safe)
Computation timeframe: 1 minute
Entry blocker: ON
Dim background: ON
🧠 Use Cases
TTP and other prop-firm evaluations enforcing price-movement limits.
Volatility-based scalping systems to avoid chasing extended candles.
Strategy filters for algorithmic entries (e.g. pause trading during halt-risk windows).
⚠️ Disclaimer
This tool provides visual and alert-based guidance only. It does not guarantee compliance with any specific firm’s rules or eliminate trading risk. Always verify thresholds and rules with your broker or evaluation provider.
Opposing Candle V2🟩 OC (Opposing Candle) Multi–Timeframe Framework
🔍 Overview
The OC Indicator automatically detects and displays Opposing Candles (OCs) across up to three timeframes.
An Opposing Candle is a candle that fully engulfs the previous one, signaling a potential shift in control — either a trend continuation or a trend reversal.
This multi–timeframe framework gives traders a structured way to visualize displacement, pullbacks, and momentum shifts between timeframes.
⚙️ How It Works
Each OC is drawn as a box showing:
High & Low → The candle’s full range
Open Line (black) → Key control level
Midline (white) → Candle equilibrium
Optional labels for timeframe and session
You can enable up to 3 timeframes (e.g., 30m / 1H / 4H) and adjust how many OCs to display for each.
📈 Trading Framework
🔹 Continuation Setup (Trend Following)
1. 4H Bias → Bullish or Bearish
Identify clear trend structure (HH/HL = bullish, LH/LL = bearish).
Confirm strong displacement and visible gaps between OCs — signs of momentum and healthy trend continuation.
2. 1H Confirmation OC
OC forms in the direction of the 4H bias, confirming control.
3. 30min Pullback OC
Opposite–colored OC appears → represents the pullback.
4. Entry Trigger
A yellow candle closes beyond the 30min OC open line, confirming the end of the pullback.
→ Enter in trend direction.
🎯 Targets
Target 1: Next 1H OC high or low (in trend direction)
Target 2: Next 4H OC high or low
🛑 Stop: Beyond the 30min OC’s opposite wick
🔹 Reversal Setup (Trend Shift)
1. 4H Structure → Extended or Losing Momentum
When there are no higher–timeframe gaps and no displacement, momentum weakens — often a sign of potential reversal.
2. Opposing OC Forms on HTF
A strong engulfing OC appears against the previous trend at a key structural level.
3. Lower–Timeframe Alignment
1H and 30min OCs begin forming in the new direction, confirming control shift.
4. Entry Trigger
Break of the lower–timeframe OC open line signals the reversal confirmation.
🟢 Example: Bullish Reversal
4H downtrend shows compression (no displacement)
4H bullish OC forms at support
30min breaks above a bearish OC’s open line → Go long
🔴 Example: Bearish Reversal
4H uptrend stalls at resistance
4H bearish OC forms
30min breaks below a bullish OC’s open line → Go short
🎯 Targets
Target 1: Nearest opposing 1H OC high/low
Target 2: Major 4H structural high/low
🛑 Stop: Beyond the reversal OC wick
🧠 Key Concepts
Displacement = Strength. Strong, impulsive moves with clear gaps between OCs show continuation.
Compression = Weakness. Overlapping candles and no HTF displacement often hint at reversal.
OC = Control Candle. The open line is the “line in the sand” — when price breaks it, control flips.
Multi–TF Confluence = Precision. 4H → 1H → 30m gives you structure → confirmation → entry accuracy.
🎨 Features
✅ Multi–Timeframe OC detection (default: 30m / 1H / 4H)
✅ Bullish & Bearish boxes with open and midlines
✅ Break candles highlighted yellow
✅ Optional labels (timeframe + session)
✅ Session filters (Asia, London, NYAM, NYPM)
✅ Fully customizable visuals and extension lengths
AG Pro Dynamic ChannelsAG Pro Dynamic Channels V2
Discover a new lens through which to view market structure with the AG Pro Dynamic Channels V2. This advanced indicator moves beyond simple trendlines, automatically identifying, classifying, and drawing eight distinct types of support and resistance channels directly on your chart.
Built on a sophisticated pivot-point detection engine, this script intelligently distinguishes between Major and Minor price structures, as well as Internal and External channels. This provides a comprehensive and multi-dimensional map of the market's flow, helping you identify trend continuations, corrections, and potential reversals.
The indicator is complete with a powerful, fully customizable alert system designed to notify you of the two most critical events: channel breakouts and price reactions.
Key Features
Fully Automatic Channels: The script automatically analyzes price action to find pivot highs and lows, using them to construct relevant channels without any manual drawing required.
8-Channel Classification: Gain deep market insight by viewing eight distinct channel types:
Major External (Up/Down)
Major Internal (Up/Down)
Minor External (Up/Down)
Minor Internal (Up/Down)
Advanced Pivot Engine: The core logic classifies pivots into categories like Higher Highs (MHH/mHH), Lower Lows (MLL/mLL), Higher Lows (MHL/mHL), and Lower Highs (MLH/mLH) to determine the precise start and end points for each channel.
Deep Customization: Take full control of your chart's appearance. You can individually toggle the visibility, color, line style (solid, dashed, dotted), and line width for all eight channel types.
Chart Clarity: A "Delete Previous" option is available for each channel type, allowing you to keep your chart clean and focused on only the most current and relevant market structures.
Comprehensive Alert System
Never miss a key price interaction. The AG Pro Dynamic Channels V2 features a robust, built-in alert module.
Dual-Alert Conditions: Get notifications for two distinct events:
Break Alert: Triggers when price confirms a close outside of a channel, signaling a potential breakout.
React Alert: Triggers when price touches or interacts with a channel line before closing back inside, signaling a test or rejection.
16 Unique Alerts: You have full control to enable or disable "Break" and "React" alerts for all 8 channel types individually, giving you 16 unique alert conditions to monitor.
Professional Alert Messages: The embedded alert sender provides detailed messages that include the asset, timeframe, and the specific event, such as "Break Major External Up Channel" or "React Minor Internal Down Channel".
Alert Configuration: Easily set your global Alert Name, Message Frequency (e.g., Once Per Bar, Once Per Bar Close), and Alert Time Zone from the script's settings.
How to Use
Trend Identification: Use the Major External Channels (drawn from MHH and MLL pivots) to identify the primary, long-term trend direction.
Pullback & Entry Zones: Use the Internal Channels (drawn from MHL and MLH pivots) to spot corrections and potential entry zones within an established trend.
Breakout Trading: Set Break Alerts on Major channels to be notified of significant, structure-shifting moves.
Short-Term & Counter-Trend: Utilize the Minor Channels to identify shorter-term price swings and potential reversal points.
Uptrick: Volume Weighted BandsIntroduction
This indicator, Uptrick: Volume Weighted Bands, overlays dynamic, volume-informed trend channels directly on the chart. By fusing price and volume data through volume-weighted and exponential moving averages, the script forms a core trend line with adaptive bandwidth controlled by volatility. It is designed to help traders identify trend direction, breakout entries, and extended conditions that may warrant take-profits or pullback re-entries.
Overview
The Volume Weighted Bands system is built around a trend line calculated by averaging a Volume Weighted Moving Average (VWMA) and an Exponential Moving Average (EMA), both over a configurable lookback period. This hybrid trend baseline is then smoothed further and expanded into dynamic upper and lower bands using an Average True Range (ATR) multiplier. These bands adapt with market volatility and shift color based on prevailing price action, helping traders quickly identify bullish, bearish, or neutral conditions.
Originality and Unique Features
This script introduces originality by blending both price and volume in the core trend calculation, a technique that is more responsive than traditional moving average bands. Its multi-mode visualization (cloud, single-band, or line-only), combined with selective buy/sell signals, makes it flexible for discretionary and algorithmic strategies alike. Optional modules for take-profit signals based on z-score deviation and RSI slope, as well as buy-back detection logic with cooldown filters, offer practical tools for managing trades beyond simple entries.
Explanation of Inputs
Every user input in this script is included to give the trader control over behavior and visual presentation:
Trend Length (len): Defines the lookback window for both the VWMA and EMA, controlling the sensitivity of the core trend baseline. A lower value makes the bands more reactive, while a higher value smooths out short-term noise.
Extra Smoothing (smoothLen): Applies an additional EMA to the blended VWMA/EMA average. This second-level smoothing ensures the central trend line reacts gradually to shifts in price.
Band Width (ATR Multiplier) (bandMult): Multiplies the ATR to create the width of the upper and lower bands around the trend line. Larger values widen the bands, capturing more volatility, while smaller values narrow them.
ATR Length (atrLen): Sets the length of the ATR used in calculating band width and signal offsets. Longer values produce smoother band boundaries.
Show Buy/Sell Signals (showSignals): Toggles the primary crossover/crossunder entry signals, which are labeled when the close crosses the upper or lower band.
Visual Mode (visualMode): Allows selection between three display modes:
--> Cloud: Shows both bands and the central trend line with a shaded background.
--> Single Band: Displays only the active (upper or lower) band depending on trend state, with gradient fill to price.
--> Line Only: Shows only the trend line for a minimal visual profile.
Take Profit Signals (enableTP): Enables a z-score-based profit-taking signal system. Signals occur when price deviates significantly from the trend line and RSI confirms exhaustion.
TP Z-Score Threshold (tpThreshold): Sets the z-score deviation required to trigger a take-profit signal. Higher values reduce the frequency of signals, focusing on more extreme moves.
Re-Entries (enableBuyBack): Enables logic to signal when price reverts into the band after an initial breakout, suggesting a possible re-entry or pullback setup.
Buy Back Cooldown (bars) (buyBackCooldown): Defines a minimum bar count before a new buy-back signal is allowed, preventing rapid retriggering in choppy conditions.
Buy Offset and Sell Offset: Hidden inputs used to vertically adjust the placement of the Buy ("𝓤𝓹") and Sell ("𝓓𝓸𝔀𝓷") labels relative to the bands. These use ATR units to maintain proportionality across different instruments and timeframes.
Take-Profit Signal Module
The take-profit module uses a z-score of the distance between price and the trend line to detect extended conditions. In bullish trends, a signal appears when price is well above the band and RSI indicates exhaustion; the opposite applies for bearish conditions. A boolean flag is used to prevent retriggering until RSI resets. These signals are plotted with minimalist “X” markers near recent highs or lows, based on whether the market is extended upward or downward.
Re-Entry Logic
The re-entry system identifies instances where price momentarily dips or spikes into the opposite band but closes back inside, implying a continuation of the prevailing trend. This module can be particularly useful for traders managing entries after brief pullbacks. A built-in cooldown period helps filter out noise and prevents signal overloading during fast markets. Visual markers are shown as upward or downward arrows near the relevant candle wicks.
How to Use This Indicator
The basic usage of this indicator follows a directional, signal-driven approach. When a buy signal appears, it suggests entering a long position. The recommended stop loss placement is below the lower band, allowing for some breathing space to accommodate natural volatility. As the position progresses, take partial profits—typically 10% to 15% of the position—each time a take-profit signal (marked with an "X") is shown on the chart.
An optional feature is the buy-back signal, which can be used to re-enter after partial exits or missed entries. Utilizing this can help reduce losses during false breakouts or trend reversals by scaling in more gradually. However, it also means that in strong, clean trends, the full position may not be captured from the start, potentially reducing the total return. It is up to the trader to decide whether to enter fully on the initial signal or incrementally using buy-backs.
When a sell signal appears, the strategy advises fully exiting any long positions and immediately switching to a short position. The short trade follows the same logic: place your stop loss above the upper band with some margin, and again, take partial profits at each take-profit signal.
Visual Presentation and Signal Labels
All signals are plotted with clean, minimal labels that avoid clutter, and are color-coded using a custom palette designed to remain clear across light and dark chart themes. Bullish trends are marked in teal and bearish trends in magenta. Candles and wicks are also colored accordingly to align price action with the detected trend state. Buy and sell entries are marked with "𝓤𝓹" and "𝓓𝓸𝔀𝓷" labels.
Summary
In summary, the Uptrick: Volume Weighted Bands indicator provides a versatile, visually adaptive trend and volatility tool that can serve multiple styles of trading. Through its integration of price, volume, and volatility, along with modular take-profit and buy-back signaling, it aims to provide actionable structure across a range of market conditions.
Disclaimer
This indicator is for educational purposes only. Trading involves risk, and past performance does not guarantee future results. Always test strategies before applying them in live markets.
Order Blocks Zones with Signals█ OVERVIEW
“Order Blocks Zones with Signals” is a technical analysis tool that automatically identifies Order Blocks (OB) and optionally Fair Value Gaps (FVG) on the chart.
The script visualizes these zones as colored rectangles, offering full customization of style, transparency, and signal display.
It also generates entry and exit signals (Break & Exit) that can serve as confirmations in strategies based on price action and market structure.
Thanks to flexible candle size filters and rich visual options, the indicator maintains chart clarity and readability.
█ CONCEPTS
Order Blocks (OB) are key zones on the chart where significant price movements previously occurred — areas where large market participants (institutions, so-called smart money) initiated or closed positions.
An OB is the last candle that followed the prior trend before the market reversed (e.g., for a Bullish OB: the last bearish candle before a pivot low and a strong upward impulse).
The script detects these levels using local price pivots, analyzing candle direction to filter out less significant movements.
FVG (Fair Value Gaps) represent areas of imbalance between buyers and sellers — price gaps formed by a sharp impulse where full trading did not occur due to one-sided order dominance (e.g., excess buy or sell orders).
Why combine OB and FVG in one indicator?
Combining OB and FVG analysis is essential because these phenomena often occur sequentially in the institutional market cycle:
1. Order Block — institutions enter the market in the OB zone, absorbing orders and building positions.
2. Strong impulse — after smart money entry, a rapid price move creates an FVG (imbalance gap).
3. Retest — price naturally returns to these zones (OB or FVG), drawn by unfilled orders and the search for equilibrium.
Such areas strongly attract price, as they represent not only historical institutional levels but also open “holes” in the order book. Retests of OB and FVG are ideal entry opportunities with high reaction probability (rebound or breakout). The indicator combines these two interconnected elements, enabling comprehensive market structure analysis in a single tool.
Order Blocks are labeled as:
Bullish OB – demand zones, often accumulation areas before an upmove.
Bearish OB – supply zones, signaling potential impulse end or correction start.
█ FEATURES
Order Block Detection (OB Detection):
- Automatic identification of demand and supply zones based on pivots.
- OB is the last candle aligned with the prior trend, just before the market reversal — precisely identified through candle sequence analysis around the pivot.
- OB zones appear with a delay equal to Pivot Length (default 10 bars).
- Break signals trigger when a candle’s body (close) fully pierces the zone, causing the zone to disappear immediately (e.g., close < low of Bullish OB → Break Down and zone deletion).
- Minimum size filtering via OB Size Multiplier.
- Option to create OB without wicks (Include Wicks in OB): when disabled, OB zones are based solely on candle bodies (open/close), ignoring wicks (high/low).
Fair Value Gap Detection (FVG Detection):
- Optional, with enable/disable capability.
- FVG are detected without delay — immediately upon gap occurrence.
- Size filtering via Candle Size Period and FVG Size Multiplier.
Customizable Styling:
- Separate colors and border styles (Solid / Dashed / Dotted) for each zone type.
- Adjustable transparency and border thickness.
- Unified color for box, border, and signal of the same type.
Breakout and Exit Signals:
- Break Up – triggered when a candle’s close breaks above a Bearish OB, causing the zone to disappear.
- Break Down – triggered when a candle’s close breaks below a Bullish OB, causing the zone to disappear.
- Exit Up / Exit Down – temporary exit from the zone without full breakout (price leaves the zone but doesn’t close beyond it). Signal type selection: Break, Exit, or Both.
- Alerts: built-in alerts for all signal types — triggered automatically on candle close confirming breakout or exit from OB.
█ HOW TO USE
Adding to chart: import the code into Pine Editor and run the script on TradingView.
Settings configuration:
- Pivot Length: controls swing detection sensitivity and OB display delay (default 10).
- Include Wicks in OB: enabled (default) – OB includes wicks; disabled – OB uses bodies only.
- Size Filter: adjust Candle Size Period and OB/FVG Size Multiplier to filter out small zones.
- Colors & Styles: set colors, styles, and transparency for each zone type.
- Signal Type: choose which signals to display (Break, Exit, or Both).
Signal interpretation:
- OB Break Up: price closes above Bearish OB → zone disappears → potential bullish continuation.
- OB Break Down: price closes below Bullish OB → zone disappears → potential bearish continuation.
- Exit Signals: price leaves the zone temporarily without breakout — often signals impending reversal or pullback.
Tips:
- Use OB signals alongside other indicators like RSI, MACD, SMI, or trend filters.
- Order Blocks from higher timeframes (e.g., 4H, 1D) carry greater significance and reaction strength.
- Remember: FVG are detected immediately, OB with delay — a complementary approach!
█ APPLICATIONS
- Smart Money Concepts (SMC): use OB zones as dynamic support and resistance levels. In an uptrend, look for buy opportunities in bullish OBs, which price often retests before further gains. Combining with RSI, MACD, or Fibonacci levels enhances zone significance, confirming institutional demand.
- Breakout Trading: trade based on OB breakout signals. A buy signal after breaking a bearish OB may indicate a strong upward impulse, especially if supported by rising MACD or RSI above 50. Similarly for sell signals after Break Down.
- Reversal Zones: Exit signals may indicate the end of a move or correction. Safest to use in alignment with higher-timeframe trend and confirmed by another indicator (e.g., RSI divergence, Fibonacci levels).
- Confluence Analysis: combine OB and FVG for deeper market structure and equilibrium insight. When an Order Block overlaps or borders an FVG, we get confluence of two institutional phenomena — OB (smart money entry) + FVG (imbalance) — making these areas particularly strong price magnets, increasing retest and reaction probability.
█ NOTES
- FVG can be fully disabled for a cleaner chart view.
- In consolidation periods, signals may appear more frequently — always confirm with additional trend filters.
- Works on all markets and timeframes (crypto, forex, indices, stocks).
London Breakout Structure by Ale 2This indicator identifies market structure breakouts (CHOCH/BOS) within a specific London session window, highlighting potential breakout trades with automatic entry, stop loss (SL), and take profit (TP) levels.
It helps traders focus on high-probability breakouts when volatility increases after the Asian session, using price structure, ATR-based volatility filters, and a custom risk/reward setup.
🔹 Example of Strategy Application
Define your session (e.g. 04:00 to 05:00).
Wait for a CHOCH (Change of Character) inside this session.
If a bullish CHOCH occurs → go LONG at candle close.
If a bearish CHOCH occurs → go SHORT at candle close.
SL is set below/above the previous swing using ATR × multiplier.
TP is calculated automatically based on your R:R ratio.
📊 Example:
When price breaks above the last swing high within the session, a “BUY” label appears and the indicator draws Entry, SL, and TP levels automatically.
If the breakout fails and price closes below the opposite structure, a “SELL” signal will replace the bullish setup.
🔹 Details
The logic is based on structural shifts (CHOCH/BOS):
A CHOCH occurs when price breaks and closes beyond the most recent high/low.
The indicator dynamically detects these shifts in structure, validating them only inside your chosen time window (e.g. the London Open).
The ATR filter ensures setups are valid only when the range has enough volatility, avoiding false signals in low-volume hours.
You can also visualize:
The session area (purple background)
Entry, Stop Loss, and Take Profit levels
Direction labels (BUY/SELL)
ATR line for volatility context
🔹 Configuration
Start / End Hour: define your preferred trading window.
ATR Length & Multiplier: adjust for volatility.
Risk/Reward Ratio: set your desired R:R (default 1:2).
Minimum Range Filter: avoids signals with tight SLs.
Alerts: receive notifications when breakout conditions occur.
🔹 Recommendations
Works best on 15m or 5m charts during London session.
Designed for breakout and structure-based traders.
Works on Forex, Crypto, and Indices.
Ideal as a visual and educational tool for understanding BOS/CHOCH behavior.
FDF – Step 4 (Touch-21 + Trend/VWAP + Channel + Prev75% toggle)FDF — EMAs + VWAP Retest Entry System (A++ Signal Mode Compatible)
This indicator is designed for traders who follow a structured pullback and continuation entry method using the 9 EMA, 21 EMA, and VWAP as trend and momentum guides.
The system highlights high-probability retest entries when price pulls back into the EMA channel and shows strength in the direction of trend. It also includes optional A++ wick filters for traders who want to refine entries only to the strongest momentum candles.
Core Logic
A trade setup is identified when:
Trend is defined by the EMA alignment
• Long bias when EMA9 > EMA21
• Short bias when EMA9 < EMA21
Price retests the 21 EMA
• The candle must touch or cross the 21 EMA
• Designed to time pullbacks, not breakouts
Entry Confirmation
• Candle closes back in channel or breaks away in the trend direction
• Optional requirement: price must be on the correct side of VWAP for intraday trend alignment
A++ Wick Filter Mode (Optional)
Enable this mode to restrict entries to only high-dominance candles:
Dominant wick must exceed the opposing wick by a chosen percentage
Opposing wick can optionally be limited to a % of body size
Helps avoid weak, indecisive, or absorption candles
This mode is optional — turn it off to allow standard FDF entries.
Signals
When conditions are met, the script plots:
Green Triangle → Long entry signal
Red Triangle → Short entry signal
(Entries are plotted only after candle close to avoid repainting.)
Best Use
• Works on 5m / 15m / 1H intraday trend structures
• Pairs well with market structure + liquidity zones
• Designed for disciplined traders who wait for trend alignment and controlled pullbacks
Disclaimer
This tool is provided for educational and research purposes only.
It is not financial advice. Always test your setup and manage risk appropriately.
Ichimoku Average with Margin█ OVERVIEW
“Ichimoku Average with Margin” is a technical analysis indicator based on an average of selected Ichimoku system lines, enhanced with a dynamic safety margin (tolerance). Designed for traders seeking a simple yet effective tool for trend identification with breakout confirmation. The indicator offers flexible settings, line and label coloring, visual fills, and alerts for trend changes.
█ CONCEPT
The Ichimoku Cloud (Ichimoku Kinko Hyo) is an excellent, comprehensive technical analysis system, but for many traders—especially beginners—it remains difficult to interpret due to multiple overlapping lines and time displacements.
Experimentally, I decided to create a simplified version based on its foundations: combining selected lines into a single readable average (avgLine) and introducing a dynamic safety margin that acts as a buffer against market noise.
This is not the full Ichimoku system—it’s merely a clear method for determining trend, accessible even to beginners. The trend changes only after the price closes beyond the margin, eliminating false signals.
█ FEATURES
Ichimoku Lines:
- Tenkan-sen (Conversion Line) – Donchian average over 9 periods
- Kijun-sen (Base Line) – Donchian average over 26 periods
- Senkou Span A – average of Tenkan and Kijun
- Senkou Span B – Donchian average over 52 periods
- Chikou Span – close price (no offset)
Dynamic Average (avgLine):
- Arithmetic mean of only the enabled Ichimoku lines – full component selection flexibility.
Safety Margin (tolerance):
Calculated as:
- tolerance = multiplier × SMA(|open - close|, periods)
- Default: multiplier 1.8, period 100.
Trend Detection:
- Uptrend → when price > avgLine + tolerance
- Downtrend → when price < avgLine - tolerance
- Trend changes only after full margin breakout.
- Margin can be set to 0 – then signals trigger on avgLine crossover.
Signal Labels:
- “Buy” (green, upward arrow) – on shift to uptrend
- “Sell” (red, downward arrow) – on shift to downtrend
Visual Fills:
- Between avgLine and marginLine
- Between avgLine and price (with transparency)
- Colors: green (uptrend), red (downtrend)
Alerts:
- Trend Change Up – price crosses above margin
- Trend Change Down – price crosses below margin
█ HOW TO USE
Add to Chart: Paste code in Pine Editor or find in the indicator library.
Settings:
Ichimoku Parameters:
- Conversion Line Length → default 9
- Base Line Length → default 26
- Leading Span B Length → default 52
- Average Body Periods → default 100
- Tolerance Multiplier → default 1.8
Line Selection:
- Enable/disable: Tenkan, Kijun, Span A, Span B, Chikou
Visual Settings:
- Uptrend Color → default green
- Downtrend Color → default red
- Fill Between Price & Avg → enables shadow fill
Signal Interpretation:
- Average Line (avgLine): Primary trend reference level.
- Margin (marginLine): Buffer – price must break it to change trend. Set to 0 for signals on avgLine crossover.
- Buy/Sell Labels: Appear only on confirmed trend change.
- Fills: Visualize distance between price, average, and margin.
- Alerts: Set in TradingView → notifications on trend change.
█ APPLICATIONS
The indicator works well in:
- Trend-following: Enter on Buy/Sell, exit on reversal.
- Breakout confirmation: Ideal for breakout strategies with false signal protection.
- Noise filtering: Margin eliminates consolidation fluctuations.
Adjusting margin to trading style:
- Short-term trading (scalping, daytrading): Reduce or set margin to 0 → more and faster signals (but more false ones).
- Long-term strategies (swing, position): Increase margin (e.g. 2.0–3.0) → fewer signals, higher quality.
Entry signals are not limited to Buy/Sell labels – use like moving averages:
- Test and bounce off avgLine as support/resistance
- avgLine breakout as momentum signal
- Pullback to margin as trend continuation entry
Combine with:
- Support/resistance levels
- Fair Value Gaps (FVG)
- Volume or other momentum indicators
█ NOTES
- Works on all markets and timeframes.
- Adjust multiplier and periods to instrument volatility.
- Higher multiplier → fewer signals, higher quality.
- Disable unused Ichimoku lines to simplify the average.
ProScalper📊 ProScalper - Professional 1-Minute Scalping System
🎯 Overview
ProScalper is a sophisticated, multi-confluence scalping indicator designed specifically for 1-minute chart trading. Combining advanced technical analysis with intelligent signal filtering, it provides high-probability trade setups with clear entry, stop loss, and take profit levels.
✨ Key Features
🔺 Smart Signal Detection
Range Filter Technology: Fast-responding trend detection (25-period) optimized for 1-minute timeframe
Medium-sized triangles appear above/below candles for clear buy/sell signals
Only most recent signal shown - no chart clutter
Automatically deletes old signals when new ones appear
📋 Real-Time Signal Table
Top-center display shows complete trade breakdown
Grade system: A+, A, B+, B, C+ ratings for every setup
All confluence reasons listed with checkmarks
Score and R:R displayed for instant trade quality assessment
Color-coded: Green for LONG, Red for SHORT
📐 Multi-Confluence Analysis
ProScalper combines 10+ technical factors:
✅ EMA Trend: 4 EMAs (200, 48, 13, 8) for multi-timeframe alignment
✅ VWAP: Dynamic support/resistance
✅ Fibonacci Retracement: Golden ratio (61.8%), 50%, 38.2%, 78.6%
✅ Range Filter: Adaptive trend confirmation
✅ Pivot Points: Smart reversal detection
✅ Volume Analysis: Spike detection and volume profile
✅ Higher Timeframe: 5-minute trend confirmation
✅ HTF Support/Resistance: Key levels from higher timeframes
✅ Liquidity Sweeps: Smart money detection
✅ Opening Range Breakout: First 15-minute range
💰 Complete Trade Management
Entry Lines: Dashed green (LONG) or red (SHORT) showing exact entry
Stop Loss: Red dashed line with price label
Take Profit: Blue dashed line with price label and R:R
Partial Exits: 1R level marked with orange dashed line
All lines extend 10 bars for clean alignment with Fibonacci levels
📊 Dynamic Risk/Reward
Adaptive R:R calculation based on market volatility
Targets adjusted for pivot distances
Minimum 1.2:1 to maximum 3.5:1 for scalping
Position sizing based on account risk percentage
🎨 Professional Visualization
Clean chart layout - no clutter, only essential information
Custom EMA colors: Red (200), Aqua (48), Green (13), White (8)
Gold VWAP line for key support/resistance
Color-coded Fibonacci: Bright yellow (61.8%), white (50%), orange (38.2%), fuchsia (78.6%)
No shaded zones - pure price action focus
📈 Performance Tracking
Real-time statistics table (optional)
Win rate, total trades, P&L tracking
Average R:R and win/loss ratios
Setup-specific performance metrics
⚙️ Settings & Customization
Risk Management
Adjustable account risk per trade (default: 0.5%)
ATR-based stop loss multiplier (default: 0.8 for tight scalping)
Dynamic position sizing
Signal Sensitivity
Confluence Score Threshold: 40-100 (default: 55 for balanced signals)
Range Filter Period: 25 bars (fast signals for 1-min)
Range Filter Multiplier: 2.2 (tighter bands for more signals)
Visual Controls
Toggle signal table on/off
Show/hide Fibonacci levels
Control EMA visibility
Adjust table text size
Partial Exits
1R: 50% (default)
2R: 30% (default)
3R: 20% (default)
Fully customizable percentages
Trailing Stops
ATR-Based (best for scalping)
Pivot-Based
EMA-Based
Breakeven trigger at 0.8R
🎯 Best Use Cases
Ideal For:
✅ 1-minute scalping on liquid instruments
✅ Day traders looking for quick 2-8 minute trades
✅ High-frequency trading with 8-15 signals per session
✅ Trending markets where Range Filter excels
✅ Crypto, Forex, Futures - works on all liquid assets
Trading Style:
Timeframe: 1-minute (can work on 3-5 min with adjusted settings)
Hold Time: 3-8 minutes average
Target: 1.2-3R per trade
Frequency: 8-15 signals per day
Win Rate: 45-55% (with proper risk management)
📋 How to Use
Step 1: Wait for Signal
Watch for green triangle (BUY) or red triangle (SELL)
Signal table appears at top center automatically
Step 2: Review Confluence
Check grade (prefer A+, A, B+ for best quality)
Review all reasons listed in table
Confirm score is above your threshold (55+ recommended)
Note the R:R ratio
Step 3: Enter Trade
Enter at current market price
Set stop loss at red dashed line
Set take profit at blue dashed line
Mark 1R level (orange line) for partial exit
Step 4: Manage Trade
Exit 50% at 1R (orange line)
Move to breakeven after 0.8R
Trail remaining position using your chosen method
Exit fully at TP or opposite signal
🎨 Chart Setup Recommendations
Optimal Display:
Timeframe: 1-minute
Chart Type: Candles or Heikin Ashi
Background: Dark theme for best color visibility
Volume: Enable volume bars below chart
Complementary Indicators (optional):
Order flow/Delta for institutional confirmation
Market profile for key levels
Economic calendar for news avoidance
⚠️ Important Notes
Risk Disclaimer:
Not financial advice - for educational purposes only
Always use proper risk management (0.5-1% per trade max)
Past performance doesn't guarantee future results
Test on demo account before live trading
Best Practices:
✅ Trade during high liquidity hours (9:30-11 AM, 2-4 PM EST)
✅ Avoid news events and market open/close (first/last 2 minutes)
✅ Use tight stops (0.8-1.0 ATR) for 1-minute scalping
✅ Take partial profits quickly (1R = 50% off)
✅ Respect max daily loss limits (3% recommended)
✅ Focus on A and B grade setups for consistency
What Makes This Different:
🎯 Complete system - not just signals, but full trade management
📊 Multi-confluence - 10+ factors analyzed per trade
🎨 Professional visualization - clean, focused chart design
⚡ Optimized for 1-min - settings specifically tuned for fast scalping
📋 Transparent reasoning - see exactly why each trade was taken
🏆 Grade system - instantly know trade quality
🔧 Technical Details
Pine Script Version: 5
Overlay: Yes (plots on price chart)
Max Lines: 500
Max Labels: 100
Non-repainting: All signals confirmed on bar close
Alerts: Compatible with TradingView alerts
📞 Support & Updates
This indicator is actively maintained and optimized for 1-minute scalping. Settings can be adjusted for different timeframes and trading styles, but default configuration is specifically tuned for high-frequency 1-minute scalping.
🚀 Get Started
Add ProScalper to your 1-minute chart
Adjust settings to your risk tolerance
Wait for signals (green/red triangles)
Follow the signal table guidance
Manage trades using provided levels
Track performance with stats table
Happy Scalping! 📊⚡💰
USD Session 8FX - LDN & NY (TF-invariant, Live + Table)What changed
Flexible session window
Removed the old fixed NY end-time selector.
Added new inputs so you can pick start time and length:
London: ldnStartSel (default 08:00) and ldnLenSel with options 45/60/90 minutes.
New York: nyStartSel (default 15:30) and nyLenSel with options 45/60/90 minutes.
The session string used by time(refTF, sess, tz) is now built dynamically as "HHMM-HHMM" from start + length (e.g., 1530-1630).
The label shown in the table (winTxt) auto-formats to HH:MM–HH:MM.
New time helpers
addMinutesHHMM() computes the end time from a "HHMM" start plus a minute length.
makeSess() produces the session string "HHMM-HHMM".
prettySess() converts "HHMM-HHMM" → "HH:MM-HH:MM".
(Kept on one line to avoid the “end of line without line continuation” error.)
Stability & UI fixes
Main table now uses table.new(f_pos(tablePos), ...) directly (no undeclared pos variable).
Trade Gate panel uses a properly initialized gatePosEnum before table.new(...) (fixes “Undeclared identifier”).
Minor cleanups; no logic changes.
What did NOT change
Scoring logic: returns → optional ATR normalization → weights → anti-USD vs USD-base averages → final score.
Thresholds: minAbsScore and live intrath alerts are unchanged.
VWAP Gate logic is the same (price vs VWAP consistency depending on USD Strong/Weak).
Freeze/Lock of values at session end is unchanged.
Alerts (session close bias, live threshold cross, and “Entry hint”) are unchanged.
Why this helps (practical impact)
Longer windows (e.g., NY 60/90, LDN 60/90) usually make the score more robust, filtering noise and reducing false signals—at the cost of a slightly slower signal.
You can now A/B test:
London: 45 vs 60 vs 90
New York: 45 vs 60 vs 90
without touching anything else; the indicator adapts automatically.
How to use
Choose Session (London / New York).
Set the start and length for that session.
The background highlight, the winTxt, and the entry/exit logic all follow the dynamic window.
Quick tips to reduce false signals
Try NY 60 or NY 90 and LDN 60 when volatility is choppy.
Keep ATR normalization ON (useATRnorm = true) for more comparable returns.
Consider raising minAbsScore slightly (e.g., from 0.12 → 0.15–0.20) if you still see noise.
Use the VWAP Gate panel: only act when Bias OK and at least one of the Top-3 pairs shows VWAP OK.
If you want, I can add quick presets (buttons) to jump between LDN 45/60/90 and NY 45/60/90, or plot two Scores side by side for direct comparison.
Lynie's V9 SELL🟢🔴 Lynie’s V8 — BUY & SELL (Mirrored, Interlocking System)
Lynie’s V8 is a paired long/short engine built as two mirrored scripts—Lynie’s V8 BUY and Lynie’s V8 SELL—that read price the same way, flip conditions symmetrically, and manage trades with the exact logic on opposite sides. Use either one standalone or run both together for full two-sided automation of entries, re-entries, caution states, and adaptive SL/TP.
✳️ What “mirrored” means here
Supertrend Tri-Stack (10/11/12):
BUY: ST10 primary pierce; ST12 fallback; “PAG Buy” when price pierces any ST while above the other two.
SELL: Exact inverse—ST10 primary pierce down; ST12 fallback; “PAG Sell” when price pierces any ST while below the other two.
Re-Enter Clusters:
BUY: Ratcheted up (Heikin-Ashi green holds/tightens).
SELL: Ratcheted down (Heikin-Ashi red holds/tightens).
Both sides use the same cluster age/decay math, care penalties, session awareness, and fast-candle tightening.
Care Flags (context risk):
Ichimoku, MACD, RSI combine into single and paired flags that tighten or widen offsets on both sides with the same scoring.
VWAP–EMA50 (5m) cluster gate:
Identical distance checks for BUY/SELL. When the mean cluster is present, offsets and labels adapt (tighter/“riskier scalp” messaging).
Golden Pocket A/B/C (prev-day):
Same fib boxes & labeling (gold tone) on both sides to call out TP-friendly zones.
SL/TP Envelope:
Shared dynamic engine: per-bar decay, fast-candle expansion, and care-based compress/relax—all mirrored for up/down.
Caution Labels:
BUY side prints CAUTION SELL if HA flips red inside an active long cluster.
SELL side prints CAUTION BUY if HA flips green inside an active short cluster.
Same latching & auto-release behavior.
🧠 Core workflow (both sides)
Primary trigger via ST10 pierce (structure shift) with an ST12 fallback when ST10 didn’t qualify.
PAG Mode when price is already on the right side of the other two STs—strongest conviction.
Cluster phase begins after a signal: ratcheted re-entry level, session-aware offsets, dynamic tightening on fast bars.
Care system shapes every re-entry & SL/TP label (Ichi/MACD/RSI combos + VWAP/EMA gate + QQE).
Protective layer: SL-wick and SL-body logic, caution flips, and “hold 1 bar” cluster carry after SL to avoid whipsaw spam.
🔎 Labels & messages (shared vocabulary)
Lynie’s / Lynie’s+ / Lynie’s++ — strength tiers (ST12 involvement & clean context).
Re-Enter / Excellent Re-Enter — cluster pullback quality; ratchet shows the “must-hold” zone.
SL&TP (n) — live offset multiplier the engine is using right now.
CAUTION BUY / CAUTION SELL — HA flip against the active side inside the cluster.
Restart Next Candle — visual cue to re-arm after a confirmed signal bar.
⚡ Why run both together
Continuity: When a long cycle ends (SL or caution degradation), the SELL engine is already tracking the inverse without re-tuning.
Symmetry: Same math, same signals, opposite direction—no hidden biases.
Coverage: Trend hand-offs are cleaner; you don’t miss early shorts after a long fade (and vice versa).
🔧 Recommended usage
Intraday futures (ES/NQ) or any liquid market.
Keep the VWAP–EMA cluster ON; it filters FOMO chases.
Honor Caution flips inside cluster—scale down or wait for the next clean re-enter.
Treat Golden Zones as TP magnets, not guaranteed reversals.
📌 Notes
Both scripts are Pine v6 and independent. Load BUY and SELL together for the full experience.
All offsets (re-enter & SL/TP) are visible in labels—so you always know why a zone is where it is.
Alerts are provided for signals, re-enter hits, caution, and SL events on both sides.
Summary: Lynie’s V8 BUY & SELL are vice-versa twins—one framework, two directions—delivering consistent entries, adaptive re-entries, and contextual risk management whether the market is pressing up or breaking down.
MTF 20 SMA Table - DXY**MTF 20 SMA Table - Multi-Timeframe Trend Analysis Dashboard**
**Overview:**
This indicator provides a comprehensive multi-timeframe analysis dashboard that displays the relationship between price and the 20-period Simple Moving Average (SMA) across four key timeframes: 15-minute, 1-hour, 4-hour, and Daily. It's designed to help traders quickly identify trend alignment and potential trading opportunities across multiple timeframes at a glance. It's definitely not perfect but has helped me speed up my backtesting efforts as it's worked well for me eliminating flipping back and forth between timeframes excpet when I have confluence on the table, then I check the HTF.
**How It Works:**
The indicator creates a table overlay on your chart showing three critical metrics for each timeframe:
1. **Price vs SMA (Row 1):** Shows whether price is currently above (bullish) or below (bearish) the 20 SMA
- Green = Price Above SMA
- Red = Price Below SMA
2. **SMA Direction (Row 2):** Indicates the trend direction of the SMA itself over a lookback period
- Green (↗ Rising) = Uptrend
- Red (↘ Falling) = Downtrend
- Gray (→ Flat) = Ranging/Consolidation
3. **Strength (Row 3):** Displays the distance between current price and the SMA in pips
- Purple background = Strong move (>50 pips away)
- Orange background = Moderate move (20-50 pips)
- Gray background = Weak/consolidating (<20 pips)
- Text color: Green for positive distance, Red for negative
**Key Features:**
- **Customizable Table Position:** Place the table anywhere on your chart (9 position options)
- **Adjustable SMA Lengths:** Modify the SMA period for each timeframe independently (default: 20)
- **Direction Lookback Settings:** Fine-tune how far back the indicator looks to determine SMA direction for each timeframe
- **Flat Threshold:** Set the pip threshold for determining when an SMA is "flat" vs trending (default: 5 pips)
- **DXY Optimized:** Calculations are calibrated for the US Dollar Index (1 pip = 0.01)
**Best Use Cases:**
1. **Trend Alignment:** Identify when multiple timeframes align in the same direction for higher probability trades
2. **Divergence Spotting:** Detect when lower timeframes diverge from higher timeframes (potential reversals)
3. **Entry Timing:** Use lower timeframe signals while higher timeframes confirm overall trend
4. **Strength Assessment:** Gauge how extended price is from the mean (SMA) to avoid overextended entries
**Settings Guide:**
- **SMA Settings Group:** Adjust the SMA period for each timeframe (15M, 1H, 4H, Daily)
- **SMA Direction Group:** Control lookback periods to determine trend direction
- 15M: Default 5 candles
- 1H: Default 10 candles
- 4H: Default 15 candles
- Daily: Default 20 candles
- **Flat Threshold:** Set sensitivity for "flat" detection (lower = more sensitive to ranging markets)
**Trading Strategy Examples:**
1. **Trend Following:** Look for all timeframes showing the same direction (all green or all red)
2. **Pullback Trading:** When Daily/4H are green but 15M/1H show red, wait for lower timeframes to flip green for entry
3. **Ranging Markets:** When multiple SMAs show "flat", consider range-bound strategies
**Important Notes:**
- This is a reference tool only, not a standalone trading system
- Always use proper risk management and combine with other analysis methods
- Best suited for trending instruments like indices and major forex pairs
- Calculations are optimized for DXY but can be used on other instruments (pip calculations may need adjustment)
**Credits:**
Feel free to modify and improve this code! Suggestions for enhancements are welcome in the comments.
---
**Installation Instructions:**
1. Add the indicator to your TradingView chart
2. Adjust the table position via settings to avoid overlap with price action
3. Customize SMA lengths and lookback periods to match your trading style
4. Monitor the table for timeframe alignment and trend confirmation
---
This indicator is published as open source for the community to learn from and improve upon. Happy trading! 📈
Liquidity Sweep & Reversal — Body Anchored + Risk (v6)Overview
The Liquidity Sweep & Reversal — Locked to Price (v6) indicator identifies liquidity sweeps around major swing highs and lows, confirming reversals when price closes back inside the swept level.
All signals are locked to price (bottom of green candle for BUY, top of red candle for SELL), so they remain perfectly aligned when zooming or scaling.
This indicator is ideal for swing traders and scalpers who trade reversals, liquidity events, and reclaim structures.
How It Works
Detects confirmed swing highs and lows using a pivot-based structure.
Waits for a liquidity sweep — when price wicks beyond a recent swing.
Confirms a reclaim when price closes back inside the previous swing level.
Triggers a BUY or SELL signal anchored to the candle body.
Automatically calculates stop loss and risk using ATR and your inputs.
Input Settings
Swing Detection
Swing Detection Strength: How many bars confirm a swing pivot. Higher = stronger swings.
Bars to Confirm Reclaim: Number of bars after a sweep for price to close back within the swing zone.
Swing Proximity %: How close price must come to a swing to count as a liquidity sweep.
Trend Filter (optional)
Use EMA Trend Filter: When enabled, only BUY in uptrend and SELL in downtrend.
Fast EMA Length / Slow EMA Length: Define EMAs used to detect trend direction.
Risk & Stop Management
ATR Length: Period for ATR calculation (volatility measurement).
Base ATR Stop Buffer (x ATR): Distance of stop loss from entry based on ATR multiplier.
Position Size (quote units): Your total position size in quote currency (e.g., USDT).
Risk % of (Position / 20): Defines how much of your position to risk per trade.
Example: (Position / 20) × Risk % = per-trade risk.
Chart Elements
BUY Arrow (green): Appears after a liquidity sweep and reclaim near a swing low.
SELL Arrow (red): Appears after a sweep and reclaim near a swing high.
Labels: Display entry price, stop loss (SL), and calculated risk dollar value.
EMAs: Optional fast/slow moving averages for directional bias.
Dynamic Stops: Adjust automatically using ATR × risk settings.
Trading Tips
Use BUY signals near liquidity sweeps under swing lows.
Use SELL signals near liquidity sweeps above swing highs.
Adjust swing length for different timeframes:
Lower values for scalping (3–5)
Higher values for swing trading (7–10)
Respect stop loss levels and use risk control settings for consistent sizing.
Combine with volume, OBV, or structure for confirmation.
Alerts
BUY — Locked to Price: "BUY: swing low reclaimed with dynamic stop."
SELL — Locked to Price: "SELL: swing high reclaimed with dynamic stop."
Best Use Cases
Liquidity-based reversals
Swing entry confirmation
Stop hunt reclaims
Structure-based entries
Author
Created by @roccodallas
For traders who value clean structure, risk control, and chart precision.
TheStrat: Failed 2 + 2 ConfirmationTheStrat: Failed-2 + 2 Confirmation (2-2 option)
This indicator spots a classic Strat “failed 2 → 2” sequence on consecutive bars, and fires alerts only when both conditions are met:
Failed-2 bar on the prior candle
Failed 2-Down (F2D): Took the prior low but closed green
Failed 2-Up (F2U): Took the prior high but closed red
By default this is strict (excludes outside bars/3’s). You can toggle to allow 3’s if you prefer a looser definition.
Current bar is a clean “2”
2U = broke prior high only; 2D = broke prior low only (excludes 3’s).
Optional: Require flip so the second bar must reverse direction (F2D→2U for longs, F2U→2D for shorts). Turn this off if you want any 2 after a Failed-2.
What gets plotted
Tiny markers on each Failed-2 as they occur (F2U/F2D).
A label when the combo confirms on the next bar:
Bullish: F2D→2U (or F2D→2 if flip is off) below the bar
Bearish: F2U→2D (or F2U→2) above the bar
Alerts (set from the “Add Alert” dialog)
Failed2 + 2 (Bull): Prior bar was F2D; current bar is a 2 (flip optional).
Failed2 + 2 (Bear): Prior bar was F2U; current bar is a 2 (flip optional).
Inputs
Colors for Failed-2 markers and combo labels
Require flip (on by default) → focuses on true 2-2 reversals
Count outside bars (3) as Failed-2? (off by default) → stricter = fewer, cleaner signals
How to trade it (typical Strat style)
Bullish combo (F2D→2U): Entry on break of the combo bar’s high; risk under its low (or under the prior bar).
Bearish combo (F2U→2D): Entry on break of the combo bar’s low; risk above its high.
First target = prior pivot (“magnitude”), then nearby pivots/BF levels. Improve odds by aligning with time-frame continuity (e.g., day/week in your direction).
Notes / Best practices
Uses barstate.isconfirmed → signals/labels are based on closed bars to avoid repaint.
If you see too many Failed-2 tags, keep outside-bar counting OFF (strict mode).
Risk Leverage ToolRisk Leverage Tool – Calculate Position Size and Required Leverage
This script automatically calculates the optimal position size and the leverage needed based on the amount of capital you are willing to risk on a trade. It is designed for traders who want precise control over their risk management.
The script determines the distance between the entry and stop-loss price, calculates the maximum position size that fits within the defined risk, and derives the notional value of the trade. Based on the available margin, it then calculates the required leverage. It also displays the percentage of margin at risk if the stop-loss is hit.
All results are displayed in a table in the top-right corner of the chart. Additionally, a label appears at the entry price level showing the same data.
To use the tool, simply input your planned entry price, stop-loss price, the maximum risk amount in dollars, and the available margin in the settings menu. The script will update all values automatically in real time.
This tool works with any market where capital risk is expressed in absolute terms (such as USD), including futures, CFDs, and leveraged spot positions. For inverse contracts or percentage-based stops, manual adjustment is required.
iFVG Strategie by Futures.RobbyiFVG Strategy Checklist by Futures.Robby
Updated: October 27, 2025
Description
This script is a manual checklist designed to help traders evaluate their setups based on the iFVG (Fair Value Gap) strategy. It serves solely as a visual aid and does not perform automatic analysis, signal generation, or trade execution.
How It Works
The script creates an interactive checklist directly on the chart. Traders manually select which criteria are met, and the script calculates a percentage score, displaying it with color coding:
Green (≥ 60%): Good fulfillment of criteria
Orange (40–59%): Partial fulfillment
Red (< 40%): Poor fulfillment
Checklist Criteria
The checklist is divided into two main sections:
1. Trade Criteria (8 Points)
Eight manually selectable criteria to assess setup quality:
Trade im Bias → Trade in Bias: Trade follows the higher timeframe trend (H1/H4/Daily).
BE Level → BE Level: Swing point between entry and target.
Sweep → Sweep: Price hits a key swing before reversing.
Displacement → Displacement: iFVG broken by strong candles.
Leg FVG geschlossen → Leg FVG Closed: No open m1 to m5 FVGs to target.
FVG Reaktion → FVG Reaction: Reaction at FVG during sweep (HTF).
FVG Größe → FVG Size: 6 to 10 points.
Anzahl Kerzen → Number of Candles: Maximum of 6 candles.
2. Goals (1 Point)
Six optional goal conditions, counted together as 1 point:
Equal H / L → Equal High/Low
Session H / L → Session High/Low
News H / L → News High/Low
HTF Swing Point → HTF Swing Point
HTF OB → HTF Order Block
HTF FVG → HTF FVG
Settings and Customization
The script’s settings are translated as follows:
Group: Trade Criteria
Trade im Bias → Trade in Bias
Tooltip: Trendrichtung folgt HTF (H1/H4/Täglich) – Trend follows HTF direction
BE Level → BE Level
Tooltip: Swingpunkt zwischen Einstieg und Ziel – Swing point between entry and target
Sweep → Sweep
Tooltip: Kurs erreicht markanten Swing – Price hits key swing before inverse
Displacement → Displacement
Tooltip: iFVG durch starke Kerzen gebrochen – iFVG broken by strong candles
Leg FVG geschlossen → Leg FVG Closed
Tooltip: Keine offenen m1 bis m5 FVGs bis Ziel – No open m1 to m5 FVGs to target
FVG Reaktion → FVG Reaction
Tooltip: Reaktion an FVG beim Sweep (HTF) – Reaction at FVG during sweep (HTF)
FVG Größe → FVG Size
Tooltip: 6 bis 10 Punkte – 6 to 10 points
Anzahl Kerzen → Number of Candles
Tooltip: Maximal 6 Kerzen – Maximum of 6 candles
Group: Goals
Equal H / L → Equal High/Low
Session H / L → Session High/Low
News H / L → News High/Low
HTF Swing Point → HTF Swing Point
HTF OB → HTF Order Block
HTF FVG → HTF FVG
ℹ️ Ziele zählen gemeinsam als 1 Punkt → ℹ️ Goals count together as 1 point
Window Position & Size
Fensterposition → Window Position
oben rechts → top right
oben links → top left
unten rechts → bottom right
unten links → bottom left
Tabellengröße → Table Size
normal → normal
small → small
tiny → tiny
Translation of Chart Table Contents
The table headers and entries on the chart are translated as follows:
Table Headers:
Trade Checkliste → Trade Checklist
Ziele → Goals
Status Symbols:
✅ → ✅ (Fulfilled)
❌ → ❌ (Not fulfilled)
Individual Criteria (Trade Criteria):
Trade im Bias → Trade in Bias
BE Level → BE Level
Sweep → Sweep
Displacement → Displacement
Leg FVG geschlossen → Leg FVG Closed
FVG Reaktion → FVG Reaction
FVG Größe → FVG Size
Anzahl Kerzen → Number of Candles
Individual Criteria (Goals):
Equal H / L → Equal High/Low
Session H / L → Session High/Low
News H / L → News High/Low
HTF Swing Point → HTF Swing Point
HTF OB → HTF Order Block
HTF FVG → HTF FVG
Note Line:
Ziele zählen gemeinsam als 1 Punkt → Goals count together as 1 point
Important Note
This tool is not an automated indicator, but a visual decision aid for traders who want to apply their strategy in a structured and conscious way.
Volume Order Block Scanner [BOSWaves]Volume Order Block Scanner - Dynamic Detection of High-Volume Supply and Demand Zones
Overview
The Volume Order Block Scanner introduces a refined approach to institutional zone mapping, combining volume-weighted order flow, structural displacement, and ATR-based proportionality to identify regions of aggressive participation from large entities.
Unlike static zone mapping or simplistic body-size filters, this framework dynamically evaluates each candle through a multi-layer model of relative volume, candle structure, and volatility context to isolate genuine order block formations while filtering out market noise.
Each identified zone represents a potential institutional footprint, defined by significant volume surges and efficient body-to-ATR relationships that indicate purposeful positioning. Once mapped, each order block is dynamically adjusted for volatility and tracked throughout its lifecycle - from creation to mitigation to potential invalidation - producing an evolving liquidity map that adapts with price.
This adaptive behavior allows traders to visualize where liquidity was absorbed and where it remains unfilled, revealing the structural foundation of institutional intent across timeframes.
Theoretical Foundation
At its core, the Volume Order Block Scanner is built on the interaction between volume displacement and structural imbalance. Traditional order block systems often rely on fixed candle formations or simple engulfing logic, neglecting the fundamental driver of institutional activity: volume concentration relative to volatility.
This framework redefines that approach. Each candle is filtered through two comparative ratios:
Relative Volume Ratio (RVR) - the candle’s volume compared to its rolling average, confirming genuine transactional surges.
Body-ATR Ratio (BAR) - a measure of displacement efficiency relative to recent volatility, ensuring structural strength.
Only when both conditions align is an order block validated, marking a displacement event significant enough to create a lasting imbalance.
By embedding this logic within a volatility-adjusted environment, the system maintains scalability across asset classes and volatility regimes - equally effective in crypto, forex, or index markets.
How It Works
The Volume Order Block Scanner operates through a structured multi-stage process:
Displacement Detection - Identifies candles whose body and volume exceed dynamic thresholds derived from ATR and rolling volume averages. These represent the origin points of institutional aggression.
Zone Construction - Each qualified candle generates an order block with ATR-proportional dimensions to ensure consistency across instruments and timeframes. The zone includes two regions: Body Zone (the precise initiation point of displacement) and Wick Imbalance (the residual inefficiency representing unfilled liquidity).
Lifecycle Tracking - Each zone is continuously monitored for market interaction. Reactions within a defined window are classified as respected, mitigated, or invalidated, giving traders a data-driven sense of ongoing institutional relevance.
Volume Confirmation Layer - Reinforces signal integrity by ensuring that all detected blocks correspond with meaningful increases in transactional activity.
Temporal Decay Control - Zones that remain untested beyond a set period gradually lose visual and analytical weight, maintaining chart clarity and contextual precision.
Interpretation
The Volume Order Block Scanner visualizes how institutional participants interact with the market through zones of accumulation and distribution.
Bullish order blocks denote demand imbalances where price displaced upward under high volume; bearish order blocks signify supply regions formed by concentrated selling pressure.
Price revisiting these areas often reflects institutional re-entry or liquidity rebalancing, offering actionable insights for both continuation and reversal scenarios.
By continuously monitoring interaction and expiry, the framework enables traders to distinguish between active institutional footprints and historical liquidity artifacts.
Strategy Integration
The Volume Order Block Scanner integrates naturally into advanced structural and order-flow methodologies:
Liquidity Mapping : Identify high-volume regions that are likely to influence future price reactions.
Break-of-Structure Confirmation : Validate BOS and CHOCH signals through aligned order block behavior.
Volume Confluence : Combine with BOSWaves volume or momentum indicators to confirm real institutional intent.
Smart-Money Frameworks : Utilize order block retests as precision entry zones within SMC-based setups.
Trend Continuation : Filter zones in line with higher-timeframe bias to maintain directional integrity.
Technical Implementation Details
Core Engine : Dual-filter mechanism using Relative Volume Ratio (RVR) and Body-ATR Ratio (BAR).
Volatility Framework : ATR-based scaling for cross-asset proportionality.
Zone Composition : Body and wick regions plotted independently for visual clarity of imbalance.
Lifecycle Logic : Real-time monitoring of reaction, mitigation, and invalidation states.
Directional Coloring : Distinct bullish and bearish shading with adjustable transparency.
Computation Efficiency : Lightweight structure suitable for multi-timeframe or multi-asset environments.
Optimal Application Parameters
Timeframe Guidance:
5m - 15m : Reactive intraday zones for short-term liquidity engagement.
1H - 4H : Medium-term structures for swing or intraday trend mapping.
Daily - Weekly : Macro accumulation and distribution footprints.
Suggested Configuration:
Relative Volume Threshold : 1.5× - 2.0× average volume.
Body-ATR Threshold : 0.8× - 1.2× for valid displacement.
Zone Expiry : 5 - 10 bars for intraday use, 15 - 30 for swing/macro contexts.
Parameter optimization should be asset-specific, tuned to volatility conditions and liquidity depth.
Performance Characteristics
High Effectiveness:
Markets exhibiting clear displacement and directional flow.
Environments with consistent volume expansion and liquidity inefficiencies.
Reduced Effectiveness:
Range-bound markets with frequent false impulses.
Low-volume sessions lacking institutional participation.
Integration Guidelines
Confluence Framework : Pair with structure-based BOS or liquidity tools for validation.
Risk Management : Treat active order blocks as contextual areas of interest, not guaranteed reversal points.
Multi-Timeframe Logic : Derive bias from higher-timeframe blocks and execute from refined lower-timeframe structures.
Volume Verification : Confirm each reaction with concurrent volume acceleration to avoid false liquidity cues.
Disclaimer
The Volume Order Block Scanner is a quantitative mapping framework designed for professional traders and analysts. It is not a predictive or guaranteed system of profit.
Performance depends on correct configuration, market conditions, and disciplined risk management. BOSWaves recommends using this indicator as part of a comprehensive analytical process - integrating structural, volume, and liquidity context for accurate interpretation.






















