TLM HTF CandlesTLM HTF Candles
Higher timeframe candles displayed on your current chart, optimized for The Lab Model (TLM) trading methodology.
What It Does
Plots up to 6 HTF candles side-by-side on the right of your chart with automatic swing detection, expansion bias coloring, and a quick-reference info table. Watch multiple timeframes at once without switching charts.
Swing Detection - Solid lines for confirmed swings, dashed for potential swings. Detects when HTF levels get swept and rejected.
Expansion Bias - Candles colored green (bullish), red (bearish), or orange (conflicted) based on 3-candle patterns showing expected price expansion.
HTF Info Table - Compact dashboard showing time to close, active swings, and expansion direction for all timeframes. Toggle dark/light mode.
Equilibrium Lines - 50% midpoint from previous candle to current, great for mean reversion targets.
Based on "ICT HTF Candles" by @fadizeidan -
Heavily customized with swing analysis, expansion patterns, and info table for TLM trading concepts.
Livelli e punti pivot
Trend Pivots Profile [BigBeluga]🔵 OVERVIEW
The Trend Pivots Profile is a dynamic volume profile tool that builds profiles around pivot points to reveal where liquidity accumulates during trend shifts. When the market is in an uptrend , the indicator generates profiles at low pivots . In a downtrend , it builds them at high pivots . Each profile is constructed using lower timeframe volume data for higher resolution, making it highly precise even in limited space. A colored trendline helps traders instantly recognize the prevailing trend and anticipate which type of profile (bullish or bearish) will form.
🔵 CONCEPTS
Pivot-Driven Profiles : Profiles are only created when a new pivot forms, aligning liquidity analysis with market structure shifts.
Trend-Contextual : Profiles form at low pivots in uptrends and at high pivots in downtrends.
Lower Timeframe Data : Volume and close values are pulled from smaller timeframes to provide detailed, high-resolution profiles inside larger pivot windows.
Adaptive Bin Sizing : Bin size is automatically calculated relative to ATR, ensuring consistent precision across different markets and volatility conditions.
Point of Control (PoC) : The highest-volume level within each profile is marked with a PoC line that extends until the next pivot forms.
Trendline Visualization : A wide, semi-transparent line follows the rolling average of highs and lows, colored blue in uptrends and orange in downtrends.
🔵 FEATURES
Pivot Length Control : Adjust how far back the script looks to detect pivots (e.g., length 5 → profiles cover 10 bars after pivot).
Pivot Profile toggle :
On → draw the filled pivot profile + PoC + pivot label.
Off → hide profiles; show only PoC level (clean S/R mode).
Trend Length Filter : Smooths trendline detection to ensure reliable up/down bias.
Precise Volume Distribution : Volume is aggregated into bins, creating a smooth volume curve around the pivot range.
PoC Extension : Automatically extends the most active price level until a new pivot is confirmed.
Profile Visualization : Profiles appear as filled shapes anchored at the pivot candle, colored based on trend.
Trendline Overlay : Thick, semi-transparent trendline provides visual guidance on directional bias.
Automatic Cleanup : Old profiles are deleted once they exceed the chart’s capacity (default 25 stored profiles).
🔵 HOW TO USE
Spotting Trend Liquidity : In an uptrend, monitor profiles at low pivots to see where buyers concentrated. In downtrends, use high-pivot profiles to spot sell-side pressure.
Watch the PoC : The PoC line highlights the strongest traded level of the pivot structure—expect reactions when price retests it.
Anticipate Trend Continuation/Reversal : Use the trendline (blue = bullish, orange = bearish) together with pivot profiles to forecast directional momentum.
Combine with HTF Context : Overlay with higher timeframe structure (order blocks, liquidity zones, or FVGs) for confluence.
Fine-Tune with Inputs : Adjust Pivot Length for sensitivity and Trend Length for smoother or faster trend shifts.
🔵 CONCLUSION
The Trend Pivots Profile blends pivot-based structure with precise volume profiling. By dynamically plotting profiles on pivots aligned with the prevailing trend, highlighting PoCs, and overlaying a directional trendline, it equips traders with a clear view of liquidity clusters and directional momentum—ideal for anticipating reactions, pullbacks, or breakouts.
Supply & Demand Zones [QuantAlgo]🟢 Overview
The Supply & Demand (Support & Resistance) Zones indicator identifies price levels where significant buying and selling pressure historically emerged, using swing point analysis and pattern recognition to mark high-probability reversal and continuation areas. Unlike conventional support/resistance tools that draw arbitrary horizontal lines, this indicator can automatically detect structural zones, offering traders systematic entry and exit levels where institutional order flow likely congregates across any market or timeframe.
🟢 How to Use
# Zone Types:
Green/Demand Zones: Support areas where buying pressure historically emerged, representing potential long entry opportunities where price may bounce or consolidate before moving higher. These zones mark levels where buyers previously overcame sellers.
Red/Supply Zones: Resistance areas where selling pressure historically dominated, indicating potential short entry opportunities where price may reverse or stall before declining. These zones identify levels where sellers previously overwhelmed buyers.
# Zone Pattern Types:
Wick Rejection Zones: Zones created from candles with exceptionally long wicks showing violent price rejection. A demand rejection occurs when price drops sharply but closes well above the low, forming a long lower wick (relative to the total candle range) that demonstrates buyers aggressively defending that level. A supply rejection shows price spiking higher but closing well below the high, with the long upper wick proving sellers rejected that price aggressively. These zones often represent major institutional orders that absorbed significant market pressure. The rejection wick ratio setting controls how prominent the wick must be (higher ratios require more dramatic rejections and produce fewer but higher-quality zones).
Continuation Demand Zones: Areas where price rallied upward, paused in a brief consolidation base, then rallied again. This pattern confirms strong buying continuation (the consolidation represents profit-taking or minor pullbacks that failed to attract meaningful selling). When price returns to these zones, buyers who missed the initial rally often provide support, making them high-probability long entries within established uptrends. These zones follow the classic Rally-Base-Rally structure, demonstrating that buyers remain in control even during temporary pauses.
Reversal Demand Zones: Zones where price dropped, formed a consolidation base, then reversed into a rally. This structure marks potential trend reversals or major swing lows where buyers finally overwhelmed sellers after a decline. The base period represents accumulation by stronger hands, and these zones frequently appear at market bottoms or as significant pullback support within larger uptrends, signaling shifts in market control. These zones follow the Drop-Base-Rally pattern, showing the moment when selling pressure exhausted and buying interest emerged.
Continuation Supply Zones: Areas where price dropped, consolidated briefly, then dropped again. This pattern demonstrates strong selling continuation (the pause represents temporary buying attempts that failed to generate meaningful recovery). When price returns to these zones, sellers who missed the initial decline often provide resistance, creating short entry opportunities within established downtrends. These zones follow the Drop-Base-Drop structure, confirming that sellers maintain dominance even during temporary consolidations.
Reversal Supply Zones: Zones where price rallied upward, formed a consolidation base, then reversed into a decline. This formation identifies potential trend reversals or major swing highs where sellers overcame buyers after an advance. The base period often represents distribution by institutional participants, and these zones commonly appear at market tops or as key pullback resistance within larger downtrends, marking transfers of market control from buyers to sellers. These zones follow the Rally-Base-Drop pattern, capturing the transition point when buying exhaustion meets aggressive selling.
# Zone Mitigation Methods:
Wick Mitigation: Zones become invalidated immediately upon first contact by any wick. This assumes zones work only on their initial test, reflecting the belief that institutional orders concentrated at these levels get completely filled on first touch. Best for traders seeking only the highest-probability, untested zones and willing to accept that zones invalidate frequently in volatile markets. When price touches a zone boundary with even a single wick, that zone is considered "used up" and becomes mitigated.
Close Mitigation: Zones remain valid through wick penetration but become invalidated only when a candle closes through the zone boundary. This method allows price to briefly probe the zone with wicks while requiring actual commitment (a close) for invalidation. Suitable for traders who recognize that zones can withstand initial tests and prefer filtering out false breakouts caused by temporary volatility or liquidity hunts. A zone stays active as long as candles close within or outside it, regardless of wick penetration, until a close occurs beyond the boundary.
Full Body Mitigation: Zones stay valid until an entire candle body exists completely beyond the zone boundary, meaning both the open and close must be outside the zone. This approach maintains zone validity through partial penetrations, accommodating the reality that institutional zones can absorb considerable price action before exhausting. Ideal for volatile markets or traders who believe zones represent price ranges rather than precise levels, and who want zones to persist through aggressive but ultimately rejected breakout attempts. Only when both the open and close of a candle are beyond the zone does it become mitigated.
🟢 Pro Tips for Trading and Investing
→ Preset Selection: Choose presets matching your preferred timeframe - Scalping (M1-M30) for aggressive detection on minute charts, Intraday (H1-H12) for balanced filtering on hourly timeframes, or Swing Trading (1D+) for strict filtering on daily charts. Each preset automatically optimizes swing length, zone strength, and max zone counts for the selected timeframe.
→ Input Calibration: Adjust Swing Length based on market speed (lower values 3-7 for fast markets, higher values 12-20 for slower markets). Set Minimum Zone Strength according to asset volatility (0.05-0.15% for low-volatility assets, 0.25-0.5% for high-volatility assets). Tune Rejection Wick Ratio higher (0.6-0.8) for strict wick filtering or lower (0.3-0.5) to capture more subtle rejections.
→ Zone Pattern Toggle Strategy: Pattern types are mutually exclusive - enable Continuation OR Reversal patterns for each zone type, not both together. Recommended combinations: For trend trading, enable Rejection + Continuation (2-4 toggles total). For reversal trading, enable Rejection + Reversal (2-4 toggles). For scalping, enable only Rejection zones (1-2 toggles). Maximum 3-4 active toggles provides optimal chart clarity. A simple Wick Rejection toggle can also work on virtually any market and timeframe.
→ Mitigation Method Selection: Use Wick mitigation in clean trending markets for strict zone invalidation on first touch. Use Close mitigation in moderate volatility to filter out temporary spikes. Use Full Body mitigation in highly volatile markets to keep zones active through whipsaws and false breakouts.
→ Alert Configuration: Utilize built-in alerts for new zone creation, zone touches, and zone breaks. New zone alerts notify when fresh supply/demand areas form. Zone touch alerts signal potential entry opportunities as price reaches zones. Zone break alerts indicate when levels fail, signaling possible trend acceleration or structure changes.
MM-Auto SQ9 V1.0MM-Auto SQ9 V1.0 — Automatic Square-of-9 levels from a selected pivot (Bottom/Top). Choose base shape or Custom Angle, optional half-angles, cycles, and full color/style control.
Disclaimer: Educational purposes only — not financial advice.
**What it is**
A visual Gann Square-of-9 level engine. It projects horizontal SQ9 price levels from a single pivot using root/square transforms, with selectable geometric bases (90°/60°/72°/120°/45°) or a **Custom Angle**, optional **Sub-Angles (half-angles)**, multi-cycle expansion, full styling control, and a **draggable 0-line** pivot.
**Key features**
* **Draggable 0-line:** Drag the pivot line on the chart and drop it on any swing high/low — no need to type the reference price. Levels recalc instantly.
* **Bottom/Top modes** for projection direction.
* **Shapes or Custom Angle** (Square/Octagon/Hexagon/Triangle/Pentagon or your own).
* **Sub-Angles (½)** with separate style/color.
* **Cycles** to extend the grid.
* **Clean UI**: labels (size/distance), line thickness/style/colors, pivot line style.
**Inputs (quick guide)**
Pivot Price • Pivot Type (Bottom/Top) • Space Multiplier • Geometric Shape / Custom Angle Value • Number of Cycles • Show Sub-Angles & Line Style • Colors & Line Thickness • Labels (on/size/distance).
**Workflow**
1. Drag the **0-line** to your pivot (any swing high/low) or set **Pivot Price** and **Bottom/Top**.
2. Pick shape or **Custom Angle**; increase **Cycles** if needed.
3. Tune **Space Multiplier** to align levels with historical reactions.
4. (Optional) Enable **Sub-Angles** for finer structure.
5. Observe **bounce / break / retest** around levels and combine with your system.
**Pro tips**
* Use a **structural swing** as pivot.
* Reduce clutter by lowering cycles or disabling sub-angles.
* Pair with **market structure / volume / ATR / fractals** for decision support.
* Adjust label size/distance to keep charts clean.
**Troubleshooting (dragging)**
If the 0-line doesn’t move, ensure drawings are **unlocked** and “Move drawings” is enabled in chart settings.
**Disclaimer & Rights**
Educational purposes only — **not financial advice**.
Script programmed by **Mohammad Murad (MM)**.
© 2025 **Mohammad Murad**. **All rights reserved.** No unauthorized copying, distribution, or resale.
## 🇸🇦/🇸🇾 الوصف العربي
**ما هو المؤشّر؟**
محرّك مستويات جان **Square-of-9** يعرض مستويات سعرية أفقية من **Pivot** واحد باستخدام تحويل الجذر/التربيع، مع اختيار شكل زاوي جاهز (90°/60°/72°/120°/45°) أو **زاوية مخصّصة**، وخيار **أنصاف الزوايا**، ودورات متعددة، وتحكّم كامل بالمظهر، وميزة **سحب خط الصفر** لتغيير المحور بسرعة.
**أهم الميزات**
* **سحب خط الصفر:** اسحب خط الـ0 (Pivot) وضعه على أي قاع/قمة — بدون إدخال السعر يدويًا. تُعاد الحسابات فورًا.
* وضعا **Bottom/Top** لتحديد اتجاه الإسقاط.
* **أشكال جاهزة أو زاوية مخصّصة**.
* **أنصاف الزوايا (½)** بنمط/لون مستقلين.
* **الدورات (Cycles)** لتوسعة الشبكة.
* **تحكّم بصري كامل**: عناوين بحجم/مسافة، سماكة/نمط/ألوان الخطوط، ونمط خط المحور.
**الإعدادات باختصار**
Pivot Price • Pivot Type (Bottom/Top) • Space Multiplier • Geometric Shape / Custom Angle • Number of Cycles • Sub-Angles & Line Style • الألوان والسماكات • إعدادات العناوين (إظهار/حجم/مسافة).
**طريقة الاستخدام**
1. اسحب **خط الصفر** إلى القاع/القمة المطلوبة أو حدّد **Pivot Price** واختر **Bottom/Top**.
2. اختر الشكل أو **زاوية مخصّصة**؛ وفعّل **Cycles** إذا لزم.
3. عدّل **Space Multiplier** حتى ترى احتراماً تاريخياً للمستويات.
4. (اختياري) فعّل **أنصاف الزوايا** للدقة.
5. راقب **الارتداد/الاختراق/إعادة الاختبار** وادمجها مع نظامك.
**نصائح**
* اختر Pivot بنيوي واضح (Swing).
* لتقليل الزحمة: خفّض الدورات أو عطّل أنصاف الزوايا.
* دمجها مع **بنية السوق/الفوليوم/ATR/الفراكتلات** يدعم القرار.
* تحكّم بحجم/مسافة العناوين للحفاظ على نظافة الشارت.
**حلّ مشكلة السحب**
إذا ما تحرّك خط الصفر: تأكّد أن الرسومات **غير مقفولة** وأن خيار تحريك الرسومات مفعّل في إعدادات الشارت.
**إخلاء مسؤولية وحقوق**
لأغراض تعليمية فقط — **ليست نصيحة مالية**.
السكربت مبرمج بواسطة **Mohammad Murad (MM)**.
© 2025 **Mohammad Murad**. **جميع الحقوق محفوظة.** يُمنع النسخ/التوزيع/البيع دون إذن.
#Gann #SquareOf9 #SQ9 #Angles #CustomAngle #SupportResistance #PineScript #TradingView
Two-Part Supply & Demand Zones with Role ReversalWill show demand and supply with boxes
Once a zone is used it will be removed to keep the chart clean
Liquidity Hunter 🎯🎯 Welcome to Liquidity Hunter!
This isn't just another indicator that draws lines on your chart. It's a comprehensive tool designed to help you see the market's structure by identifying key liquidity pools where stop-loss and pending orders are likely to be clustered. Price is often drawn to these levels, and understanding where they are can give you a significant edge in your trading.
💡 What is Liquidity?
In simple terms, liquidity refers to areas on the chart where a significant amount of trading activity is expected. These are often found:
Above old highs ( buy-side liquidity )
Below old lows ( sell-side liquidity )
When price revisits these areas, it can trigger a cascade of orders, leading to significant and rapid price movements. This indicator helps you anticipate these moves before they happen.
✨ Core Features
This indicator is packed with features to provide a complete liquidity analysis:
Multi-Type Liquidity Detection: Identifies and plots various types of liquidity:
Structural: Swing Highs/Lows (S-H, S-L) and Equal Highs/Lows (EQH, EQL).
Time-Based: Previous Day, Week, and Month Highs/Lows (PDH/L, PWH/L, PMH/L).
Session-Based: Highs and Lows of the Asia, London, and New York sessions.
Volume-Based Strength Analysis: Not all levels are equal. The indicator analyzes the volume at the creation of a swing point. A High-Strength level (marked with a ⭐) was formed with significant market participation, making it a more reliable point of interest.
Sweep vs. Break Intelligence: It intelligently distinguishes between a liquidity sweep (price wicks through a level and reverses) and a structural break (price closes firmly beyond the level), helping you understand market intention. Optional symbols (💰 for sweep, ▶ for break) can mark these events.
Advanced EQL/EQH Visualization: The new detection method visually connects equal highs or lows with a dotted line, making these obvious targets easy to spot without hiding the original swing points that form them.
Session & Killzone Visuals: Visualize the Asian, London, and New York trading sessions and their high-probability "Killzones" directly on your chart to better time your entries and understand the market context.
At-a-Glance Dashboard: The customizable on-screen dashboard keeps you informed of the nearest bullish and bearish liquidity targets, their distance from the current price, and their strength.
🚀 How To Use It
Here are a few ways you can incorporate Liquidity Hunter into your trading strategy:
As Targets: Use the plotted levels as potential take-profit targets. If you're in a long position, a nearby bearish liquidity level (e.g., an old Swing High) could be a logical place to exit.
As Entry Zones: Wait for price to react at these key levels. A common strategy is to look for a sweep of a key low (a "stop hunt") followed by a strong bullish candle, which can signal a high-probability long entry.
For Confluence: Combine the liquidity levels with your existing strategy. For example, if a high-strength swing low aligns with a key Fibonacci level or a moving average, it becomes a much stronger support zone.
To Gauge Momentum: The optional Trend Momentum Analysis looks at the volume of consecutive high-strength swings. A new high-strength high forming with more volume than the last one (📈) can indicate strengthening bullish momentum.
⚙️ Customization
Dive into the settings to fully customize the indicator to your liking. You can:
Toggle different liquidity types on or off.
Adjust the pivot lookback period to suit your trading style.
Define your exact session times (in your chosen timezone!).
Change all colors and styles to match your chart theme perfectly.
💬 We Want Your Feedback!
This indicator is actively developed, and your feedback is invaluable! If you...
Find a bug 🐞
Have an idea for a new feature or improvement 💡
Want to share how you use the indicator 📈
...please leave a comment below or send me a direct message! Let's work together to make this the best liquidity tool on TradingView. Happy hunting!
BRC High/Low + Retest + Sweep🧭 Overview
The BRC System (Break–Retest–Claim) is a structured breakout-retest strategy that automatically identifies new highs or lows, confirms liquidity sweeps, and highlights high-probability reclaim zones. It supports both long and short setups with adaptive zone shading and full-session awareness.
⚙️ Core Features
✅ Dual-Side Logic: Detects both bullish (Break–Retest–Reclaim) and bearish (Breakdown–Retest–Reclaim) setups.
✅ Liquidity Sweep Mode: Captures false breakouts (sweep-and-reclaim) for advanced liquidity-based trading.
✅ Adaptive Shading:
🟩 Green — Long bias
🟥 Red — Short bias
⬜ Grey — Neutral (weak ADX)
✅ EMA + ADX Trend Filters: Confirms direction using higher-timeframe momentum.
✅ Configurable Profiles: Pre-tuned for Gold day-trades and EUR/USD swings (customizable mode included).
✅ Compact Dashboard: Shows active profile, trend timeframe, ADX, bias direction, and win/loss stats for the last N trades.
✅ Abbreviated Labels (toggle): RL = Retest Long | SL = Sweep Long | RS = Retest Short | SS = Sweep Short.
✅ Dynamic Zones: Automatically updates breakout-retest areas with visual boxes extending forward.
📊 How It Works
Detects a new swing high/low breakout within a chosen lookback range.
Waits for retest of the broken level (or reclaim after liquidity sweep).
Confirms entry when body closes in trend direction + ADX/EMA filters pass.
Tracks outcomes with auto-calculated win % dashboard.
💡 Best Use
Use on Gold (XAUUSD) for intraday scalps or EUR/USD for swing trades.
Works across timeframes — best visual clarity on M15–H4.
Integrate with your risk-reward or alert-triggered execution system.
Liquidity Depth - TitanWealth AlgorithmTranslates the order book in a visual, historical & data-driven format.
Highlights Liquidity Depth, your visual guide to the order book. See where leveraged traders are most exposed and define your edge.
Levels are based on leverage onto positions & is adaptive based on the security, factoring in naturally leveraged products available to all traders globally.
OneHolo-TGAPSNRTGAPSNR: Multi time frame - Trend Gap Stop And Reverse strategy/Study PnL. This script outlines a systematic approach to generating buy and sell signals by combining Fair Value Gaps (FVGs), specific market structures, and three different trend direction methods (Swing, Gravity, and FVG Inverse direction). The strategy incorporates multiple entry modes, such as Hyper Mode, Swiper Mode, and a Custom mode, allowing users to tailor signal conditions, alongside extensive logic for trade management, higher time frame analysis, and various visual indicators for plotting trend, pivots, and profit and loss information.
I. Core Trend Direction Consensus (The Three-Pillar System)
The primary method for determining market bias is a three-pillar consensus model, requiring all directional methods to align before the overall Trend Direction is established (up or down). This ensures high conviction for trend signals.
• Pillar 1: Swing Direction: Determines market direction based on classic price action, specifically checking for continuous higher highs and higher lows for an upward bias, or lower lows and lower highs for a downward bias.
• Pillar 2: Gravity Direction (Peak and Valley): This uses specific market structure pivots. Direction is set based on whether the close price successfully crosses the established recent Peak High (indicating upward momentum) or crosses under the recent Valley Low (indicating downward pressure).
• Pillar 3: FVG Inverse Direction: This relies on Fair Value Gaps (FVGs), defined as a gap between the current bar's price and the price two bars prior. Direction shifts occur when the Close price crosses the midpoint of the last relevant FVG. For instance, crossing above the midpoint of the last FVG Down signals a potential inverse long trade.
II. Flexible Signal Generation Modes
The strategy offers several pre-configured and highly detailed entry modes, plus a powerful Custom Mode:
• Session Open Range Break (ORB) Mode: Uses the high/low of the session's first bar to generate initial signals, then defaults to the Three-Pillar Trend Direction after the ORB session concludes.
• Swiper Mode: Designed to identify continuations, combining a confirmed Trend Direction with a Stop and Reverse signal (SnR) while actively avoiding confirmed pivot breaks.
• Hyper/Aggressive Modes: These modes use broad combinations of signals, allowing for earlier entry based on momentum and structural breaks (like PeakCrossLong, SnRtrapLong, or FVG signals).
• Custom Query Mode (The Seven-Slot Logic): This non-redundant system allows the user to define complex, tailored entry conditions by selecting any combination of 14 core patterns across seven distinct slots.
◦ AND/OR Combination: For each of the seven slots, the user determines if the chosen pattern must be met (AND component) or if it can serve as an alternative trigger (OR component).
◦ The final signal requires that all configured AND conditions are true and then integrates the result of the OR conditions, allowing for highly specific "hook queries" (e.g., "Condition A AND Condition B, OR Condition C").
III. Advanced PnL and Mobile App Diagnostics
A key proprietary element is the implementation of a dual PnL system and customized visualization features:
• Dual PnL Display (Strategy PnL vs. Study PnL): Users can choose to view either the native platform's strategy performance data or the script's internal, proprietary Study PnL. The Study PnL calculates profits/losses based strictly on the close price and tracks performance using Pine Script® arrays, providing a transparent, diagnostic view of performance independent of broker/platform simulation biases.
• Lower Panel Visualization: Both PnL types are displayed on the lower panel using detailed bar plots (style=plot.style_columns), which color according to profitability, and include labels that show current open profit and total net profit.
• Detailed Trade Labels: The script generates detailed, customizable labels on both the chart (above/below bars) and the lower PnL panel, providing historical PnL, number of trades, and real-time profit information for each entry or exit.
IV. Higher Time Frame (HTF) Context and Lookahead Prevention
The strategy integrates multi-time frame analysis using strict methodology to prevent lookahead bias:
• HTF Bias Filtering: When enabled, the strategy uses the position calculated on a user-defined higher time frame (HTF) as a mandatory filter. A long signal on the current chart is only executed if the HTF is also in a long position, and vice-versa.
• Lookahead Prevention: To maintain integrity, all HTF data requests use a mandatory lookback index (often ) to ensure the script only accesses confirmed data from the prior completed bar on the higher timeframe.
• HTF Visual Mode: The user can opt to display key structural elements—such as the Gravity Pivots and the Trend Direction blocks—as calculated on the HTF, overlaying this higher-level context onto the current chart for visual analysis.
The TGAPSNR: Multi time frame - Trend Gap Stop And Reverse strategy/Study PnL script, despite its complexity, intentionally excludes realistic considerations such as fees, slippage, and explicit risk management settings (like fixed stop-loss or take-profit rules) from its primary logic.
Here is an explanation of why these elements are omitted in the strategy's current implementation and why they must be applied by the user for real-world application, drawing on the context of the sources:
1. Absence of Realistic Fees, Commissions, and Slippage
The primary function of the TGAPSNR script is to execute intricate signal generation and diagnostic PnL calculation based on its three-pillar trend system and Custom Mode logic.
However, the strategy's backtesting results, particularly those displayed by the internal Study PnL feature, are based purely on price difference (e.g., (close - lse) * syminfo.pointvalue * IUnits).
• Strategy Result Requirements: TradingView explicitly states that strategies published publicly should strive to use realistic commission AND slippage when calculating backtesting results to avoid misleading traders.
• User Responsibility: Since the script currently focuses on signal integrity and uses a fixed contract size (IUnits = 1) without configurable commission/slippage inputs shown in the source, the user must manually configure these fees within the Pine Script® Strategy Tester settings (Properties tab) to ensure the strategy results are reflective of actual trading costs.
2. Omission of Built-in Risk Management (Stop-Loss and Take-Profit)
The TGAPSNR strategy's core focuses on entry signals and trend confirmation. Exits are primarily governed by:
• Reversal signals (BuyStop or SellStop).
• End-of-Day (EOD) session closures (EODStop).
• HTF bias opposition.
What is Missing: The script does not include explicit, hard-coded risk management parameters for traditional stop-loss (SL) or take-profit (TP) levels (e.g., risk percentage or ATR-based exits).
• Viable Risk: TradingView guidelines stipulate that strategies should generally risk sustainable amounts of equity, usually not exceeding 5-10% on a single trade, and trade size must be appropriate.
• User Application: To ensure the strategy operates within realistic risk boundaries, users must apply their own risk management rules. This includes:
◦ Implementing realistic stops and profit targets, which can be added via Pine Script® code or manually managed during live trading.
◦ Sizing trades to only risk sustainable amounts of equity. The current default unit size (IUnits = 1) is unrealistic for risk assessment unless the symbol is micro-sized.
3. Execution Quality (Fills)
The strategy is set to fill_orders_on_standard_ohlc = true and operates on confirmed bar closes (barstate.isconfirmed).
• Fill Assumption: This suggests the strategy primarily uses close price or the HTF close price (EntryPrice = HTFClose) for execution.
• Real-World Limitation: In volatile markets, obtaining a fill price equal to the close of the bar is rare. The user must be aware that the simulated fill price shown in backtesting may differ significantly from actual execution prices due to market action and chosen order type, reinforcing the importance of applying slippage settings.
In summary, while the script provides highly detailed and unique signal generation and internal PnL diagnostics, users must exercise caution and apply their own realistic parameters for fees, slippage, and explicit risk controls to prevent misleading performance results and ensure viable trading
Session LevelsMarks the highs and lows of the previous day New York session and the following Asian and London sessions.
Anchor Candle High/Low This indicator automatically marks the High and Low of any chosen anchor candle — at any timeframe and specific London time (DST-safe). It’s designed for traders who use key session levels (e.g., London 9:00 4H, New York open, or Daily open) to frame intraday price structure.
Features
Select any timeframe (5 min, 15 min, 1 H, 4 H, Daily, etc.)
Choose any London-time anchor (e.g., 09:00, 13:00, 00:00)
Draws horizontal High (green) and Low (red) lines
Automatically splits the range into quartiles (0/25/50/75/100 %)
→ Labels adjust directionally (Low→High if bullish, High→Low if bearish)
Option to keep historical lines or only show the latest day
Customisable colours and thickness
Alerts for when price touches or crosses the anchor High/Low
Ideal for
London/NY session traders, ICT-style traders, and anyone analysing structure around key time-based ranges.
Would you like me to include a short tagline (e.g. “Session Range Framework for Smart-Money Traders”) or keep it neutral and formal for the public library?
Ch
Behdad v2 Daily Weekly Monthly HLC & SessionsThis indicator plots the highest and lowest as well as the closing price of the market for daily, weekly and monthly periods. It is also a great help for trading by identifying the range of sessions and fractals.
High Time Frame (HTF) Swing PointsIdentify and display swing highs and lows across multiple higher timeframes on a chart, overlaying horizontal lines and customizable labels at these swing points.
Timeframes
Five user-defined higher timeframes (default settings: 5-minute, 15-minute, 1-hour, 4-hour, and daily)
Manually show/hide individual timeframes
When chart’s timeframe is set higher than one of the five configured, the indicator will automatically hide it. This helps to prevent clutter when navigating between timeframes on the chart
Swing Levels
Configure the line color, opacity, width and weather it’s solid/dotted/dashed
Once swing levels are identified, the indicator will look for the chart candle where the line starts
When price crosses the swing level, the line will be terminated
Tags
Customize the tag text for each individual timeframe, using blank if a tag is not desired for that timeframe
A tag text color can be set for all tags or base it on the line color
Set tag text size based on: Auto, Tiny, Small, Normal, Large
Choose how far to the right of the line the tag text should appear, as an integer representing the size of a candle
Choose to clear the tag or leave it in place after price crosses a swing level
Use Cases
Visualize key swing points from higher timeframes to identify potential reversal or breakout zones
Identify possible low resistance liquidity run (LRLR) areas
Use swing points for stop placement or as targets or draws on liquidity
Kornél CCI Divergence — Price Overlay (All levels + EMA50) v6English/Hungarian
🔎 Overview
This is a CCI divergence indicator that looks for discrepancies (divergences) between the price and the CCI (Commodity Channel Index) and plots them on the chart with lines and labels.
⚙️ How it works
It searches for pivot points in the price:
Pivot High (local high)
Pivot Low (local low)
It uses the ta.pivothigh() and ta.pivotlow() functions for this.
For these pivots, it checks the CCI value on the same candle.
Then it compares two consecutive pivots:
Bullish divergence (green):
Price makes a lower low (LL)
CCI makes a higher low (HL)
Price is above the EMA50 (uptrend)
Bearish divergence (red):
Price makes a higher high (HH)
CCI makes a lower high (LH)
Price is below the EMA50 (downtrend)
If a divergence is detected:
Draws a line connecting the two pivots
Adds a label (“BullDiv” or “BearDiv”)
Sets an alert to notify the user
EMA50 trend filter:
Accepts bullish divergences only if price is above EMA50
Accepts bearish divergences only if price is below EMA50
This filters out “false” signals
Keeping the chart clean:
Stores a maximum of X lines and labels at a time (maxLines), deleting older ones
📈 Practical meaning
If the price makes a new low but the CCI does not → Bullish Divergence (price weakness, potential upward reversal)
If the price makes a new high but the CCI does not → Bearish Divergence (trend exhaustion, potential drop)
So it tries to provide reversal signals.
Thanks to the EMA50, it only highlights divergences that align with the current trend → a trend-following divergence filter.
👉 In short:
This indicator plots pivot-based divergences between CCI and price, and only signals when the divergence aligns with the trend indicated by the EMA50.
Magyar:
🔎 Áttekintés
Ez egy CCI divergencia indikátor, amely a CCI (Commodity Channel Index) és az ár közötti eltéréseket (divergenciákat) keresi, és vonalakkal és címkékkel ábrázolja a grafikonon.
⚙️ Hogyan működik
Keresi a pivot pontokat az árban:
Pivot High (helyi csúcs)
Pivot Low (helyi mélypont)
Ehhez a ta.pivothigh() és ta.pivotlow() függvényeket használja.
Ezeknél a pivot pontoknál megnézi a CCI értékét ugyanazon a gyertyán.
Ezután összehasonlít két egymást követő pivotot:
Bullish divergencia (zöld):
Az ár alacsonyabb mélypontot (LL) csinál
A CCI magasabb mélypontot (HL) csinál
Az ár az EMA50 fölött van (emelkedő trend)
Bearish divergencia (piros):
Az ár magasabb csúcsot (HH) csinál
A CCI alacsonyabb csúcsot (LH) csinál
Az ár az EMA50 alatt van (csökkenő trend)
Ha divergencia történik:
Vonalat húz a két pivot pont között
Címkét ad hozzá („BullDiv” vagy „BearDiv”)
Értesítést (alertet) állít be a felhasználónak
EMA50 trend szűrő:
Bullish divergenciát csak akkor fogad el, ha az ár EMA50 fölött van
Bearish divergenciát csak akkor fogad el, ha az ár EMA50 alatt van
Ez kiszűri a „hamis” jeleket
A grafikon tisztán tartása:
Egyszerre maximum X vonalat és címkét tárol (maxLines), a régebbieket törli
📈 Gyakorlati jelentés
Ha az ár új mélypontot ér el, de a CCI nem → Bullish Divergence (árgyengülés, potenciális emelkedés)
Ha az ár új csúcsot ér el, de a CCI nem → Bearish Divergence (trend kifulladása, potenciális csökkenés)
Tehát az indikátor fordulós jeleket próbál adni.
Az EMA50 segítségével csak az aktuális trenddel összhangban lévő divergenciákat emeli ki → trendkövető divergencia szűrő.
👉 Röviden:
Ez az indikátor a CCI és az ár pivot pontjai közötti divergenciákat ábrázolja, és csak akkor jelez, ha a divergencia összhangban van az EMA50 által jelzett trenddel.
Liquidity Zones - Joe v1This script lets you plot liquidity/order levels (similar to what you see on Bookmap) directly on your TradingView chart.
It is designed to help traders spot support/resistance levels where large limit orders sit and to visualize whether those liquidity pools are still active, already taken, or being replenished.
Key Features
Session-based
Works during a defined trading session.
Resets automatically at the first bar of the session.
Up to 8 Liquidity Zones, each of which includes:
Price level
Size (affects line thickness)
Status (Active, Taken, Re-Stocking, or Automatic).
Zone Statuses
Active → Untouched liquidity (potential support/resistance).
Taken → Liquidity consumed after price trades through it.
Re-Stocking → Level is being reloaded with fresh orders.
Automatic → Updates dynamically (switches to Taken when crossed, otherwise stays Active).
Visual Representation
Zones are drawn as horizontal lines.
Labels show price + size (e.g., 4010 (200k)).
Customizable line styles and colors:
Active = solid red
Taken = gray dashed
Re-Stocking = purple dotted
Dynamic Updates
Levels automatically update during the session.
If price crosses a zone → it’s marked as Taken.
Labels, line styles, and colors adjust live.
Line thickness = zone size ÷ 10 → visually represents liquidity strength.
How this indicator is Used
Upon market open, the order book tends to fill with limit orders. Using Bookmap, you can see where these orders are placed at each relative price point, along with their sizes. The most important ones to focus on are the larger levels, which are typically highlighted in reddish tones (depending on your Bookmap settings).
I then manually enter these levels into this indicator. It only takes a few seconds, and since there’s no direct way to connect TradingView to Bookmap, this method works as an effective workaround. Once entered, the levels will stay visible on your TradingView chart.
This seemingly simple script is very powerful and provides a strong edge. More often than not, price action gravitates toward these larger liquidity levels. Remember, the price of a security is influenced by market makers whose role is to fill orders and earn commissions on transactions. They have little interest in arbitrarily pushing price higher or lower; instead, their primary function is to guide price toward liquidity—where the large orders sit.
Of course, this is a general principle, and many other variables can affect price movement. Still, by keeping this concept in mind, you’ll often find yourself on the right side of the market.
PL - Pivot Points Ultimate
Profit Lock (PL)-Pivot Points Ultimate — Precision Turns. Real-Time Edge.
**PL-Pivot Points Ultimate** is a price-action tool built to spot **probable turning points** before most lagging indicators even react. It plots **Daily, Weekly, and Monthly** pivot structures—each independently toggleable—so you can keep your chart clean and focused on the levels that matter for your timeframe.
## What makes it different
* **Custom session logic:** Pivots are calculated from **4:30 pm to 4:15 pm (next day)** by default, aligning with how many U.S. markets actually trade. You can **adjust the calculation window** to match your instrument or brokerage session. I personally use them for ES & YM. I find these 2 indexes. That means pivot lines that better reflect true market flow—
* **Modular visibility:** Turn **Daily**, **Weekly**, or **Monthly** pivots **on/off** with a click.
Build a multi-timeframe map of support/resistance without clutter.
* **Price-first, not lagging:** Pivots anchor directly to raw price, giving you an **objective structure** to frame trades in real time.
## How I trade it (two simple, repeatable plays)
> These are my personal playbooks—test and adapt to your market and risk rules.
1. **Fade the move at R2 / S2 on choppy days**
When the tape is range-bound, hits of **R2** or **S2** often precede snap-backs. In my observations, **a large majority** of R2/S2 touches resolve into a turn, offering a clean fade with defined risk.
2. **Fade extremes at R3 / S3**
**R3/S3** are rare air. In my testing, **most** touches at these bands mark **exhaustion** and frequently tag the **session high/low**. I treat these as tactical reversal zones with tight risk controls.
> **Important:** Markets change. The percentages above reflect my historical observations and backtests on specific instruments/timeframes and **are not guarantees**. Always confirm with your own testing, context, and risk management.
## Why traders like it
* **Objective S/R:** Cuts through FOMO by showing where auction pressure is *likely* to shift.
* **Context at a glance:** Know when you’re trading **into** a level versus **away** from one.
* **Discipline builder:** Pre-plotted bands help you plan entries, stops, and take-profits *before* the emotion hits.
## Features at a glance
* Daily / Weekly / Monthly pivots (classic set: Pivot, R1–R3, S1–S3)
* Independent toggles per timeframe
* Adjustable session start/end (default **4:30 pm → 4:15 pm**)
* Clean, readable levels designed for intraday and swing
## Best practices
* Pair with **tape/context** (trend, volatility, market internals).
* On strong trend days, treat R1/S1 as **break-and-go**; On these days i want until the PP levels are broken and price retraces. At this point, I will take the trade on the retracement.
* reserve R2/R3 or S2/S3 for **fade attempts** only with confirmation.
* Use **pre-defined stops** beyond the level and scale out into mean reversion.
**Bottom line:** PL-Pivot Points Ultimate gives you a clearer, session-aware map of where price is **likely** to react—so you can trade decisively, avoid chasing, and let the market come to you.
Profit Lock is a comprehensive day trading program. This is a one-year mentorship. You can visit CatalystWealthCoaching.com for more details.
Palat Trading System Entry Prices (Bear)This script gives you the entry points for 4,5,6,7 consecutive candles which got up closing vs last trading day.
Palat Trading System Entry Prices (Bull)This script gives you the entry points for 4,5,6,7 consequetive candles which got down closing vs last trading day.
CPR by Hexaurum LearningCPR (Central Pivot Range) Indicator Summary
Formula:
The CPR consists of three levels calculated from the previous period's price data:
Central Pivot (P) = (High + Low + Close) / 3
Bottom Central (BC) = (High + Low) / 2
Top Central (TC) = (High - Low) / 2 + Central Pivot
Note: TC can also be written as: 2 × Pivot - BC
The CPR range is the area between TC and BC (shown as a box in the indicator).
Key Features:
Multiple Timeframes: Daily, Weekly, and Monthly CPR levels
Developing CPR: Real-time CPR that updates as the current period forms
Fixed CPR: Static CPR from the completed previous period
Benefits & Trading Applications:
Trend Identification
Narrow CPR = Strong trending move likely (breakout expected)
Wide CPR = Consolidation or range-bound market
Support & Resistance
CPR acts as a strong support/resistance zone
Price tends to respect these levels for reversals or bounces
Breakout Trading
Price breaking above TC = Bullish signal
Price breaking below BC = Bearish signal
The narrower the CPR, the more explosive the breakout
Intraday Direction
If price opens above CPR = Bullish bias for the day
If price opens below CPR = Bearish bias for the day
Price within CPR = Neutral/range-bound
Multiple Timeframe Analysis
Higher timeframe CPR (Weekly/Monthly) provides major S/R zones
Daily CPR helps with precise entry/exit points
Confluence of multiple CPR levels increases reliability
Risk Management
Clear levels for stop-loss placement (beyond TC or BC)
Defined risk-reward zones for position sizing
Popular Strategy: Trade the CPR breakout with volume confirmation, using BC/TC as stop-loss levels.
Developing Camarilla Pivots by Hexaurum LearningMathematical Foundation
The Camarilla Formula
The Camarilla pivot levels are derived from the following key price parameters of the preceding trading session:
C = Prior day's closing price
H = Prior day's high price
L = Prior day's low price
Resistance Levels:
H5 = (H / L) × C (proprietary derivation for identifying extreme
resistance)
H4 = (H 3 L) × 1.1 / 2 + C
H3 = (H 3 L) × 1.1 / 4 + C
H2 = (H 3 L) × 1.1 / 6 + C
H1 = (H 3 L) × 1.1 / 12 + C
Support Levels:
L1 = C 3 (H 3 L) × 1.1 / 12
L2 = C 3 (H 3 L) × 1.1 / 6
L3 = C 3 (H 3 L) × 1.1 / 4
L4 = C 3 (H 3 L) × 1.1 / 2
L5 = C 3 (H5 3 C) (symmetrical derivation mirroring H5)
The Significance of the 1.1 Multiplier
The inclusion of a 1.1 multiplier in the formula incorporates a buffer for anticipated volatility expansion. The sequential divisors (2, 4, 6, 12) generate a
series of levels with decreasing incremental distances from the closing price, with each level delineating distinct probabilistic trading zones for potential
mean reversion or trend continuation.
Camarilla - Hexaurum LearningMonthly, Weekly, Daily
Camarilla Levels
The Camarilla pivot levels are derived from the following key price parameters of the preceding trading session:
C = Prior day's closing price
H = Prior day's high price
L = Prior day's low price
Resistance Levels:
H5 = (H / L) × C (proprietary derivation for identifying extreme
resistance)
H4 = (H 3 L) × 1.1 / 2 + C
H3 = (H 3 L) × 1.1 / 4 + C
H2 = (H 3 L) × 1.1 / 6 + C
H1 = (H 3 L) × 1.1 / 12 + C
Support Levels:
L1 = C 3 (H 3 L) × 1.1 / 12
L2 = C 3 (H 3 L) × 1.1 / 6
L3 = C 3 (H 3 L) × 1.1 / 4
L4 = C 3 (H 3 L) × 1.1 / 2
L5 = C 3 (H5 3 C) (symmetrical derivation mirroring H5)
The Significance of the 1.1 Multiplier
The inclusion of a 1.1 multiplier in the formula incorporates a buffer for anticipated volatility expansion. The sequential divisors (2, 4, 6, 12) generate a
series of levels with decreasing incremental distances from the closing price, with each level delineating distinct probabilistic trading zones for potential
mean reversion or trend continuation.
Round Number Analyzer v3Round Number Analyzer v3 is an indicator designed to analyze how price interacts with round number levels (levels spaced at fixed intervals in points or pips).
The indicator does not generate entry/exit signals, but provides detailed statistics to better understand market dynamics around these key levels.
✨ Key Features
Cross Counting: detects every time the price crosses a round number level (up = Long, down = Short).
Continuations & Reversals: classifies each cross as:
Continuation: the move continues in the same direction as the previous sequence.
Reversal: the move changes direction compared to the previous sequence.
Sequence Classification (L1…L5+): each level is labelled based on its position within the consecutive cross sequence:
L1 = first level of the sequence,
L2 = second consecutive,
…
L5+ = fifth or higher.
Comprehensive Stats Table (top right corner):
Total crosses (Long, Short, Totals).
Total continuations + breakdown by L1…L5+.
Total reversals + breakdown by L1…L5+.
Percentages calculated against the proper denominator, displayed directly inside the cells next to the absolute values.
Date range of analysis (user-defined).
Customizable Step: Works in both points and pips, making the indicator suitable for indices and forex.
⚙️ Main Inputs
Start date / End date → sets the analysis period.
Step mode → Points or Pips.
Step value → distance between round levels.
Pip size → pip size (default = 0.0001, typical for forex).
📈 How to Interpret
A high continuation percentage after L1–L2 suggests the market tends to extend multiple times beyond the first breakout levels.
Higher reversal percentages at advanced levels (L4–L5+) may signal trend exhaustion.
The analysis helps estimate the probability of continuation or reversal depending on how many consecutive levels have already been crossed.
🔎 Practical Applications
Support for breakout or mean-reversion strategies.
Comparative analysis across different markets (e.g. indices vs forex) or different time periods.
📝 Notes
The indicator is timeframe-robust, as it accounts for multiple steps within the same candle, ensuring results do not depend on the selected timeframe (except for TradingView’s historical data limits).
It does not provide automatic trading signals, but serves as a quantitative analysis tool to refine your strategies.
---
Round Number Analyzer v3 è un indicatore pensato per analizzare come il prezzo interagisce con i livelli di round number (livelli a distanza fissa in punti o pips).
L’indicatore non genera segnali di ingresso/uscita, ma fornisce statistiche dettagliate utili per comprendere la dinamica del mercato attorno a questi livelli.
✨ Funzionalità principali
Conteggio dei Cross: rileva ogni volta che il prezzo attraversa un livello round (verso l’alto = Long, verso il basso = Short).
Continuations & Reversals: classifica ogni attraversamento come:
Continuation: il movimento prosegue nella stessa direzione della sequenza precedente.
Reversal: il movimento inverte la direzione rispetto alla sequenza precedente.
Classificazione per sequenza (L1…L5+): ogni livello è etichettato in base alla sua posizione nella sequenza di cross consecutivi:
L1 = primo livello della sequenza,
L2 = secondo consecutivo,
…
L5+ = quinto o superiore.
Statistiche complete in tabella (in alto a destra):
Cross totali (Long, Short, Totals).
Continuations totali + breakdown per L1…L5+.
Reversals totali + breakdown per L1…L5+.
Percentuali calcolate sul denominatore corretto, mostrate direttamente dentro le celle accanto ai valori assoluti.
Date range di analisi (impostabile dall’utente).
Step personalizzabile: puoi lavorare sia in punti che in pips, così l’indicatore è adatto sia per indici che per forex.
⚙️ Input principali
Start date / End date → imposta l’intervallo temporale di analisi.
Step mode → punti o pips.
Step value → ampiezza tra i livelli round.
Pip size → dimensione del pip (default = 0.0001, tipico per il forex).
📈 Come interpretarlo
Una percentuale di continuation molto alta dopo L1–L2 indica che il mercato tende a proseguire più volte oltre i primi livelli di breakout.
Percentuali di reversal più elevate nei livelli avanzati (L4–L5+) possono suggerire esaurimento della spinta.
L’analisi permette di stimare la probabilità che un movimento in corso continui o si inverta in base a quanti livelli sono già stati attraversati consecutivamente.
🔎 Applicazioni pratiche
Supporto per strategie di breakout o mean reversion.
Analisi comparativa tra mercati (es. indici vs forex) o tra periodi temporali diversi.
📝 Note
L’indicatore è timeframe-robust: il conteggio tiene conto di multipli step dentro la stessa candela, così i risultati non dipendono dal timeframe scelto (salvo i limiti di caricamento storico di TradingView).
Non fornisce segnali operativi automatici, ma è un tool di analisi quantitativa per affinare le proprie strategie.