Futures Day Trading Key Levels by Dhawal Ranka
Hey everyone, thank you for using this script, let me know in the comments how you feel about it!
What this script does:
This indicator renders one consolidated map of intraday reference levels for futures (e.g., ES, NQ, GC, CL). It is session-aware and draws:
- Previous ETH day High/Low/Close
- Previous RTH High/Low/Close (built from your RTH session)
- Today’s developing RTH High/Low and Mid
- Overnight (ON) session High/Low
- Opening Range (first N minutes of RTH): OR High/Low
- VWAP (day-anchored) with optional ±σ bands
- Floor Pivots (PP/R1/S1/R2/S2) from prior ETH daily bar
- ADR projections (Up/Down) using a configurable lookback and anchor
- Settlement: prior official settlement and today’s projected settle (with manual override)
- Weekly/Monthly context: prior W/M High/Low/Close and current W/M Open
- Minimal right-edge text tags (instead of big boxes) that sit on the price scale line and auto-pack when levels coincide
All lines extend across the chart to make confluence obvious without clutter.
How it works (methods & calculations)
Sessions
The script exposes two user sessions and a time zone:
RTH (e.g., 09:30–16:00 America/New_York)
ON (e.g., 18:00–09:29 America/New_York)
Session membership is computed with time(timeframe, session, tz) != 0.
RTH H/L/C (prev) are aggregated intrabar: on RTH start we seed H/L; while inRTH we update; on RTH end we store the close.
Previous Day (ETH) levels
request.security(syminfo.tickerid, "D", high /low /close ) supplies PDH/PDL/PDC on the continuous ETH daily.
Opening Range
On RTH start we mark orStartTime.
While RTH is active and elapsed time < N minutes, we track the running high/low.
When elapsed ≥ N minutes, we freeze OR High/Low.
VWAP & ±σ bands (intraday)
Day-anchored VWAP uses ta.vwap(hlc3).
Bands: standard deviation of (close − vwap) from day start, accumulated inline:
stdev = sqrt( mean(dev^2) − mean(dev)^2 )
Bands = vwap ± k * stdev (user multiplier).
Floor Pivots (classic)
Using prior ETH daily H/L/C:
PP = (H + L + C) / 3
R1 = 2*PP − L, S1 = 2*PP − H
R2 = PP + (H − L), S2 = PP − (H − L).
ADR projections
Daily range series rng = request.security(..., "D", high - low).
ADR = SMA(rng, L) (default L=14).
Anchor is user-selectable: today’s open or yesterday’s close.
Projections: ADR Up = anchor + ADR/2, ADR Down = anchor − ADR/2.
Settlement
Prev Settle defaults to prior ETH daily close but can be overridden manually for markets where official settlement differs from feed close.
Today Projected Settle uses the current ETH daily close value.
Weekly / Monthly context
Prior W/M H/L/C from "W"/"M" with , plus current W/M Open.
Rendering & label logic (originality)
Lines are persistent: each named level owns one line object that is updated, not re-created—keeps resource use low and avoids “too many plots”.
Right-edge labels are text-only (no box) placed at x = bar_index + offset and yloc.price.
When multiple levels share (almost) the same price, labels are packed side-by-side using a small bucketing algorithm:
Prices are bucketed within ±½ tick.
Each label gets a position index inside its bucket; the final x-offset = baseOffset + index*step + priority.
Priorities nudge important tags (e.g., Settle/RTH levels) closer to the price scale so they remain readable.
Why this is published & what’s original
It’s not a simple mashup: the script’s utility is the session-aware aggregation, the OR timing logic, the intraday σ calculation around VWAP, the line-persistence manager, and the label packing with priorities that keeps the right edge readable even when many levels coincide.
The closed-source protection covers the packing/priority scheme and the persistent object management that make it practical on busy futures charts without hitting Pine limits.
How to use
Set your sessions & time zone
Choose RTH/ON session windows (the defaults match CME equity index futures) and the time zone of your charting workflow.
Toggle components
Enable only the layers you need (e.g., VWAP bands off if you want a cleaner chart).
Opening Range length (minutes) is adjustable.
Settlement
If your broker/feed’s daily close isn’t the official settlement, enter a manual settle value for the prior day.
Read the right edge
Labels sit on the price scale line. When two labels share the same price, they appear side-by-side rather than overlapping.
Timeframes & symbols
Designed for intraday futures on 1–30m. Works on other symbols/timeframes but intent is day trading.
Inputs (summary)
Sessions/TZ: RTH window, ON window, time zone
Today: RTH H/L/Mid, ON H/L, OR (minutes)
VWAP: on/off, ±σ bands, multiplier
Pivots: PP/R1/S1/R2/S2 (ETH)
ADR: lookback, anchor (open vs. prev close)
Settlement: show prev/proj, manual override
Weekly/Monthly: prior H/L/C + current open
Style: line transparency; right-edge tag size, base offset, and step; optional inline labels
Limitations & notes
“Prev Settle” equals the prior daily close unless overridden.
Session definitions matter: if your exchange hours differ, set your own RTH/ON windows.
No alerts are included to minimize plot count and keep performance high (you can add alert conditions on any level in a private copy).
Disclaimer
For educational purposes only; not financial advice. Futures trading involves significant risk.
Versioning
This script will be maintained under a single publication using Update (no minor forks). Major changes will be documented in the Change Log section of the script description.
Livelli e punti pivot
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.
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!
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.
Session LevelsMarks the highs and lows of the previous day New York session and the following Asian and London sessions.
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.
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.
RTH & ETH High/Low (Today & Prev)RTH and ETH High Low Indicator. This draws a line for the ETH and RTH highs and lows for todays session and yesterdays session. it allows you to toggle off any of the 8 potential levels as well as change the colour of the 8 levels. WIP
ATH Line with Date (Editable)Overview:
This indicator draws a continuous horizontal line at the instrument’s All-Time High (ATH) and annotates it with a label that shows the date the ATH was set in dd-mmm-yyyy format. The label is fully configurable (text prefix, side, position, colors, vertical offset), and you can optionally append the ATH price formatted as $ 1.234,56. Built for Pine Script™ v6 and works on any symbol or timeframe.
How it works
• Maintains a running maximum of high.
• Detects the bar where the current ATH occurred and extracts its date.
• Renders a horizontal line extended both sides at the ATH level.
• Places an optional label on the last bar or on the ATH bar.
• Triggers an optional alert when a new ATH is printed.
Inputs
• Line color / width / style – customize the ATH line appearance.
• Show label – toggle label on/off.
• Label text (prefix) – default ATH ►.
• Label text color / background – visual customization for the tag.
• Label side – left or right-anchored label.
• X location – Last bar or ATH bar.
• Label vertical offset (%) – moves the label above/below the line.
• Show price – appends the ATH price in the format $ 1.234,56
Notes & behavior:
• Repainting: The ATH level is stable until a higher high appears. When a new ATH is set, the line and date update accordingly—this is expected behavior.
• The ATH is computed from the chart’s current timeframe/history. If the symbol has limited history on your chart, the ATH reflects only the available data.
• No external libraries; no user data is collected.
Alerts:
• Includes New ATH alert condition. Fire it to be notified when price sets a new all-time high.
Tips:
• Use Last bar placement to keep the label visible at the right edge while scrolling.
• If the label overlaps candles or drawings, add a small positive vertical offset.
Version:
• Pine Script™ v6. Indicator only; no trading signals or orders.
Disclaimer:
For educational purposes only. This script does not constitute financial advice or a recommendation to buy or sell any security. Always do your own research and manage risk appropriately.
Predictive Pivot Matrix OHLC data, integrates volume profile for POC/Value Area tracking (including virgin POC), applies rule-based "ML" scoring to evaluate pivot strength via factors like proximity, volume, touches, trend, and confluence, monitors adaptive success rates, projects 5-day future pivots using trend/volatility, detects overlapping confluence zones, and generates visuals (lines, labels, table), alerts, and buy/sell signals on key crossings.






















