RenkoFlow PercentualIt calculates brick size as a percentage of the chart’s initial price and updates bricks only when price moves one full brick size up or down.
Green bricks represent upward movement and red bricks represent downward movement.
This tool is designed to help visualize directional price changes independently of time and can be used as a clean trend-filtering reference on any timeframe.
Educational
Long Term Holder Supply 155 DayThe “Long Term Holder Supply 155 Day” indicator is designed to bring on-chain inspired long-term analysis directly into chart-based technical trading.
The concept comes from the idea of Long-Term Holder (LTH) Supply, frequently used in Bitcoin on-chain analytics to identify price zones where long-term holders accumulated coins. These areas tend to act as strong support and resistance because long-term holders historically accumulate during undervaluation phases and distribute during overheated cycles.
What makes this script original
Unlike traditional moving averages or basic Donchian channels, this indicator combines both concepts using the same 155-day window, creating a unified model that visually represents:
The average long-term holder cost basis (via SMA 155).
The range of supply and demand zones historically defined by price extremes (via Donchian 155).
A trend-reactive color system that makes interpretation intuitive and immediate.
This dual-structure is not commonly found in standard TradingView scripts and is inspired by on-chain research methodology adapted for chart traders.
How it works
1. SMA 155 (LTH Mean Price)
Represents the long-term holder cost basis proxy.
Turns green when price is above it (market strength above holder basis).
Turns red when price is below it (market trading at a discount relative to long-term holders).
This allows traders to quickly identify whether Bitcoin is in a LTH profit or LTH loss environment — a critical on-chain concept.
2. Donchian Channel 155 (LTH Supply Range)
Upper Band (Green): Highest high of the last 155 days — interpreted as the upper bound of LTH supply/resistance.
Lower Band (Red): Lowest low of the last 155 days — interpreted as the lower bound of LTH accumulation/support.
This creates a long-term structural range showing where long-term holders were historically more likely to buy (lower band) or distribute (upper band).
How to use it
Bullish conditions:
Price breaks above the SMA 155.
Price begins approaching or breaking the upper Donchian band → signs of macro strength and potential long-term breakout.
Bearish conditions:
Price drops below SMA 155 (LTH basis lost).
Price moves toward the lower Donchian band → zone where long-term holders historically accumulate during deep value phases.
Sideways Accumulation:
Price oscillates inside the Donchian bands while hugging the SMA 155 → potential long-term consolidation before trend reversal.
Who this indicator is for
Long-term Bitcoin analysts
Swing traders
Investors tracking macro cycles
Traders who want lightweight on-chain logic without needing blockchain datasets
Core methodology behind the script
The indicator is built around:
SMA 155 → represents long-term average cost basis
Donchian 155 → long-term supply/demand range
Color-based trend confirmation → chart-based interpretation of on-chain behavior
This combination brings an on-chain inspired long-term model into pure price action, making it usable even by traders without access to blockchain data.
Market Structure Shift (MSS) [Sword & Shield]MARKET STRUCTURE SHIFT (MSS)
A clean and focused indicator for identifying Market Structure Shifts in price action.
════════════════════════════════════════════════════════════════════════════════
WHAT IS MARKET STRUCTURE SHIFT (MSS)?
════════════════════════════════════════════════════════════════════════════════
A Market Structure Shift occurs when price breaks a significant swing high or swing low,
indicating a potential change in market direction. This indicator automatically detects
and plots these key levels.
BULLISH MSS: Price breaks above a previous swing high
BEARISH MSS: Price breaks below a previous swing low
════════════════════════════════════════════════════════════════════════════════
FEATURES
════════════════════════════════════════════════════════════════════════════════
CLEAN DISPLAY
- Shows only the last 2 MSS by default (1 bullish + 1 bearish)
- Keeps charts clean and focused on recent structure
- Automatically removes old MSS when new ones appear
CUSTOMIZABLE DETECTION
- Adjustable swing detection (left/right bars)
- Choose break confirmation method (Close or Wick)
- Fixed-length lines (no infinite extension by default)
SMART FILTERING
- Only plots one MSS per direction until opposite MSS occurs
- Prevents duplicate signals in the same direction
- Clear visual distinction between bullish (blue) and bearish (red)
CLEAN LABELS
- Text labels positioned above lines
- No background tooltips for cleaner appearance
- Color-matched to their respective MSS lines
════════════════════════════════════════════════════════════════════════════════
SETTINGS
════════════════════════════════════════════════════════════════════════════════
SWING DETECTION
- Swing Left Bars (default: 2)
- Swing Right Bars (default: 2)
- Higher values = more significant swings detected
BREAK CONFIRMATION
- Close: MSS confirmed when candle closes beyond level
- Wick: MSS confirmed when wick touches beyond level
DISPLAY OPTIONS
- Show Only Last 2 MSS: ON by default (keeps chart clean)
- Extend lines to the right: OFF by default (fixed-length lines)
- Line bars (when not extended): 50 bars (customizable)
════════════════════════════════════════════════════════════════════════════════
HOW IT WORKS
════════════════════════════════════════════════════════════════════════════════
DETECTION LOGIC
1. Identifies swing highs and swing lows using pivot detection
2. Monitors price action for breaks of these levels
3. Confirms break based on selected method (Close or Wick)
4. Plots MSS line at the broken level
FILTERING LOGIC
- Only one MSS per direction is allowed consecutively
- Example: If bullish MSS appears, no new bullish MSS until bearish MSS occurs
- This prevents multiple signals in trending markets
DISPLAY LOGIC
- When "Show Only Last 2 MSS" is enabled:
• Only the most recent bullish MSS is shown
• Only the most recent bearish MSS is shown
• Old MSS are automatically deleted when new ones appear
- When disabled: All historical MSS remain visible
════════════════════════════════════════════════════════════════════════════════
USAGE EXAMPLES
════════════════════════════════════════════════════════════════════════════════
FOR TREND IDENTIFICATION
- Bullish MSS = Potential uptrend beginning
- Bearish MSS = Potential downtrend beginning
- Use in conjunction with other indicators for confirmation
FOR ENTRY SIGNALS
- Wait for MSS to confirm trend change
- Enter on pullback to MSS level
- Use MSS as support/resistance
FOR SCALPING (Lower Timeframes)
- Swing Left/Right Bars: 2-3 (more sensitive)
- Break Confirmation: Close (more reliable)
- Show Only Last 2 MSS: ON (cleaner charts)
FOR SWING TRADING (Higher Timeframes)
- Swing Left/Right Bars: 5-10 (more significant swings)
- Break Confirmation: Close (avoid false breaks)
- Show Only Last 2 MSS: ON or OFF based on preference
════════════════════════════════════════════════════════════════════════════════
VISUAL DESIGN
════════════════════════════════════════════════════════════════════════════════
LINES
- Dashed style for easy identification
- Blue for bullish MSS
- Red for bearish MSS
- Fixed length (50 bars default) for cleaner appearance
LABELS
- "MSS" text positioned above each line
- No background for clean display
- Color-matched to line color
- Small size to avoid chart clutter
════════════════════════════════════════════════════════════════════════════════
CREDITS & LICENSE
════════════════════════════════════════════════════════════════════════════════
© Sword & Shield
This Pine Script code is subject to the terms of the Mozilla Public License 2.0
mozilla.org
Precious Matrix Signal-S-L15-sum⭐ PRECIOUS MATRIX SIGNAL™
Today Range + R1–R6 Multi-Layer Market Structure Engine
Final Output → 🔵 BUY | 🔴 SELL | ⏹ NEUTRAL
A powerful, multi-range decision engine that reads today’s live structure and compares it with six major past ranges, Δ/E shifts, and daily strength summaries to generate a precise directional signal.
📘 What This Indicator Does
This indicator builds a complete price-behavior matrix combining:
🔹 Today’s High–Low structure
🔹 Six custom historical ranges (R1–R6)
🔹 Live Δ/E trend shifts
🔹 A/R (Above–Below Range) positioning
🔹 Remaining Potential %
🔹 Last-5, Last-10, Last-15 day trend summary
🔹 Auto Spot–Future selection
🔹 Lot size & Margin info
( Not for dark mode &only on NSE Futures & Spot )
All layers combine to produce a single actionable signal.
🔶 How It Works (Simple Flow)
1️⃣ Symbol Auto-Detection
If chart is futures, uses futures data
If futures range missing → switches to continuous 1!
If chart is spot, uses spot cleanly
Auto-reads lot size and margin
2️⃣ Today’s Live Range Engine
Live High / Low
Time of High & Low
Δ (Range size)
A/R (Where current price sits inside the range)
Remaining Potential % (powerful continuation measure)
3️⃣ R1–R6 Custom Range Engine
Each user-set range displays:
High & Low
Δ
A/R positioning
Remaining Potential %
Overshoot/Breakdown markers
Δ/E (Direction shift)
Color-coded range strength
4️⃣ Δ/E Shift Logic (Live Mode)
For each R1–R6:
Prev = previous close before the range
E = end-close of the range
Δ/E = Direction:
▲ Positive → Bullish
▼ Negative → Bearish
■ Neutral → Sideways
If the range ends today → uses intraday close (E*).
5️⃣ Trend Validation (Last-5 / 10 / 15 Days)
Automatic summary tables:
Daily Date
Close
H/L
Δ
A/R
Net Trend Color
Strongest zone marked
This prevents false signals and confirms bias.
6️⃣ Final Signal Engine
Uses a weighted scoring across:
Today’s bias
R1–R6 bias
Δ/E direction
Remaining potential
Last-5/10/15 confirmation
🔵 BUY
→ Majority Ranges UP
→ Today’s structure UP
→ Δ/E = ▲
→ Last-5 positive
🔴 SELL
→ Majority Ranges DOWN
→ Today’s structure DOWN
→ Δ/E = ▼
→ Last-5 negative
⏹ NEUTRAL
→ Mixed or no clear dominance
→ Low potential/compressed price
📊 Dashboard Panels
Panel 1 – Today + R1–R6 Master Matrix
Shows:
H / L / Δ
A/R
Remaining Potential %
Δ/E (live option)
Range badges & colors
Panel 2 – Last-5 / 10 / 15 Summary
Your secondary confirmation panel.
Panel 3 – Lot Size + Margin
Auto margin estimate at 24%.
⚙️ Input Controls
Show/Hide HLX Panel
Custom Range Start/End
Δ/E Live Override
Force Intraday Mode
Last-5/10/15 Selector ( last work properly display on mobile )
Nudge (Panel Offset)
Potential % thresholds
Designed to adjust smoothly for all timeframes.
🎯 Recommended Usage
Use on 3m / 5m / 15m / 30m / 1H / 2H / 4H
Works great on Index Futures, Stock Futures, and Spot
Keep Option-2 Δ/E enabled for live trading
Last-5 and R2–R6 give strongest confirmation for trend days
📈 Who Is This For?
Traders who want:
Multi-range professional context
Reliable bias confirmation
High-probability directional entries
Auto-range intelligence without manual marking
Futures–spot multi-engine precision
🟢 SUPER-SIMPLE FLOWCHART
START
|
Detect Spot/Future + Lot
|
Compute TODAY H/L
|
Compute R1–R6 Ranges
|
Apply Δ/E Live Logic
|
Build Range Strength Score
|
Build Last5/10/15 Trend
|
Combine All Scores (matrix)
|
BUY ? SELL ? NEUTRAL ?
|
Display Full Dashboard
🛑 Disclaimer
This is an educational tool.
No buy/sell recommendations.
Always use proper risk management.
Elliott Wave Principle Pro - Frost & Prechter [abusuhil]الوصف العربي اسفل الوصف الإنجليزي .
✅ Professional Description (English)
Elliott Wave Principle Pro – Frost & Prechter Edition
A complete, professional-grade Elliott Wave detection and trading system designed for traders who want to identify market structure with precision and execute trades based on confirmed wave completion signals — without repainting.
This indicator combines the classical Elliott Wave rules from Frost & Prechter’s “Elliott Wave Principle” with modern algorithmic detection, Fibonacci validation, ZigZag pivot systems, and fully automated entry/exit levels.
⭐ Core Features
1. Automatic Elliott Wave Detection
Detects Impulse Waves (5-3-5-3-5)
Detects Corrective Waves (ABC) including:
• Zigzag
• Flat
• Expanded Flat
Supports multiple wave degrees (Cycle → Minuette)
2. Strict Elliott Rule Engine
All major EW rules are applied:
Wave 2 never retraces beyond Wave 1
Wave 4 must not overlap Wave 1
Wave 3 is never the shortest
Wave relationships validated using Fibonacci ratios
You can choose Strict / Standard / Flexible rule modes.
⭐ 3. Non-Repainting Confirmation System
Waves are confirmed only after pivot completion
Signals never change once displayed
Historical signals remain stable
Fully resistant to repainting
⭐ 4. Automated Trading Signals
Every completed structure triggers:
BUY Signals
End of Wave C
End of bearish Impulse (Wave 5)
SELL Signals
End of Wave 5 in bullish impulse
End of bullish ABC correction
Each signal includes:
Entry Line
Stop Loss (3 methods: Wave / ATR / Fixed)
TP1 – TP2 – TP3 (Fibonacci-based or Wave Projected)
Optional PRZ (Potential Reversal Zone)
You may show only the latest signal for clarity.
⭐ 5. Advanced Visual Tools
Wave numbers (1–5 / A–B–C)
Wave lines
Channels
Projection levels
Degree colors
Customizable labels and signal shapes (Box / Arrow / No Text)
A clean Simple Mode is available to hide all waves and show signals only.
⭐ 6. Informational Table (Optional)
Displays:
Last detected structure
Direction (Bullish / Bearish)
Active signal status (Buy / Sell / Wait)
⭐ How Traders Benefit
This tool helps traders:
Understand the full Elliott Wave context instantly
Know exactly when a wave cycle has completed
Enter trades with predefined, optimized levels
Avoid emotional decisions and subjective wave counting
Rely on a non-repainting analytical engine
Identify high-probability reversal zones
Improve trade timing and risk management
Perfect for swing trading, intraday trading, and wave practitioners.
🇸🇦 الوصف الاحترافي (العربية)
Elliott Wave Principle Pro – نسخة فروسـت وبريشتـر
مؤشر احترافي متكامل لتحليل موجات إليوت واكتشاف البُنى السعريّة بشكل آلي ودقيق، مع إعطاء إشارات تداول مؤكدة عند اكتمال الموجات — بدون إعادة رسم (Non-Repainting).
يجمع هذا المؤشر بين قواعد مدرسة إليوت الكلاسيكية من كتاب “Elliott Wave Principle” وبين خوارزميات حديثة تعتمد على الـ ZigZag، والفيبوناتشي، والتحقق الرياضي من صحة الموجة.
⭐ أهم المزايا
1. اكتشاف آلي كامل لموجات إليوت
اكتشاف الموجات الدافعة Impulse 5-3-5-3-5
اكتشاف الموجات التصحيحية ABC بما يشمل:
• Zigzag
• Flat
• Expanded Flat
دعم جميع درجات الموجة من Cycle حتى Minuette
⭐ 2. محرك قواعد إليوت الاحترافي
يطبق المؤشر جميع القواعد الأساسية لموجات إليوت، مثل:
الموجة 2 لا تتجاوز بداية الموجة 1
الموجة 4 يجب ألا تتداخل مع الموجة 1
الموجة 3 ليست الأقصر
تأكيد العلاقات باستخدام نسب فيبوناتشي
مع إمكانية اختيار نمط القواعد: صارم / قياسي / مرن.
⭐ 3. نظام تأكيد بدون إعادة رسم
لا يتم تأكيد الموجة إلا بعد اكتمالها فعليًا
لا يتم حذف أي إشارة بعد ظهورها
جميع النتائج ثابتة وغير قابلة للتغيير
مقاوم لإعادة الرسم 100%
⭐ 4. إشارات تداول تلقائية
يصدر المؤشر إشارات شراء وبيع عند اكتمال التركيبات التالية:
إشارات BUY
نهاية موجة C
نهاية موجة 5 الهابطة (انعكاس صاعد)
إشارات SELL
نهاية موجة 5 الصاعدة
نهاية تصحيح ABC الصاعد
وتتضمن الإشارة:
مستوى الدخول
وقف الخسارة (Wave / ATR / نسبة ثابتة)
الأهداف TP1 – TP2 – TP3
منطقة انعكاس محتملة PRZ (اختيارية)
ويمكن عرض آخر إشارة فقط لسهولة القراءة.
⭐ 5. أدوات بصرية متقدمة
ترقيم الموجات 1–5 و A–B–C
خطوط الموجات
قنوات Elliott
مستويات الإسقاط
ألوان الدرجات
تخصيص شكل الإشارة (مربع / سهم / بدون نص)
كما يمكن تفعيل الوضع البسيط لإظهار الإشارات فقط.
⭐ 6. جدول معلومات الاختياري
يعرض:
نوع آخر موجة مكتشفة
اتجاهها (صاعد / هابط)
حالة الإشارة الحالية (شراء / بيع / انتظار)
⭐ فوائد استخدام المؤشر للمتداول
هذا المؤشر يساعدك على:
فهم بنية موجات إليوت دون قراءة الشارت يدويًا
اكتشاف نقاط الانعكاس القوية قبل حدوثها
الدخول في صفقات محسوبة مسبقًا (Entry + SL + TP)
تقليل التشتت والتقدير الشخصي في العدّ
تحسين إدارة المخاطر
تعزيز دقة التوقيت في بداية الاتجاهات الجديدة
دراسة السوق بطريقة احترافية تعتمد على قاعدة علمية واضحة
مثالي للمضارب اليومي، المتداول المتأرجح، ولممارسي مدرسة إليوت.
MTF Alignment & Key Levelsso this one is specifically for the 1hr and 4hr time frame. but what it does is alert you once the monthly weekly and daily timeframes align with a trend in a certain direction wether its bearish or bullish but then it will mark out key levels on the 1hr and 4hr time frame to indicate when price breaks through that level to enter a trade in the direction of the higher timeframes alignment.
Fed Net Liquidity [Premium] [by Golman Armi]This indicator visualizes the USD Net Liquidity injected into the financial system by the Federal Reserve.
It is a fundamental macro-economic tool essential for understanding the underlying "fuel" driving risk assets such as the S&P 500 (SPX), Nasdaq (NDX), and Bitcoin (BTC).
Unlike many other liquidity scripts that incorrectly use Commercial Bank Assets (USCBBS), this script uses the Federal Reserve Total Assets (WALCL) to provide a mathematically accurate representation of Central Bank liquidity.
How It Works (The Formula)
Net Liquidity represents the actual cash available to the banking system for investment after government liabilities are subtracted. The formula used is:
NetLiquidity=WALCL−TGA−RRP
Where:
WALCL (Fed Balance Sheet): The total assets held by the Federal Reserve (The source of money printing).
TGA (Treasury General Account - WTREGEN): The checking account of the US Government. When the TGA goes up, money is removed from the economy; when it goes down, money is spent into the economy.
RRP (Reverse Repo - RRPONTTLD): Cash parked by banks and money market funds at the Fed overnight. A rise in RRP removes liquidity from the markets.
Features
Accurate Data Sourcing: Pulls daily data directly from FRED (Federal Reserve Economic Data).
Unit Correction: Automatically adjusts conflicting units (Millions vs Billions) from TradingView data feeds to output a correct value in Trillions of Dollars.
Trend Cloud: Features a smoothing EMA (Exponential Moving Average) with a color-coded cloud to easily identify the macro trend (Green for expansion, Red for contraction).
How to Use
Trend Correlation:
Rising Line (Green): Liquidity is expanding. Historically, this supports bullish trends in stocks and crypto.
Falling Line (Red): Liquidity is being drained (QT or TGA refill). This often leads to volatility or bearish trends in risk assets.
Divergences (The most powerful signal):
If the S&P 500 or Bitcoin makes a New High, but Net Liquidity makes a Lower High, it indicates a "hollow rally" lacking fundamental support, often preceding a correction.
Disclaimer
This tool is for educational purposes and macro-economic analysis only. It is not financial advice.
5-Min Range Breakout (09:30 NY on MNQ)This is a 5 - min orb strat that a youtuber mentioned and i had a manual look for a while and thought it was actually pretty good but my results are bad. Feel free to look yourself with this code.
Basically this strat is using the 5min orb then go down to 1min timeframe and wait for a breakout with FVG confirmation. So candle after breaking candle is our entry only if FVG is formed.
However i do notice if you dump this code onto 5min timefraem and above you start consistently making money but it is a very small amount for me so you all can have it. Good starter strat on 5min or 10min timeframe
Market Analysis Pro [Trademy]OVERVIEW
Trademy Market Analysis Pro is a professional-grade trading system that combines advanced momentum analysis with institutional-level Supply/Demand zone mapping. This indicator is designed to provide crystal-clear market analysis with precise risk management tools, creating a complete trading framework within a single, streamlined interface.
Unlike complex indicators that overwhelm traders with information, Trademy focuses on what matters: high-probability setups with clear entry points, defined risk levels, and multiple profit targets. The system is built to eliminate guesswork and provide actionable signals that work across multiple timeframes and asset classes eg: ( INDEX:BTCUSD , NASDAQ:NVDA and more )
CORE CONCEPTS
Advanced Momentum Engine: The foundation of Trademy Market Analysis Pro is a proprietary momentum detection system that identifies true directional shifts in the market. The algorithm analyzes price behavior relative to volatility-adjusted dynamic levels, generating signals only when genuine momentum reversals occur. The "Signal Sensitivity" control allows you to adapt the system from conservative (fewer, higher-quality signals) to aggressive (more frequent opportunities) based on your trading style and market conditions.
Institutional Supply/Demand Zones: The system automatically identifies and plots key institutional levels where significant buying (Demand) or selling (Supply) pressure has occurred. These zones are calculated using advanced price structure analysis, filtered through intelligent overlap detection to ensure only the most relevant zones appear on your chart. When price approaches these levels, they often act as strong support or resistance, providing logical areas for entries and exits.
Intelligent Signal Classification: Not all signals are created equal. Trademy categorizes every signal as either "Normal" or "Strong" based on its alignment with the broader market structure and trend context. Strong signals represent higher-conviction setups where momentum and trend align perfectly, while normal signals indicate counter-trend or early reversal opportunities.
Non-Repainting Architecture: Every signal is locked in at bar close (when enabled), and all TP/SL levels are calculated using volatility measurements captured at the moment of signal generation.
KEY FEATURES
Precision Signal System
Dual Signal Modes: Choose between Normal signals (standard momentum reversals) or Strong signals (high-conviction trend-aligned setups), or view both simultaneously
Wait for Bar Close: Optional no-repaint mode ensures signals only appear after candle confirmation
Visual Signal Hierarchy: Normal signals shown with standard arrows (▲/▼), Strong signals marked with distinctive colors for instant recognition
Adjustable Arrow Sizes: Customize signal display from tiny to large based on your chart preferences
Professional Risk Management
Automated TP/SL Calculation: Three take-profit levels (TP1, TP2, TP3) and one stop-loss level automatically calculated using advanced volatility measurement
Fixed Risk Levels: TP/SL lines are locked at signal generation and never move—providing consistent, reliable risk parameters
Visual Risk Zones: Optional colored zones highlight your risk and reward areas for instant position assessment
Adjustable Risk Multiplier: Scale your targets up or down with a single parameter while maintaining proper risk-reward ratios
Clear On-Chart Labels: Every level displays exact price values in an easy-to-read format
Supply/Demand Zone Mapping
Automatic Zone Detection: System identifies high-probability supply and demand zones using advanced price structure analysis
Anti-Overlap Algorithm: Intelligent filtering prevents zone clutter by removing overlapping levels
Extended Zone Projection: Zones extend into the future, showing you key levels before price reaches them
Break-of-Structure Tracking: Monitors when zones are broken and removes invalidated levels
Fully Customizable: Adjust zone colors, swing length, history depth, and box width to match your analysis style
Visual Customization
Flexible Color Schemes: Customize colors for bull/bear signals, TP/SL levels, and supply/demand zones
Trend Background: Optional background coloring to instantly visualize the current market bias
Support/Resistance Lines: Toggle automatic S/R level plotting from key price pivots
Multiple Arrow Sizes: Choose from tiny, small, normal, or large signal arrows
WHAT MAKES TRADEMY MARKET ANALYSIS PRO DIFFERENT
✅ Simplicity Meets Power
✅ TP/SL Levels
✅ Institutional Zone Integration
✅ Universal Indicator for all markets
✅ Multi-Timeframe Flexibility
BEST PRACTICES
📌 Always Use Stop-Loss: Enable the TP/SL system and respect your stop-loss levels,risk management is key to long-term success
📌 Backtest First: Before live trading, replay historical charts to understand signal behavior on your specific asset and timeframe
📌 Combine Timeframes: Use higher timeframe signals as your bias, enter on lower timeframe signals in the same direction
📌 Watch the Zones: Highest probability setups occur when signals align with supply/demand zones (buy near demand, sell near supply)
📌 Don't Chase: If you miss a signal, wait for the next one,forcing trades leads to losses
📌 Partial Profits: Consider taking partial profits at TP1, moving stop to breakeven, and letting the rest run to TP2/TP3
📩 ACCESS & SUPPORT
This is an invite-only indicator. For access inquiries, please contact via TradingView private message.
Important Disclaimers:
This indicator is a tool for technical analysis and does not constitute financial advice
Past performance does not guarantee future results
Always practice proper risk management and never risk more than you can afford to lose
Trading carries substantial risk of loss and is not suitable for all investors
Supports & Resistances with Trend Lines EMA + VWAP + RangeSupports & Resistances with Trend Lines + EMA + VWAP + Opening Range
Key Features:
• Automatic Support & Resistance Levels
→ Pivot-based strong S/R detect karta hai
→ Visual boxes + labels ke saath clean display
• Smart Trend Lines (Uptrend & Downtrend)
→ Valid trend lines automatically draw karta hai
→ Fake breakout wali lines filter ho jati hain
→ Green = Uptrend, Red = Downtrend
• 13 EMA (Color Changing)
→ Bullish = Bright Green | Bearish = Red
→ Trend direction ek second mein samajh aata hai
• Session VWAP (Daily Reset)
→ Accurate intraday VWAP with purple line
→ Institutional level ka important reference
• Multiple Opening Ranges
→ 5-minute Opening Range
→ 15-minute Opening Range
→ First 1-Hour Range
→ Full Day High/Low Range
→ Fill + labels + clean lines
• Fully Customizable
→ Har feature ko on/off kar sakte ho
→ Colors, alerts, labels sab change kar sakte ho
Best for: Intraday, Scalping, Swing Trading, BTC/ETH, NIFTY, BANKNIFTY, Stocks, Forex
Alerts Available:
- New Support/Resistance detected
- Support/Resistance breakout
Made with by KingKuldeep, for traders
Critical_Poly_divergenceDetects various divergences and acts as Decision Making tool. Only for Educational purpose
Volume Flow IndicatorVolume flow analysis
This indicator measures volume-weighted money flow by comparing price changes against a volatility-based threshold, then smoothing the result - when VFI is above zero (green cloud) it suggests accumulation/buying pressure, while below zero (red cloud) indicates distribution/selling pressure.
Krypton Fear & Greed + PURE PRICE ACTION👑 Krypton Fear & Greed + Pure Price Action
Unlock the power of pure price action with dynamic support/resistance levels based on market open
Perfect for NIFTY, BANKNIFTY, FINNIFTY, MIDCAPNIFTY, CRUDEOIL, STOCKS, BTCUSD, XAUUSD, EURUSD, SOLUSDT & more!
Core Features:
- Dynamic S/R Levels: 6 Supports (S1-S6) + 6 Resistances (R1-R6) calculated from session open price for each market type
→ Green for supports, Red for resistances – auto-drawn lines & labels that persist!
- Market Open (MO) Line: Highlights open price with time stamp (IST format)
- EMA 13: Auto-colored (green above, red below) + optional VWAP plot
- Weekly WTT/WTB Zones: Detects nearness to weekly high/low for big-picture context
- RSI Bar Coloring: Neutral gray bars (45-55 RSI) for chop detection
- Combined Table: Clean summary of SMI (Stochastic Momentum Index), RSI, VWAP & EMA20 trends
→ Bullish (green), Bearish (red), Neutral (gray) – with overbought/oversold alerts
→ Custom position (9 options) & size (Tiny to Huge)
- Alerts: Instant notifications for price near any S/R, VWAP, or MO
- SMI Oscillator: Overbought/oversold fills + EMA signal crossovers
Why it's a game-changer:
- Non-repainting levels – resets fresh each session
- Tailored for Indian indices (NIFTY etc.) + forex/crypto
- Fear & Greed via SMI/RSI: Spots reversals early
- Zero clutter: Everything overlays on price chart
Ideal for:
- Intraday scalpers hunting S/R bounces
- Positional traders watching MO/EMA breaks
From the mind of KULDEEP157 – simple, powerful.
👑KINGㅤKULDEEPKING KULDEEP PRO – The Ultimate All-in-One Trend Dashboard 👑
One indicator that rules them ALL.
This is not just a script — this is your complete trading command center.
Live on-chart dashboard combines 14+ powerful indicators and instantly tells you:
- Exact trend direction of every major signal
- When each indicator flipped (with 12-hour time stamp)
- Current market strength percentage (0-100%)
- India VIX fear level in real-time
What’s Inside:
• EMA 13, 21, 34, 200 (with auto color + touch detection)
• VWAP (daily reset, trend tracking)
• SuperTrend (ATR-based)
• Williams Alligator (full jaw/teeth/lips logic)
• MACD (classic crossover)
• Bollinger Bands (breakout detection)
• RSI (14) with overbought/oversold + neutral zone (45-55 bar coloring)
• Momentum, ADX + DI, ATR Volatility
• India VIX live reading (color-coded fear gauge)
Unique Features:
- Trend Strength Meter (0-100%) – combines ALL signals into one final verdict:
→ Strong Bullish | Bullish | Neutral | Bearish | Strong Bearish
- Every trend change timestamped (12-hour AM/PM format)
- Clean, beautiful on-chart table (4 positions, 5 text sizes)
- EMA 13 & 200 plotted directly on price chart (toggle on/off)
- RSI neutral zone (45-55) turns bars gray instantly
- Optional smoothing MA on RSI
Perfect for:
- Intraday & swing traders
- Nifty/BankNifty warriors
- Anyone who wants to see the entire market picture in ONE glance
No more switching tabs. No more confusion.
Just pure, clean, professional edge.
Coded with precision | Runs buttery smooth | Made for winners
Long live the King 👑
~ KULDEEP157
Grok Gold Master 2025Grok Gold Master 2025 – Full Indicator Description Always & Forever Free, only for self use only
(TradingView Pine Script v6 – specially built for XAUUSD / Gold)
This is a clean, professional, all-in-one Gold trading indicator designed for swing/day traders who want clear institutional-style levels, bias confirmation, and visual structure on the chart.
Core Purpose
Help you trade Gold (XAUUSD) with a high-probability bullish bias when price is above key levels, using a simple but powerful “3-zone” framework:
- Support (demand zone)
- Buy Zone (the sweet spot where you actually want to go long)
- Resistance (supply zone)
Main Visual Elements on the Chart
1. **Daily Range Box**
- A semi-transparent green box that covers the entire trading day from Support to Resistance
- Automatically refreshes every new day without any “future leak” errors
- Gives instant context of the current daily range
2. **Three Horizontal Levels (always visible)**
**
- Support → dashed lime line (default 4114)
- Buy Zone → thick solid yellow line (default 4180) ← your main long trigger level
- Resistance → dashed red line (default 4314)
3. **Zone Fills**
- Yellow fill between Support ↔ Buy Zone (caution/neutral area)
Green fill between Buy Zone ↔ Resistance (bullish control area)
4. **4-hour EMA 50 (thick dodger blue line)**
- Pulled from the 4H timeframe (multi-timeframe)
- Acts as dynamic trend filter
5. **Entry Signals**
- Big green “LONG” label + arrow appears only the first bar when:
close > Buy Zone AND close > 4H EMA 50
- Optional green triangles below bars when there is also high volume confirmation (volume > 1.5× 20-period average)
6. **Info Panel (top-right mini table + big label)**
Shows current values for:
- Support / Buy Zone / Resistance
- Current 4H EMA 50
- Live BIAS: “BULLISH – LONG ✅” (green) or “NEUTRAL – WAIT ⏸️” (gray)
Key Logic & Rules Built Into the Indicator
Bullish / Long condition (all must be true):
- Price closes above the Buy Zone level
- Price closes above the 4-hour EMA 50
When both are satisfied → entire info label turns green and says “BULLISH – LONG ✅”
If not → stays neutral/gray and tells you to wait.
Customization Options (Inputs)
- Show/hide the big info label
- Show/hide high-volume confirmation triangles
- Use Dynamic Levels → turn on to manually override the three levels with your own values (very useful when Gold breaks to new all-time highs or you spot new initiation levels)
Why This Indicator Feels “Institutional”
- Clean three-zone structure (exactly how smart money & banks draw their levels)
- Daily range box gives perfect context
- Multi-timeframe trend filter (4H EMA50)
- Volume spike confirmation option
- No repainting, no future leaks
- Instant visual bias at a glance
Best Used On
- XAUUSD (Gold) on 5m, 15m, 1H or 4H charts
- Works beautifully in both ranging and trending markets
In short: “Grok Gold Master 2025” is your 2025-2026 Gold trading dashboard — it tells you exactly where the important levels are, when the trend is truly bullish, and when to press the long button with confidence.
Just add it to your chart and you’ll immediately see why many Gold traders already using almost this exact setup. Now it’s packaged, automated, and looks gorgeous.
👑ᴀʟʟ ɪɴ 1 ᴀɴᴀʟʏꜱɪꜱ👑 All in 1 Analysis
The ultimate all-in-one oscillator – switch between 15 powerful indicators with just one dropdown. No more cluttered charts!
Instantly analyze any asset using your favorite tool:
• Volume (with bullish/bearish breakdown + MA)
• MACD (line, signal, histogram)
• RSI (with MA, Bollinger Bands, color zones)
• ATR (with moving average)
• Bull Bear Power
• MFI (Money Flow Index)
• Momentum
• Chop Zone (trend strength & direction)
• Williams %R
• Accumulation/Distribution
• Average Day Range (ADR)
• BBTrend
• BB %b (Bollinger Bands %b)
• RSI Candlestick Oscillator (with regular & hidden divergence lines on chart!)
• ADX and DI (trend strength + direction)
Key Features:
- One-click switch between all 15 indicators
- Beautiful, easy-to-read analysis table (appears automatically)
→ Current value + clear status (Bullish, Bearish, Overbought, etc.)
→ Fully customizable position (6 options) and size (Tiny to Large)
- All plots, colors, levels, and MAs are fully customizable
- Super clean and lightweight – runs fast on any timeframe
- RSI Candlestick mode draws divergence lines directly on your price chart!
Perfect for:
- Day traders who need quick insights
- Swing traders switching between tools
- Anyone tired of adding 10+ indicators manually
- Learning how different oscillators behave on the same chart
Why use 15 separate indicators when you can have them all in one?
One indicator. Endless analysis. Zero clutter.
Made with ❤️ by KULDEEP157 | Pine Script™ v6 | Updated & Optimized
ZenMatrix AlgoZenMatrix Algo – Matrix Range Levels
ZenMatrix Algo automatically identifies the early market range for each trading day and plots clean horizontal support and resistance levels based on that range designed by Finovatech Solutions.
These levels often become important price reaction zones throughout the session.
✔ Features :--
Automatically detects the opening range each day
Plots dynamic support & resistance zones
Helps identify breakout areas and intraday structure
Works on any market: Crypto, Forex, Stocks & Indices
Multiple timeframe compatibility
🎯 Best For :--
Intraday scalping
Swing trading confirmations
index traders
anyone who uses early-session ranges as part of their market analysis
How to Use :--
Price breaking above the upper level may indicate bullish momentum
Price dropping below the lower level may indicate bearish continuation
Combine these levels with price action, volume, trend indicators, or your own strategy
Disclaimer :--
This script is for educational purposes only and is not financial advice.
HTF Candle Overlay
This custom indicator is designed to help traders see *Higher Timeframe (HTF)* price action without leaving their current (lower timeframe) chart. It overlays the body and wicks of a larger candle (e.g., 4-hour or Daily) directly onto your 5-minute or 15-minute chart.
Key Functions
1. *Multi-Timeframe Visualization:* It draws the Open, High, Low, and Close of a higher timeframe candle (like the 4-hour) on top of your current chart.
2. *Live Projection:* As the live market moves, the indicator projects the expected width of the current HTF candle, allowing you to see it forming in real-time.
3. *Custom Styling:* You can toggle the background fill on/off and customize colors for bullish/bearish borders and backgrounds separately.
Practical Trading Uses
* Trend Alignment: Traders often use this to ensure they are trading in the direction of the higher timeframe trend. For example, if the 4-hour candle is green (Bullish), you might only look for buy setups on the 5-minute chart.
* Support & Resistance: The High and Low of the previous HTF candle often act as strong support or resistance levels. This indicator makes those levels immediately visible.
* Engulfing Patterns: You can easily spot if the current price action is "engulfing" the previous HTF candle, which can be a powerful reversal signal.
* Context for Scalping: Scalpers use this to avoid shorting into a strong bullish HTF candle or buying into a bearish one. It keeps you aware of the "bigger picture."."
Trading Session IL7 Session-Based Intraday Momentum IndicatorOverview
This indicator is designed to support discretionary traders by highlighting intraday momentum phases based on price behavior and trading session context.
It is intended as a confirmation tool and not as a standalone trading system or automated strategy.
Core Concept
The script combines multiple market observations, including:
- Directional price behavior within the current timeframe
- Structural consistency in recent price movement
- Session-based filtering to focus on periods with higher activity and liquidity
Signals are only displayed when internal conditions align, helping traders avoid low-quality setups during sideways or low-momentum market phases.
How to Use
This indicator should be used to confirm existing trade ideas rather than generate trades on its own.
It can help traders:
- Identify periods where momentum is more likely to continue
- Filter out trades during unfavorable market conditions
- Align intraday execution with higher-timeframe bias
Best results are achieved when used alongside key price levels, higher-timeframe structure and proper risk management.
Limitations
This indicator does not predict future price movements.
Signals may change during active candles.
Market conditions may reduce effectiveness during extremely low volatility periods.
Language Notice
The indicator’s user interface labels are displayed in German.
This English description is provided first to comply with TradingView community script publishing rules.
n-Day Stock Return with MAs and SlopesThis indicator calculates the n-day percentage return of a stock and visualizes it either as a histogram or line, with optional moving averages (MA1 and MA2) of the return and their slopes. The script highlights trend changes in the slopes of these moving averages by drawing colored horizontal markers at each reversal point—green for upward slope shifts, red for downward shifts, and gray when the slope turns flat—allowing users to quickly identify strengthening, weakening, or neutral return trends over time. It also includes optional slope plots for additional trend context and a zero reference line for distinguishing positive and negative performance.
FAD Dashboard (Future vs Spot)Inspired by Wealthcon
This dashboard shows Real Time sentiment of Future Asset Difference with Future price of 3 Main Index & 10 Most significant Nifty 50 stocks . But the list is user customisable.
Fut Up + FAD Up (Deep Green)
Fut Down + FAD Up (Deep Blue)
Fut Up + FAD Down (Yellow)
Fut Down + FAD Down (Red)
Only for Educational purpose.
EMA Market Structure [BOSWaves]// This Pine Script™ code is subject to the terms of the Mozilla Public License 2.0 at mozilla.org
// Join our channel for more free tools: t.me
// This Pine Script® code is subject to the terms of the Mozilla Public License 2.0 at mozilla.org
// © BOSWaves
//@version=6
indicator("EMA Market Structure ", overlay=true, max_lines_count=500, max_labels_count=500, max_boxes_count=500)
// ============================================================================
// Inputs
// ============================================================================
// Ema settings
emaLength = input.int(50, "EMA Length", minval=1, tooltip="Period for the Exponential Moving Average calculation")
emaSource = input.source(close, "EMA Source", tooltip="Price source for EMA calculation (close, open, high, low, etc.)")
colorSmooth = input.int(3, "Color Smoothing", minval=1, group="EMA Style", tooltip="Smoothing period for the EMA color gradient transition")
showEmaGlow = input.bool(true, "EMA Glow Effect", group="EMA Style", tooltip="Display glowing halo effect around the EMA line for enhanced visibility")
// Structure settings
swingLength = input.int(5, "Swing Detection Length", minval=2, group="Structure", tooltip="Number of bars to the left and right to identify swing highs and lows")
swingCooloff = input.int(10, "Swing Marker Cooloff (Bars)", minval=1, group="Structure", tooltip="Minimum number of bars between consecutive swing point markers to reduce visual clutter")
showSwingLines = input.bool(true, "Show Structure Lines", group="Structure", tooltip="Display lines connecting swing highs and swing lows")
showSwingZones = input.bool(true, "Show Structure Zones", group="Structure", tooltip="Display shaded zones between consecutive swing points")
showBOS = input.bool(true, "Show Break of Structure", group="Structure", tooltip="Display BOS labels and stop loss levels when price breaks structure")
bosCooloff = input.int(15, "BOS Cooloff (Bars)", minval=5, maxval=50, group="Structure", tooltip="Minimum number of bars required between consecutive BOS signals to avoid signal spam")
slExtension = input.int(20, "SL Line Extension (Bars)", minval=5, maxval=100, group="Structure", tooltip="Number of bars to extend the stop loss line into the future for visibility")
slBuffer = input.float(0.1, "SL Buffer %", minval=0, maxval=2, step=0.05, group="Structure", tooltip="Additional buffer percentage to add to stop loss level for safety margin")
// Background settings
showBG = input.bool(true, "Show Trend Background", group="EMA Style", tooltip="Display background color based on EMA trend direction")
bgBullColor = input.color(color.new(#00ff88, 96), "Bullish BG", group="EMA Style", tooltip="Background color when EMA is in bullish trend")
bgBearColor = input.color(color.new(#ff3366, 96), "Bearish BG", group="EMA Style", tooltip="Background color when EMA is in bearish trend")
// ============================================================================
// Ema trend filter with gradient color
// ============================================================================
ema = ta.ema(emaSource, emaLength)
// Calculate EMA acceleration for gradient color
emaChange = ema - ema
emaAccel = ta.ema(emaChange, colorSmooth)
// Manual tanh function for normalization
tanh(x) =>
ex = math.exp(2 * x)
(ex - 1) / (ex + 1)
accelNorm = tanh(emaAccel / (ta.atr(14) * 0.01))
// Map normalized accel to hue (60 = green, 120 = yellow/red)
hueRaw = 60 + accelNorm * 60
hue = na(hueRaw ) ? hueRaw : (hueRaw + hueRaw ) / 2
sat = 1.0
val = 1.0
// HSV to RGB conversion
hsv_to_rgb(h, s, v) =>
c = v * s
x = c * (1 - math.abs((h / 60) % 2 - 1))
m = v - c
r = 0.0
g = 0.0
b = 0.0
if (h < 60)
r := c
g := x
b := 0
else if (h < 120)
r := x
g := c
b := 0
else if (h < 180)
r := 0
g := c
b := x
else if (h < 240)
r := 0
g := x
b := c
else if (h < 300)
r := x
g := 0
b := c
else
r := c
g := 0
b := x
color.rgb(int((r + m) * 255), int((g + m) * 255), int((b + m) * 255))
emaColor = hsv_to_rgb(hue, sat, val)
emaTrend = ema > ema ? 1 : ema < ema ? -1 : 0
// EMA with enhanced glow effect using fills
glowOffset = ta.atr(14) * 0.25
emaGlow8 = plot(showEmaGlow ? ema + glowOffset * 8 : na, "EMA Glow 8", color.new(emaColor, 100), 1, display=display.none)
emaGlow7 = plot(showEmaGlow ? ema + glowOffset * 7 : na, "EMA Glow 7", color.new(emaColor, 100), 1, display=display.none)
emaGlow6 = plot(showEmaGlow ? ema + glowOffset * 6 : na, "EMA Glow 6", color.new(emaColor, 100), 1, display=display.none)
emaGlow5 = plot(showEmaGlow ? ema + glowOffset * 5 : na, "EMA Glow 5", color.new(emaColor, 100), 1, display=display.none)
emaGlow4 = plot(showEmaGlow ? ema + glowOffset * 4 : na, "EMA Glow 4", color.new(emaColor, 100), 1, display=display.none)
emaGlow3 = plot(showEmaGlow ? ema + glowOffset * 3 : na, "EMA Glow 3", color.new(emaColor, 100), 1, display=display.none)
emaGlow2 = plot(showEmaGlow ? ema + glowOffset * 2 : na, "EMA Glow 2", color.new(emaColor, 100), 1, display=display.none)
emaGlow1 = plot(showEmaGlow ? ema + glowOffset * 1 : na, "EMA Glow 1", color.new(emaColor, 100), 1, display=display.none)
emaCore = plot(ema, "EMA Core", emaColor, 3)
emaGlow1b = plot(showEmaGlow ? ema - glowOffset * 1 : na, "EMA Glow 1b", color.new(emaColor, 100), 1, display=display.none)
emaGlow2b = plot(showEmaGlow ? ema - glowOffset * 2 : na, "EMA Glow 2b", color.new(emaColor, 100), 1, display=display.none)
emaGlow3b = plot(showEmaGlow ? ema - glowOffset * 3 : na, "EMA Glow 3b", color.new(emaColor, 100), 1, display=display.none)
emaGlow4b = plot(showEmaGlow ? ema - glowOffset * 4 : na, "EMA Glow 4b", color.new(emaColor, 100), 1, display=display.none)
emaGlow5b = plot(showEmaGlow ? ema - glowOffset * 5 : na, "EMA Glow 5b", color.new(emaColor, 100), 1, display=display.none)
emaGlow6b = plot(showEmaGlow ? ema - glowOffset * 6 : na, "EMA Glow 6b", color.new(emaColor, 100), 1, display=display.none)
emaGlow7b = plot(showEmaGlow ? ema - glowOffset * 7 : na, "EMA Glow 7b", color.new(emaColor, 100), 1, display=display.none)
emaGlow8b = plot(showEmaGlow ? ema - glowOffset * 8 : na, "EMA Glow 8b", color.new(emaColor, 100), 1, display=display.none)
// Create glow layers with fills (from outermost to innermost)
fill(emaGlow8, emaGlow7, showEmaGlow ? color.new(emaColor, 97) : na)
fill(emaGlow7, emaGlow6, showEmaGlow ? color.new(emaColor, 95) : na)
fill(emaGlow6, emaGlow5, showEmaGlow ? color.new(emaColor, 93) : na)
fill(emaGlow5, emaGlow4, showEmaGlow ? color.new(emaColor, 90) : na)
fill(emaGlow4, emaGlow3, showEmaGlow ? color.new(emaColor, 87) : na)
fill(emaGlow3, emaGlow2, showEmaGlow ? color.new(emaColor, 83) : na)
fill(emaGlow2, emaGlow1, showEmaGlow ? color.new(emaColor, 78) : na)
fill(emaGlow1, emaCore, showEmaGlow ? color.new(emaColor, 70) : na)
fill(emaCore, emaGlow1b, showEmaGlow ? color.new(emaColor, 70) : na)
fill(emaGlow1b, emaGlow2b, showEmaGlow ? color.new(emaColor, 78) : na)
fill(emaGlow2b, emaGlow3b, showEmaGlow ? color.new(emaColor, 83) : na)
fill(emaGlow3b, emaGlow4b, showEmaGlow ? color.new(emaColor, 87) : na)
fill(emaGlow4b, emaGlow5b, showEmaGlow ? color.new(emaColor, 90) : na)
fill(emaGlow5b, emaGlow6b, showEmaGlow ? color.new(emaColor, 93) : na)
fill(emaGlow6b, emaGlow7b, showEmaGlow ? color.new(emaColor, 95) : na)
fill(emaGlow7b, emaGlow8b, showEmaGlow ? color.new(emaColor, 97) : na)
// ============================================================================
// Swing high/low detection
// ============================================================================
// Swing High/Low Detection
swingHigh = ta.pivothigh(high, swingLength, swingLength)
swingLow = ta.pivotlow(low, swingLength, swingLength)
// Cooloff tracking
var int lastSwingHighPlot = na
var int lastSwingLowPlot = na
// Check if cooloff period has passed
canPlotHigh = na(lastSwingHighPlot) or (bar_index - lastSwingHighPlot) >= swingCooloff
canPlotLow = na(lastSwingLowPlot) or (bar_index - lastSwingLowPlot) >= swingCooloff
// Store swing points
var float lastSwingHigh = na
var int lastSwingHighBar = na
var float lastSwingLow = na
var int lastSwingLowBar = na
// Track previous swing for BOS detection
var float prevSwingHigh = na
var float prevSwingLow = na
// Update swing highs with cooloff
if not na(swingHigh) and canPlotHigh
prevSwingHigh := lastSwingHigh
lastSwingHigh := swingHigh
lastSwingHighBar := bar_index - swingLength
lastSwingHighPlot := bar_index
// Update swing lows with cooloff
if not na(swingLow) and canPlotLow
prevSwingLow := lastSwingLow
lastSwingLow := swingLow
lastSwingLowBar := bar_index - swingLength
lastSwingLowPlot := bar_index
// ============================================================================
// Structure lines & zones
// ============================================================================
var line swingHighLine = na
var line swingLowLine = na
var box swingHighZone = na
var box swingLowZone = na
if showSwingLines
// Draw line connecting swing highs with zones
if not na(swingHigh) and canPlotHigh and not na(prevSwingHigh)
if not na(lastSwingHighBar)
line.delete(swingHighLine)
swingHighLine := line.new(lastSwingHighBar, lastSwingHigh, bar_index - swingLength, swingHigh, color=color.new(#ff3366, 0), width=2, style=line.style_solid)
// Create resistance zone
if showSwingZones
box.delete(swingHighZone)
zoneTop = math.max(lastSwingHigh, swingHigh)
zoneBottom = math.min(lastSwingHigh, swingHigh)
swingHighZone := box.new(lastSwingHighBar, zoneTop, bar_index - swingLength, zoneBottom, border_color=color.new(#ff3366, 80), bgcolor=color.new(#ff3366, 92))
// Draw line connecting swing lows with zones
if not na(swingLow) and canPlotLow and not na(prevSwingLow)
if not na(lastSwingLowBar)
line.delete(swingLowLine)
swingLowLine := line.new(lastSwingLowBar, lastSwingLow, bar_index - swingLength, swingLow, color=color.new(#00ff88, 0), width=2, style=line.style_solid)
// Create support zone
if showSwingZones
box.delete(swingLowZone)
zoneTop = math.max(lastSwingLow, swingLow)
zoneBottom = math.min(lastSwingLow, swingLow)
swingLowZone := box.new(lastSwingLowBar, zoneTop, bar_index - swingLength, zoneBottom, border_color=color.new(#00ff88, 80), bgcolor=color.new(#00ff88, 92))
// ============================================================================
// Break of structure (bos)
// ============================================================================
// Track last BOS bar for cooloff
var int lastBullishBOS = na
var int lastBearishBOS = na
// Check if cooloff period has passed
canPlotBullishBOS = na(lastBullishBOS) or (bar_index - lastBullishBOS) >= bosCooloff
canPlotBearishBOS = na(lastBearishBOS) or (bar_index - lastBearishBOS) >= bosCooloff
// Bullish BOS: Price breaks above previous swing high while EMA is bullish
bullishBOS = showBOS and canPlotBullishBOS and emaTrend == 1 and not na(prevSwingHigh) and close > prevSwingHigh and close <= prevSwingHigh
// Bearish BOS: Price breaks below previous swing low while EMA is bearish
bearishBOS = showBOS and canPlotBearishBOS and emaTrend == -1 and not na(prevSwingLow) and close < prevSwingLow and close >= prevSwingLow
// Update last BOS bars
if bullishBOS
lastBullishBOS := bar_index
if bearishBOS
lastBearishBOS := bar_index
// Plot BOS with enhanced visuals and SL at the candle wick
if bullishBOS
// Calculate SL at the low of the current candle (bottom of wick) with buffer
slLevel = low * (1 - slBuffer/100)
// BOS Label with shadow effect
label.new(bar_index, low, "BOS", style=label.style_label_up, color=color.new(#00ff88, 0), textcolor=color.black, size=size.normal, tooltip="Bullish Break of Structure SL: " + str.tostring(slLevel))
// Main SL line at candle low
line.new(bar_index, slLevel, bar_index + slExtension, slLevel, color=color.new(#00ff88, 0), width=2, style=line.style_dashed, extend=extend.none)
// SL zone box for visual emphasis
box.new(bar_index, slLevel + (slLevel * 0.002), bar_index + slExtension, slLevel - (slLevel * 0.002), border_color=color.new(#00ff88, 60), bgcolor=color.new(#00ff88, 85))
// S/R label
label.new(bar_index + slExtension, slLevel, "S/R", style=label.style_label_left, color=color.new(#00ff88, 0), textcolor=color.black, size=size.tiny)
if bearishBOS
// Calculate SL at the high of the current candle (top of wick) with buffer
slLevel = high * (1 + slBuffer/100)
// BOS Label with shadow effect
label.new(bar_index, high, "BOS", style=label.style_label_down, color=color.new(#ff3366, 0), textcolor=color.white, size=size.normal, tooltip="Bearish Break of Structure SL: " + str.tostring(slLevel))
// Main SL line at candle high
line.new(bar_index, slLevel, bar_index + slExtension, slLevel, color=color.new(#ff3366, 0), width=2, style=line.style_dashed, extend=extend.none)
// SL zone box for visual emphasis
box.new(bar_index, slLevel + (slLevel * 0.002), bar_index + slExtension, slLevel - (slLevel * 0.002), border_color=color.new(#ff3366, 60), bgcolor=color.new(#ff3366, 85))
// S/R label
label.new(bar_index + slExtension, slLevel, "S/R", style=label.style_label_left, color=color.new(#ff3366, 0), textcolor=color.white, size=size.tiny)
// ============================================================================
// Dynamic background zones
// ============================================================================
bgcolor(showBG and emaTrend == 1 ? bgBullColor : showBG and emaTrend == -1 ? bgBearColor : na)
// ============================================================================
// Alerts
// ============================================================================
alertcondition(bullishBOS, "Bullish BOS", "Bullish Break of Structure detected!")
alertcondition(bearishBOS, "Bearish BOS", "Bearish Break of Structure detected!")
alertcondition(emaTrend == 1 and emaTrend != 1, "EMA Bullish", "EMA turned bullish")
alertcondition(emaTrend == -1 and emaTrend != -1, "EMA Bearish", "EMA turned bearish")
// ╔════════════════════════════════╗
// ║ Download at ║
// ╚════════════════════════════════╝
// ███████╗██╗███╗ ███╗██████╗ ██╗ ███████╗
// ██╔════╝██║████╗ ████║██╔══██╗██║ ██╔════╝
// ███████╗██║██╔████╔██║██████╔╝██║ █████╗
// ╚════██║██║██║╚██╔╝██║██╔═══╝ ██║ ██╔══╝
// ███████║██║██║ ╚═╝ ██║██║ ███████╗███████╗
// ╚══════╝╚═╝╚═╝ ╚═╝╚═╝ ╚══════╝╚══════╝
// ███████╗ ██████╗ ██████╗ ███████╗██╗ ██╗
// ██╔════╝██╔═══██╗██╔══██╗██╔════╝╚██╗██╔╝
// █████╗ ██║ ██║██████╔╝█████╗ ╚███╔╝
// ██╔══╝ ██║ ██║██╔══██╗██╔══╝ ██╔██╗
// ██║ ╚██████╔╝██║ ██║███████╗██╔╝ ██╗
// ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
// ████████╗ ██████╗ ██████╗ ██╗ ███████╗
// ╚══██╔══╝██╔═══██╗██╔═══██╗██║ ██╔════╝
// ██║ ██║ ██║██║ ██║██║ ███████╗
// ██║ ██║ ██║██║ ██║██║ ╚════██║
// ██║ ╚██████╔╝╚██████╔╝███████╗███████║
// ╚═╝ ╚═════╝ ╚═════╝ ╚══════╝╚══════╝
// ==========================================================================================
Breaker Blocks [TakingProphets]Breaker Blocks
Smart Money “breaker” zones automatically mapped on your chart.
This tool is designed for traders who use ICT / Smart Money concepts and want a clean, automated way to see breaker blocks form and evolve in real time.
-----------------------------------------------------------------------------------------------
🔍 What this indicator does
The script automatically detects potential bullish and bearish breaker blocks after a market structure shift, then draws and maintains those zones on your chart:
-Plots bullish breaker blocks as green shaded zones.
-Plots bearish breaker blocks as red shaded zones.
-Optionally shows the 50% (midline) of each breaker for refinement.
-Keeps a rolling list of the most recent breakers and removes older ones to keep your chart clean.
-Optionally hides breakers once price closes through them (invalidation), so only active zones remain.
It’s built to work on any symbol and any timeframe. Lower timeframes will naturally generate more breakers; higher timeframes will show fewer, more significant zones.
Important: This script does not open, manage, or close trades for you. It only visualizes price zones that may be relevant to your own strategy and analysis.
-----------------------------------------------------------------------------------------------
🧠 Core logic (high level)
Under the hood, the indicator:
Uses an internal zigzag swing structure to track major pivot highs and lows.
Watches for a market structure shift (MSS):
Bullish MSS: price closes above a prior swing high.
Bearish MSS: price closes below a prior swing low.
Once an MSS is confirmed, it:
Locates the relevant impulse candle(s) that price traded through.
Defines the breaker block using the high/low (or body vs. wick, based on internal settings).
Draws a breaker box from that origin forward in time.
Each breaker is stored as an internal object with:
Direction (bullish or bearish)
Top and bottom prices
Visual boxes and an optional midline
On every new candle, all active breakers are updated:
Extended forward as new bars print.
Optionally invalidated and deleted if price closes back through the breaker in the opposite direction.
This gives you a dynamic map of which breaker blocks are still “respected” by price and which have failed.
-----------------------------------------------------------------------------------------------
⚙️ Key Inputs & Settings
All user-facing options are grouped under “Breaker Blocks” for a clean UI.
-Display Breaker Block
Toggle the visualization on/off without removing detection logic.
-Bullish Color / Bearish Color
Choose the fill color for bullish and bearish breaker zones.
-Show 50% Line
Plots a dashed line at the mid-point of each breaker block.
Helpful if you use the 50% level as a refinement or entry anchor.
-Max Visible
Limits how many of the most recent breaker blocks stay on the chart.
Older breakers are deleted once this limit is exceeded (keeps things clean and lightweight).
-Hide When Invalidated
If enabled:
Bullish breaker is hidden once price closes below its low.
Bearish breaker is hidden once price closes above its high.
If disabled, breakers remain visible even after those closes (for study / backtesting purposes).
These options allow you to run the tool in either a minimal, current-context only mode, or a more historical, educational mode.
-----------------------------------------------------------------------------------------------
🧭 How traders might use it
Some common ways traders may incorporate breaker blocks into their own plans:
As context zones around which to look for entries using their personal triggers.
As potential support/resistance areas after a shift in structure.
To visually separate active vs. invalidated zones instead of manually redrawing them.
In confluence with other SMC tools (FVGs, liquidity pools, PD arrays, etc.) and higher-timeframe bias.
This indicator is intended as a visual aid and works best when combined with a complete trading plan, risk management rules, and your own discretion.
-----------------------------------------------------------------------------------------------
⚠️ Disclaimer
This indicator does not guarantee profits or specific outcomes.
It is provided for educational and informational purposes only.
Past price behavior around breaker blocks does not imply future results.
Always test any tool on a demo account or in a simulated environment before using it with real capital.
Trading involves risk, and you are solely responsible for your own decisions.






















