Target Trend Stoploss✅ How To Trade — Step-By-Step
📌 1️⃣ First decide the market condition
Before taking any trade, check:
Market Type How to identify Your Action
🟢 Trending Price above EMA200 (uptrend) / below for downtrend Trade with trend direction only
🔵 Range EMAs flat & price swinging both sides Skip trading or switch to range strategy
If price is near EMA200 → Avoid (because reversal or whipsaw likely).
📌 2️⃣ Mark your Entry Setup
Wait for:
1️⃣ Trend Direction confirmed
2️⃣ A pullback into support/resistance
3️⃣ Signal from your indicator (arrow / breakout)
Example Long Setup:
✔ Price above EMA200
✔ Pullback to EMA80 or trendline
✔ Bullish candle closes strong
✔ Indicator gives UP signal
Example Short Setup:
✔ Price below EMA200
✔ Pullback up to resistance
✔ Bearish confirmation
✔ Indicator gives DOWN signal
👉 NO SIGNAL = NO TRADE
(Do not try to guess the market)
📌 3️⃣ Calculate Risk & Position Size
Always risk 1–2% maximum per trade.
SL goes:
Below swing low (in uptrend)
Above swing high (in downtrend)
🎯 Your script already gives:
Entry (close price)
SL line
TP1, TP2, TP3 targets
📌 4️⃣ Take Profit Strategy
Follow this rule:
Target Action
TP1 Book 50% profits, move SL to breakeven
TP2 Book 30–40%
TP3 Let runner trail with trend
This way:
Even if trend reverses after TP1 → no loss trade
📌 5️⃣ Exit When Opposite Signal Comes
❌ Incorrect: Holding hoping it will return
✔ Correct: Exit when:
SL hit ❌
Trend changes & opposite arrow appears 🔁
Price closes beyond EMA200
📈 Trade Checklist (Use Before Entering)
✔ What is trend? (Up/Down/Flat?)
✔ Is there a clear swing point?
✔ Did indicator give a valid signal?
✔ Is reward > risk? (Min 1:2 RR)
✔ Not near major news event?
✔ Position size correct?
If any ❌ → Skip the trade
المؤشرات والاستراتيجيات
DS Gurukul round up Bank 75Roundup (Support & Resistance Indicator) For Bank Nifty
By DS Gurukul
Version : 2.0
To be used only for Bank Nifty.
Indicator Overview
The Round Figure Indicator identifies key psychological support and resistance levels based on round numbers. These levels often act as strong turning points in price action due to trader psychology and institutional order placement.
How It Works
Key Levels:
Mid Band (Black Solid Line): Major round number
Upper Band (Green Solid Line): Mid Band (resistance)
Lower Band (Red Solid Line): Mid Band (support)
Sub-Bands (Dotted Lines): ±0.10 levels for tighter zones
Alerts: Triggers when price touches any band, signaling potential reversals or breakouts.
Trading Strategy
✅ Bounce Trades:
Buy near Lower Band or Mid Sub-Lower with bullish confirmation (e.g., hammer candle).
Sell near Upper Band or Mid Sub-Upper with bearish rejection (e.g., shooting star).
✅ Breakout Trades:
Enter long on a close above Upper Band with volume.
Enter short on a close below Lower Band with momentum.
⚠️ Risk Management:
Place stops just beyond the opposite sub-band.
Avoid trading if price is stuck between mid/sub-bands (choppy market).
Why It Works
Round numbers attract limit orders (support/resistance).
Institutions use these levels for stop placements and profit targets.
Works across all timeframes (scalping to swing trading).
🔔 Tip: Combine with RSI/MACD for higher-probability trades!
range calculation and targetsrange calculation and targets for everyone with targets both bullish and bearish
ICT FVG & Order Flow (start version) [vanchesz]Overview
Master liquidity with precision. This indicator brings the iCT trading concept to life by automatically detecting liquidity pools, fair value gaps, and key swing points. It shows you exactly where price is likely to move next — from Internal Range Liquidity (IRL) to External Range Liquidity (ERL). With built-in multi-timeframe validation, it helps you stay one step ahead of the market.
Concept
Markets move where liquidity is. According to iCT theory, price usually sweeps internal liquidity (IRL) first and then hunts for external liquidity (ERL). By mapping this process in real time, the indicator provides a clear framework for understanding market structure, liquidity grabs, and directional bias.
High Probability Leg
Context States
Key Features
Detects the High-Probability Leg (HPL) — the leg containing a fair value gap (FVG)
Highlights unmitigated FVGs within the current context.
Marks swing points (SP), IRL levels, and ERL targets automatically.
Identifies IRL rejections when liquidity is taken inside the leg
Multi-timeframe sweep check – if a single candle takes both IRL and ERL, the indicator zooms into a lower timeframe to confirm which liquidity was swept first
Flexible settings for swing points, look back bar count, depth, colors, and style
How to use
Start from the monthly chart to define the macro trend.
Analyze the latest order flow leg:
Bullish FVG = bullish context, Bearish FVG = bearish context
Step down to the daily timeframe and repeat the analysis.
Wait for price to reject from IRL (the indicator highlights it automatically).
Drop to a lower timeframe for entries — use timeframe alignment to select the right LTF.
Enter with the FVG model, targeting liquidity within the leg.
Place take profit inside the context — e.g., never above ERL(in a bullish setup).
Pro version gives you
Alerts for all context events (New context, New FVG, IRL rejection, Context failing by 2CR, ERL/SP sweep
Check of context failing by 2CR (two candle rejection)
Suggestions for every context state
This indicator is provided solely for educational and informational purposes.
It does not constitute financial advice, trading signals, or a recommendation to buy or sell any instrument.
Weekly & Monthly Thresholds + VIX-Based Dynamic TargetsWeekly & Monthly Thresholds + VIX-Based Dynamic Targets
MultiMode RSI System — ChechelyanMultiMode RSI System is an advanced market analysis tool built on the classic RSI indicator.
The system includes multiple calculation modes, additional filters, and extended signal logic designed to help users evaluate market conditions in different phases of price movement.
The indicator provides:
several RSI calculation modes;
dynamic levels;
on-chart signal markers;
trend and range filters;
customizable visual settings.
This tool is intended solely for analytical and visual market assessment.
It is not a trading or financial advice.
EMA SMA Rhythmic Lite Public V1.0 by SRT📌 EMA SMA Rhythmic Lite Public V1.0 by SRT
A clean, fast, non-repainting trend-rhythm indicator designed for swing traders, reversal reads, and structure-based entries. Built on fixed EMAs + SMAs, it offers Engulfing Bars (EB), Long-Tail Body (LTB) signals, rhythmic Flush Dots, and a real-time Bias Table.
Perfect for traders who want clear directional guidance without clutter or over-optimization.
🔶 Key Features
1. Fixed MA Rhythm Engine
MA1: EMA
MA2: EMA
MA3: SMA
MA4: SMA
Stacking forms the core “trend rhythm” for quick bias reading.
2. Engulfing Bars (EB) — Non-Repainting
Detects previous bar only, filters weak signals using ATR size and minimum body %. Outputs EBull and EBear with 20-label cap.
3. Long-Tail Body (LTB)
Identifies exhaustion/reversal areas with tail % thresholds, body position filters, optional body size filter, and ATR thresholds. Produces LTB Bull and LTB Bear.
4. MA Flush Dots
Rhythmic compression markers: bullish at the bottom, bearish at the top — ideal for spotting MA squeezes and momentum resets.
5. Bias Table (Top-Right)
Compact real-time sentiment showing:
MA Bias (Bullish / Bearish / Neutral)
LTB presence (Yes / No)
🔶 Alerts Included
Signal Bar Formed
Bullish Combo
Bearish Combo
All non-repainting (previous bar logic).
🔶 Ideal For
Swing traders
Trend continuation setups
Reversal exhaustion reads
Structure-based entries
Clean, non-spammy signals
🔶 Premium Version Intro
For traders seeking the full rhythm engine, consider the EMA SMA Rhythmic Trend Premium V1.0 by SRT.
It includes advanced rhythm alerts, enhanced LTB logic, optional EMA/SMA dynamic switching, extra visualization features, and customizable MA stacking, providing a comprehensive toolset for serious trend and reversal strategies.
🔶 Notes
Fully non-repainting
Flush markers, labels, and MA visibility are fully user-controlled
Code is locked to preserve original logic and prevent redistribution
Enjoy the rhythm.
- SRT
XAUMO MegaBar VSA by Mohamed Mahmoud XAUMO MegaBar VSA — Smart Money Breakout & Reversal Engine for XAUUSD
(Educational Use Only)
1) WHAT THIS INDICATOR DOES
XAUMO MegaBar VSA is an institutional-style smart money engine for XAUUSD designed to show you what professional money is doing, not just where price is moving.
It combines:
- MegaBar detection on 1H and 15m
- VSA (Volume Spread Analysis) events
- VPOC / WVPOC and volume clusters
- Liquidity sweeps, CHoCH, order blocks, FVGs
- Full Fibonacci leg mapping (retracements + extensions)
- Pre-built execution ladders (Entry, SL, TP1–TP4, Reverse Fib trades)
All in one dashboard with:
- Color-coded candles
- Clean, ATR-offset labels
- Optional tables and debug panels
So traders can quickly decide:
“Is this move driven by smart money, or is it just noise?”
2) CORE MODULES & FEATURES
A) SESSION + ACCUMULATION / DISTRIBUTION CONTEXT
- Session filter: London, New York, Overlap, or custom.
- Accumulation / distribution zones shaded on chart with adjustable colors/opacity.
- Quick legend so you always know if the market is in “smart money accumulation” or “distribution”.
HOW TRADERS USE IT:
Focus only on your trading session and instantly see if volume is building (accumulation), unloading (distribution), or flat. This helps you avoid trading in dead liquidity.
--------------------------------------------------
B) MEGABAR ENGINE + FIB MAP
- Automatically detects “MegaBars” (institutional candles) on 15m and 1H.
- Uses body size, range, and volume to pick only meaningful bars.
- Builds a full Fibonacci map from each active MegaBar:
• Retracements: 0, 13, 23.6, 38.2, 50, 61.8, 78.6, 86.2, 100, and -33.
• Extensions: 125% up to 600%+ (configurable ladder).
- Per-level style controls:
• Color, width, line style (solid/dotted/dashed).
• Optional price labels with ATR-based offsets.
- Main Fib legend that explains shallow / normal / deep reload zones.
HOW TRADERS USE IT:
You stop guessing where to buy or sell. You trade around the institutional leg:
- Buy dips into defined reload zones after bullish MegaBars.
- Sell rallies into extension zones after bearish MegaBars.
- Use clean, pre-mapped structure for both scalps and swings.
--------------------------------------------------
C) VSA ENGINE + CANDLE LABELING
- Detects a full set of VSA events such as:
• No Demand / No Supply
• Stopping Volume
• Absorption
• Springs / Upthrusts
• Buying Climax / Selling Climax
• Bullish / Bearish EVR
• Tests and confirmed VSA signals at S/R
- Enhances with:
• Body vs total range analysis
• Wick dominance for exhaustion vs aggression
• Momentum and volume confirmation filters
HOW TRADERS USE IT:
Each label becomes a “comment” from smart money on the chart:
- “No Demand” near resistance + weak RVOL = skip long entries.
- “Stopping Volume” + spring at Fib reload zone + VPOC cluster = potential high-quality long.
- Combine VSA with the MegaBar Fib map and volume profile for structured decisions.
--------------------------------------------------
D) SUPERSONIC BREAKOUT ENGINE
- Calculates a breakout strength score using:
• RVOL and volume expansion
• Spread expansion vs recent bars
• Body quality (body vs range)
• Bar progress (how much of the candle’s time has elapsed)
- Differentiates:
• Potential vs confirmed breakouts
• Strong, volume-backed moves vs weak spikes
- Optional debug label explaining:
• Momentum score
• Volume ratio and RVOL
• Spread behaviour
• Body quality
• Bar elapsed %
HOW TRADERS USE IT:
You avoid chasing every big candle.
You only act when:
- Breakout strength is high,
- Volume confirms the move,
- Structure (Fib / VPOC / CHoCH) is aligned.
--------------------------------------------------
E) VPOC / WVPOC CLUSTERS & DYNAMIC ZONES
- Tracks real-time VPOC and WVPOC.
- Identifies VPOC/WVPOC clusters as powerful S/R zones.
- Confirms bullish or bearish breaks when price clears these levels with volume.
- Provides dynamic SL and TP logic:
• SL near/behind VPOC with ATR buffer.
• TP ladders aligned with volume structure.
HOW TRADERS USE IT:
You anchor your risk to where the most volume traded, not random price points:
- Use VPOC as a rational stop placement.
- Treat VPOC/WVPOC clusters as “coiled springs” – zones where large moves often start.
--------------------------------------------------
F) SMART MONEY ENTRY ENGINE (1H + 15M MEGABARS)
- Uses MTF `request.security` logic to bring 1H MegaBars into lower timeframes.
- Identifies:
• 1H + 15m confluence entries (A-grade setups).
• Single-TF entries (B-grade setups).
- Pre-calculates for each scenario:
• Entry level (Fib-based within the MegaBar range).
• Stop loss (beyond range or leg-based).
• TP1–TP4 along Fib extensions / structure.
- Labels show:
• “Entry = …”
• “SL = …”
• “TP1 = … / TP2 = … / TP3 = … / TP4 = …”
with adjustable font size and ATR-based offsets.
- Optional “show only latest” mode to keep your chart clean.
- Alert-ready so you can receive notifications when conditions are met.
HOW TRADERS USE IT:
You get a fully defined execution ladder:
- The engine tells you where a logical entry is,
- Where a logical SL should be,
- And how to scale out with multiple targets.
You can use:
- Confluence setups for main trades,
- Single-TF setups for more frequent but lower conviction trades.
--------------------------------------------------
G) REVERSE FIB TRADING MODULE
- Triggers after extended moves when key TPs are hit.
- Looks for:
• Rejection candles at or beyond major extensions.
• Exhaustion + VSA confirmation.
- Builds a reverse (counter-trend) Fib plan:
• Counter-trend entry from extension extremes.
• TP ladder based on 0.618, 0.786, 1.236, 1.382, 1.5, 1.618, 2.0, etc.
• SL and TSL based on ATR and Fib distance.
- ATR timeframe adapts to chart timeframe.
HOW TRADERS USE IT:
You can fade overextended moves once structure and P/A agree:
- Trend traders can use it to tighten or exit.
- Counter-trend traders can structure “fade” setups with defined risk.
--------------------------------------------------
H) LIQUIDITY SWEEPS, CHoCH, ORDER BLOCKS, FVGs
- Detects sweeps above highs and below lows (liquidity grabs).
- Marks CHoCH (Change of Character) when structure flips with volume.
- Basic smart money order block detection (bullish / bearish).
- FVGs (Fair Value Gaps) shaded on chart, removed when filled.
HOW TRADERS USE IT:
Combine sweeps + CHoCH + MegaBar + VSA + VPOC:
- Join clean, volume-backed continuations.
- Fade obvious stop hunts when they reject into strong zones.
--------------------------------------------------
I) VSA + BREAKOUT DASHBOARD TABLE (OPTIONAL)
- Compact table with:
• VSA context
• Breakout score
• RVOL / volume status
• Spread and candle quality
• ATR regime
• Close position within the bar
• VPOC and elapsed bar percentage
HOW TRADERS USE IT:
Before pressing the button, glance at the table:
- Is volatility supportive?
- Is volume confirming?
- Is this a clean breakout or a tired move?
This pushes you toward rule-based execution and away from impulse.
--------------------------------------------------
3) TYPICAL TRADING WORKFLOW WITH XAUMO MEGABAR VSA
A) Pick timeframe and session
- Use 15m or 1H on XAUUSD.
- Align the indicator’s session inputs with your actual trading hours.
B) Read context first
- Check accumulation / distribution zones.
- Look at VSA events and the breakout engine.
- Note where VPOC / WVPOC are relative to price.
C) Find the active MegaBar and its Fib structure
- Identify the most recent bull/bear MegaBar.
- See if price is:
• Pulling back into reload zones,
• Breaking out of them,
• Or extending into high-risk zones.
D) Wait for smart money confirmation
- Look for:
• Confluence setups (1H + 15m MegaBars),
• Strong breakout score,
• Valid VSA signals,
• Helpful structure: CHoCH, FVG, sweeps.
E) Execute using the printed ladders
- Use the on-chart Entry / SL / TP labels as your execution framework.
- Adjust lot size and risk % according to your own plan.
F) Manage and exit
- Use ATR / VPOC logic to trail or lock profits.
- Rotate to reverse Fib setups if extensions look exhausted.
4) WHO THIS INDICATOR IS FOR
- Gold traders (XAUUSD CFD or spot) on 15m and 1H.
- Traders who prefer institutional structure (volume, VPOC, SMC, Fib) over simple indicators.
- Traders who want pre-structured entries, SL, and TP ladders without losing flexibility.
- Advanced students of VSA and smart money concepts who want everything in one tool.
5) FULL EDUCATIONAL DISCLAIMER (READ CAREFULLY)
- This indicator and all descriptions are for EDUCATIONAL PURPOSES ONLY.
- NOTHING in this script, its labels, tables, alerts, outputs, or documentation is:
• Investment advice
• Trading advice
• A recommendation to buy or sell any asset
• A signal service or portfolio management tool
- Markets are risky. Trading leveraged instruments such as CFDs, futures, or margin products involves a HIGH RISK of loss, including the possible loss of ALL invested capital.
- Past performance, backtests, or hypothetical examples DO NOT guarantee future results.
- Any probabilities, scores, or “quality levels” shown by the indicator are purely algorithmic and DO NOT represent guarantees or promises of profit.
- You are solely responsible for:
• Your position sizing
• Your leverage
• Your entries, exits, and risk management
• Compliance with local regulations and tax rules
- Before trading live with real money, you should:
• Thoroughly backtest and forward-test the indicator.
• Use a demo account to understand how signals behave in real time.
• Consult a licensed financial professional if you need personalised investment or trading advice.
- By using this indicator:
• You accept that the author and any associated entities or brands (including XAUMO, XAUMO indicators, and any promotional text) bear NO LIABILITY for any financial losses, missed gains, or decisions you make based on this tool.
• You agree that you are acting entirely at your own risk and that all outputs are informational and educational, not prescriptive trading instructions.
In short:
Use XAUMO MegaBar VSA as a powerful educational and analytical companion,
NOT as a substitute for your own independent judgment, testing, and risk control.
=====================================================
XAUMO MegaBar VSA — محرّك البريك آوت و الريفرسال بتاع السمارت ماني للدهب
( استخدام تعليمي بس)
1) المؤشّر ده بيعمل إيه؟
XAUMO MegaBar VSA معمول مخصوص للـ XAUUSD عشان يورّيك "الفلوس الكبيرة" بتتحرك إزاي،
مش بس السِعر رايح فين.
بيجمع في حتّة واحدة:
- رصد MegaBar على الساعة والربع ساعة
- VSA (Volume Spread Analysis) – سلوك الفوليوم جوّه الشمعة
- VPOC / WVPOC و تجمّعات الفوليوم المهمّة
- سويپس لليكويديتي + CHoCH + Order Blocks + FVGs
- خريطة فيبوناتشي كاملة (Retrace + Extensions)
- سلالم تنفيذ جاهزة (Entry, SL, TP1–TP4 + صفقات Reverse Fib)
وكل ده:
- بألوان واضحة على الشموع
- لِيبلات متظبّطة بـ ATR Offset
- Tables و Panels اختيارية
عشان المتداول يسأل نفسه:
"الحركة دي بتاعة سمارت ماني؟ ولا مجرد دوشة ملوش لازمة؟"
2) أهم الموديولات اللي جوّه المؤشّر
A) الكونتكست بتاع السيشن + تجميع/توزيع
- فلتر جلسات: لندن – نيو يورك – overlap – أو وقت تحطّه انت.
- مناطق Accumulation / Distribution متظلّلة بألوان أنت بتختارها.
- لچند بسيط يوضّح لك السوق دلوقتي: تجميع؟ توزيع؟ ولا نايم.
المتداول يستخدمه إزاي؟
تركّز بس في الجلسة اللي انت شغّال فيها، وتشوف فورًا:
فيه بناء مراكز؟ فيه تصريف؟ ولا مفيش فوليوم أصلاً؟
ده يقلّل دخولك في أوقات السوق فيها “ميت”.
--------------------------------------------
B) محرّك الـ MegaBar + خريطة الفيبوناتشي
- المؤشّر يلقط لوحده الـ MegaBars (شموع مؤسّسات) على 15m و 1h.
- بيعتمد على: حجم الجسم، مدى الشمعة، الفوليوم.
- يرسم خريطة فيبوناتشي كاملة من الرجل الأساسية:
• Retrace: 0, 13, 23.6, 38.2, 50, 61.8, 78.6, 86.2, 100, -33
• Extensions: من 125% لحد 600%+ (سلم قابل للتعديل)
- لكل مستوى:
• لون / سماكة / ستايل (سوليد – دوتيد – داشد)
• ليبل سِعر مع Offset بـ ATR
- لچند يشرح لك Reload Zones: ضحلة / عادية / عميقة.
المتداول يستخدمه إزاي؟
بدل ما “تخمّن” فين تشتري وتبيع:
- تشتري الدِپ جوّه مناطق Reload بعد MegaBar صاعد.
- تبيع الريبوند جوّه Extensions بعد MegaBar هابط.
- عندك هيكل واضح للسوينج والسكالب من غير فوضى.
--------------------------------------------
C) VSA + لِيبلات على الشموع
- يكتشف أحداث VSA زي:
• No Demand / No Supply
• Stopping Volume
• Absorption
• Spring / Upthrust
• Buying / Selling Climax
• EVR (شموع مجنونة فوليومًا)
• Tests و Confirmed Signals عند الدعوم/المقاومات
- مع تحسينات:
• تحليل Body vs Range
• مين اللي غالب؟ جسم الشمعة ولا الذيول؟
• فلتر Momentum + Volume
المتداول يستخدمه إزاي؟
كل ليبل على الشمعة = كومنت من السمارت ماني:
- No Demand عند مقاومة + RVOL ضعيف → بلاش تشتري.
- Stopping Volume + Spring جوّه Reload Zone + VPOC → فرصة قوية للشراء.
- توصل بين VSA + Fib + VPOC فتفهم “مين بيكسب المعركة”.
--------------------------------------------
D) محرّك البريك آوت Supersonic
- بيحسب Score للقوة بتاعة البريك آوت من:
• RVOL + Volume Expansion
• توسّع السبريد مقارنة بالشموع السابقة
• جودة جسم الشمعة (جسم ولا ذيل)
• نسبة الوقت اللي عدّى من الشمعة الحالية
- يفرّق بين:
• بريك آوت محتمل vs مؤكد
• حركة قوية مدعومة بفوليوم vs “شمعة شو”
- يقدر يطلع ليبل Debug يشرح:
• Momentum Score
• Volume Ratio / RVOL
• Spread Behaviour
• Body Quality
• % الوقت اللي فات من عمر الشمعة
المتداول يستخدمه إزاي؟
ماتجريش ورا كل شمعة كبيرة:
- استنَى لما يكون الـ Score عالي،
- والفوليوم مصدّق الحركة،
- والهيكل (Fib / VPOC / CHoCH) موافق.
ساعتها بس البريك آوت يستاهل المخاطرة.
--------------------------------------------
E) VPOC / WVPOC + مناطق الفوليوم
- يرقب VPOC و WVPOC في الوقت الحقيقي.
- يحدّد Clusters مهمة تتحوّل لـ Support / Resistance محترم.
- يراقب كسر المناطق دي بفوليوم واضح (بداية موجة جديدة).
- SL و TP ديناميك:
• SL حوالين VPOC مع Buffer من ATR.
• TP متوزع على مستويات فيبوناتشي و زونات فوليوم.
المتداول يستخدمه إزاي؟
بتربط مخاطرتك بأين اشتغل الفوليوم التقيل:
- VPOC = منطق منطقي للستوب.
- Clusters = زون ضغط ينفع يبدأ منها ترند قوي.
--------------------------------------------
F) محرّك الدخول بتاع السمارت ماني (1h + 15m MegaBars)
- يجيب MegaBars بتاعة الساعة جوّه فريمات أقل بالـ `request.security`.
- يميّز:
• Confluence بين MegaBar الساعة + MegaBar الربع ساعة (صفقة A-Grade).
• MegaBar على فريم واحد بس (B-Grade).
- يجهّز تلقائيًا:
• Entry
• SL
• TP1–TP4 على Extensions و مستويات هيكلية.
- اللّيبلات تكتب:
• Entry = …
• SL = …
• TP1 = … / TP2 = … / TP3 = … / TP4 = …
مع تحكّم في حجم الخط و ATR Offset.
- فيه اختيار “أظهر آخر سيناريو بس” عشان الشارت يفضل نضيف.
- جاهز للـ Alerts لما الشروط تكمّل.
المتداول يستخدمه إزاي؟
يبقى عندك Execution Ladder كامل:
- فين تدخل،
- فين تحط الستوب،
- إزاي تقسم الخروج على أكتر من هدف.
--------------------------------------------
G) موديل الـ Reverse Fib (صفقات عكس الاتجاه)
- بيشتغل بعد ما السعر يبالغ في الحركة و يوصل Extensions معيّنة.
- يدور على:
• شموع رفض عند/بعد Extensions.
• Exhaustion + إشارة VSA.
- يرسم خطة عكسية:
• Entry عكسي من Extension Extreme.
• TP سلم مبني على 0.618, 0.786, 1.236, 1.382, 1.5, 1.618, 2.0, … إلخ
• SL و TSL مبنيين على ATR و مسافة الفيبوناتشي.
المتداول يستخدمه إزاي؟
لو انت ترند تريدر:
- تستخدمه عشان تقفل/تخفف عند تمدّد مبالغ فيه.
لو انت Counter-Trend:
- يديك سيناريو “فِيد” منطقي بمخاطرة محسوبة.
--------------------------------------------
H) سويپس لليكويديتي + CHoCH + Order Blocks + FVGs
- يوسم مناطق ضرب الستوبات فوق الهاي وتحت اللو (Liquidity Grabs).
- يحدد CHoCH لما الاتجاه يغيّر شخصيته مع فوليوم.
- يرصد Order Blocks أساسية (Bullish / Bearish).
- يظلّل الـ FVGs و يشيلها لما تتعبّى.
المتداول يستخدمه إزاي؟
تجمع بين:
MegaBar + VSA + Fib + VPOC + Liquidity:
- يا إمّا تلحق موجة نظيفة،
- يا إمّا تفِيد Stop Hunt غبي اتكشف على الشارت.
--------------------------------------------
I) داشبورد VSA + Breakout (Table اختياري)
- Table صغيرة فيها:
• حالة VSA
• قوة البريك آوت
• RVOL / Volume
• Spread & Candle Quality
• حالة ATR
• مكان الإغلاق جوّه الشمعة
• وضع VPOC
• نسبة الوقت اللي عدّى من الشمعة
المتداول يستخدمه إزاي؟
قبل ما تدوس Buy / Sell:
- تبص على التابل ثانيتين:
الدنيا شغّالة ولا لأ؟
فيه فوليوم؟ فيه ترند؟ ولا حركة ميتة؟
ده يقلل قرارات “من غير plan”.
3) سيناريو شغل متداول على XAUMO MegaBar VSA
1) اختار الفريم + الجلسة
- 15m أو 1h على XAUUSD.
- ظبّط سيشن لندن/نيويورك زي وقت شغلك الحقيقي.
2) اقرأ الكونتكست
- السوق بيبنِي مراكز؟ بيصفّي؟ ولا نايم؟
- إيه إشارات الـ VSA و Score البريك آوت؟
- فين VPOC / WVPOC من السعر؟
3) دور على MegaBar النشط و خريطة الفيبوناتشي بتاعته
- السعر:
• بيرجّع جوّه Reload Zone؟
• بيكسر البرنچ؟
• ولا داخل على Overextension؟
4) استنَى تأكيد السمارت ماني
- Confluence بين MegaBar الساعة والربع ساعة.
- Breakout Score محترم.
- VSA منطقي (No Demand, Stopping Volume, Spring, …).
- Structure: CHoCH / FVG / Liquidity Sweep في اتجاه الصفقة.
5) نفّذ باستخدام السلم المطبوع على الشارت
- استخدم Entry / SL / TP1–TP4 كـ هيكل أساسي.
- عدّل اللوت / الريسك حسب خطتك انت.
6) الإدارة والخروج
- استعمل ATR + VPOC في Trailing/Lock.
- لما Extensions تبان مبالغ فيها → ركّز على Reverse Fib.
4) المؤشّر ده مناسب لمين؟
- اللي بيتاجر دهب XAUUSD (CFD أو Spot) على 15m و 1h.
- اللي بيحب شغل مؤسّسات: Volume, VPOC, SMC, Fib مش مؤشرات بسيطة.
- اللي عايز Execution Plan جاهز (Entry/SL/TP) بس لسه عنده حريّة تعديل.
- اللي عايز يتعلّم VSA و Smart Money Concepts بشكل تطبيقي على شارت واحد.
5) إخلاء مسؤولية كامل (مهم تقراه)
- المؤشّر ده وكل الكلام اللي حواليه للتعليم بس.
- مش:
• نصيحة استثمارية،
• ولا توصية شراء/بيع،
• ولا خدمة إدارة محافظ،
• ولا سيجنال سيرڤس.
- التداول في الأسواق (خصوصًا المشتقات، الـ CFD، الفيوتشر) فيه مخاطرة عالية جدًا،
وممكن تخسر جزء كبير أو كل رأس مالك.
- أي أداء سابق، باك تست، أو مثال افتراضي → مش ضمان لنتيجة مستقبلية.
- أي نسبة احتمالات، Scores، أو “Quality” بيطلعها المؤشّر:
• دي حسابات كود، مش ضمان ربح،
• مش وعد ولا تعهّد بأي نتيجة.
- انت المسؤول 100% عن:
• حجم العقود اللي بتدخلها،
• الرافعة اللي بتستخدمها،
• أماكن الدخول والخروج،
• وإدارة المخاطرة بتاعتك،
• والتزامك بالقوانين والضرائب في بلدك.
- قبل ما تستخدم المؤشّر على حساب حقيقي:
• جرّب كويس على باك تست و فورورد تست،
• اشتغل فترة على Demo،
• لو محتاج نصيحة مالية شخصية → ارجع لمستشار مالي مرخَّص.
باختصار:
XAUMO MegaBar VSA ده أداة تعليمية وتحليلية قوية تساعدك تفهم حركة الذهب،
مش زرار “اطبع فلوس”.
انت صاحب القرار، وانت صاحب المسؤولية، وانت اللي بتتحمّل أي ربح أو خسارة.
Anup Algo + For Full Version Contact on Whatsapp +918123456805Best indicator For Algo Trading Auto Buys & Sells, Auto Tp & Sl Works for All pairs forex commodities crypto
Contact on Whatsapp +918123456805 for full version
TH-SixPair Engine v6.3ระบบ Multi-pair EMA + ATR x1.5 สำหรับ XAUUSD, GBPUSD, EURUSD, USDJPY, USDCAD, AUDUSD
– ใช้ EMA 8/21 + EMA เทรนด์ 50 + RSI filter + Session filter
– มีโหมด Pending + Extra Entry (EMA pullback / Swing HL retest / FVG retest)
– จัดการ TP1/TP2 แบบ partial + BE อัตโนมัติ
– มีตารางแสดง SL/TP1/TP2 เป็น USD สำหรับ lot 0.01 และสถิติย้อนหลัง 10 ออเดอร์
แนะนำใช้ TF 1H เป็นหลัก
ROMAN INDIThis script creates an on-chart information panel / watermark that summarizes the most important technical and contextual data for the current symbol in one place. It’s designed as a compact trading dashboard overlay, fully configurable from the Inputs menu.
1. General instrument info
The table shows:
Company name + market cap
Market cap is calculated from shares_outstanding_total * close and formatted in M / B / T.
Ticker + timeframe (e.g. AAPL, 1D, AAPL, 1H, etc.).
Sector & industry (when available from syminfo).
You can choose the panel position (Top/Middle/Bottom & Left/Center/Right) and text size/color from the inputs.
2. Volatility & stop-loss (ATR block)
Calculates ATR(14) and the ATR as % of price.
Colors ATR with an emoji:
🔴 = high volatility (above red threshold)
🟡 = medium
🟢 = low
Computes a dynamic stop loss:
Source price can be: Today / Yesterday / 2 Days Ago.
Stop = base price − ATR × user-defined multiplier.
Also calculates the distance from close to stop in percent and marks it:
🟢 if distance > 5%
🟡 if distance > 2%
🔴 otherwise
When price crosses the stop level (or if the stop is very tight and marked 🔴), a label is plotted just ahead of the current bar:
Shows either “SELL” (if close ≤ stop) or the stop price.
3. Moving averages distance row
Calculates SMA 50 / 150 / 200.
Shows a single row:
MA50: +X.XX% | MA150: +Y.YY% | MA200: +Z.ZZ%
Values are the percentage distance between close and each MA (positive/negative).
This row can be toggled on/off via the inputs.
4. Volume analysis
Uses a 20-period average volume as baseline.
Computes:
Absolute volume difference vs. 20-SMA (in K/M units).
Percent difference vs. average.
Adds:
🔴 if current volume < average
🟡 if up to +10% above average
🟢 if more than +10% above average
Detects streaks of rising or falling volume (last 3 bars):
⬆️ / ⬆️⬆️ / ⬆️⬆️⬆️ for 1–3 bars of increasing volume
⬇️ / ⬇️⬇️ / ⬇️⬇️⬇️ for 1–3 bars of decreasing volume
Final row example:
ΔVol: 1.25M (15.32%) 🟢 ⬆️⬆️
5. Earnings countdown
Uses earnings.future_time to detect the next earnings date.
Shows:
Earnings: X days remaining
(only if there is a future earnings date and the option is enabled).
6. RSI (momentum)
Calculates RSI(14).
Displays:
Current RSI value.
Trend arrow vs. previous bar: ⬆️ / ⬇️ / (no arrow).
Emoji color:
🔴 when RSI > 70 (overbought)
🔴 when RSI < 30 (oversold)
🟢 otherwise
Example:
RSI (14): 63.25 🟢 ⬆️
7. CCI (trend strength & short-term swings)
Calculates CCI(14) on hlc3.
Tracks the direction of CCI (up / down / flat) and interprets it:
If CCI is falling:
100 → “Overbought 🔴”
0 to 100 → “Negative Momentum 🟡”
−100 to 0 → “2-4 Days Down 🟠”
< −100 → “Oversold 🔴”
If CCI is rising:
100 → “Overbought 🔴”
0 to 100 → “2-4 Days Up 🟢”
−100 to 0 → “Building Momentum 🟡”
< −100 → “Oversold 🔴”
The row shows value, direction arrow and text interpretation.
Example:
CCI (14): -45.32 🟡 ⬆️ Building Momentum 🟡
8. Market context: VIX & Bitcoin row
Tracks:
VIX (CBOE:VIX)
Bitcoin (BINANCE:BTCUSDT)
If the current chart is directly on one of these symbols, it uses the live close; otherwise it pulls the data via request.security.
Shows last price of VIX and BTC plus trend arrows based on the last 3 closes (up/down streak).
Example:
VIX: 15.23 ⬆️ | BTC: 113,000 ⬇️⬇️
Summary
In short, ROMAN INDICATOR is an overlay info-panel that combines:
Instrument fundamentals (name, sector, industry, market cap)
Volatility & ATR-based stop-loss engine
Distance from major moving averages (50/150/200)
Volume vs. average with streak detection
RSI & CCI with clear emoji-based interpretation
Earnings countdown (days to next report)
Global context via VIX + Bitcoin row
Everything is configurable in the Inputs, making it a convenient single-glance trading dashboard on top of your chart.
SOFR - IORB Spread (pct pts & bps)Tracks short-term funding conditions by measuring the spread between the Secured Overnight Financing Rate (SOFR) and the Fed’s Interest on Reserve Balances (IORB). When SOFR persistently trades above IORB, it signals cash scarcity and stress in overnight funding markets. This indicator is best used as a risk-regime and plumbing health check, not as a directional trading signal. Calm readings allow trends to persist; sustained spikes often precede periods of volatility and forced deleveraging.
TraderDemircan - Ultimate Fibonacci Suite v2.0Ultimate Fibonacci Suite v2.0 - Advanced Harmonic Pattern Detection & XABCD Analysis
-Overview
The Ultimate Fibonacci Suite v2.0 is a comprehensive technical analysis tool that combines advanced Fibonacci retracement/extension levels with automatic harmonic pattern detection and XABCD formation analysis. This indicator is designed for traders who want to identify high-probability reversal zones using multiple confluence techniques.
-What Makes This Script Original?
This indicator goes beyond simple Fibonacci retracements by:
Automatic XABCD Formation Detection: Identifies complete X-A-B-C-D patterns in real-time, marking each critical point with precise Fibonacci relationships
Multi-Pattern Harmonic Recognition: Detects 5 major harmonic patterns (Gartley, Butterfly, Bat, Crab, Shark) with customizable tolerance levels
Confluence Zone Analysis: Automatically identifies areas where multiple Fibonacci levels converge, highlighting the strongest support/resistance zones
Integrated Risk Management: Calculates position sizing, stop-loss placement, and multiple take-profit targets based on pattern completion
Adaptive Mode Selection: Offers preset configurations for different trading styles (Scalper, Day Trader, Swing Trader)
-Key Features
Fibonacci Levels (15 levels available)
Standard retracement levels: 0.236, 0.382, 0.5, 0.618, 0.786
Extension levels: 1.272, 1.414, 1.618, 2.0, 2.618, 3.618, 4.236
All levels individually customizable with color and visibility options
Harmonic Pattern Detection
The indicator automatically identifies these harmonic patterns with their specific Fibonacci ratios:
Gartley Pattern (B: 0.618, D: 0.786) - 75% historical success rate
Butterfly Pattern (B: 0.786, D: 1.272-1.618) - 70% success rate
Bat Pattern (B: 0.382-0.5, D: 0.886) - 80% success rate
Crab Pattern (B: 0.382-0.618, D: 1.618) - 85% success rate
Shark Pattern (B: 0.382-0.618, D: 1.13-1.618) - 72% success rate
Each pattern displays its probability percentage and clearly marks the Potential Reversal Zone (PRZ).
XABCD Formation System
X Point: Initial swing low (0.0 level)
A Point: Peak of the move (1.0 level)
B Point: Retracement level (typically 0.382, 0.5, or 0.618)
C Point: Projected target for the corrective move
D Point (PRZ): The optimal entry zone for reversal trades
The system validates formations to ensure B point hasn't been violated and minimum swing size requirements are met.
Risk Management Tools
Automatic Stop-Loss Calculation: Placed below X point with buffer
Three Take-Profit Levels: TP1 (1.272), TP2 (1.618), TP3 (2.0) - all customizable
Position Size Calculator: Based on account size and risk percentage
Risk/Reward Ratio Display: Real-time R:R calculation for each setup
Confluence Zone Detection
Identifies areas where 2+ Fibonacci levels intersect within 0.5% price range
Highlights these zones with colored boxes
Customizable threshold for confluence detection (2-5 levels)
Trend Filter
Optional moving average filter (customizable period)
Can restrict pattern display to trend-aligned setups only
Visual trend indication on chart
-How It Works?
The indicator uses a sophisticated algorithm that:
Scans for Swing Points: Analyzes the last N bars (customizable 10-200) to identify significant swing lows and highs
Validates Swing Size: Filters out minor movements using a minimum swing size percentage threshold
Calculates Fibonacci Levels: Projects all retracement and extension levels from the identified X and A points
Monitors Price Action: Tracks current price to determine B point formation
Projects Targets: Calculates C and D targets based on the pattern's Fibonacci relationships
Pattern Recognition: Compares B retracement ratio against known harmonic pattern specifications
Risk Parameters: Automatically sets stop-loss and take-profit levels with position sizing
-Customization Options
Four Trading Modes:
Complete: All features enabled
Scalper: Optimized for short-term trades with tighter parameters
Day Trader: Balanced settings for intraday trading
Swing Trader: Longer-term focus with extended lookback periods
Display Settings:
Individual level visibility toggles
Custom colors for each Fibonacci level
Line style options (Solid, Dashed, Dotted)
Line thickness adjustment
Label display options (price/percentage/both)
Line extension controls (left/right/both)
Alert System:
Pattern completion alerts
C target achievement notifications
Key Fibonacci level breakout alerts
All alerts customizable on/off
-How to Use?
Apply the Indicator: Add to your chart and select your trading mode
Wait for Formation: The indicator will automatically detect valid XABCD formations
Identify Pattern Type: Check the pattern label to see which harmonic pattern is forming
Monitor Price Action: Watch for price to reach the D point (PRZ) - your potential entry zone
Execute Trade: Enter when price reaches D with:
Stop loss at the displayed SL level
Take profits at TP1, TP2, and TP3 levels
Use Confluence: Pay extra attention to setups where D point aligns with confluence zones
-Recommended Settings
For Scalping: Lookback 20-30 bars, Min Swing 0.5%, Tight TP levels
For Day Trading: Lookback 50 bars (default), Min Swing 1%, Standard TP levels
For Swing Trading: Lookback 100-150 bars, Min Swing 2%, Extended TP levels
Pattern Tolerance: 5% (default) - increase for more patterns, decrease for stricter detection
-Statistics Panel
Optional real-time statistics display showing:
Current pattern type and probability
Risk/reward ratio
Recommended position size
Distance to key levels
-Important Notes
This indicator does not repaint: All calculations are based on closed bars
Past performance is not indicative of future results: Use proper risk management
Best used with additional confirmation: Consider volume, trend context, and other indicators
Pattern completion does not guarantee reversal: Always use stop-losses
Optimized for trending markets: Works best when clear swings are present
-Technical Details
Pine Script Version: v6 (latest)
Overlay: Yes - plots directly on price chart
Max Lines/Labels/Boxes: 500 each
Calculation Method: Based on classical Fibonacci ratios and harmonic trading principles
No Repainting: All signals generated on bar close
-Educational Value
This indicator helps traders understand:
Fibonacci retracement/extension relationships
Harmonic pattern geometry and ratios
XABCD pattern structure
Confluence trading concepts
Risk management principles
-Who Is This For?
Traders familiar with Fibonacci analysis
Harmonic pattern traders
Price action traders looking for objective entry zones
Risk-conscious traders who want built-in money management
Anyone seeking to identify high-probability reversal zones
Student Wyckoff volume background levels
**STUDENT WYCKOFF Volume Background Levels**
This indicator colors volume bars according to how large or small the current volume is relative to the recent background. Instead of looking at “raw” volume, it shows whether today’s activity is *extreme, high, normal, low or ultra-low* compared to what is usual for this market and timeframe.
### Concept
* The script calculates a **background average volume** over a user-defined number of bars (background window).
* For each bar it computes the ratio:
> `Volume Ratio = Current Volume / Average Volume`
* Depending on how big this ratio is, the volume bar is assigned to one of five categories and colored accordingly.
This makes it very easy to see where real effort (unusual activity) appears and where the market is quiet.
### Color scheme and thresholds (default)
All thresholds are defined as a multiple of the average volume:
* **Extreme volume** – **purple**
`volume ≥ Extreme * average` (default 3.0×)
Very rare, climactic activity. Often associated with buying/selling climaxes, stopping volume or very aggressive participation.
* **High volume** – **light red**
`volume ≥ High * average` (default 1.5×)
Clearly above-average volume. Important bars in trends or near key support/resistance.
* **Normal volume** – **gray**
Around the background average. Regular market activity.
* **Low volume** – **light yellow**
`volume ≤ Low * average` (default 0.7×)
Below-average activity. In Wyckoff/VSA context this can support ideas like No Demand / No Supply (together with spread and result).
* **Ultra-low volume** – **bright green**
`volume ≤ Ultra Low * average` (default 0.3×)
Very quiet market. Often marks zones of complete disinterest, late phases of trends, or calm periods before new campaigns.
All multipliers and colors are user-adjustable.
### How to use it
This is **not a standalone buy/sell signal**, but a visual tool to support Wyckoff/VSA reading:
* Highlight **climactic or stopping bars** by looking for purple (extreme) and light-red (high) volume around important price levels.
* Confirm **No Demand / No Supply** ideas by checking for low or ultra-low volume while price is drifting.
* Study how volume background changes between phases of a trading range, mark-up and mark-down.
The indicator works on any symbol and timeframe, uses only closed bars (no repainting) and is intended for educational and analytical purposes. Always combine it with your own price action reading, risk management and trading plan.
Sideways ZoneSideways Zone Breakout – Advanced Consolidation Breakout Indicator
The market spends most of its time moving sideways, trapping traders with false signals and unpredictable whipsaws. This indicator is designed to identify those consolidation phases with precision and highlight confirmed breakout moments where strong momentum is most likely to follow.
🔍 What This Indicator Does
This tool automatically scans recent price action and detects tight sideways zones using a volatility-based measurement. Whenever the market enters a compression phase, the indicator marks the exact upper and lower boundaries of the zone.
Once price closes beyond this range, the indicator instantly triggers a BUY or SELL breakout signal — clean, simple, and highly effective.
🎯 Why This Works
Sideways phases often represent institutional accumulation or distribution. When a breakout occurs, it usually leads to a powerful expansion move. This indicator is specifically built to catch those high-probability moments.
Core logic:
Detects the highest and lowest price within a chosen lookback period
Measures range tightness relative to price
Plots a visual zone only when the market is truly sideways
Generates Buy signals on breakout above the zone
Generates Sell signals on breakdown below the zone
No repainting.
No complex settings.
Pure breakout confirmation based on candle close.
✨ Key Features
✔ Automatic sideways zone detection
✔ Clean upper & lower boundary plotting
✔ Soft shaded zone for visual clarity
✔ Immediate BUY/SELL breakout markers
✔ Alert-ready (great for webhook automation)
✔ Works on all timeframes and all markets
✔ Suitable for crypto, forex, indices, stocks, and commodities
📌 Best Applications
Identifying breakout opportunities after consolidation
Avoiding entries during choppy market conditions
Trend continuation entries after a sideways pause
Scalping volatility expansion
Confirming breakouts with other indicators (EMA / MACD / RSI etc.)
⚡ Important Notes
Breakout signals are confirmed only on candle close, ensuring reliability and zero repainting.
The zone appears only when price is truly consolidating — avoiding unnecessary clutter.
👤 Author
Created by: Syed Aman Ali
Built with a focus on clean charting, market structure, and breakout momentum trading.
If this indicator helps your trading, please leave a like and share your feedback — more high-quality tools are coming soon.
Advanced Delta Volume DivergenceDelta Volume Divergence with alerts. Basically, positive delta, green on histogram, negative delta, re don histogram. There is some options in there to adjust moving averages, colors, lookback period, confirmation for alerts, etc. Play with it, if you like it great, if not, I'm sure you'll find something else that you do.
幣Real專屬指標 (試用版-2025/12/31)### English Description
**Overview**
This "Multiple Judgment Indicator" is a comprehensive trading tool designed to filter out market noise and identify high-probability trend reversals. It combines trend analysis with momentum oscillators to generate clear entry and exit signals.
**Key Features & Logic**
The script calculates a composite signal based on the following logic:
1. **Trend Filter:** It uses 【填入指標1,例如: EMA 200】 to determine the overall market direction.
2. **Momentum Confirmation:** It incorporates 【填入指標2,例如: RSI or MACD】 to detect overbought/oversold conditions.
3. **Signal Generation:** A strict "Multiple Judgment" algorithm ensures that signals are only plotted when all conditions align, reducing false positives in choppy markets.
**How to Use**
* **Long Signal:** Look for the 【填入顏色,例如: Green】 label/shape on the chart. This indicates that the trend is bullish and momentum is supportive.
* **Short Signal:** Look for the 【填入顏色,例如: Red】 label/shape. This suggests a potential downward move.
* **Stop Loss:** Suggested stop loss levels can be placed at the recent swing high/low.
**Trial Information**
This script is currently available for a free trial.
* **Expiration Date:** 2025/12/31
* After this date, the indicator will require re-authorization or an update to function.
---------------------------------------
### 中文說明
**概述**
本「多重判定指標」是一個綜合型的交易工具,旨在過濾市場雜訊並識別高機率的趨勢反轉點。它結合了趨勢分析與動能震盪指標,以產生明確的進出場訊號。
**核心功能與邏輯**
本腳本基於以下邏輯計算綜合訊號:
1. **趨勢過濾:** 使用 【填入指標1,例如: EMA 200】 來判斷整體市場方向。
2. **動能確認:** 結合 【填入指標2,例如: RSI 或 MACD】 來偵測超買/超賣區域。
3. **訊號生成:** 嚴格的「多重判定」演算法確保只有在所有條件都一致時才會發出訊號,減少盤整市場中的假突破。
**使用方法**
* **做多訊號:** 當圖表上出現 【填入顏色,例如: 綠色】 標籤/圖形時,代表趨勢看漲且動能支撐。
* **做空訊號:** 當出現 【填入顏色,例如: 紅色】 標籤/圖形時,代表潛在的下跌趨勢。
**試用資訊**
本指標目前提供免費試用。
* **試用期限:** 至 2025/12/31 止。
* 過期後指標將需要重新授權或更新才可繼續使用。
200 EMA Rebound Signals | Partnior Programista🚀 200 EMA Rebound Signals | TradingView Indicator Description
1. 💡 Overview
The 200 EMA Rebound Signals is a trend-following indicator designed to identify high-probability reversal signals (rebound) from the 200-period Exponential Moving Average (EMA), which is widely recognized as a major dynamic support and resistance level defining the long-term market trend.
This tool provides a clear, actionable signal when price temporarily pulls back to the 200 EMA and then continues in the direction of the prevailing trend (the context).
2. 🎯 Core Logic (Context & Trend)
The indicator first establishes the market context (long-term trend) using the 200 EMA:
* Bullish Context (LONG): The current closing price is above the 200 EMA.
* Bearish Context (SHORT): The current closing price is below the 200 EMA.
A trade signal is only generated when a rebound pattern occurs in the direction of the established context.
3. 🧩 Three Entry Logic Options
The indicator offers three distinct methods for confirming the rebound, selectable via the Entry Signal Logic input:
Option 1: Confirmation (A/D) - (Default)
This logic requires a two-candle sequence for confirmation:
* LONG Signal: The previous candle's close was above the EMA, and its low touched the EMA. The current candle then closes above the high of the previous candle, confirming the upward bounce.
* SHORT Signal: The previous candle's close was below the EMA, and its high touched the EMA. The current candle then closes below the low of the previous candle, confirming the downward bounce.
Option 2: Pin Bar / Rejection (B/E)
This logic uses the powerful Pin Bar candlestick pattern to signal a strong rejection of the 200 EMA level.
* LONG Signal: A Pin Bar forms (long lower shadow) in a Bullish Context, and the candle's low touches the EMA. The lower shadow must be greater than the candle body by the specified Min. Shadow Ratio.
* SHORT Signal: A Pin Bar forms (long upper shadow) in a Bearish Context, and the candle's high touches the EMA. The upper shadow must be greater than the candle body by the specified Min. Shadow Ratio.
Option 3: Simple Touch & Close (C/F)
This is the simplest logic, requiring only a single candle to signal the rebound:
* LONG Signal: In a Bullish Context, the candle's low touches or penetrates the EMA, but the candle closes above the EMA.
* SHORT Signal: In a Bearish Context, the candle's high touches or penetrates the EMA, but the candle closes below the EMA.
4. ⚙️ Key Inputs (Inputs)
| Parameter (Russian) | Parameter (English) | Default Value | Description |
|---|---|---|---|
| Период EMA (N) | EMA Period (N) | 200 | Sets the lookback period for the Exponential Moving Average. (Default: 200) |
| Источник Цены | Price Source | close | The price data used for the EMA calculation (e.g., Close, Open, High, Low). |
| Логика Сигнала Отскока | Entry Signal Logic | 1. Confirmation (A/D) | Selects one of the three rebound confirmation methods explained above. |
| Мин. Коэф. Тени (Пин-Бар) | Min. Shadow Ratio (Pin Bar) | 2.0 | Used only for Option 2. Specifies how many times the pin bar's shadow must be larger than its body to qualify as a signal. (e.g., 2.0 means shadow >= 2 * body size). |
5. 🛠️ How to Use
* Define Your Trend: The indicator automatically shows the long-term trend (Bullish/Bearish Context).
* Select Logic: Choose the entry logic that best suits your trading style (Confirmation, Pin Bar, or Simple Touch).
* Wait for the Rebound: Wait for the price to pull back to the 200 EMA.
* Enter Trade: A Green Triangle below the bar signals a potential LONG entry. A Red Triangle above the bar signals a potential SHORT entry.
Would you like me to translate any other sections of your code's comments or description?
Market Structure with Inducements & SweepsChange of Characters (CHoCH) are based on swing points detection, while Break of Structures (BOS) are based on trailing maximum & minimums from the detected Change of Characters. We do this for a more dynamic & timely display of market structure.
Traders that consider inducements as a part of their analysis of Change of Characters & Break of Structures can more easily avoid fakeouts.
BB/KC Squeeze Channels (v6)Technical Specification for the BB/KC Squeeze Volatility Indicator in Algorithmic Cryptocurrency Trading
I. Theoretical Foundations of Volatility Dynamics
The "Contraction-Expansion" Principle (Volatility Contraction/Expansion)
The fundamental analysis of market volatility dynamics relies on the principle popularized by John Bollinger: periods of low volatility are inevitably followed by periods of high volatility. This phenomenon, known as the cyclical nature of volatility, is the cornerstone of trading strategies based on range breakouts (Breakout Strategy). In the context of technical analysis, volatility contraction manifests as a consolidation phase where the trading range narrows, preceding a strong, directional price impulse.
The essence of volatility contraction lies in a phase of market equilibrium that is inherently unstable. Most often, this reflects the covert activities of large market participants who are either accumulating or distributing a significant volume of the asset. These actions occur within a narrow price corridor to avoid sharp price movements until the entire position is acquired. As a result, activity decreases, the range narrows, and the market accumulates "energy" for the subsequent large-scale expansion. For the cryptocurrency market, characterized by high impulsivity and a tendency toward sharp trending moves, accurately identifying the deep contraction phase becomes a powerful algorithmic predictor.
Identifying Prerequisites: Distinguishing Pre-Breakout Contraction
To build a reliable indicator, it is crucial to distinguish a true pre-breakout squeeze from other types of volatility reduction that do not lead to a strong impulse. Specifically, volatility, measured by the Average True Range (ATR), will always decline after the completion of a strong vertical movement, as the market enters a pullback or deceleration phase. Such a decline is post-impulse and does not necessarily signal an imminent breakout.
It is necessary to find signs of abnormally low volatility that occurs precisely in the consolidation phase. The optimal time to look for a Squeeze signal is the formation of a distinct sideways channel. In this phase, the middle line of the channel indicator (e.g., EMA or SMA) should be relatively horizontal. This confirms that the market is currently in a ranging state (absence of a strong current trend), not in a deceleration phase after a trend. Therefore, the Squeeze indicator algorithm must include a check for confirmed sideways movement (e.g., through analyzing the slope of the middle line or its statistical deviation from the horizontal over the last X periods). Only abnormally low volatility during a range can be classified as a high-confidence pre-breakout contraction.
II. Instrument Selection: Justification for the Composite BB/KC Squeeze Approach
For effective algorithmic determination of the extreme contraction phase, it is necessary to use an indicator that combines the advantages of the two most reliable methods for measuring volatility: Bollinger Bands and Keltner Channels.
Comparative Analysis of Volatility Indicators
| Indicator | Base Metric | Volatility Response | Primary Role in Squeeze |
|---|---|---|---|
| Bollinger Bands (BB) | Standard Deviation (SD) | Fast, Highly Sensitive | Contraction sensor, Early breakout signal |
| Keltner Channels (KC) | Average True Range (ATR) | Smooth, Noise Filtering | Defines stable range, Filters false signals |
Bollinger Bands (BB)
Bollinger Bands are based on the Standard Deviation (SD) of the price from a moving average. This statistical metric makes BB highly sensitive, as they quickly react to sudden changes in volatility. Due to this sensitivity, BB are ideal for early registration of a contraction and for generating the breakout signal. However, their high sensitivity is also a drawback, as it can lead to false signals and premature expansion during market noise.
Keltner Channels (KC)
Keltner Channels, in the modern version developed by Linda Raschke, use the Average True Range (ATR) to calculate the channel width. ATR represents the averaged true range of fluctuations, which provides a smoother and more stable measure of volatility. KC react to market changes slower than BB, but their smoothness allows for better filtering of false signals and determination of the true direction of movement. Unlike fixed-width price channels or percentage envelopes, which perform poorly in dynamic environments, BB and KC automatically adapt to market conditions.
The Squeeze Mechanism: Synergy of Instruments
The BB/KC Squeeze indicator uses the synergy of BB and KC to achieve maximum accuracy in identifying the accumulation phase.
The technical Squeeze condition (Squeeze ON) is defined when the fast and statistically-oriented Bollinger Bands (BB) are inside the wider and smoother Keltner Channels (KC). This state represents quantitative confirmation of extremely low volatility.
In standard settings, BB use a multiplier of 2.0 for Standard Deviation (SD), and KC use a multiplier of 1.5 for ATR. For the statistical width of BB (based on price deviation from the average) to narrow inside the width of KC (based on the averaged range), the current statistical deviation of the price must fall to abnormally low values relative to the historical average range of fluctuations. This is not just low volatility, but its extreme contraction, indicating maximum accumulation of potential energy before an impulse.
III. Quantitative Analysis: How Much, Why, and How Volatility Contracts
How Much: Mathematical Definition of the Degree of Contraction
The degree of volatility contraction before a breakout is measured through a strict mathematical condition that ensures the current volatility is significantly below its averaged historical value.
The Squeeze Condition (Squeeze ON) requires both of the following mathematical formulas to be true :
To understand how much the movement should contract, we must consider the channel width formulas:
* Bollinger Bands Width (\text{BB}_{\text{Width}}):
\text{KC}_{\text{Width}} = 2 \times (\text{ATR} \times 1.5) = 3.0 \times \text{ATR}$$
The Squeeze ON state means that \text{BB}_{\text{Width}} < \text{KC}_{\text{Width}}. This condition is equivalent to \text{SD} \times 4.0 < \text{ATR} \times 3.0. As a result, the current Standard Deviation (SD) must fall below 75% of the Average True Range (ATR) for the contraction to be registered. This requirement for SD to decrease to a level significantly below ATR is the criterion for identifying the deep market calm that serves as the energy base for the subsequent directional movement.
Why and How: Qualitative Signs
Volatility decreases because large market participants are slowly and covertly accumulating positions. They keep the price within a narrow range to fully acquire the necessary volume before allowing the price to impulsively exit consolidation. This creates a sideways movement phase, minimizing risks for the trader and enabling timely tracking of a bullish or bearish breakout.
To enhance the algorithm's reliability and prevent entry into false ranges, the following qualitative signs accompanying a true squeeze must be considered:
* Squeeze Duration: The longer the price remains in the Squeeze ON state, the more energy is accumulated. Experience suggests a minimum duration of 4–8 periods. Extended contraction periods (over 10–12 bars) often precede the strongest impulsive movements in the crypto market.
* Price Position: During the contraction phase, the price should remain close to the middle line (EMA/SMA). This confirms that the market is in equilibrium, and accumulation is occurring around the "fair" price of the current range.
* Momentum Context: The volatility indicator (BB/KC) determines when a move will happen, but not its direction. To predict the direction (prerequisite), a momentum component must be used (e.g., a histogram, as in the TTM Squeeze variant ). The appearance of positive momentum during the contraction, even without price movement, signals potential bullish strength, increasing the likelihood of an upward breakout.
Squeeze State Logic Table
| State | Mathematical Condition (BB vs KC) | Market Interpretation |
|---|---|---|
| Squeeze ON | (\text{BB}_{\text{Upper}} < \text{KC}_{\text{Upper}}) AND (\text{BB}_{\text{Lower}} > \text{KC}_{\text{Lower}}) | Extreme volatility contraction, accumulation phase, breakout pending. |
| Squeeze OFF | \text{BB}_{\text{Upper}} \ge \text{KC}_{\text{Upper}} OR \text{BB}_{\text{Lower}} \le \text{KC}_{\text{Lower}} | Normal volatility, trending movement, or unstable range. |
IV. Technical Specification: Step-by-Step Algorithm for the Squeeze Indicator (BB/KC)
This algorithm represents the sequence of steps required to code the indicator, which captures the contraction state and generates breakout signals.
1. Initialization and Calculation of Basic Values
* Define Period N: Determine the period N (recommended value N=20) for calculating the moving averages, ATR, and Standard Deviation (SD).
* Calculate True Range (TR): For each bar, calculate \text{TR} as the maximum value of three metrics: (High – Low), \text{Abs}(\text{High} - \text{Close}_{\text{prev}}), \text{Abs}(\text{Low} - \text{Close}_{\text{prev}}).
2. Calculation of Keltner Channel (KC) Components
* Calculate KC Middle Line (EMA): Calculate the Exponential Moving Average (EMA) of the closing price (\text{Close}) over period N.
* Calculate ATR: Calculate the Average True Range (ATR) as the moving average of \text{TR} over period N.
* Calculate KC Boundaries: Calculate the Upper and Lower KC lines, using the ATR multiplier Y (recommended Y=1.5 ):
* * 3. Calculation of Bollinger Band (BB) Components
* Calculate BB Middle Line (SMA): Calculate the Simple Moving Average (SMA) of the closing price (\text{Close}) over period N.
* Calculate SD: Calculate the Standard Deviation (SD) of the closing price over period N.
* Calculate BB Boundaries: Calculate the Upper and Lower BB, using the SD multiplier X (recommended X=2.0 ):
* * 4. Algorithm for Determining the "Squeeze" State
* Check Squeeze ON Condition: For the current bar, check if both conditions are met: \text{BB}_{\text{Upper}} < \text{KC}_{\text{Upper}} AND \text{BB}_{\text{Lower}} > \text{KC}_{\text{Lower}}.
* Assign State: IF both conditions in step 9 are true, THEN assign the variable \text{SqueezeState} the value \text{ON} (e.g., 1). ELSE assign the value \text{OFF} (e.g., 0).
5. Algorithm for Generating Breakout Signals
* Identify Trigger: Check if \text{SqueezeState} has changed from \text{ON} to \text{OFF} on the current bar. This signifies that volatility has expanded after the contraction period.
* Bullish Breakout Signal: IF \text{SqueezeState}_{\text{prev}} = \text{ON} AND \text{SqueezeState}_{\text{current}} = \text{OFF}, AND the closing price (\text{Close}) of the current bar is above \text{BB}_{\text{Upper}}, THEN generate a BUY (Breakout Long) signal.
* Bearish Breakout Signal: IF \text{SqueezeState}_{\text{prev}} = \tex (start_span) (end_span)t{ON} AND \text{SqueezeState}_{\text{current}} = \text{OFF}, AND the closing price (\text{Close}) of the current bar is below \text{BB}_{\text{Lower}}, THEN generate a SELL (Breakout Short) signal.
* Additional Momentum Filtering: To increase reliability, the breakout signal should be valid only IF the breakout occurs in the direction confirmed by a momentum indicator (e.g., if Momentum > 0 for a Bullish breakout, and Momentum < 0 for a Bearish breakout).
The Role of Momentum in the Algorithm
A key addition to the volatility indicator is the momentum component. Defining the Squeeze ON/OFF state helps understand the potential for movement, but not its direction. The momentum indicator (often implemented as a histogram, as in TTM Squeeze ) measures whether accumulation of buying or selling pressure occurs during the contraction phase. Therefore, the indicator must include a sub-component that measures this pressure. Using momentum in conjunction with the BB breakout ensures that entry occurs not just after volatility expansion, but after expansion in a confirmed direction, significantly reducing the number of false breakouts.
V. Parameters, Optimization, and Nuances for the Cryptocurrency Market
Adapting Standard Settings (20, 2.0, 1.5)
The standard parameters N=20, X_{\text{BB}}=2.0, and Y_{\text{KC}}=1.5 are designed for stock markets and provide a reliable starting point. However, the high volatility and dynamics of the cryptocurrency market require fine-tuning to optimize performance.
1. Optimization of Period N
Reducing the period N (e.g., to 18 or 14) on lower timeframes (1-hour and below) increases the indicator's sensitivity to local, fast contractions, which is useful for scalping. However, this may also generate more signals, including false ones. For medium-term trading strategies (4h, Daily), a period of N=20 or N=21 provides an optimal balance between sensitivity and noise filtering.
2. Optimization of Multiplier Y_{\text{KC}}
The Keltner Channel multiplier (Y) defaults to 1.5. KC are smoother and more stable due to the use of ATR. If backtesting shows the indicator generates too many false Squeeze ON signals, it may indicate that the KC channel is too narrow. In this case, a slight increase in multiplier Y (e.g., to 1.6 or 1.7) widens the KC. This requires an even more extreme drop in Standard Deviation for the BB to narrow inside the KC, thereby increasing the strictness and reliability of the Squeeze ON signal.
Importance of Timeframe Selection
While some indicators like KC and BB show higher effectiveness in trending conditions for trading off channel boundaries , the Squeeze Play strategy is fundamentally different. It deliberately seeks a range (volatility contraction) with the goal of catching the start of a new strong trend.
In the cryptocurrency market, false breakouts and market noise (chop) can be particularly intense on low timeframes. Therefore, for the Squeeze strategy, it is recommended to use timeframes where consolidation is cleanest: 4-hour, Daily, or Weekly charts for major crypto pairs like BTC/USD or ETH/USD. On lower timeframes, multi-timeframe confirmation must be implemented, for example, using a trend filter from a higher timeframe.
VI. Strategic Application of Squeeze Play and Filtering
Using Momentum for Direction Determination
As noted, the volatility indicator (BB/KC) is not a directional indicator. The squeeze function (Squeeze ON) only identifies a high probability of a strong movement. Therefore, successful trading requires the integration of Momentum.
The breakout should be used as a trigger, but the direction must be confirmed by Momentum. For example, a BUY signal should only be generated if two conditions are met:
* Exit from the Squeeze ON state and the closing price breaking above the upper BB (\text{Close} > \text{BB}_{\text{Upper}}).
* The momentum indicator confirms upward pressure (Momentum value is positive).
This approach prevents entries into false breakouts where volatility expands but not in the direction of the accumulated market pressure.
Risk and Position Management
Since the Keltner Channel is based on ATR, which is a dynamic measure of volatility , ATR should be used for setting the Stop-Loss (SL) in the algorithmic strategy.
* Stop-Loss (SL) Setting: It is recommended to set the SL at a level determined by 1 \times \text{ATR} below the middle line (EMA/SMA) or beyond the KC boundary opposite the breakout. Using ATR ensures that the SL dynamically adapts to the current volatility, avoiding overly tight stops during periods of normal range.
* Take-Profit (TP) Setting: Since the goal of Squeeze Play is to catch a strong directional movement, the take-profit can be set based on a fixed Risk/Reward ratio (e.g., 2:1 or 3:1) or based on the price exiting the KC boundaries. Breaking the KC often indicates an extreme price move and can serve as a point for partial or full profit taking.
Filtering Against False Signals in a Range
The main drawback of breakout trading is the high percentage of false signals in wide but non-directional ranges. Using the composite BB/KC Squeeze indicator effectively addresses this problem.
KC, being based on smoothed ATR, is less susceptible to short-term volatility spikes than BB. The Squeeze filter requires the sensitive BB to narrow inside the smoothed KC. This ensures that we enter only those breakouts that were preceded by a prolonged and abnormally low volatility phase. The breakout must be confirmed by the price breaking the BB after the Squeeze ON state ends, signaling a sustained volatility expansion rather than a brief price spike.
VII. Conclusion
The analysis confirms that the user's observation about the relationship between volatility contraction and subsequent strong movements is a fundamentally sound principle, the best implementation of which in the cryptocurrency market is achieved using the composite BB/KC Squeeze indicator.
This indicator provides a precise quantitative definition of "how much" volatility must contract (SD must fall below 75% of ATR) and includes the necessary qualitative prerequisites ("why and how" — consolidation, confirmed by momentum). The presented step-by-step algorithm provides the technical foundation for coding a highly effective tool that identifies accumulation phases and generates breakout signals, adapted to the dynamics of the crypto market. The inclusion of momentum-based filtering and proper risk management tied to ATR are key factors for transitioning from a pure indicator to a profitable trading strategy.
Техническая Спецификация Индикатора Волатильности BB/KC Squeeze для Алгоритмической Торговли Криптовалютами
I. Теоретические Основы Динамики Волатильности
Принцип "Сжатие-Расширение" (Volatility Contraction/Expansion)
Фундаментальный анализ динамики рыночной волатильности опирается на принцип, популяризированный Джоном Боллинджером: периоды низкой волатильности неизбежно сменяются периодами высокой волатильности. Это явление, известное как цикличность волатильности, является краеугольным камнем торговых стратегий, основанных на пробое диапазона (Breakout Strategy). В контексте технического анализа сжатие волатильности проявляется как фаза консолидации, в которой торговый диапазон сужается, предшествуя сильному, направленному ценовому импульсу.
Смысл контракции волатильности заключается в фазе рыночного равновесия, которое, однако, является неустойчивым. Чаще всего это отражает скрытую деятельность крупных участников, которые либо накапливают (аккумуляция), либо распределяют (дистрибуция) значительный объем актива. Эти действия происходят в узком ценовом коридоре, чтобы избежать резкого движения цены, пока позиция не будет полностью набрана. В результате активность падает, диапазон сужается, и рынок накапливает «энергию» для последующего масштабного расширения. Для криптовалютного рынка, который характеризуется высокой импульсивностью и склонностью к резким трендовым движениям, точная идентификация фазы глубокого сжатия становится мощным алгоритмическим предиктором.
Идентификация Предпосылок: Отличие Пред-пробойного Сжатия
Для построения надежного индикатора критически важно уметь отличать истинное пред-пробойное сжатие от других типов снижения волатильности, которые не ведут к сильному импульсу. В частности, волатильность, измеряемая, например, индикатором Average True Range (ATR), всегда будет снижаться после завершения сильного вертикального движения, поскольку рынок переходит в фазу отката или замедления. Такое снижение является пост-импульсным и не обязательно сигнализирует о скором пробое.
Требуется найти признаки аномально низкой волатильности, которая возникает именно в фазе консолидации. Оптимальный момент для поиска сигнала Сжатия — это возникновение четкого бокового канала. В этой фазе средняя линия канального индикатора (например, EMA или SMA) должна быть относительно горизонтальной. Это подтверждает, что рынок в данный момент находится в состоянии рейнджа (отсутствие сильного текущего тренда), а не в фазе замедления после тренда. Таким образом, в алгоритм индикатора Squeeze необходимо заложить проверку на подтверждение бокового движения (например, через анализ наклона средней линии или ее статистического отклонения от горизонтали за последние X периодов). Только аномально низкая волатильность в фазе рейнджа может быть квалифицирована как высоконадежное пред-пробойное сжатие.
II. Выбор Инструмента: Обоснование Композитного Подхода BB/KC Squeeze
Для эффективного алгоритмического определения фазы экстремального сжатия необходимо использовать индикатор, который комбинирует преимущества двух наиболее надежных методов измерения волатильности: Полос Боллинджера и Каналов Кельтнера.
Сравнительный Анализ Индикаторов Волатильности
Полосы Боллинджера (Bollinger Bands, BB)
Полосы Боллинджера основаны на Стандартном Отклонении (SD) цены от скользящей средней. Эта статистическая метрика делает BB высокочувствительными, поскольку они быстро реагируют на внезапные изменения волатильности. Благодаря этой чувствительности, BB идеально подходят для ранней регистрации начавшегося сжатия и для генерации сигнала пробоя. Однако их высокая чувствительность также является недостатком, так как она может приводить к ложным срабатываниям и преждевременному расширению в условиях рыночного шума.
Каналы Кельтнера (Keltner Channels, KC)
Каналы Кельтнера, в современной версии, разработанной Линдой Рашке, используют Average True Range (ATR) для расчета ширины канала. ATR представляет собой усредненный истинный диапазон колебаний, что обеспечивает более сглаженную и устойчивую меру волатильности. KC реагируют на изменения рынка медленнее, чем BB, но их плавность позволяет лучше фильтровать ложные сигналы и определять истинное направление движения. В отличие от ценовых каналов с фиксированной шириной или процентными конвертами, которые плохо работают в динамичных средах, BB и KC автоматически адаптируются к рыночным условиям.
Механизм Squeeze: Синергия Инструментов
Индикатор BB/KC Squeeze использует синергию BB и KC для достижения максимальной точности в идентификации фазы накопления.
Техническое условие Сжатия (Squeeze ON) определяется, когда быстрые и статистически ориентированные Полосы Боллинджера (BB) оказываются внутри более широких и сглаженных Каналов Кельтнера (KC). Это состояние представляет собой количественное подтверждение экстремально низкой волатильности.
В стандартных настройках BB используют множитель 2.0 от Стандартного Отклонения (SD), а KC используют множитель 1.5 от ATR. Для того чтобы статистическая ширина BB (основанная на отклонении цены от средней) сузилась внутрь ширины KC (основанной на усредненном диапазоне), текущее статистическое отклонение цены должно упасть до аномально низких значений по отношению к историческому среднему диапазону колебаний. Это не просто низкая волатильность, а ее экстремальное сокращение, указывающее на максимальное накопление потенциальной энергии перед импульсом.
Таблица Сравнения Ключевых Индикаторов Волатильности
| Индикатор | Базовая Метрика | Реакция на Волатильность | Основная Роль в Squeeze |
|---|---|---|---|
| Bollinger Bands (BB) | Стандартное Отклонение (SD) | Быстрая, Высокочувствительная | Датчик сжатия, Ранний сигнал пробоя |
| Keltner Channels (KC) | Average True Range (ATR) | Плавная, Фильтрация шума | Определение устойчивого диапазона, Фильтр ложных сигналов |
III. Количественный Анализ: На Сколько, Почему и Как Сокращается Волатильность
На Сколько: Математическое Определение Степени Сжатия
Степень сокращения волатильности перед пробоем измеряется через строгое математическое условие, которое обеспечивает, что текущая волатильность значительно ниже ее усредненного исторического значения.
Условие Сжатия (Squeeze ON) требует выполнения обеих следующих математических формул :
Для понимания того, на сколько должно сократиться движение, необходимо рассмотреть формулы ширины каналов:
* Ширина Полос Боллинджера (\text{BB}_{\text{Width}}):
\text{KC}_{\text{Width}} = 2 \times (\text{ATR} \times 1.5) = 3.0 \times \text{ATR}$$
Состояние Squeeze ON означает, что \text{BB}_{\text{Width}} < \text{KC}_{\text{Width}}. Это условие эквивалентно \text{SD} \times 4.0 < \text{ATR} \times 3.0. В результате, текущее стандартное отклонение (SD) должно упасть ниже 75% от усредненного истинного диапазона (ATR), чтобы сжатие было зарегистрировано. Такое требование к снижению SD до уровня, значительно ниже ATR, является критерием для идентификации глубокого покоя рынка, который служит энергетической базой для последующего направленного движения.
Почему и Как: Качественные Признаки
Снижение волатильности происходит потому, что крупные участники рынка медленно и скрытно накапливают позиции. Они поддерживают цену в узком диапазоне, чтобы полностью набрать необходимый объем, прежде чем позволить цене импульсивно выйти из консолидации. Это создает фазу бокового движения, минимизируя риски для трейдера и позволяя оперативно отследить «бычий» или «медвежий» прорыв.
Для повышения надежности алгоритма и предотвращения входа в ложные диапазоны, необходимо учитывать следующие качественные признаки, сопровождающие истинное сжатие:
* Длительность Сжатия: Чем дольше цена находится в состоянии Squeeze ON, тем больше энергии накапливается. Опыт показывает, что минимальная длительность должна составлять 4–8 периодов. Длительные периоды сжатия (более 10–12 баров) часто предшествуют наиболее сильным импульсным движениям на крипторынке.
* Положение Цены: Во время фазы сжатия цена должна находиться в непосредственной близости к средней линии (EMA/SMA). Это подтверждает, что рынок находится в состоянии равновесия, и накопление происходит вокруг "справедливой" цены текущего диапазона.
* Контекст Моментума: Индикатор волатильности (BB/KC) определяет когда произойдет движение, но не его направление. Для предсказания направления (признак) необходимо использовать компонент моментума (например, гистограмму, как в варианте TTM Squeeze ). Появление положительного моментума во время сжатия, даже при отсутствии движения цены, является признаком потенциальной бычьей силы, усиливающей вероятность пробоя вверх.
Логика Определения Состояния "Сжатия" (Squeeze State Logic)
| Состояние | Математическое Условие (BB vs KC) | Интерпретация Рынка |
|---|---|---|
| Squeeze ON | (\text{BB}_{\text{Upper}} < \text{KC}_{\text{Upper}}) И (\text{BB}_{\text{Lower}} > \text{KC}_{\text{Lower}}) | Экстремальная контракция волатильности, фаза накопления, ожидание прорыва. |
| Squeeze OFF | \text{BB}_{\text{Upper}} \ge \text{KC}_{\text{Upper}} ИЛИ \text{BB}_{\text{Lower}} \le \text{KC}_{\text{Lower}} | Нормальная волатильность, трендовое движение или неустойчивый диапазон. |
IV. Техническая Спецификация: Пошаговый Алгоритм Индикатора Squeeze (BB/KC)
Данный алгоритм представляет собой последовательность шагов, необходимых для кодирования индикатора, фиксирующего состояние сжатия и генерирующего сигналы пробоя.
1. Инициализация и Расчет Базовых Величин
* Определение Периода N: Определить период N (рекомендуемое значение N=20) для расчета скользящих средних, ATR и Стандартного Отклонения (SD).
* Расчет Истинного Диапазона (True Range, TR): Для каждого бара рассчитать \text{TR} как максимальное значение из трех метрик: (High – Low), \text{Abs}(\text{High} - \text{Close}_{\text{prev}}), \text{Abs}(\text{Low} - \text{Close}_{\text{prev}}).
2. Расчет Компонентов Канала Кельтнера (KC)
* Расчет Средней Линии KC (EMA): Рассчитать экспоненциальную скользящую среднюю (EMA) цены закрытия (\text{Close}) за период N.
* Расчет ATR: Рассчитать Средний Истинный Диапазон (ATR) как скользящую среднюю \text{TR} за период N.
* Расчет Границ KC: Рассчитать Верхнюю и Нижнюю линии KC, используя множитель ATR Y (рекомендуется Y=1.5 ):
* * 3. Расчет Компонентов Полос Боллинджера (BB)
* Расчет Средней Линии BB (SMA): Рассчитать простую скользящую среднюю (SMA) цены закрытия (\text{Close}) за период N.
* Расчет SD: Рассчитать Стандартное Отклонение (SD) цены закрытия за период N.
* Расчет Границ BB: Рассчитать Верхнюю и Нижнюю полосы BB, используя множитель SD X (рекомендуется X=2.0 ):
* * 4. Алгоритм Определения Состояния "Squeeze"
* Проверка Условия Squeeze ON: Для текущего бара проверить, выполняются ли оба условия: \text{BB}_{\text{Upper}} < \text{KC}_{\text{Upper}} И \text{BB}_{\text{Lower}} > \text{KC}_{\text{Lower}}.
* Присвоение Состояния: ЕСЛИ оба условия в шаге 9 истинны, ТО присвоить переменной \text{SqueezeState} значение \text{ON} (например, 1). ИНАЧЕ присвоить значение \text{OFF} (например, 0).
5. Алгоритм Генерации Сигналов Пробоя
* Идентификация Триггера: Проверить, что \text{SqueezeState} изменился с \text{ON} на \text{OFF} на текущем баре. Это означает, что волатильность расширилась после периода сжатия.
* Сигнал Бычьего Пробоя: ЕСЛИ \text{SqueezeState}_{\text{prev}} = \text{ON} И \text{SqueezeState}_{\text{current}} = \text{OFF}, И цена закрытия (\text{Close}) текущего бара выше \text{BB}_{\text{Upper}}, ТО генерировать сигнал ПОКУПКА (Breakout Long).
* Сигнал Медвежьего Пробоя: ЕСЛИ \text{SqueezeState}_{\text{prev}} (start_span) (end_span)= \text{ON} И \text{SqueezeState}_{\text{current}} = \text{OFF}, И цена закрытия (\text{Close}) текущего бара ниже \text{BB}_{\text{Lower}}, ТО генерировать сигнал ПРОДАЖА (Breakout Short).
* Дополнительная Фильтрация Моментумом: Для повышения надежности, сигнал пробоя должен быть действителен только ЕСЛИ пробой происходит в направлении, подтвержденном моментум-индикатором (например, если Моментум > 0 для Бычьего пробоя, и Моментум < 0 для Медвежьего пробоя).
Роль Моментума в Алгоритме
Ключевым дополнением к индикатору волатильности является компонент моментума. Определение состояния Squeeze ON/OFF позволяет понять потенциал движения, но не его направление. Моментум-индикатор (часто реализованный в виде гистограммы, как в TTM Squeeze ) позволяет измерить, происходит ли накопление давления покупателей или продавцов во время фазы сжатия. Следовательно, индикатор должен включать подкомпонент, который измеряет это давление. Использование моментума в сочетании с пробоем BB гарантирует, что вход в позицию происходит не просто после расширения волатильности, а после ее расширения в подтвержденном направлении, что существенно снижает количество ложных пробоев.
V. Параметры, Оптимизация и Нюансы для Криптовалютного Рынка
Адаптация Стандартных Настроек (20, 2.0, 1.5)
Стандартные параметры N=20, X_{\text{BB}}=2.0 и Y_{\text{KC}}=1.5 разработаны для фондовых рынков и являются надежной отправной точкой. Однако высокая волатильность и динамика криптовалютного рынка требуют тонкой настройки для оптимизации производительности.
1. Оптимизация Периода N
Уменьшение периода N (например, до 18 или 14) на более низких таймфреймах (1-часовой и ниже) увеличит чувствительность индикатора к локальным, быстрым сжатиям, что полезно для скальпинга. Однако, это также может привести к генерации большего количества сигналов, в том числе ложных. Для среднесрочных торговых стратегий (4h, Daily) период N=20 или N=21 обеспечивает оптимальный баланс между чувствительностью и фильтрацией шума.
2. Оптимизация Множителя Y_{\text{KC}}
Множитель Каналов Кельтнера (Y) по умолчанию равен 1.5. KC более плавные и устойчивые благодаря использованию ATR. Если в процессе тестирования индикатор генерирует слишком много ложных сигналов Squeeze ON, это может указывать на то, что канал KC слишком узок. В этом случае, небольшое увеличение множителя Y (например, до 1.6 или 1.7) расширит KC. Это потребует еще более экстремального падения Стандартного Отклонения, чтобы BB сузились внутрь KC, тем самым повышая строгость и надежность сигнала Squeeze ON.
Важность Выбора Таймфрейма
Хотя некоторые индикаторы, такие как KC и BB, показывают более высокую эффективность в трендовом состоянии для торговли отскоками от границ , стратегия Squeeze Play принципиально иная. Она целенаправленно ищет рейндж (контракцию волатильности) с целью поймать начало нового сильного тренда.
На рынке криптовалют ложные пробои и рыночный шум (chop) могут быть особенно интенсивными на низких таймфреймах. Поэтому для стратегии Squeeze рекомендуется использовать таймфреймы, на которых консолидация наиболее чиста: 4-часовой, Daily или Weekly графики для основных криптопар, таких как BTC/USD или ETH/USD. На более низких таймфреймах необходимо внедрять мультитаймфреймовое подтверждение, используя, например, фильтр тренда с более высокого таймфрейма.
VI. Стратегическое Применение Squeeze Play и Фильтрация
Использование Momentum для Определения Направления
Как уже было отмечено, индикатор волатильности (BB/KC) не является индикатором направления. Функция сжатия (Squeeze ON) лишь идентифицирует высокую вероятность сильного движения. Следовательно, для успешной торговли необходимо интегрировать Моментум.
Прорыв следует использовать как триггер, но направление должно быть подтверждено Моментумом. Например, сигнал ПОКУПКА должен быть сгенерирован, только если соблюдены два условия:
* Выход из состояния Squeeze ON и пробитие ценой закрытия верхней полосы BB (\text{Close} > \text{BB}_{\text{Upper}}).
* Моментум-индикатор подтверждает восходящее давление (значение Моментума положительно).
Такой подход предотвращает входы в ложные пробои, когда волатильность расширяется, но не в направлении накопленного рыночного давления.
Управление Рисками и Позицией
Поскольку Канал Кельтнера основан на ATR, который является динамической мерой волатильности , именно ATR следует использовать для установки стоп-лосса (SL) в алгоритмической стратегии.
* Установка Стоп-Лосса (SL): Рекомендуется устанавливать SL на уровне, определяемом 1 \times \text{ATR} ниже средней линии (EMA/SMA) или за границей канала KC, противоположной пробою. Использование ATR обеспечивает, что SL динамически адаптируется к текущей волатильности, избегая слишком узких стопов в периоды нормального диапазона.
* Установка Тейк-Профита (TP): Поскольку цель Squeeze Play — поймать сильное направленное движение, тейк-профит может быть установлен на основе фиксированного соотношения Риск/Прибыль (например, 2:1 или 3:1) или на основе выхода цены за пределы KC. Пробитие KC часто указывает на экстремальное ценовое движение и может служить точкой для частичной или полной фиксации прибыли.
Фильтрация Против Ложных Сигналов в Рейндже
Основной недостаток торговли на пробой — высокий процент ложных сигналов в широких, но не направленных диапазонах. Использование композитного индикатора BB/KC Squeeze эффективно решает эту проблему.
KC, будучи основанным на сглаженном ATR, менее подвержен краткосрочным всплескам волатильности, чем BB. Фильтр Сжатия требует, чтобы чувствительные BB сузились внутрь сглаженных KC. Это гарантирует, что мы входим только в те прорывы, которым предшествовала длительная и аномально низкая фаза волатильности. Пробой должен быть подтвержден тем, что цена пробивает BB после завершения состояния Squeeze ON, что сигнализирует об устойчивом расширении волатильности, а не о кратковременном ценовом всплеске.
VII. Заключение
Анализ подтверждает, что наблюдение пользователя о связи между сокращением волатильности и последующими сильными движениями является фундаментально верным принципом, наилучшая реализация которого на рынке криптовалют достигается с помощью композитного индикатора BB/KC Squeeze.
Этот индикатор предоставляет точное количественное определение "на сколько" волатильность должна сократиться (SD должно упасть ниже 75% от ATR) и включает необходимые качественные предпосылки ("почему и как" — консолидация, подтвержденная моментумом). Представленный пошаговый алгоритм обеспечивает техническую основу для кодирования высокоэффективного инструмента, который идентифицирует фазы аккумуляции и генерирует сигналы пробоя, адаптированные к динамике крипторынка. Включение фильтрации на основе моментума и надлежащее управление риском, привязанное к ATR, являются ключевыми факторами для перехода от чистого индикатора к прибыльной торговой стратегии.
Wick Formation Area [MMT]The term "wick formation area" refers to a concept in financial trading where the long upper or lower shadows of a candlestick chart highlight areas of significant price rejection and potential liquidity, which often act as future support or resistance zones.
ATR Levels by TabbyATR levels refer to the horizontal lines plotted on a chart based on the Average True Range (ATR) indicator, which measures market volatility, not direction, by showing average price movement over time, helping traders set dynamic stops, targets (like 1x, 2x ATR), and identify potential breakouts or consolidation areas by observing if price moves are larger or smaller than the average range.
6-9 Session & LevelsThis indicator provides comprehensive session-based range analysis designed for intraday traders. It calculates and displays key levels based on a customizable session period (06:00-09:00am EST).
Displays session open, high, and low levels
Highlights session range with optional box visualization
Shows previous day RTH (09:30-16:00) levels
Range Levels:
25%, 50%, and 75% range levels within the session
Range deviations at x0.5, x1.0, and x2.0
Fibonacci extension levels (customizable, default x1.33 and x1.66)
Optional fill zones between Fibonacci levels






















