First FVG📘 Indicator Description (English)
First FVG – NY Open is a TradingView indicator designed to automatically identify the first Fair Value Gap (FVG) that appears during the New York session, following the ICT (Inner Circle Trader) methodology.
It highlights institutional inefficiencies in price caused by imbalanced price action and helps traders spot high-probability entry zones, especially after the 9:30 AM EST (New York Open).
⚙️ How It Works
Session time: The indicator scans for FVGs starting at 9:32 AM (allowing 3 candles after the NY Open to form).
FVG Conditions:
Bullish FVG: When the high of 2 candles ago is lower than the low of the current candle and the middle candle is bullish.
Bearish FVG: When the low of 2 candles ago is higher than the high of the current candle and the middle candle is bearish.
Only the first FVG per session is drawn, as taught by ICT for setups like Judas Swing or NY Reversal models.
A colored box is drawn to represent the FVG zone.
A dotted horizontal line (CE) is drawn at the midpoint of the FVG box (Consequent Encroachment), a key level watched by smart money traders.
A dashed vertical line is drawn at 9:30 NY time to mark the open.
🧠 How to Use It
Wait for the NY Open (9:30 AM EST) – the indicator becomes active at 9:32 AM.
Watch for the first FVG box of the day. This is often a high-probability reaction zone.
Use the CE line (center of the FVG) as a reference for entries, rejections, or liquidity grabs.
Combine with market structure, PD Arrays, and liquidity concepts as taught by ICT for confluence.
The FVG box and CE line will extend forward for several candles for visual clarity.
🎛️ Customizable Settings
Session time (default: 09:32–16:00 NY)
FVG box color (up/down)
Text color
Max number of days to keep boxes on chart
Option to show or hide the 9:30 NY Open vertical line
รูปแบบชาร์ต
Supply/Demand Zones with Midline (No Overlap Logic)Supply and demand formations based on inside bar breakouts. Automatically plots zones to buy and sell from. MTF analysis available.
Customized ATR Trailing Stop with Fixed ATR DisplayCustomized ATR Trailing Stop with Fixed ATR Display
UT Bot + LinReg Candles (Dual Sensitivity)
Script Description:
This indicator combines the popular UT Bot Alerts system with Linear Regression Candles (open source) for enhanced trend detection and trading signals in one singel script. The UT Bot features independent, then 2 x ATR sensitivity and periods controls for buy and sell signals, allowing you to fine-tune entries and exits to match your strategy. The script also overlays colored Linear Regression Candles with an optional signal line, helping you visually identify trend strength and direction. All calculations are performed on standard chart prices (no Heikin Ashi). Suitable for all asset classes and timeframes.
Eample setting for usdjpy 5 min chart for repeated buy and sell singnals based on trend:
BUY ATR period 300 multiplier 1
SELL ATR period 1 multiplier 2
Disclaimer:
This script is for informational and educational purposes only. It is not financial advice. Use at your own risk; the author assumes no responsibility for any trading results or losses.
Credits goes to to Ugurvu for linreg candles and quantnomad for UT Bot alerts that make this script possible.
Author: Patrick
Daily MAs IntradayThis script overlays up to 6 customizable daily moving averages on any intraday chart. It’s designed for traders who want to see higher-timeframe trend levels while operating on lower timeframes (e.g., 5m, 15m, 1h).
Each line is calculated from daily candle data and projected forward into your intraday chart. This makes it ideal for intraday traders who rely on daily MA levels for trend confirmation, support/resistance, or bounce setups.
Opening Print Line (Customizable)📈 Opening Print Line (Customizable) is a simple yet powerful intraday tool that plots the opening price of the regular trading session (RTH) and keeps it visible across the entire chart—including during pre-market and extended hours.
💡 Key Features:
🕒 Configurable time zone selector (choose from Pacific, Mountain, Central, or Eastern)
🎯 Automatically detects and plots the 9:30 AM local opening price
🎨 Customizable line color
🏷️ Optional on-chart label with editable text
This indicator is especially useful for:
Identifying opening breakout or fade setups
Anchoring support/resistance levels to the session open
Building opening range strategies or scalp setups
🔧 Built with Pine Script v6. Fully compatible with stocks, ETFs, futures, or any instrument that follows a regular session open time.
⚠️ Note: The script assumes the regular trading session starts at 9:30 AM in the selected time zone. You can modify the time if using it for futures, crypto, or other markets.
RSI Pivot Markers + Breakout Alerts + Anchored VWAPMarks RSI high price with a dotted line and marks low Pivot and puts an anchored vwap to the last rsi low price.
F2D Highlighter + FTFC + Volume Spike + Dashboard🧪 Why F2D Works
It traps short sellers who expect a breakdown
When it reclaims prior ranges, buyers flood back in
Paired with timeframe continuity (green on higher timeframes), it increases the edge
💸 F2D in Options Trading
Ideal for Calls when:
You're near a key level (VWAP, support, inside week/day)
Volume surges on reclaim
You catch a 2D that flips into a 2U (strong reversal)
🔧 Strike selection: ATM or 1–2 strikes OTM
⏰ Expiration: Same day or next day (if late in the day)
💥 Targets: 30–50% profit, then trail or scale out
NTL SCALP v2 with TP & SL (Absolute)NTL SCALP v2 with TP & SL (Absolute) – Scalping Trend System
Timeframe Example: 15-minute (XAUUSD)
Indicator Type: Combined trend-following and momentum-based scalping system
🔍 Purpose of This Indicator
This script is designed as a unified tool for intraday scalpers, combining multiple essential components—trend detection, entry signal logic, and automated risk management—into one streamlined system. Rather than simply merging various indicators, it integrates them with a clear purpose: to generate trade setups with actionable entries and realistic TP/SL targets in trending markets.
📌 Core Components & How They Work Together
Multi-Ribbon EMA Trend Filter
Multiple Exponential Moving Averages (EMAs) are used to detect short-, medium-, and long-term trends.
The EMA ribbons visually shift from red (bearish) to green (bullish) depending on the overall price structure.
These ribbons not only indicate trend direction but also serve as dynamic support/resistance levels.
Momentum-Based Entry Signals
Buy and sell signals are triggered when price momentum aligns with the trend (e.g., bullish breakout above EMAs with supporting candle structure).
The system ensures that trades are only taken in the direction of the prevailing trend, reducing the likelihood of false signals.
Auto-Generated Entry, TP & SL Levels
Once a valid setup is detected, the script plots the entry price, stop-loss (SL), and up to four take-profit (TP1–TP4) targets.
These levels are based on recent volatility and trend strength, allowing traders to manage risk and reward efficiently.
Labels such as “TP1 HIT” or “SL HIT” are displayed on the chart to show trade progress in real-time.
✅ How to Use This Indicator
Designed for scalping and short-term trend trading during high-volume market sessions (e.g., London/New York).
Ideal for traders who prefer clear rules for entry, exit, and risk management.
Can be used standalone, but works even better with confirmation from price action or volume-based tools.
🛑 Note
To ensure effective performance, avoid using this tool in ranging or low-volatility markets. It is optimized for trending environments.
⚠️ Disclaimer
This script is intended for educational purposes and does not constitute financial advice. Always conduct your own analysis and apply risk management when trading.
Liquidity Zone TrackerWe’ll flag liquidity zones based on:
Candle extremes (high/low sweeps)
Volume surges beyond average
Recency and revisit frequency
The Great Anchors: Dual AVWAP Powered by RSI
The Great Anchors
*Dual Anchored Volume Weighted Average Price Powered by RSI*
---
📌 Overview
The Great Anchors is a dual AVWAP-based indicator that resets dynamically using RSI extremes — either from the current asset or a master symbol (e.g., BTCUSDT). It identifies meaningful shifts in price structure and momentum using these "anchored" levels.
It’s designed to help traders spot trend continuations, momentum inflection points, and entry signals aligned with overbought/oversold conditions — but only when the market confirms through volume-weighted price direction.
---
🛠 Core Logic
• AVWAP 1 (favwap): Anchored when RSI reaches overbought levels (top anchor)
• AVWAP 2 (savwap): Anchored when RSI reaches oversold levels (bottom anchor)
• AVWAPs are recalculated each time a new OB/OS condition is triggered — acting like "fresh anchors" at key market turning points.
---
⚙️ Key Features
🔁 Auto or Manual RSI Thresholds
→ Automatically determines dynamic RSI OB/OS levels based on past peaks and troughs, or lets you set fixed levels.
🧠 Master Symbol Control
→ Use the RSI of a separate asset (like BTCUSDT, ETHUSDT, SOLUSDT, BNBUSDT, SUPRAUSDT) or indices (like TOTAL, TOTAL2, BFR) to control resets — ideal for tracking how BTC/major coins impacts altcoins/others.
🔍 Trend-Filtering Signal Logic
→ Signals are filtered for less noise and are triggered when:
- Both AVWAPs are rising (bullish) or falling (bearish)
- Price action confirms the structure
🎯 Visual Markers & Alerts
→ "💥" for bullish signals and "🔥" for bearish ones. Alerts included for automation or push notifications.
---
🎯 How to Use It
1. Add the indicator to your chart.
2. Choose whether to use RSI from the current symbol or a master symbol (e.g., BTC).
3. Select auto-adjusted or manual OB/OS levels.
4. Watch for:
- AVWAP(s) making a significant change (at this point it's one of the AVWAPs resetting)
- Check if price flip it upwards or downwards
- If price goes above both AVWAPs thats a likely bullish trend
- If price can't go above both AVWAPs up and fall bellow both that's a likely bearish trend
- Price retesting upper AVWAP and bounce
- likely bullish continuation
- Price retesting lower AVWAP and dip
- likely bearish continuation
- Signal icons on chart ("💥 - Bullish" or "🔥- Bearish")
Best suited for:
• Swing traders
• Momentum traders
• Traders timing altcoin entries using BTC/Major asset's RSI
---
🔔 Signal Explanation
💥 Bullish Signal =
• Both AVWAPs rising
• Higher lows in price structure
• Bullish candle close
• Triggered from overbought RSI reset
🔥 Bearish Signal =
• Both AVWAPs falling
• Lower highs in price structure
• Bearish candle close
• Triggered from oversold RSI reset
Signals reset by opposite signals to prevent noise or overfitting.
---
⚠️ Tips & Notes
• Use AVWAPs as dynamic support/resistance, even without signal triggers
• Pair with volume or divergence tools for stronger confirmation
---
🧩 Credits & Philosophy
This tool is built with a simple philosophy:
"Anchor your trades to meaningful moments in price — not arbitrary time."
The dual AVWAP concept helps you see how price reacts after momentum peaks, giving you a cleaner bias and more precise trade setups.
---
Harmonic Pattern Detector [The_lurker]
📊 Harmonic Pattern Detector
An advanced indicator designed to automatically detect and visualize harmonic patterns on price charts with high accuracy. It is based on Fibonacci ratios, ZigZag structures, and pivot points, offering traders precise identification of potential reversal zones.
The indicator supports detection of 13 major harmonic patterns: Gartley, Butterfly, Bat, Crab, Deep Crab, AB=CD, Cypher, Shark, Three Drives, Wolfe Waves, 5-0, Black Swan, and Anti-Gartley.
Each pattern is matched using ideal Fibonacci ratios with a customizable error margin. Patterns are validated only if the similarity score (accuracy) is greater than or equal to 80%, ensuring reliable signals.
🔎 How It Works:
1️⃣ Pivot Point Detection
The indicator uses a function to find major swing highs and lows (`findPivots`), based on a configurable pattern length (default is 18 candles). These pivots are stored in arrays: `pivotPrices`, `pivotBars`, and `pivotDirections`.
2️⃣ ZigZag Construction
With the pivots detected, the indicator constructs a ZigZag structure by connecting the relevant price points using `buildZigZag`. These lines represent the fundamental price movements forming harmonic shapes.
3️⃣ Fibonacci Ratio Calculation
From the ZigZag, the indicator extracts points labeled X, A, B, C, and D, then calculates key Fibonacci ratios:
* XAB = |B-A| / |X-A|
* ABC = |C-B| / |A-B|
* XAD = |D-A| / |X-A|
4️⃣ Pattern Matching Algorithm
Each pattern has its ideal Fibonacci ranges. The ratios are compared with these ranges using adjustable error margins:
ERROR_MARGIN_MIN = (100 - DETECT_ERROR_MARGIN_PERCENT) / 100
ERROR_MARGIN_MAX = (100 + DETECT_ERROR_MARGIN_PERCENT) / 100
If all required ratios for a pattern fall within these bounds, the pattern is considered a potential match.
5️⃣ Similarity Score Calculation
To evaluate accuracy, each pattern gets a similarity score by comparing actual vs. ideal ratios. For example:
simXAB = min(xabRatio / idealXAB, idealXAB / xabRatio)
simABC = min(abcRatio / idealABC, idealABC / abcRatio)
simXAD = min(xadRatio / idealXAD, idealXAD / xadRatio)
similarity = (simXAB + simABC + simXAD) / 3
Only patterns with a similarity ≥ MIN\_RATING\_PERCENT (default 80%) are shown.
6️⃣ Visual Output
When a pattern is detected, it is displayed by connecting the points X→A→B→C→D. A label is drawn at point D showing:
* Pattern Name
* Emoji (e.g., 🦋 for Gartley)
* Similarity percentage (e.g., "92%")
Patterns are color-coded:
🟢 Green for Bullish
🔴 Red for Bearish
⚙️ Configurable Settings:
* ENABLE_PATTERN_DETECTION`: Toggle to enable or disable pattern detection
* PATTERN_LENGTH_INPUT`: Number of candles to consider for structure
* DETECT_ERROR_MARGIN_PERCENT`: Controls allowed deviation from ideal Fibonacci ratios
* MIN_RATING_PERCENT`: Minimum similarity percentage to display a pattern (e.g., 80%)
🎨 Display Customization:
* Customize ZigZag lines (solid, dotted, dashed)
* Control thickness, color, and style of lines
* Adjust label font size, position, and visibility
* Enable or disable specific pattern types
* Modify Fibonacci levels used per pattern
Labels include emojis for easier recognition:
🦋 Gartley | 🐝 Butterfly | 🦈 Shark | 🐺 Wolfe Waves | 🦢 Black Swan | ⚡ Anti-Gartley
📚 Pattern Definitions:
Gartley: XAB ≈ 0.618, ABC ≈ 0.382–0.886, XAD ≈ 0.786
Butterfly: XAB ≈ 0.786, XAD ≈ 1.272
Bat: XAB ≈ 0.382–0.50, XAD ≈ 0.886
Crab / Deep Crab: XAD ≈ 1.618–1.902
AB=CD: AB equals CD (symmetrical moves)
Cypher: ABC ≈ 1.13–1.414, XAD ≈ 0.786
Shark: XAD ≈ 1.0–1.13
Three Drives: Three legs with Fibonacci extensions
Wolfe Waves: Geometrically aligned points, XAD ≈ 1.272–1.618
5-0: CD retraces 50% of previous wave
Black Swan: Rare, sharp pattern, XAD ≈ 3.618–4.236
Anti-Gartley: Reverse Gartley with custom ratios
📈 Target Markets:
This indicator is effective for analyzing:
✔ Forex
✔ Stocks
✔ Crypto
✔ Commodities (Gold, Oil, etc.)
Suitable for multiple trading styles:
* Scalping
* Swing Trading
* Position Trading
✨ Key Features:
✅ 13 harmonic patterns supported
✅ Automatic detection with accuracy scoring
✅ Adjustable error margins
✅ Fully customizable display
✅ Pattern-specific toggles
✅ Bullish/Bearish color-coded output
✅ Informative labels with pattern name, emoji, and similarity
⚠️ Disclaimer:
This indicator is for educational and analytical purposes only. It does not constitute financial, investment, or trading advice. Use it in conjunction with your own strategy and risk management. Neither TradingView nor the developer is liable for any financial decisions or losses.
كاشف الأنماط التوافقية 📊
مؤشر متطور مصمم للكشف التلقائي عن الأنماط التوافقية على مخططات الأسعار وتصورها بدقة عالية. يعتمد على نسب فيبوناتشي، وهياكل الزجزاج، ونقاط الارتكاز، مما يوفر للمتداولين تحديدًا دقيقًا لمناطق الانعكاس المحتملة.
يدعم المؤشر الكشف عن 13 نمطًا توافقيًا رئيسيًا: جارتلي، الفراشة، الخفاش، السلطعون، السلطعون العميق، AB=CD، السايفر، القرش، ثلاثة محركات، موجات وولف، 5-0، البجعة السوداء، ومضاد جارتلي.
يتم مطابقة كل نمط باستخدام نسب فيبوناتشي مثالية مع هامش خطأ قابل للتخصيص. لا يتم التحقق من صحة الأنماط إلا إذا كانت درجة التشابه (الدقة) أكبر من أو تساوي 80%، مما يضمن إشارات موثوقة.
🔎 كيفية العمل:
1️⃣ اكتشاف نقاط الارتكاز
يستخدم المؤشر دالة للعثور على قمم وقيعان التأرجح الرئيسية (`findPivots`)، بناءً على طول نمط قابل للتخصيص (الطول الافتراضي هو 18 شمعة). تُخزّن هذه النقاط المحورية في مصفوفات: `pivotPrices`، `pivotBars`، `pivotDirections`.
2️⃣ بناء ZigZag
بعد اكتشاف النقاط المحورية، يُنشئ المؤشر بنية ZigZag بربط نقاط السعر ذات الصلة باستخدام `buildZigZag`. تُمثل هذه الخطوط تحركات الأسعار الأساسية مُشكّلةً أشكالًا توافقية.
3️⃣ حساب نسبة فيبوناتشي
من ZigZag، يستخرج المؤشر النقاط المُسمّاة X، A، B، C، وD، ثم يحسب نسب فيبوناتشي الرئيسية:
* XAB = |B-A| / |X-A|
* ABC = |C-B| / |A-B|
* XAD = |D-A| / |X-A|
4️⃣ خوارزمية مطابقة الأنماط
لكل نمط نطاقات فيبوناتشي مثالية. تُقارن النسب بهذه النطاقات باستخدام هوامش خطأ قابلة للتعديل:
ERROR_MARGIN_MIN = (100 - DETECT_ERROR_MARGIN_PERCENT) / 100
ERROR_MARGIN_MAX = (100 + DETECT_ERROR_MARGIN_PERCENT) / 100
إذا وقعت جميع النسب المطلوبة للنمط ضمن هذه الحدود، يُعتبر النمط مطابقًا محتملًا.
5️⃣ حساب درجة التشابه
لتقييم الدقة، يحصل كل نمط على درجة تشابه بمقارنة النسب الفعلية بالنسب المثالية. على سبيل المثال:
simXAB = min(xabRatio / idealXAB, idealXAB / xabRatio)
simABC = min(abcRatio / idealABC, idealABC / abcRatio)
simXAD = min(xadRatio / idealXAD, idealXAD / xadRatio)
التشابه = (simXAB + simABC + simXAD) / 3
يتم عرض الأنماط التي يكون تشابهها ≥ MIN\_RATING\_PERCENT (الافتراضي 80%) فقط.
6️⃣ المخرجات المرئية
عند اكتشاف نمط، يتم عرضه بتوصيل النقاط X→A→B→C→D. يتم رسم علامة عند النقطة D تُظهر:
* اسم النمط
* رمز تعبيري (مثل 🦋 لنمط جارتلي)
* نسبة التشابه (مثل "92%))
الأنماط مُرمَّزة بالألوان:
🟢 أخضر للارتفاع
🔴 أحمر للانخفاض
⚙️ إعدادات قابلة للتخصيص:
* تمكين كشف النمط: تفعيل أو تعطيل كشف النمط
* إدخال طول النمط: عدد الشموع المُراد حسابها للهيكل
* كشف الخطأ: نسبة الهامش: يتحكم في الانحراف المسموح به عن نسب فيبوناتشي المثالية
* الحد الأدنى لنسبة التشابه لعرض النمط (مثل 80%)
🎨 تخصيص العرض:
* تخصيص خطوط متعرجة (متصلة، منقطة، متقطعة)
* التحكم في السُمك واللون ونمط الخطوط
* ضبط حجم خط التسمية وموضعه ووضوحه
* تفعيل أو تعطيل أنواع أنماط محددة
* تعديل مستويات فيبوناتشي المستخدمة لكل نمط
تتضمن التسميات رموزًا تعبيرية لتسهيل التعرف عليها:
🦋 جارتلي | 🐝 فراشة | 🦈 سمكة قرش | 🐺 موجات وولف | 🦢 بجعة سوداء | ⚡ نمط مضاد لـ غارتلي
📚 تعريفات الأنماط:
غارتلي: XAB ≈ 0.618، ABC ≈ 0.382–0.886، XAD ≈ 0.786
فراشة: XAB ≈ 0.786، XAD ≈ 1.272
خفاش: XAB ≈ 0.382–0.50، XAD ≈ 0.886
سرطان البحر/سرطان البحر العميق: XAD ≈ 1.618–1.902
AB=CD: AB يساوي CD (حركات متماثلة)
سايفر: ABC ≈ 1.13–1.414، XAD ≈ 0.786
شارك: XAD ≈ 1.0–1.13
ثلاثة أرجل: ثلاثة أرجل مع فيبوناتشي امتدادات
موجات وولف: نقاط متوازية هندسيًا، XAD ≈ 1.272–1.618
5-0: تصحيح CD بنسبة 50% من الموجة السابقة
البجعة السوداء: نمط نادر وحاد، XAD ≈ 3.618–4.236
مضاد جارتلي: جارتلي معكوس بنسب مخصصة
📈 الأسواق المستهدفة:
هذا المؤشر فعال لتحليل:
✔ الفوركس
✔ الأسهم
✔ العملات المشفرة
✔ السلع (الذهب، النفط، إلخ)
مناسب لأنماط تداول متعددة:
* المضاربة السريعة
* تداول التأرجح
* تداول المراكز
✨ الميزات الرئيسية:
✅ دعم 13 نمطًا توافقيًا
✅ كشف تلقائي مع تسجيل الدقة
✅ هوامش خطأ قابلة للتعديل
✅ شاشة قابلة للتخصيص بالكامل
✅ مفاتيح تبديل خاصة بالأنماط
✅ مخرجات مرمزة بالألوان للصعود/الهبوط
✅ تسميات توضيحية مع النمط الاسم، والرموز التعبيرية، والتشابه
⚠️ إخلاء مسؤولية:
هذا المؤشر لأغراض تعليمية وتحليلية فقط. لا يُمثل نصيحة مالية أو استثمارية أو تداولية. استخدمه بالتزامن مع استراتيجيتك الخاصة وإدارة المخاطر. لا يتحمل TradingView ولا المطور مسؤولية أي قرارات مالية أو خسائر.
Smart Range Zones [Dr. Hafiz]Smart Range Zones
Description:
This indicator highlights key market zones — High Range, Mid Range, and Low Range — to help traders visually understand dynamic support and resistance levels.
✅ High Range: Potential supply/resistance area
✅ Mid Range: Fair value or equilibrium zone
✅ Low Range: Potential demand/support area
The zones are calculated based on the highest and lowest price over a user-defined period (default: 130 bars) and dynamically projected forward.
🔸 EMA 15 Line is included as an optional trend filter — helping confirm direction or trend alignment.
🔧 Features:
Auto-calculated High/Mid/Low zones
Real-time dynamic projections
Right-aligned zone labels inside each box
Clean visual structure
Toggle for showing/hiding EMA 15
📌 Best suited for:
Intraday & swing traders
Range breakouts and rejections
Trend confirmation with EMA
Created and published by Dr. Hafiz, modified under the MPL 2.0 license.
Automated Scalping Signals with TP/SL Indicator [QuantAlgo]🟢 Overview
The Automated Scalping Signals with Take Profit & Stop Loss Indicator is a multi-timeframe trading system that combines market structure analysis with directional bias filtering to identify potential scalping opportunities. It detects Points of Interest (POI) including Fair Value Gaps (FVG) and Order Blocks (OB) while cross-referencing entries with higher timeframe exponential moving average positioning to create systematic entry conditions.
The indicator features adaptive timeframe calculations that automatically scale analysis periods based on your chart timeframe, maintaining consistent analytical relationships across different trading sessions. It provides integrated trade management with stop loss calculation methods, configurable risk-reward ratios, and real-time performance tracking through dashboard displays showing trade statistics, bias direction, and active position status.
This advanced system is designed for low timeframe trading, typically performing optimally on 1 to 15-minute charts across popular instruments such as OANDA:XAUUSD , CME_MINI:MES1! , CME_MINI:ES1! , CME_MINI:MNQ1! , CBOT_MINI:YM1! , CBOT_MINI:MYM1! , BYBIT:BTCUSDT.P , BYBIT:ETHUSDT.P , or any asset and timeframe of your preference.
🟢 How It Works
The indicator operates using a dual-timeframe mathematical framework where higher timeframe exponential moving averages establish directional bias through cross-over analysis, while simultaneously scanning for specific market structure patterns on the POI timeframe. The timeframe calculation engine uses multiplication factors to determine analysis periods, ensuring the bias timeframe provides trend context while the POI timeframe captures structural formations.
The structural analysis begins with FVG detection, which systematically scans price action to identify imbalances where gaps exist between consecutive candle ranges with no overlapping wicks. When such gaps are detected, the algorithm measures their size against minimum thresholds to filter out insignificant formations. Concurrently, OB recognition analyzes three-candle sequences, examining specific open/close relationships that indicate potential institutional accumulation zones. Once these structural patterns are identified, the algorithm cross-references them against the higher timeframe bias direction, creating a validation filter that only permits entries aligned with the prevailing EMA cross-over state. When price subsequently intersects these validated POI zones, entry signals generate with the system calculating entry levels at zone midpoints, then applying the selected stop loss methodology combined with the configured risk-reward ratio to determine take profit placement.
To mirror realistic trading conditions, the indicator incorporates configurable slippage calculations that account for execution differences between intended and actual fill prices. When trades reach their take profit or stop loss levels, the algorithm applies slippage adjustments that worsen the exit prices in a conservative manner - reducing take profit fills and increasing stop loss impact. This approach ensures backtesting results reflect more realistic performance expectations by accounting for spread costs, market volatility during execution, and liquidity constraints that occur in live trading environments.
It also has a performance dashboard that continuously tracks and displays comprehensive trading metrics:
1/ Bias TF / POI TF: Displays the calculated timeframes used for bias analysis and POI detection, showing the actual periods (e.g., "15m / 5m") that result from the multiplier settings to confirm proper adaptive timeframe selection
2/ Bias Direction: Shows current market trend assessment (Bullish, Bearish, or Sideways) derived from EMA cross-over analysis to indicate which trade directions align with prevailing momentum
3/ Data Processing: Indicates how many price bars have been analyzed by the system, helping users verify if complete historical data has been processed for comprehensive strategy validation
4/ Total Trades: Displays the cumulative number of completed trades plus any active positions, providing volume assessment for statistical significance of other metrics
5/ Wins/Losses: Shows the raw count of profitable versus unprofitable trades, offering immediate insight into strategy effectiveness frequency
6/ Win Rate: Reveals the percentage of successful trades, where values above 50% generally indicate effective entry timing and values below suggest strategy refinement needs
7/ Total R-Multiple: Displays cumulative risk-reward performance across all trades, with positive values demonstrating profitable system operation and negative values indicating net losses requiring analysis
8/ Average R Win/Loss: Shows average risk-reward ratios for winning and losing trades separately, where winning averages approaching the configured take profit ratio indicate minimal slippage impact while losing averages near -1.0 suggest effective stop loss execution
9/ TP Ratio / Slippage: Displays the configured take profit ratio and slippage settings with calculated performance impact, showing how execution costs affect actual versus theoretical returns
10/ Profit Factor: Calculates the ratio of total winning amounts to total losing amounts, where values above 1.5 suggest robust profitability, values between 1.0-1.5 indicate modest success, and values below 1.0 show net losses
11/ Maximum Drawdown: Tracks the largest peak-to-trough decline in R-multiple terms, with smaller negative values indicating better capital preservation and risk control during losing streaks
🟢 How to Use
Start by applying the indicator to your chart and observe its performance across different market conditions to understand how it identifies bias direction and POI formations. Then navigate to the settings panel to configure the Bias Timeframe Multiplier for trend context sensitivity and POI Timeframe Multiplier for structural analysis frequency according to your trading preference and objectives.
Next, fine-tune the EMA periods in Bias Settings to control trend detection sensitivity and select your preferred POI types based on your analytical preference. Proceed to configure your Risk Management approach by selecting from the available stop loss calculation methods and setting the Take Profit ratio that aligns with your risk tolerance and profit objectives. Complete the setup by customizing Display Settings to control table visibility and trade visualization elements, adjusting UI positioning and colors for optimal chart readability, then activate Alert Conditions for automated notifications on trade entries, exits, and bias direction changes to support systematic trade management.
🟢 Examples
OANDA:XAUUSD
CME_MINI:MES1!
CME_MINI:ES1!
CME_MINI:MNQ1!
CBOT_MINI:YM1!
BYBIT:BTCUSDT.P
BINANCE:SOLUSD
*Disclaimer: Past performance is not indicative of future results. None of our statements, claims, or signals from our indicators are intended to be financial advice. All trading involves substantial risk of loss, not just upside potential. Users are highly recommended to carefully consider their financial situation and risk tolerance before trading.
db/dt [keypoems]Double Top / Double Bottom Marker
This indicator identifies classic double bottom/double top reversal patterns using pivot point analysis and breakout confirmation methodology, it also marks pivot based market structure shifts or flips.
WHAT IT DOES
The indicator detects two primary types of trading patterns:
1. Double Bottom/Top Patterns: Recognizes classic reversal formations where price creates two similar highs or lows before breaking the neckline
2. Market Structure Shifts (Flips): Identifies when price breaks through significant pivot levels indicating a potential trend change
HOW IT WORKS
Double Pattern Detection:
For double bottoms, the system identifies the first pivot low, then tracks the highest point between potential lows to establish the neckline level. It searches for a second pivot low within the specified price tolerance percentage of the first low. The pattern confirms when price breaks above the neckline. Double tops use the same logic but inverted, tracking the lowest point for the neckline and confirming on downward breaks.
Pattern Invalidation:
Double patterns are automatically invalidated if price creates new extremes beyond both pivot points before neckline confirmation occurs.
Flip Detection:
The algorithm uses a three-step process for each direction. For bullish shifts, it first identifies a pivot high using the specified left/right bar length parameters. It then waits for a subsequent pivot low that occurs after the pivot high. Finally, it confirms the shift when price closes above the original pivot high level. The bearish detection works inversely, starting with a pivot low, followed by a pivot high, and confirmed when price closes below the original pivot low.
CONFIGURATION OPTIONS
General Settings:
- Pivot High/Low Length: Controls the number of bars required on each side of a pivot point for validation
- Start Bar Index: Sets how many bars from the beginning of data to start pattern detection
- Time Filter: Optional start time to limit detection to specific periods
Double Pattern Settings:
- Separate pivot length controls for each pattern type
- Price Tolerance: Maximum percentage difference allowed between the two pivot points to qualify as a double pattern (0.1% to 20%)
- Individual start bar settings for each pattern type
Visual Controls:
- Toggle display for bullish flips, bearish flips, double bottoms, and double tops
- Optional text labels for each pattern type
- Sweep/Mitigation classification labels that distinguish between patterns where the second pivot sweeps beyond the first versus those that hold within tolerance
VISUAL PRESENTATION
Market structure shifts display as triangular markers above or below price with connecting lines that extend from the original pivot point to the breakout confirmation bar. Double patterns appear as rectangular boxes that encompass both pivot points with pattern type labels. The boxes automatically size themselves based on the price range and bar spacing of the pattern.
Color coding uses green for bullish signals, red for bearish signals, blue for double bottoms, and orange for double tops. All visual elements can be individually enabled or disabled based on trading preferences.
UNDERLYING CONCEPTS
This indicator applies market structure theory which suggests that trend changes are often preceded by breaks of significant swing points. The double pattern recognition is based on classical technical analysis principles where price creates similar levels twice before reversing direction, indicating exhaustion of the prevailing trend.
The pivot point methodology ensures that only statistically significant highs and lows are considered, filtering out minor fluctuations that might create false signals. The confirmation requirement prevents premature signals during consolidation phases.
PRACTICAL APPLICATION
Market structure shifts help identify potential trend changes early in their development. Double patterns provide high-probability reversal setups with clear entry levels at neckline breaks and logical stop placements beyond the pattern extremes.
The price tolerance setting allows adaptation to different market volatility conditions. Tighter tolerances work better in stable markets while looser tolerances accommodate more volatile instruments.
LIMITATIONS AND CONSIDERATIONS
This indicator works best in trending markets and may produce less reliable signals during extended sideways consolidation periods. The pivot-based approach means signals occur with some delay after actual market turns, as confirmation requires subsequent price action.
Users should be aware that the indicator plots historical patterns and breakout confirmations. Real-time trading decisions should account for the lag inherent in pivot point calculation and pattern completion requirements.
The effectiveness of detected patterns may vary significantly across different timeframes, market conditions, and instrument types. Combining these signals with additional analysis methods and proper risk management is recommended for practical trading applications.
Double pattern detection requires sufficient price history and bar spacing to properly identify and validate formations. Very short timeframes or instruments with limited volatility may not generate frequent pattern signals.
All pattern recognition is based on historical price data and does not guarantee future performance. Market conditions, fundamental factors, and external events can invalidate technical patterns regardless of their historical reliability.
FVGFVG (Fair Value Gap) Indicator
The Fair Value Gap (FVG) indicator is a powerful tool designed to identify price imbalance zones that often act as critical support and resistance levels in the market. An FVG occurs when there is a gap between the high of one candle and the low of another candle two periods away, creating an unfilled price area that the market tends to revisit. These zones represent areas where institutional orders may be waiting and can provide high-probability trading opportunities.
This indicator automatically detects both bullish and bearish FVGs across any selected timeframe while ensuring complete reliability with no repainting. It uses only confirmed bar data with lookahead protection, making it suitable for live trading and backtesting. The tool features customizable visual elements including zone colors, transparency levels, and timeframe labels, along with automatic mitigation tracking that monitors when FVGs get filled by price action.
Key features include multi-timeframe analysis, extending zones to the right for ongoing relevance, flexible display options for both active and mitigated FVGs, and built-in alert system for new FVG formations. The indicator also provides comprehensive labeling options and maintains a clean chart by automatically managing the maximum number of displayed zones, making it an essential tool for traders following smart money concepts and institutional trading strategies.
MWA swing high & lowThis indicator identifies and connects significant swing highs and swing lows on the chart using customizable pivot-based logic. It creates a ZigZag-style structure that helps traders visually analyze price action, market structure, and trend direction.
🧠 Key Features:
Detects pivot highs and lows using left/right bar logic.
Plots a ZigZag line connecting swings for easy visual tracking.
Labels each swing as "Swing High" or "Swing Low".
Fully customizable settings: pivot sensitivity, label color/size, and line color.
📈 How to Use:
Use it to spot higher highs/lows or lower highs/lows in trending markets.
Identify structure shifts that may signal trend reversals.
Combine with support/resistance, Fibonacci, or other structure-based tools for confirmation.
Suitable for discretionary or rule-based strategies.
⚠️ Disclaimer:
This script is a visual analysis tool. It does not generate buy/sell signals and does not claim profitability. Past structure patterns do not guarantee future results.
Fair Value Gap [Custom]📌 FVG Indicator – Smart Money Concepts Tool
This script is based on Smart Money Concepts (SMC) and automatically detects and marks Fair Value Gaps (FVG) on the chart, helping traders identify unbalanced price areas left behind by institutional moves.
🧠 What is an FVG?
An FVG (Fair Value Gap) is the price gap formed when the market moves rapidly, leaving behind a candle range where no trading occurred — typically between Candle 1’s high and Candle 3’s low (in a three-candle pattern). These gaps often signal imbalance, created during structural breaks or liquidity grabs, and may act as retrace zones or entry points.
🛠 Features:
✅ Automatically detects and highlights FVG zones (high-low range)
✅ Differentiates between open (unfilled) and closed (filled) FVGs
✅ Adjustable timeframe settings (works best on 1H–4H charts)
✅ Option to toggle display of filled FVGs
✅ Great for identifying pullback entries, continuation zones, or reversal setups
💡 Recommended Use:
After BOS/CHoCH, watch for price to return to the FVG for entry
Combine with Order Blocks and liquidity zones for higher accuracy
Best used as part of an ICT or SMC-based trading system
Smart Directional Fib Zone (Selectable Session)🎯 Overview
This indicator plots a dynamic Fibonacci zone between the 0.5 and 0.618 levels , calculated from the previous day’s price action , and is designed specifically for intraday traders.
It visually highlights key retracement or reaction areas where the market often pauses or reverses.
🔍 How it works
At the start of each day, the script automatically captures:
the previous day’s open (pdo),
high (pdh),
low (pdl),
and close (pdc).
It then determines if the previous day was bullish (Close > Open) or bearish (Close < Open).
Based on that:
If the previous day was bullish, it projects the Fibonacci levels down from the high (typical for expecting retracements).
If bearish, it projects them up from the low.
The two key levels are:
0.5 (50%) retracement / projection
0.618 (61.8%) retracement / projection
A colored zone is plotted between these levels to act as a leading guide for intraday setups.
⏰ Time filtering & session customization
A unique feature is the dynamic session filtering:
By default, the zone is only plotted during active market hours, keeping your chart clean outside trading hours.
The script provides a dropdown selector so you can quickly switch between:
India session (9:15 to 15:30)
Europe session (9:00 to 17:30)
US session (9:30 to 16:00)
Or even define your own custom session times.
This makes it ideal for intraday traders in any region.
🎨 Visual features
The fill zone changes color based on the previous day’s sentiment:
Green zone if the previous day was bullish
Red zone if the previous day was bearish
🚨 Alerts
The script includes an alert condition, so you can easily set up TradingView alerts to notify you when:
Price enters the Fibonacci zone.
This is extremely helpful for catching retracements or reversals without staring at the screen all day.
⚙️ How to use
✅ Works on any intraday timeframe (1 min, 5 min, 15 min, etc.).
✅ Simply add it to your chart, pick your session in the dropdown, and watch the Fibonacci zone automatically adjust to your selected market hours.
Use it as a confluence tool alongside other indicators like VWAP, EMAs, Bollinger Bands, or price action patterns to time entries and exits.
💪 Why this is powerful
This is more than a simple Fib retracement tool:
It dynamically adapts to the previous day’s sentiment, helping you trade in alignment with recent market psychology.
The session filtering ensures your charts are focused only on the periods
Retracement Bar🔍 Retracement Bar – RB
The Retracement Bar (RB) indicator is designed to highlight potential reversal zones by identifying candles where price shows a clear rejection from the extremes. It helps traders spot moments where institutional inventory rebalancing may be occurring — often a precursor to a strong move in the opposite direction.
RB highlights bars that:
Have a relatively small real body compared to the total candle range.
Show a long wick (upper or lower) that exceeds a user-defined percentage of the candle range.
Suggest a potential rejection of price — upward or downward — based on candle structure.
When these conditions are met, a triangle symbol is plotted:
🔻 Red triangle above a candle suggests a possible short opportunity.
🔺 Green triangle below a candle suggests a possible long opportunity.
This indicator does not repaint and triggers only at candle close.
📈 Example – Long Entry
Signal: A green triangle appears below a candle (suggesting rejection of lower prices).
Steps:
Wait for the current RB candle to close.
On the next candle:
Enter long if price breaks above the high of the RB candle.
Alternatively, wait for a pullback and enter based on confirmation (e.g., bullish engulfing, hammer, trendline bounce).
Place a stop-loss just below the low of the RB candle.
Set a target:
Based on a 2:1 risk-reward ratio.
Or use the next resistance/Fibonacci level.
📉 Example – Short Entry
Signal: A red triangle appears above a candle (suggesting rejection of higher prices).
Steps:
Wait for the current RB candle to close.
On the next candle:
Enter short if price breaks below the low of the RB candle.
Or wait for confirmation (e.g., bearish engulfing, shooting star, breakdown from a level).
Place a stop-loss just above the high of the RB candle.
Set a target:
2:1 risk-reward ratio.
Or the next support/Fibonacci zone.
✅ Recommended Filters for Better Results:
Confluence with support/resistance zones.
Trend alignment or reversal context.
Additional confirmation from price action patterns or oscillators.
Volume analysis for entry strength.
🙏 Acknowledgment
Special thanks to Rob Hoffman for inspiring this concept through his original Inventory Retracement Bar (IRB) idea — this indicator is a reinterpretation meant to visually and practically support discretionary price action traders.
Smart Gap Indicator + EMAs📈 Smart Gap Indicator + EMAs
Spot high-impact gaps with precision and confidence.
🔍 What it does:
This tool identifies and highlights strategic price gaps that often precede strong directional moves. It filters out noise by combining advanced logic with volume activity and trend bias, helping you focus on the most relevant setups.
📊 Key Features:
Smart Gap Detection – Automatically detects meaningful gap up/down events based on dynamic thresholds.
EMA Trend Filter – Optional multi-EMA filter (10, 21, 50) to help align trades with the prevailing market trend.
Volume Spike Signal – Highlights volume surges that may indicate institutional involvement.
Clean Visuals – Configurable labels, shapes, and optional gap fill lines to aid quick interpretation.
Gap Performance Table – Summarizes recent gap activity to assess directional bias.
⚠️ Built-in Alerts:
Gap Up
Gap Down
Gap + Volume Spike
💡 Made by a trader, for traders.
Whether you're a swing trader, gap hunter, or momentum follower—this tool was crafted to give you an edge where it matters most: timing.
DIP BUYING by HAZEREAL BUY THE DIP - Educational Price Movement Indicator
This technical indicator is designed for educational purposes to help traders identify potential price reversal opportunities in equity markets, particularly focusing on NASDAQ-100 index tracking instruments and technology sector ETFs.
Key Features:
Monitors price movements relative to recent highs over customizable lookback periods
Identifies two distinct price decline thresholds: standard (5%+) and extreme (12.3%+)
Visual signals with triangular markers and background color zones
Real-time data table showing current metrics and status
Customizable alert system with webhook-ready JSON formatting
Clean overlay design that doesn't obstruct price action
How It Works:
The indicator tracks the highest price within a specified lookback period and calculates the percentage decline from that high. When price drops below the minimum threshold, it generates visual buy signals. The extreme threshold triggers enhanced alerts for more significant market movements.
Best Use Cases:
Educational analysis of market volatility patterns
Identifying potential support levels during market corrections
Studying historical price behavior around significant declines
Risk management and position sizing education
Important Note: This is a technical analysis tool for educational purposes only. All trading decisions should be based on comprehensive analysis and appropriate risk management. Past performance does not guarantee future results.
The Essa System V1.5The Essa System V1.5
Overview
The Essa System is a comprehensive trading strategy and backtesting tool designed for traders who use market structure and Fibonacci retracements. It automatically identifies significant trading ranges, calculates key retracement levels, and then backtests a complete trading strategy based on entries at these levels.
This is more than just an indicator; it's a full suite of analytical tools designed to help you develop, test, and analyze a complete trading plan directly on your chart.
How It Works
The system's logic is based on a classic price action concept:
Range Detection: First, it automatically identifies a significant trading range by finding the highest high and lowest low based on pivot points over a user-defined lookback period.
Fibonacci Analysis: Once the range direction (bullish or bearish) is established, the script calculates and displays key Fibonacci retracement levels (50%, 61.8%, 70.5%, and 78.6%).
Trade Execution: The system then looks for historical and live trading opportunities, entering a trade when the price pulls back to one of the enabled Fibonacci levels. All trades are managed with a predefined Stop Loss and Take Profit in pips.
Key Features
Automatic Range & Fibonacci Analysis: Automatically draws the primary trading range and key Fib levels, updating as market structure evolves.
Historical Backtesting: Plots all historical trade entries based on the strategy rules, allowing for a complete performance review over the chosen chart history.
Detailed Trade Visuals: Displays active trades on the chart with clear lines and boxes for entry, stop loss, and take profit zones.
Advanced Session Filtering: Allows you to isolate trades to specific market sessions (London, New York, Asia) with timezone support and daily trade limits.
Built-in Risk Management: A cornerstone of the system. It automatically calculates the required position size for each trade based on your specified Account Size, Risk Percentage, and Stop Loss.
Comprehensive Performance Tables: The script includes two powerful analytical tables:
Trade Helper Table: Shows the status of live or potential upcoming trades, including entry/SL/TP prices and the calculated position size.
History Table: Logs all recent trades and calculates key statistics like Profit Factor, Win Rate, and the overall PnL impact on your account balance.
Customizable Strategy: Fine-tune every aspect of the strategy with inputs for the lookback period, SL/TP in pips, which Fib levels are tradable, and a cooldown timer to prevent over-trading.
How to Use
Add the indicator to your chart.
Navigate to the settings and, under "Account Settings," configure your Account Size and Risk Per Trade (%). This is essential for the PnL and position sizing calculations to be meaningful.
Under "Session Filter Settings," adjust the sessions you wish to trade.
Analyze the historical trades and the performance tables to understand the strategy's behaviour on your chosen asset and timeframe.
Disclaimer: This is a tool for strategy analysis and backtesting. It is not financial advice. Past performance is not indicative of future results. Always use proper risk management.