Dynamische Open/Close Levels mit Historie🎯 Key Features
This indicator provides clean, configurable horizontal lines showing the Open and Close prices of a higher chosen timeframe (e.g., the last 5-minute candle), serving as dynamic support and resistance levels.
Unlike traditional indicators that draw messy "steps" across your entire chart, this tool is designed for clarity and precise control.
Controlled History: Easily define how many of the last completed periods (e.g., 5-minute blocks) should remain visible on the chart. Set to 0 for only the current, active levels.
No Stepladder Effect: Uses advanced drawing methods (line.new and object management) to ensure the historical levels remain static and do not clutter your chart history.
Dynamic Labels: The labels (e.g., "Open (5)") automatically adjust to show the timeframe you configured in the indicator settings, eliminating confusion when switching timeframes.
Customizable: Full control over colors, line length, and label positioning/size.
💡 Ideal Use Case
Perfect for scalpers and day traders operating on lower timeframes (1m, 3m) who want to quickly visualize and respect crucial price action levels from a higher context (e.g., 5m, 15m, 1h).
Analisi candlestick
Vortex Imbalance DetectorVortex Imbalance Detector (VID)
Core Purpose:
To spot "fresh" institutional order flow entering the market, aiming to catch the early stage of a potential reversal driven by an imbalance between aggressive buyers and sellers.
It looks for moments when a surge in buying or selling pressure coincides with a sharp acceleration in price momentum at a market extreme.
The Vortex Imbalance Detector identifies high-probability reversal points by detecting simultaneous shifts in order flow (buy/sell pressure) and price momentum acceleration.
What It Does:
Order Flow Proxy: Creates a cumulative delta-like metric using price action (body vs. range) to estimate net buying or selling pressure.
Momentum Vortex: Calculates price acceleration (the rate of change of velocity) to gauge the force behind a move.
Imbalance Signal: Triggers when both conditions align:
Flow Flip: The order flow proxy crosses above/below zero with significant strength (exceeding a threshold).
Vortex Reversal: The momentum acceleration confirms the direction (positive for buys, negative for sells).
Price Extreme: The signal occurs at a recent low (for buys) or high (for sells).
Output:
Buy Signal (▲): A bullish order flow imbalance with upward momentum acceleration at a short-term low.
Sell Signal (▼): A bearish order flow imbalance with downward momentum acceleration at a short-term high.
Volume Heikin Ashi by CrugThis indicator combines the Heikin Ashi with classic volume candles.
It is useful to see the trend and "how much" volume it contains
1 - Select Volume Candles on the graph
i.postimg.cc
2- In setting remove the all the colors
i.postimg.cc
3- Insert the indicator
4- Using with momentum indicators (like Market liberator B, MACD, ...) it provides more precise and realistic data to plot divergences because it combines: classic japanese candle but with volumes. In the meantime it is easier to see the main trend
i.postimg.cc
Order Blocks v2This is a short code script that shows you a REAL Order Blocks.
There is many indicators that show you random blocks on the screen, these are by definition Order Blocks. The code is simple and short.
You can use this indicator as an extra confluence or as a place to put your stop losses or to put your stop losses in profit.
I recommend always keeping the "Consider order block only with following FVG" on, as the best Order Blocks are found with that setting on.
I have a lot more code i can share, use this and let me know how it works for you!
THE SETTINGS I USE ARE:
(NO) Only show on on time levels 3,7,11,14
fractal bars 3
Order blocks on break of Fractal close or HL Close
(YES) Consider order block only with following FVG
Max distance of FVG following Order Blocks 2
Oder Block Height Body
Dotted 13 length and 3 width
Smart Money Concepts [Kodexius]Smart Money Concepts is a price action framework designed to integrate market structure, liquidity behavior, and inefficiencies into a single, readable view. Rather than acting as a signal generator, it serves as a live market map highlighting where price has displaced, where liquidity may be resting, which zones remain valid, and how that context updates as new candles print.
What separates this script from typical “SMC bundles” is not the presence of familiar concepts like swings, order blocks, FVGs or liquidity sweeps. The value is in the engine design and how the components are maintained together as a consistent state, with automatic pruning and prioritization so the chart stays usable over time. Many tools can draw boxes, but fewer tools manage the lifecycle of those zones, reduce overlap, rank relevance, and keep the display focused on what still matters near current price.
At the core is a structure model that tracks directional state and labels structural transitions as they happen. CHoCH and BoS are not just printed whenever price crosses a line. Each event is anchored to a swing reference and handled in a way that reduces repeated triggers from the same context, helping you see genuine transitions versus minor noise. This gives structure a “narrative” across time instead of a cluttered sequence of identical labels.
Order blocks are built from the most relevant candle within the post break window and displayed as true zones that extend forward while they remain valid. Beyond the zone itself, the script adds context that is usually missing in basic OB implementations: a volumetric pressure visualization and a displacement strength score that is normalized and ranked over a rolling window. In practice, this creates an information hierarchy. You can quickly see which zones carried more participation, whether the internal push was dominated by buying or selling pressure, and whether the move that created the zone had meaningful displacement relative to recent history. This is designed to help prioritization, not to claim prediction.
Imbalances are handled as a dedicated module with multiple detection modes (FVG, VI, OG, IFVG) and optional MTF logic so you can map inefficiencies from a higher timeframe while executing on a lower timeframe. Each imbalance is displayed as a zone with a midline reference, and mitigation behavior can be tuned (wick or close). IFVG adds lifecycle depth by tracking inversion behavior rather than simply deleting the zone, which can be useful for monitoring how price rebalances and flips inefficiencies over time. An optional sentiment style internal fill is available for visual context, but it is intentionally framed as informational rather than a “buy/sell meter.”
Liquidity is treated as an event driven layer. Pivot highs and lows are tracked as potential liquidity pools, then monitored for sweeps and rejection behavior. If you enable EQH/EQL logic, the script can label equal highs and lows during the sweep process to highlight common resting liquidity formations. A volume filter is available to reduce low quality levels, aiming to keep the liquidity map focused on swings that occurred with meaningful participation rather than every small fluctuation.
Swing Failure Patterns (SFP) are included as a separate confirmation style tool that focuses on rejection after liquidity is taken. The module supports optional volume validation using lower timeframe volume distribution outside the swing level, which helps filter some low quality SFPs on noisy instruments. The output is a cleaner set of events intended to complement structure, liquidity and zones, not replace discretionary decision making.
For higher timeframe context, the HTF candle projection panel can display a compact set of higher timeframe candles to the right of current price, with classic or Heikin Ashi style and configurable sizing, spacing and labels. This allows you to maintain HTF awareness without switching charts, which is especially helpful when structure and zones are being interpreted across multiple timeframes.
Finally, the alert framework is designed around well defined structural and zone states. Alerts cover structural shifts (CHoCH, BoS), liquidity sweeps, new and broken order blocks, breaker behavior (if enabled), new and approached imbalances, premium and discount entries, trendline events, and SFP detection. These alerts are intended as monitoring prompts so you can review context, not as automated trade execution signals.
Every major component is modular and configurable. You can run a minimal structure only layout or enable a full framework with zones, imbalances, liquidity, SFP and HTF projection. The guiding principle is chart clarity and relevance: keep the most important information visible, reduce overlap and stale objects, and maintain a consistent view of how price is interacting with liquidity and value over time.
🔹 Features
🔸 Market Structure Engine (CHoCH and BoS)
This script automatically tracks zigzag based market structure and differentiates between:
CHoCH (Change of Character) : the first meaningful structural shift that suggests the prior directional leg is weakening.
BoS (Break of Structure) : continuation breaks that confirm structure extension in the active direction.
Instead of relying on plain pivot dots, our market structure swings are built with a lightweight zigzag style engine that tracks direction and “locks in” the true leg extreme only when the leg flips. This produces cleaner, more consistent swing highs/lows for BOS/CHoCH than simple left/right pivot checks.
Bullish CHoCH:
Bearish CHoCH:
Bullish BoS:
Bearish BoS:
🔸 Order Blocks with Volumetric and Displacement Insight
The script identifies recent bullish and bearish order block zones around meaningful structural reactions and keeps the display focused on the most relevant areas. Instead of drawing a static rectangle and leaving it there forever, each zone is maintained as an active region on the chart and can be limited by a user defined visibility depth to avoid clutter. When enabled, the overlay also adds compact volume based context inside the block so you can quickly compare relative participation between recent zones and see whether the origin move showed strong follow through versus a softer transition. The intention is to provide structured context and cleaner prioritization on the chart, not to present a trade call or a guaranteed reaction level.
Bullish Order Block:
Bearish Order Block:
Order blocks are derived from the structure shifts, marking the institutional “origin zone” behind a decisive move and projecting it forward as a live area of interest. In practice, it highlights the candle cluster where price last rebalanced before expanding away, so you can track potential retests with context instead of guessing.
Inside each order block, the internal bars act as a compact strength meter green vs red summarizes the relative bullish vs bearish participation, while the blue segment reflects the “departure force” (displacement/momentum) away from the zone. It’s meant to help you scan which blocks left clean and strong versus those that moved out more slowly or with mixed pressure.
🔸 Breaker Blocks & Mitigation Tracking
Tracks when previously identified order blocks fail and converts them into breaker blocks, visually marking a change in how price is interacting with that zone.
Bullish Breaker Block :
Bearish Breaker Block :
Separate handling of bullish and bearish breakers with clear color differentiation.
Includes optional “mitigation” logic using either wick or close to determine when a block is considered broken or mitigated.
Breaker blocks are updated and removed dynamically as price trades through them, keeping the chart focused on current, active zones.
🔸 Imbalances
The imbalance module maps common price inefficiencies as zones, with support for multiple detection styles such as Fair Value Gaps, volume style imbalances, opening gaps, and an inverted gap mode. Each imbalance is drawn as a practical area on the chart with a midpoint reference, so you can quickly see where price may be revisiting unbalanced movement. You can also choose how mitigation is evaluated (wick or close) and optionally run imbalance detection on a separate timeframe for cleaner higher timeframe context while staying on your execution chart.
Fair Value Gaps:
Inverse Fair Value Gaps:
Opening Gaps:
🔸 Liquidity Sweeps, EQH/EQL, and Optional Volume Filter
Liquidity levels are derived from swing highs and lows and then monitored for sweep behavior, where price trades beyond a prior level and rejects back. If you enable EQH/EQL marking, the script can highlight equal highs and equal lows behavior around those liquidity areas to make common pool formations easier to spot. An optional volume filter can be used to reduce tracking of low participation swings, helping keep the liquidity layer focused and less noisy on instruments that produce frequent small pivots.
Sellside Liquidity Sweep Definition:
Buyside Liquidity Sweep Definition:
Highlights equal highs (EQH) and equal lows (EQL) when sweeps occur, marking where price probed above/below prior liquidity and then rejected.
Optional volume filter to ignore low volume swings and focus on more meaningful liquidity zones.
🔸 Premium, Discount, and Equilibrium
The premium and discount view provides a simple contextual map of where price is trading within a measured range, alongside an optional equilibrium line as a midpoint reference. This is intended as a higher level framing tool to help you avoid treating every price location the same, especially when combining structure with reaction zones. Price labels can be enabled for quick orientation, and the display updates as the underlying range evolves.
Projects premium and discount bands based on a dynamically measured range, offering a simple view of where price is trading relative to that range.
Draws separate Premium and Discount boxes with optional price labels for quick orientation.
Optional mid line (equilibrium) to visualize the “50%” of the current range, often used as a reference for balanced versus extended price.
Zones auto update as the underlying range evolves, with logic to prevent stale levels from cluttering the chart.
🔸 Trend Channels
When enabled, the trend module draws swing based diagonal structure using trendlines and a channel style visualization. You can tune sensitivity and choose whether the source should be depending on how you prefer to read trend behavior. The channel is maintained dynamically so you can keep directional context without manually drawing and constantly adjusting diagonal lines, and the script can highlight basic break behavior when price pushes beyond the active diagonal reference.
🔸 Swing Failure Pattern (SFP) Detector
The SFP module highlights common swing failure behavior, where price briefly trades beyond a swing level and then reclaims it, often reflecting a liquidity grab followed by rejection. Bullish and bearish SFPs can be enabled independently, and the display is designed to keep the key level and the rejection visible without excessive clutter. Optional volume validation can be used as a filter, so you can choose whether you want the detector to be more permissive or more selective based on participation characteristics.
🔸 HTF Candle Projection Panel
The HTF panel projects a compact set of higher timeframe candles to the right of price, giving you higher timeframe context without switching charts. You can select classic candles or Heikin Ashi style, adjust the scale and spacing, and optionally display reference lines and labels for OHLC values. This is a visual context tool intended to support multi timeframe reading, not a replacement for your own higher timeframe analysis.
In addition to projecting higher timeframe candles, the HTF panel can also detect and visualize higher timeframe liquidity sweeps directly within the projected candle set. The script monitors each completed HTF candle’s high and low and evaluates subsequent HTF candles for sweep behavior i.e., when price briefly trades beyond a prior HTF extreme but fails to hold acceptance beyond it (filtered using the later candle’s body positioning). When a sweep is detected, the panel draws a dotted sweep line and marks the event, allowing you to spot HTF stop runs and failed breaks without switching timeframes. Sweeps are dynamically invalidated if a later HTF candle shows genuine acceptance beyond that level, ensuring the display stays context relevant and avoids stale markings. This turns the HTF projection from a passive visualization into an actionable context layer for identifying HTF liquidity events while executing on lower timeframes.
🔸 Alerts
Alerts are included for the most practical events produced by the overlay, such as structure shifts (CHoCH and BoS), liquidity sweeps, new and invalidated zones, price approaching recent zones, imbalance creation and mitigation, premium or discount entries, trendline events, and SFP detections. The alerts are designed to function as a monitoring layer so you can be notified when something changes in your mapped context, rather than acting as standalone trade instructions.
🔸 Originality & Usefulness
This script is not a collection of separate SMC drawings layered on top of price. It is built as a unified price action engine where market structure, order blocks, inefficiencies, and liquidity are produced from the same evolving state. That matters because most SMC indicators treat these concepts as independent overlays, which often leads to contradictory markings and excessive clutter. Here, the design priority is consistency and readability: modules update in sync, older elements are managed, and the chart stays usable during live conditions.
A key differentiator is the internal swing logic, which functions like a compact zigzag style structure engine. Instead of reacting to every minor fluctuation, it aims to focus on meaningful swing decisions and treat structure as a sequence. This reduces repetitive labeling and makes structural transitions easier to follow. Structure events are anchored to the swing that defined them and are designed to trigger in a clean, non spammy way, which is critical for anyone who uses structure as a workflow backbone.
The structure layer is intentionally narrative oriented. It separates a transition event from continuation events, so CHoCH is used to highlight the first meaningful shift after an established leg, while BoS is used to mark follow through in the same direction. This is not a prediction claim. It is a clarity feature that helps users read “phase changes” versus “continuation” without constantly second guessing whether the script is just printing noise.
Order blocks are where this script becomes especially distinctive compared to typical SMC tools. Instead of drawing identical rectangles, each block is rendered with an internal gauge that communicates participation and directional dominance at a glance. The zone is visually segmented to reflect bullish and bearish pressure components, and it also carries a volume readout plus a relative weight compared to other recent blocks. This creates a ranked view of blocks rather than an unfiltered pile. In practice, you can prioritize zones faster because the script surfaces which blocks had more meaningful participation and whether the internal push looked one sided or mixed. The result is less subjective filtering and a cleaner chart.
Imbalances are handled as structured inefficiency zones with clear references and optional context. Beyond drawing the zone and midpoint, the script can overlay a sentiment style gauge that divides the imbalance into bullish and bearish portions and updates as new data comes in. The practical value is that you can see whether an inefficiency remains strongly one sided or is gradually being balanced. This turns imbalances from static boxes into a living context layer, which is particularly useful when you monitor reactions over time instead of treating every touch the same.
Liquidity is treated as an event driven tracking system rather than simple pivot plotting. Liquidity pools are identified from swing behavior and can be gated through a participation filter so the script focuses on levels that formed with meaningful activity rather than low quality noise. Once tracked, levels are monitored for outcomes like sweeps and equal high/low behavior, and then updated or retired when they are decisively resolved. This prevents the display from accumulating stale levels and keeps the liquidity layer focused on what is still relevant now.
Swing failure patterns are integrated as selective events rather than continuous spam. The intent is to produce fewer but more structurally meaningful SFPs, aligned with the liquidity narrative, instead of printing clusters around the same price area. This keeps the pattern readable and reinforces the “event based” design philosophy across the script.
Higher timeframe context is supported through a compact HTF projection panel that provides quick orientation without forcing constant timeframe switching. It lets you see where current price action sits inside a larger timeframe candle and range, which helps maintain consistency when you are executing on a lower timeframe but respecting higher timeframe structure.
Disclaimer: This indicator is for educational and analytical purposes only. It does not provide financial advice, and it does not guarantee results.
🔹 How to Use
This tool is designed to support multiple trading styles, but it is most effective when you treat it as a top down mapping and decision support tool. A practical workflow looks like this.
1) Establish higher timeframe bias and context
Start on your reference timeframe such as H4 or Daily and read the market’s dominant story first. Use the Market Structure Engine to identify whether the market is in continuation mode or transition mode. The goal is to avoid executing lower timeframe ideas that conflict with the larger structure narrative.
Use the HTF Candle Projection Panel as a fast orientation aid. It helps you judge whether current price is building acceptance near the highs of the larger candle, rotating back toward its open, or rejecting from its extremes. This is especially useful when you execute on lower timeframes but want to stay aligned with higher timeframe positioning.
Add Premium and Discount framing to understand location. When price is trading in premium, continuation longs are often more selective and require stronger confirmation, while shorts may have better location if structure supports it. When price is in discount, the opposite applies. Treat this as location context, not a rule.
2) Map your key reaction zones with prioritization
Next, build your map of where reactions are most likely to occur. Enable Order Blocks with Volumetric Insight to highlight the most relevant origin zones that form after important structure events. Keep your focus on the most recent blocks and adjust the visible depth so the chart stays clean.
Use the internal gauge and participation readouts to prioritize. Instead of treating every zone as equal, treat higher participation blocks as primary candidates and lower participation blocks as secondary. The bullish and bearish split inside the gauge helps you quickly judge whether the zone formed from a clearly one sided push or a more mixed move, which can inform how strict you want to be with confirmation on a retest.
If you use Breaker Blocks, treat them as role shift zones. They are especially useful when the market has clearly transitioned and you want to track where a previously defended origin area may become a meaningful retest level later.
3) Layer in inefficiencies only where they add clarity
If your workflow includes imbalances, add them selectively to avoid visual overload. Use Fair Value Gaps, Volume Imbalances, or Opening Gaps as secondary reaction areas that often sit inside, near, or between larger zones.
If you enable the internal sentiment gauge, read it as context rather than a signal. It is meant to help you see whether the imbalance remains one sided or has started to balance out as price develops. A strongly one sided presentation can support the idea of continuation through the zone, while a more balanced presentation can support the idea of deeper mitigation or chop. Use it to refine expectations, not to force entries.
4) Track liquidity as events, not as static levels
Enable Liquidity Sweeps and EQH/EQL tagging to highlight where resting liquidity is likely concentrated and when it gets taken. The main value here is narrative: you can see when price runs obvious highs or lows and whether it immediately rejects back into structure or accepts beyond the level.
If you use the volume filter, treat it as a quality gate. The point is to ignore small, low participation swings and keep the liquidity layer focused on levels that formed with meaningful activity. This tends to reduce noise and makes sweeps and equal level behavior more relevant.
Combine the liquidity layer with the Swing Failure Pattern detector to isolate moments where liquidity is taken and then rejected. The cleanest use is when SFPs occur at or near your pre mapped reaction zones, after a sweep, and in alignment with your higher timeframe bias.
5) Refine execution timing on your entry timeframe
Drop to your execution timeframe and use local structure shifts as timing tools. CHoCH and BoS on the lower timeframe can help you see when micro structure is flipping in your intended direction after price interacts with your mapped zone.
If you use the Trend Channel framework, treat it as diagonal context rather than strict support and resistance. A channel helps you see where price is riding the trend and where it is deviating. This can help you time entries by waiting for price to re enter the corridor, show rejection near a boundary, or confirm a shift by building structure outside the channel.
A common practical sequence is: price reaches a mapped OB or imbalance area, liquidity gets taken, price rejects, micro structure begins to flip, and then you execute with your own confirmation and risk rules. The tool helps you see each step clearly, but your plan determines what is sufficient confirmation.
6) Use alerts as monitoring, not as standalone signals
Set alerts only for events that are meaningful to your workflow, such as:
-fresh CHoCH or BoS in your preferred direction
-new or invalidated order blocks and breaker blocks
-price approaching the most recent priority zones
-liquidity sweeps and EQH/EQL interactions
-new SFP events
-entry into premium or discount and interaction with HTF projection levels
-imbalance creation, mitigation, or approach
Treat alerts as prompts to check the chart, not as automatic entries or exits. This script is designed as a mapping and decision support tool. Trade execution, confirmation, and risk management remain entirely dependent on your own strategy and discretion.
🔴 Price Action Practical Notes
💠 Market structure
Market structure is the framework used to describe how price organizes itself into swings. It is built from successive swing highs and swing lows, and it is used to decide whether the market is expanding upward, expanding downward, or transitioning. A practical structure model focuses on “meaningful” turning points rather than every minor fluctuation, because the goal is to capture intent and flow, not noise.
💠 Swing highs and swing lows
A swing high is a local peak where price stops advancing and begins to rotate lower, while a swing low is a local trough where selling pressure pauses and price rotates higher. Swings matter because many traders anchor risk, liquidity, and entries around them. The stronger the reaction away from a swing, the more likely it is to be referenced again as a decision point.
💠 Break of structure
A break of structure is the event where price decisively exceeds a prior swing in the direction of the prevailing move. In practice, it is used as confirmation that a directional leg is still active and that liquidity resting beyond the swing has been taken. This concept is less about predicting and more about validating continuation.
💠 Change of character
A change of character is a structural break that signals transition rather than continuation. Instead of breaking a swing in the same direction as the recent trend, price breaks a key swing in the opposite direction, suggesting that control may be shifting. It is often treated as an early warning that the market may be moving from continuation into reversal or deeper pullback conditions.
💠 Order blocks
An order block is commonly described as the last opposing candle or consolidation zone that precedes a strong directional expansion. The idea is that this area represents a footprint of aggressive execution and unfilled interest. When price revisits it later, it can act as a reaction zone because participants who missed the move may defend it, or because remaining orders may still exist there.
💠 Mitigation and invalidation of a zone
Mitigation describes the process of price returning to a zone and “consuming” the remaining interest there. A zone is typically considered invalidated when price trades through it in a way that implies the resting orders were absorbed and the area no longer has protective value. Some approaches treat a wick through the boundary as enough to invalidate, while others require a candle close beyond the boundary to confirm that the level has truly failed.
💠 Breaker blocks
A breaker block is an order block concept that changes role after being invalidated. When a previously respected zone fails, it can later become a reaction area in the opposite direction because trapped participants may use the retest to exit, or because the market may recognize it as a new supply or demand reference. Breakers are often treated as “failed zones that become liquidity magnets” and are closely watched on retests.
💠 Liquidity and liquidity pools
Liquidity is the availability of resting orders that allow large transactions to execute with minimal slippage. In chart terms, liquidity pools often form around obvious swing highs and lows, equal highs and lows, and clear ranges. These areas attract price because they contain clustered stops and entries that can be used to fuel continuation or trigger reversals through rapid order flow shifts.
💠 Liquidity sweeps
A liquidity sweep is a move where price briefly trades beyond a known liquidity pool and then returns back inside, often closing back within the prior range. The concept implies that stops were triggered and liquidity was captured, but that continuation beyond the swept level did not sustain. Sweeps are frequently used as context for reversals or for confirming that a “cleanout” occurred before a directional move.
💠 Equal highs and equal lows
Equal highs and equal lows describe repeated swing levels that form a flat or nearly flat top or bottom. They matter because they concentrate liquidity. Many traders place stops just beyond these repeated levels, and many breakout traders place entries around them. The result is a dense cluster of orders that can be targeted efficiently by price.
💠Imbalances and inefficiencies
Imbalances represent zones where price moved so quickly that it left behind inefficient trading, meaning fewer transactions occurred in that region compared to surrounding areas. The underlying idea is that markets often revisit these areas to rebalance, fill gaps, or complete unfinished business. Imbalances are treated as areas of interest for pullback entries, targets, or reaction zones.
💠 Fair value gap
A fair value gap is a specific form of imbalance commonly framed as a three candle displacement that leaves a gap between candles, indicating rapid repricing. Traders use it as a proxy for inefficiency: if price returns, it may partially or fully fill the gap before continuing. The midpoint of the gap is often treated as a particularly relevant reference, but whether price respects it depends on context.
💠 Inverted fair value gap
An inverted fair value gap is the idea that once an imbalance is “broken” in a meaningful way, the zone can flip its behavior. Instead of acting like a supportive zone, it may become resistive (or vice versa) on a later retest. Conceptually, this is similar to role reversal: what once behaved as a continuation aid can become a rejection zone after failure.
💠 Premium, discount, and equilibrium
Premium and discount describe where price sits relative to a defined recent range. Premium is the upper portion of that range and discount is the lower portion. Equilibrium is the midpoint. The concept is mainly used to align trade direction with location: buying is generally more attractive in discount and selling is generally more attractive in premium, assuming you are trading mean reversion within a range or seeking favorable risk placement within a broader trend.
💠 Swing failure pattern
A swing failure pattern is a reversal archetype where price breaks a known swing level, fails to hold beyond it, and returns back through the level. The logic is that the breakout attempt attracted orders and triggered stops, but the market rejected the extension. SFPs are often considered higher quality when the failure is followed by a decisive move away and when it aligns with a broader liquidity narrative.
💠 Higher timeframe context
Higher timeframe context means framing intraday or lower timeframe signals within the structure of a larger timeframe. This can include aligning trades with higher timeframe swings, using higher timeframe candles as reference for open/high/low behavior, and avoiding taking counter trend signals when the larger timeframe is strongly directional. The purpose is to improve signal quality by ensuring the smaller timeframe idea is not fighting a dominant larger flow.
💠 Trend channels
A trend channel is a structured way to visualize a market’s directional “lane” by framing price between two roughly parallel boundaries. The central idea is that trending price action often oscillates in a repeatable corridor: pullbacks tend to stall around one side of the lane, while impulses tend to extend toward the opposite side. Instead of treating trend as a single line, a channel treats trend as an area, which better reflects real market behavior where reactions occur in zones rather than at perfect prices.
A channel typically has three functional references: a guiding line that represents the prevailing slope, an upper boundary that approximates where bullish expansions tend to stretch before mean reversion, and a lower boundary that approximates where bearish pullbacks tend to terminate before continuation. The space between boundaries represents the market’s accepted path. When price stays inside this corridor, the trend is considered healthy. When price repeatedly fails to progress within it, the trend is weakening.
Channels are commonly used for timing and location. In an uptrend channel, pullbacks into the lower portion of the corridor are often treated as higher quality “location” for continuation attempts, while pushes into the upper portion are treated as extension territory where risk of a pause or retracement increases. In a downtrend channel, the logic is mirrored: rallies into the upper portion are often treated as sell side location, and moves into the lower portion are treated as extension territory. The channel does not predict direction by itself; it provides a disciplined map for where continuation is more likely versus where momentum is more likely to cool.
A key concept is acceptance versus deviation. If price briefly pierces a boundary and snaps back inside, that is often interpreted as a deviation, meaning the market tested outside the lane but did not accept it. If price holds outside the corridor and begins to build new swings there, that suggests acceptance and a potential regime change: either a new channel with a different slope, a shift into range, or a broader reversal context. This is why channels are most useful when you treat them as a framework for evaluating behavior, not as rigid support and resistance.
[Sebo] HTF FVGHigher-timeframe Fair Value Gaps only. Fixed logic, no filters, no signals. Built strictly for objective HTF market structure
This script is invite-only. If you want access, please send me a private message!!!
[Sebo] FVGFixed simple Fair Value Gaps based on a single, objective definition.
This indicator displays all FVGs without optimization or sensitivity settings.
No filtering, no curve-fitting, no interpretation.
Same rules → same chart → objective market context.
Swing Reversal Candlestick PatternThis indicator identifies high-probability swing reversal points by combining a fixed 20-period swing structure with strict candlestick reversal conditions. It is designed for traders who want to detect liquidity sweeps, failed breakouts, and sharp turning points in price.
The tool first determines the most recent swing high and swing low by scanning the previous 20 bars. When the price touches or sweeps these levels, the indicator evaluates the current candle for strong reversal characteristics. These include wick dominance, body direction change, and structural validation against the previous bar. Only candles that meet all reversal criteria are marked.
Bullish signals appear when the price sweeps a swing low followed by a strong upward reversal candle.
Bearish signals appear when the price sweeps a swing high, followed by a strong downward reversal candle.
This tool is intended strictly for reversal setups, not for trend continuation trading. Traders may also use the candle wick as a natural stop-loss reference, aligning entries with liquidity sweep behavior.
Engulfing Failed Zone Detector by RWBTradeLabEngulfing Failed Zone Detector by RWBTradeLab
A clean, non-repainting tool that focuses on one thing only: showing where strong engulfing patterns failed and the market broke through their base.
What this indicator does
This script automatically scans for confirmed engulfing patterns (Regular & E-Regular) and then tracks where those structures are invalidated.
It highlights two types of failure zones:
1. Buy Engulfing Failed
* A bullish engulfing pattern forms (Regular or E-Regular).
* Later, a bearish candle closes below the base low of that engulfing.
* The zone from the base candle to the failure candle is marked as Buy EG Failed .
2. Sell Engulfing Failed
* A bearish engulfing pattern forms (Regular or E-Regular).
* Later, a bullish candle closes above the base high of that engulfing.
* The zone from the base candle to the failure candle is marked as Sell EG Failed .
Only the first clear failure after each engulfing is drawn, keeping the chart clean and readable.
Visuals on chart
1. A rectangle (box) is drawn from the engulfing base candle to the failure candle.
2. Labels are placed automatically:
* Buy EG Failed (below the zone)
* Sell EG Failed (above the zone)
3. Label distance from the zone is controlled by Text Offset from Box (%).
4. Separate color controls for:
* Buy Engulfing Failed Box Color
* Sell Engulfing Failed Box Color
The label style matches Engulfing Detector by RWBTradeLab for a consistent visual experience.
Alerts
Built-in alerts trigger only on confirmed bar close when a new failure completes:
* Buy EG Failed
* Sell EG Failed
Each alert message includes:
* Brand prefix: RWBTradeLab
* Price
* Time
* Ticker
Perfect for linking with bots, webhooks or alert-based trade management.
Key settings
Candle Length (closed candles)
* Defines how many recent confirmed candles are scanned (the live bar is excluded).
Display toggles
* Buy Engulfing Failed
* Sell Engulfing Failed
* Text
Turn each element ON/OFF to control how much information you want on the chart.
Text Offset from Box (%)
* Controls how far the label is placed from the failed zone, with a safe minimum to keep labels clear and readable.
Non-repainting confirmation
* All detection and alerts are based on closed candles only.
* No signals from the running candle, no repaint tricks.
* Once a failure zone appears, it stays fixed.
Best use
Failed engulfing zones can reveal:
* Broken demand/supply zones
* Liquidity grabs where “smart money” flushed traders out
* Strong momentum shifts after a failed reversal attempt
* Levels where continuation or clean retests often occur
Works on any symbol and timeframe. For best results, combine with:
* Higher timeframe structure
* Key support/resistance or supply/demand mapping
* Your own confirmation tools and risk management
Disclaimer
This indicator is a technical pattern-detection tool, not financial advice. Trading involves risk. Always confirm signals with your own analysis and use proper risk management.
Creator: RWBTradeLab
If this script adds value to your trading, please leave a ⭐ and share your feedback.
Engulfing Overlap Zone Detector by RWBTradeLabEngulfing Overlap Zone Detector by RWBTradeLab
A focused, non-repainting tool that detects high-value “overlap zones” formed when one engulfing pattern fails and the opposite side immediately takes control.
What this indicator does
Instead of showing every engulfing pattern, this script filters out noise and highlights only Engulfing Overlap Zones:
1. It internally detects both:
* Regular Engulfing (R EG)
* E-Regular Engulfing (ER EG)
2. It then checks for engulfing failure:
* A Sell EG fails when a bullish candle closes above its base high.
* A Buy EG fails when a bearish candle closes below its base low.
3. After the failure, it looks for an opposite-side engulfing confirmation.
4. When the failed zone and the new opposite engulfing zone overlap, the script marks that region as a Buy EG Overlap or Sell EG Overlap zone.
Only these premium, overlap-based structures are shown on the chart.
Visuals on chart
1. Two stacked rectangles are drawn for each overlap setup:
* The failed engulfing zone
* The opposite confirming engulfing zone
2. Clean labels appear at the edge of the overlap:
* Buy EG Overlap (bullish zone)
* Sell EG Overlap (bearish zone)
3. Text distance from the zone is adjustable via Text Offset from Box (%).
4. Separate color controls for:
* Buy Engulfing Overlap Box
* Sell Engulfing Overlap Box
Alerts
Built-in alerts trigger only on confirmed bar close when a new overlap setup completes:
*Buy EG Overlap
*Sell EG Overlap
Each alert message includes price, time and ticker, prefixed with RWBTradeLab for easier filtering and automation.
Key settings
1. Candle Length (closed candles) – Defines how many recent confirmed candles are scanned (current bar is excluded).
2.Display toggles – Turn ON/OFF:
* Buy Engulfing Overlap
* Sell Engulfing Overlap
* Text labels
3. Text Offset from Box (%) – Controls how far the label is placed from the overlap zone, with a safe minimum to keep labels readable.
Non-repainting logic
* All calculations use closed candles only .
* No running-bar signals, no repaint tricks.
* The zones and alerts reflect stable, confirmed structures.
Best use
This indicator is designed to help you spot:
* Liquidity grabs and fake outs followed by real reversals
* Strong continuation zones after a failed attempt by the opposite side
* High-quality reaction areas for entries, pullbacks and retests
Works on any symbol or timeframe. For best results, combine with:
* Higher-timeframe market structure
* Key support/resistance or supply/demand zones
* Your own trade management and confirmation rules
Disclaimer
This script is a technical pattern-detection tool, not financial advice. Trading involves risk. Always use proper risk management and confirm signals with your own analysis.
Creator: RWBTradeLab
If this indicator helps your trading, please leave a ⭐ and share your feedback.
Enhanced ONH / ONL Auto Levels (Fixed Alerts)This script automatically identifies and plots the Overnight High (ONH) and Overnight Low (ONL)—two of the most important liquidity levels for intraday futures and index traders.
The indicator scans the entire overnight session (default: 18:00–09:30 EST for ES) and records the highest wick and lowest wick formed during Globex. These levels are then projected into the regular trading session, giving traders clear reference points for potential reversals, breakouts, liquidity grabs, and high-probability retest setups.
ONH/ONL levels act as magnet zones, liquidity pockets, and institutional decision points—commonly targeted during the opening drive and London/New York overlap. Whether price sweeps, reclaims, or breaks these levels, the reaction often creates reliable trade opportunities for scalpers and day traders.
Reversal Reactor - Multi-Pattern Candle Reversal ScannerReversal Reactor - Multi-Pattern Candle Reversal Scanner
⚪ Overview
Reversal Reactor is a comprehensive candle-pattern and volume-pressure detection engine designed to highlight possible reversal environments.
It identifies abnormal volume surges, major single-candle reversal structures, and multi-candle formations such as Morning/Evening Stars — all refined through adjustable shadow-to-body ratios and adaptive lookback logic.
⚪ Core Features
Big-Volume Candle Detection : green or red full body.
Flags candles with unusually high volume relative to a volume EMA. These moments often reflect climactic pushes, absorption, forced liquidations, or rapid sentiment flips.
Reversal Candle Pattern Suite
A unified engine that detects major reversal structures with individual on/off control:
• Engulfing — Strong directional assertion via body-wide engulfing of prior candle.
• Morning Star — Three-stage bullish reversal following sustained selling.
• Evening Star — Bearish transition structure after an extended advance.
• Hammer — Long lower or upper wick showing strong rejection from one side of the market..
• Shooting Star — Long upper wick showing aggressive upside rejection.
• Hanging Man — Bearish exhaustion signal forming near range highs.
• Doji — Neutral indecision candle marking potential transition zones.
Shadow-to-Body Ratio Control
Fine-tunes wick-dominant pattern detection (hammer/star types) by requiring the shadow to exceed the body by a customizable multiplier, reducing low-quality signals.
Adaptive Lookback Logic
Allows users to adjust historical evaluation depth, improving sensitivity across different volatility regimes and asset behaviors. Default setting is recommended.
⚪ How Traders Use It
• Spot exhaustion near key support/resistance.
• Validate reversal attempts with volume confirmation.
• Filter for clean candle structures before entering momentum shifts.
Disclaimer
This indicator is intended for educational and informational purposes only. It does not constitute financial advice, nor does it guarantee performance or profitability. Always conduct your own analysis and manage risk appropriately when trading.
Strat Daily Predictor📊 Strat Daily Predictor
This indicator analyzes Daily timeframe Strat patterns and displays actionable trading setups on any chart timeframe.
🔹 FEATURES:
• Detects all major Strat patterns (2-1-2, 3-1-2, 3-2-2, 1-2-2, 2-2, 1-2, 1-3)
• Shows Entry (E) and Target (T) price levels
• Pattern status: ACTIONABLE, TRIGGERED, or IN-FORCE
• Visual Entry/Target lines on chart
• Entry signals when price breaks trigger levels
• Works on any timeframe using Daily analysis
🔹 PATTERN TYPES:
• Continuation patterns (trend following)
• Reversal patterns (counter-trend)
• Bullish & Bearish setups
🔹 TABLE DISPLAYS:
• Current pattern name
• Bar combo (e.g., 2↑ → 1 → 2↑)
• Bias (BULLISH/BEARISH)
• Entry & Target prices
• Daily High/Low levels
🔹 HOW TO USE:
1. Add to any timeframe chart
2. Check table for Daily pattern setup
3. Wait for ACTIONABLE patterns
4. Enter when price breaks Entry level
5. Target shown on chart
🔹 ALERTS:
• Long Entry
• Short Entry
• Actionable Pattern
• In-Force Pattern
Based on Rob Smith's "The Strat" methodology.
Momentum Candle by DNDFXMomentum Candle v2 is a simple yet powerful indicator designed to detect strong momentum candles based on candle body size and the ratio between the body and total wick.
This indicator is ideal for traders who focus on:
Momentum trading
Breakout strategies
XAUUSD (Gold) scalping
Supply & Demand / Smart Money Concepts (SMC) confirmation
🔧 How the Indicator Works
The indicator analyzes each candle and classifies it as a Bullish Momentum or Bearish Momentum candle when these conditions are met:
✅ The candle body exceeds the minimum size
✅ The total wick is smaller compared to the body
✅ The Body-to-Wick ratio meets the strength filter
Visual signals include:
Green background for bullish momentum
Red background for bearish momentum
Up/Down triangle markers as entry guidance
⚙️ Customizable Parameters
Min Body Size (Points) – Sets the minimum candle body size
Min Body : Wick Ratio – Controls how dominant the body is compared to the wicks
All parameters can be optimized according to your trading style and timeframe.
✅ Best Use Cases
This indicator is useful for:
Breakout confirmation
Momentum validation
Filtering false breakouts
Scalping and intraday trading on XAUUSD
🧠 Trading Tips
For better accuracy, combine this indicator with:
Support & Resistance
Supply & Demand zones
Break of Structure (BOS) / CHoCH
Best performance on M5 – H1 timeframes.
⚠️ DISCLAIMER
This indicator is a supporting tool, not a guaranteed profit system. Always apply proper risk management. You are fully responsible for your trading decisions.
Market Structure Shift (MSS) [Sword & Shield]MARKET STRUCTURE SHIFT (MSS)
A clean and focused indicator for identifying Market Structure Shifts in price action.
════════════════════════════════════════════════════════════════════════════════
WHAT IS MARKET STRUCTURE SHIFT (MSS)?
════════════════════════════════════════════════════════════════════════════════
A Market Structure Shift occurs when price breaks a significant swing high or swing low,
indicating a potential change in market direction. This indicator automatically detects
and plots these key levels.
BULLISH MSS: Price breaks above a previous swing high
BEARISH MSS: Price breaks below a previous swing low
════════════════════════════════════════════════════════════════════════════════
FEATURES
════════════════════════════════════════════════════════════════════════════════
CLEAN DISPLAY
- Shows only the last 2 MSS by default (1 bullish + 1 bearish)
- Keeps charts clean and focused on recent structure
- Automatically removes old MSS when new ones appear
CUSTOMIZABLE DETECTION
- Adjustable swing detection (left/right bars)
- Choose break confirmation method (Close or Wick)
- Fixed-length lines (no infinite extension by default)
SMART FILTERING
- Only plots one MSS per direction until opposite MSS occurs
- Prevents duplicate signals in the same direction
- Clear visual distinction between bullish (blue) and bearish (red)
CLEAN LABELS
- Text labels positioned above lines
- No background tooltips for cleaner appearance
- Color-matched to their respective MSS lines
════════════════════════════════════════════════════════════════════════════════
SETTINGS
════════════════════════════════════════════════════════════════════════════════
SWING DETECTION
- Swing Left Bars (default: 2)
- Swing Right Bars (default: 2)
- Higher values = more significant swings detected
BREAK CONFIRMATION
- Close: MSS confirmed when candle closes beyond level
- Wick: MSS confirmed when wick touches beyond level
DISPLAY OPTIONS
- Show Only Last 2 MSS: ON by default (keeps chart clean)
- Extend lines to the right: OFF by default (fixed-length lines)
- Line bars (when not extended): 50 bars (customizable)
════════════════════════════════════════════════════════════════════════════════
HOW IT WORKS
════════════════════════════════════════════════════════════════════════════════
DETECTION LOGIC
1. Identifies swing highs and swing lows using pivot detection
2. Monitors price action for breaks of these levels
3. Confirms break based on selected method (Close or Wick)
4. Plots MSS line at the broken level
FILTERING LOGIC
- Only one MSS per direction is allowed consecutively
- Example: If bullish MSS appears, no new bullish MSS until bearish MSS occurs
- This prevents multiple signals in trending markets
DISPLAY LOGIC
- When "Show Only Last 2 MSS" is enabled:
• Only the most recent bullish MSS is shown
• Only the most recent bearish MSS is shown
• Old MSS are automatically deleted when new ones appear
- When disabled: All historical MSS remain visible
════════════════════════════════════════════════════════════════════════════════
USAGE EXAMPLES
════════════════════════════════════════════════════════════════════════════════
FOR TREND IDENTIFICATION
- Bullish MSS = Potential uptrend beginning
- Bearish MSS = Potential downtrend beginning
- Use in conjunction with other indicators for confirmation
FOR ENTRY SIGNALS
- Wait for MSS to confirm trend change
- Enter on pullback to MSS level
- Use MSS as support/resistance
FOR SCALPING (Lower Timeframes)
- Swing Left/Right Bars: 2-3 (more sensitive)
- Break Confirmation: Close (more reliable)
- Show Only Last 2 MSS: ON (cleaner charts)
FOR SWING TRADING (Higher Timeframes)
- Swing Left/Right Bars: 5-10 (more significant swings)
- Break Confirmation: Close (avoid false breaks)
- Show Only Last 2 MSS: ON or OFF based on preference
════════════════════════════════════════════════════════════════════════════════
VISUAL DESIGN
════════════════════════════════════════════════════════════════════════════════
LINES
- Dashed style for easy identification
- Blue for bullish MSS
- Red for bearish MSS
- Fixed length (50 bars default) for cleaner appearance
LABELS
- "MSS" text positioned above each line
- No background for clean display
- Color-matched to line color
- Small size to avoid chart clutter
════════════════════════════════════════════════════════════════════════════════
CREDITS & LICENSE
════════════════════════════════════════════════════════════════════════════════
© Sword & Shield
This Pine Script code is subject to the terms of the Mozilla Public License 2.0
mozilla.org
Trend Finder - Buy/Sell (Anuj Edition)Renko Trend Finder – Anuj Edition is a powerful trend-following tool designed to detect market direction using Renko logic instead of traditional candlesticks.
Renko filtering removes market noise, making trends clearer and reversals easier to identify.
This indicator internally builds Renko-style price movement and generates clean, high-quality Buy and Sell signals without repainting.
5% Move Counter (Up vs Down)5% Move Counter (Up vs Down)
This indicator tracks how many times a stock has made a 5% or larger move in a single session, and shows the count separately for up days and down days. It’s meant for traders who want quick context on whether a stock has a history of making large moves, instead of manually scrolling through years of price action.
Most tools only tell you what’s happening right now. This one helps you understand what the stock is capable of.
What it shows
Number of 5%+ up days
Number of 5%+ down days
Optional display modes:
All
Up Only
Down Only
Why it’s useful
Different stocks behave differently. Some give clean, powerful bursts when they break out, while others rarely move big even when the setup looks perfect. This tool helps you gauge a stock’s historical “explosiveness” so you can decide whether your strategy fits its behavior.
If your setups depend on volatility or momentum, it helps to know whether the stock has produced big moves before. This gives you that information instantly.
Customization
You can place the stats box anywhere on the chart using a simple 1–9 selector.
You can hide the rows you don’t need through a dropdown.
When a row is hidden, its background becomes fully transparent so the chart stays clean.
Who it’s for
Short-term traders, breakout traders, swing traders, and anyone who wants a quick read on whether a stock moves enough to justify certain types of trades.
Alt Trading: TX ORB Sniper
The Alt Trading: TX ORB Sniper indicator is a precision-engineered opening range breakout system built for serious intraday futures and CFD traders who demand clean, rule-based execution around the cash open. It dynamically constructs a New York session opening range using 1-minute data, then projects that structure onto higher timeframes to identify only the most decisive breakouts above or below the range. Multiple ORB modes (V1–V4) adjust the exact timing and risk model, including a reduced-risk V4 variant with compressed stop placement for more aggressive scalping conditions. A two-stage signal flow distinguishes between “get ready” crosses on the chart timeframe and confirmed entries on the target timeframe, ensuring that traders can anticipate, then verify, each breakout with confidence. Once a valid long or short is triggered, TX ORB Sniper automatically draws evolving risk/reward boxes that extend in real time, locking in entry, stop, and target levels and visually snapping them to the exact bar where the trade concludes. Integrated money management logic computes position sizing from fixed dollar risk, risk-percent, or fixed lot modes, capping maximum size to prevent over-leveraging during volatile sessions. All visual elements gold “ready” candles, range cross lines, and R/R zones are optimized for replay, so historical trades remain crystal clear when studying performance. With its disciplined one-and-done session logic, time-bounded trading window, and robust alert system for both preparation and entry, TX ORB Sniper delivers a complete, exchange-grade framework for systematic opening range breakout execution.
Daily Dual Pivots (Std + Fib) Extended by Jackel
簡介: 這個指標旨在為日內交易者提供最強大的支撐與阻力參考。它將市場上最常用的兩種 Pivot Points 計算方式——標準 (Standard) 與 斐波那契 (Fibonacci)——結合在同一個圖表中,讓你一眼就能看出關鍵的價格匯聚點 (Confluence Areas)。
主要特色:
雙重系統並存:
標準 Pivot (Standard):以 實線 (Solid Lines) 顯示。這是機構與大部分交易者使用的傳統支撐阻力位。
斐波那契 Pivot (Fibonacci):以 圓點/虛線 (Dotted Lines) 顯示。利用 Fib 黃金比例 (0.382, 0.618) 計算出的潛在反轉位。
清晰的視覺區分:標準版使用暖色系 (紅/綠/橙),Fib 版使用冷色系 (藍/紫),互不干擾,清晰易讀。
可選擴展關卡 (S4-S5 / R4-R5):預設顯示 P, R1-R3, S1-S3。如果市場波動劇烈,你可以在設定中開啟 "Show Extra Levels" 來顯示 R4/R5 及 S4/S5。
自動隱藏歷史:預設只顯示「當日」的線條,保持圖表整潔。如需回測,可開啟「顯示歷史數據」選項。
如何使用:
當 實線 (Standard) 與 虛線 (Fib) 重疊或非常接近時,該區域通常具有更強的支撐或阻力效力。
適用於 15分鐘、1小時或 4小時圖表操作日內交易。
Introduction: This indicator is designed for intraday traders who need precise Support & Resistance levels. It combines the two most popular Pivot Point calculation methods—Standard (Traditional) and Fibonacci—into a single chart, allowing you to easily identify key areas of confluence.
Key Features:
Dual System Strategy:
Standard Pivots: Displayed as Solid Lines. These represent the traditional structural levels used by most traders and institutions.
Fibonacci Pivots: Displayed as Dotted/Circle Lines. These use key Fibonacci ratios (0.382, 0.618) to identify potential reversal zones.
Visual Clarity: Different line styles and color groups allow you to distinguish between Standard and Fib levels instantly without chart clutter.
Extended Levels (Optional): By default, it shows P, R1-R3, and S1-S3. In highly volatile markets, you can enable "Show Extra Levels" in the settings to reveal S4/S5 and R4/R5.
Clean Chart: By default, it only shows levels for the current day. You can enable "Show History" in the settings if you need to backtest.
How to Use:
Look for Confluence: When a Solid Line (Standard) and a Dotted Line (Fib) overlap or are very close to each other, it indicates a very strong Support or Resistance zone.
Best used on 15m, 1H, or 4H charts for intraday analysis.
Dynamic Breakout Odds [RayAlgo]█ OVERVIEW
Dynamic Breakout Odds is a probability-based breakout tool that uses ATR and pattern matching to estimate how likely price is to expand up or down from the current candle.
Instead of guessing, the indicator scans historical candles that look like the current one and measures how often price broke above or below by a volatility-based amount.
It then projects those probabilities forward as clean levels and a bias dashboard on your chart.
Use it to quickly answer:
• “Is the next move statistically more likely up or down?”
• “How far does price typically travel from here, in ATR terms?”
█ CONCEPTS
Candle Profile Matching
The script builds a “profile” of the current setup using two elements:
• The color of the previous candle (bullish close vs bearish close)
• The trend environment (above/below EMA, if the filter is enabled)
Only historical candles with the same profile are used for statistics. This keeps the probabilities specific to the current context instead of mixing all market conditions together.
ATR-Based Expansion
For every matching historical candle, the script checks how far price moved away from the open using ATR:
• Upward move thresholds
• Moderate expansion (≈ 0.5 ATR above the open)
• Stronger expansion (≈ 1.0 ATR above the open)
• Downward move thresholds
• Moderate expansion (≈ 0.5 ATR below the open)
• Stronger expansion (≈ 1.0 ATR below the open)
It counts how often each expansion happened, then converts those counts into probabilities.
Normalized Probability Scores
The indicator doesn’t just show raw percentages; it normalizes them so that all scenarios together form a consistent probability set.
Internally it tracks four outcomes for similar candles:
• Chance of a moderate move upward
• Chance of a strong move upward
• Chance of a moderate move downward
• Chance of a strong move downward
These are then normalized so the total is roughly 100%. From this, two main metrics are derived:
• Bullish Strength = combined normalized odds of upside moves
• Bearish Strength = combined normalized odds of downside moves
Whichever side has the higher score defines the current directional bias .
█ WHAT YOU SEE ON THE CHART
1. Breakout Projection Levels
Four horizontal levels are projected around the open of the current bar:
• Two upside levels
• Nearer upside expansion (~0.5 ATR above the open)
• Further upside expansion (~1.0 ATR above the open)
• Two downside levels
• Nearer downside expansion (~0.5 ATR below the open)
• Further downside expansion (~1.0 ATR below the open)
Each line extends a configurable number of bars into the future, so you visually see a breakout “corridor” above and below price.
2. Probability Labels
At the right edge of each line, you’ll see a label such as:
• “X% – near upside”
• “Y% – further downside”
These labels tell you how frequently similar candles in the chosen lookback reached that expansion. You immediately know which scenario has been more common historically.
3. Breakout Zones
Between the paired upside lines and the paired downside lines, shaded “probability zones” can be shown:
• The upper shaded band highlights the typical upside expansion range
• The lower shaded band highlights the typical downside expansion range
These zones visually group probable target areas instead of just single lines.
4. Background Tint
The background behind price is softly tinted towards:
• Bullish color when Bullish Strength > Bearish Strength
• Bearish color when Bearish Strength > Bullish Strength
The stronger the statistical imbalance between the two, the more pronounced the tint. This gives you an instant feel for whether conditions lean more Long, more Short, or are nearly Neutral.
5. Directional Bias Arrow
On the last bar the script can plot a clean arrow:
• Up-arrow below price when bullish odds dominate
• Down-arrow above price when bearish odds dominate
The arrow is positioned beyond all projection lines, making it easy to see even on cluttered charts and reminding you of the current statistical bias without text.
6. Origin Marker
A small horizontal mark is drawn at the open of the current candle.
This acts as the “starting point” from which all ATR-based expansions above and below are measured.
7. Dashboard Panel
A compact dashboard is drawn in a corner of the chart (location configurable). It displays:
• Bullish Strength – combined normalized probability for upside expansions
• Bearish Strength – combined normalized probability for downside expansions
• Bias – “Long Bias”, “Short Bias”, or “Neutral”
• Trend Filter – shows whether EMA-based filtering is ON or OFF and which length is used
This gives you a quick, text-based summary of the current statistical environment.
█ SETTINGS
Analysis Lookback Period
• Controls how many historical bars the script inspects when searching for similar candles.
• Larger values = more history, smoother statistics, slower adaptation.
• Smaller values = faster adaptation, but more noise and less stability.
ATR Length
• The period used to compute ATR volatility.
• Defines how “big” 0.5 ATR and 1.0 ATR moves are on your current symbol and timeframe.
Trend Filter (EMA)
• Filter by Trend?
• When ON, only historical candles in a similar trend regime are used.
• When OFF, all past candles with similar color are considered, regardless of trend.
• Trend EMA Length
• EMA period used to classify trend.
• Price above EMA → uptrend environment.
• Price below EMA → downtrend environment.
This filter helps you separate behavior in uptrends from downtrends, which can significantly change breakout dynamics.
Visual Settings
• Projection Width (bars)
• How far the lines and zones extend into the future.
• Show Probability Zones
• Toggle shaded bands between each pair of levels.
• Label Size
• Choose smaller or larger text for the probability labels on the right.
• Tint Background by Bias
• Turn the bias-based background on or off.
• Show Bias Marker on Last Candle
• Toggle the up/down arrow marker.
• Dashboard Location
• Select top/bottom left/right corner for the panel.
█ HOW TO USE IT
1. Start With the Dashboard
Look at Bullish Strength vs Bearish Strength:
• If bullish is clearly larger → environment statistically favors upside expansion.
• If bearish is clearly larger → environment statistically favors downside expansion.
• If they are close → treat the situation as Neutral; consider reducing position size or waiting for more clarity.
2. Use Levels as Dynamic Targets
The projected lines and zones can serve as:
• Profit targets based on typical expansion distance
• Logical regions for scaling out
• Areas where you expect price behavior to change (e.g., loss of momentum)
Short-term traders often focus on the nearer expansion levels, while swing traders may use the farther levels as extended targets.
3. Align With Trend (Optional)
With the trend filter ON:
• Prefer Long setups when price is above the EMA and bullish probabilities dominate.
• Prefer Short setups when price is below the EMA and bearish probabilities dominate.
With the filter OFF, you get pure color-plus-pattern statistics across the whole lookback, which can be useful if you deliberately trade counter-trend or range conditions.
4. Combine With Your Existing System
Dynamic Breakout Odds is best used as a confirmation and targeting layer :
• Combine it with structure (support/resistance, supply/demand, order blocks).
• Combine it with volume or orderflow tools if you use them.
• Use the probability zones to validate whether your planned target is realistic relative to recent volatility.
It is not designed to be a standalone “buy/sell” signal generator, but a statistical map around your entries.
█ PRACTICAL EXAMPLES
Example A – Bullish, Moderate Expansion Frequently Hit
• Bullish Strength significantly higher than Bearish Strength.
• The nearer upside level shows a strong historical hit rate.
Interpretation: similar setups often produce at least a moderate push upward before failing.
Use case: trade pullbacks in the direction of the bias, targeting the nearer upside projection as an initial take-profit.
Example B – Bearish, Deeper Downside Often Reached
• Bearish Strength clearly dominant.
• Both the nearer and farther downside levels show decent probabilities.
Interpretation: similar conditions historically saw follow-through to the downside.
Use case: use rallies against the direction of the bias to position into shorts, planning partial exits around the first downside projection and runners toward the second.
Example C – Neutral, Balanced Probabilities
• Bullish and Bearish Strength scores are close.
• Background tint is very light or absent.
Interpretation: the market is statistically indecisive; expansions up or down are similarly likely.
Use case: consider range trading tactics, mean-reversion ideas, or simply standing aside until a clearer skew develops.
█ BEST PRACTICES
• Use on liquid symbols and reasonable timeframes to avoid distorted ATR behavior.
• Don’t overfit lookback length to a single instrument; test across markets.
• Let the indicator provide context, not absolute certainty.
• Always combine with proper risk management (position sizing, max loss per trade, etc.).
• Be cautious with very small sample sizes (e.g., very short lookbacks on low-volume assets).
█ LIMITATIONS & NOTES
• All probabilities are based on historical behavior ; markets can change regime.
• ATR distances are relative to recent volatility and may shrink/expand over time.
• The script intentionally does not guarantee any direction or target; it only reports what has been most common in similar past situations.
█ DISCLAIMER
This tool is for educational and informational purposes only.
It does not constitute financial advice or a guarantee of performance.
Always do your own research, test on demo or historical data, and use appropriate risk management when trading live capital.
Session, Weekly, Daily LevelsScroll down for hungarian description!
Magyar leíráshoz görgess lejjebb!
Overview
This script provides a unified market structure mapping tool that automatically identifies and visualizes key intraday, daily, and weekly reference levels. It helps traders contextualize price action throughout the trading week by marking true session opens, previous day highs/lows, weekly highs/lows, and weekday opens, all with accurate historical anchoring and correct timezone handling.
What This Script Does
1. Intraday Session Opens (Tokyo, London, New York)
- Detects the exact candle where each session opens.
- Draws horizontal rays with labels.
- Automatically clears lines at the start of each new day.
- Uses a custom local-to-exchange timezone conversion system.
2. Weekly Levels
- Last week high and low (precise bar anchoring, not HTF aggregation)
- Current week open (also Monday open)
- Auto-reset on new week
- Levels are always drawn from the true candle where they formed.
3. Previous Day High & Low
- Continuously tracks intraday highs and lows.
- On a new day, stores yesterday’s values and anchors rays to the exact bars.
- Levels remain visible for the full current day and reset the next day.
4. Weekday Opens (Tue–Fri)
- Captures the exact opening price of Tuesday–Friday.
- Monday open = Week open, so it is not shown separately.
- Auto-reset on new week.
Timezone Logic (Original Feature)
The script converts:
local session times → exchange timezone → chart timestamps
It works correctly regardless of chart timezone or instrument exchange location.
Line Drawing Logic
- Finds the exact bar_index where each level forms.
- Draws rays extending to the right.
- Labels are placed ahead of price.
- Safe updating prevents “bar index too far” errors.
How to Use
- Identify daily/weekly structure.
- Track bias relative to session opens.
- Observe reactions around weekday opens.
- Compare price action to last week's range.
Originality
- Custom timezone conversion engine.
- True historical bar anchoring.
- Fully automated weekly/daily structural resets.
- Independent styling for each level type.
- Not a mashup; all components follow one unified logic.
Limitations
- Does not predict trend or direction.
- Structural tool only.
Summary
A precise and reliable market structure tool that unifies weekly, daily, and intraday reference levels with full timezone automation and true-candle anchoring.
MAGYAR LEÍRÁS
--------------
Áttekintés
Ez az indikátor egy összetett piaci szerkezet-feltérképező eszköz, amely automatikusan megjeleníti a legfontosabb intraday, napi és heti referenciaértékeket. A célja, hogy a kereskedő tisztán lássa a piac aktuális környezetét: hol nyíltak a főbb devizapiaci szekciók, hogyan alakult a tegnapi tartomány, hol volt a múlt heti csúcs/mélypont, és hogyan nyitottak az egyes hétköznapok.
Mit tud a script?
1. Szekciónyitások (Tokyo, London, New York)
- Megkeresi a pontos gyertyát, amely a szekciónyitáskori árat tartalmazza.
- Vízszintes vonalat és címkét rajzol.
- Minden nap elején automatikusan törli a korábbi nap szintjeit.
- Egyedi időzóna-konverziós rendszerrel működik (helyi idő → tőzsdei idő → chart idő).
2. Heti szintek
- Múlt heti maximum és minimum (pontos gyertyapontra horgonyozva)
- Aktuális heti nyitóár (egyben a hétfői nyitó is)
- Új hét kezdetekor automatikusan frissül.
- A múlt heti high/low nem fix időpontra, hanem a valódi gyertyára kerül.
3. Előző napi High és Low
- Folyamatosan követi a napi maximumot és minimumot.
- Napváltáskor elmenti és pontos gyertyáról indítja a ray-t.
- A szintek a teljes nap folyamán megmaradnak, majd a következő nap törlődnek.
4. Hétköznapok nyitóárai (Kedd–Péntek)
- A kedd, szerda, csütörtök és péntek nyitóárát rögzíti és megjeleníti.
- A hétfői nyitó a Week Open, ezért külön nem jelenik meg.
- Heti váltáskor automatikusan törlődnek.
Időzóna-kezelés (egyedi megoldás)
A script a felhasználó helyi idejét átszámítja az instrumentum tőzsdei időzónájára, majd a chartra vetíti.
Ez biztosítja, hogy minden szekciónyitás helyesen jelenik meg, bármely chart vagy instrumentum esetén.
Vonalrajzolási logika
- A szintek a valódi bar_index alapján kerülnek rögzítésre.
- Jobbra nyúló ray-eket rajzol.
- A címkék mindig a jobb oldalon, előre helyezve jelennek meg.
- Biztonságos frissítési rendszer akadályozza meg a hibákat (pl. “bar index too far”).
Használat
- Napi/heti szerkezet meghatározása.
- Bias követése a session openekhez viszonyítva.
- Reakciók figyelése a hétköznapok nyitóárai körül.
- Összevetés a múlt heti tartománnyal.
Eredetiség
- Egyedi időzóna-kezelő motor.
- Igazi gyertyapont-alapú horgonyzás.
- Automatikus napi/heti reset.
- Minden szint külön stílusban konfigurálható.
- Nem mashup; egységes rendszer.
Összegzés
Professzionális, pontos eszköz a piaci szerkezet feltérképezésére, amely egyesíti a heti, napi és intraday szinteket, teljes időzóna-automatizálással és gyertyapontra horgonyzott kijelölésekkel.
BEM Scalping & Trend Continuation ToolThe BEM Scalping & Trend Continuation Tool highlights 3-candle pullback structures into moving averages and visualizes potential continuation areas within ongoing trends. The script includes two pullback detectors using configurable moving averages, a trend-direction average, VWAP, signal markers, and dynamic swing-level tracking. These elements are designed to support visual analysis of short-term momentum, pullbacks, and structural behavior across different markets and timeframes.
How It Works:
The script identifies descending 3-bar patterns (for bullish pullbacks) and ascending 3-bar patterns (for bearish pullbacks). Pullbacks are highlighted when they interact with a selected moving average and meet additional structural criteria. Optional markers plot when such patterns occur.
Swing levels are detected using pivots, extended forward, and removed when invalidated.
Intended Use:
This tool supports discretionary and rule-assisted chart analysis by highlighting pullbacks, trend context, and market structure. It does not generate predictions or financial advice, and its signals do not imply performance or outcomes.
⭐ Core Features
1️⃣ Highlighted Pullback Bars (Fast + Deep Retracements)
The tool uses two customizable moving averages:
MA1 (default 9) → Fast trend pullback
MA2 (default 45) → Deeper retracement pullback
The script highlights candles when the price creates a structured 3-bar pullback into either moving average. Colors automatically reflect bullish or bearish continuation conditions.
2️⃣ Trend Direction Filter
A longer moving average (default 102) provides directional bias.
This helps traders visually stay aligned with the dominant trend.
3️⃣ VWAP Integration
VWAP is included as a dynamic institutional support/resistance level.
Useful for intraday bias, mean reversion, and trend continuation confluence.
4️⃣ Automated Pullback Signals
Triangle signals appear when a pullback meets all conditions:
Bullish/Short-term long
Bearish/Short-term short
Deep Bullish pullback (MA45)
Deep Bearish pullback (MA45)
These optional markers provide clear visual confirmation.
5️⃣ Smart Swing Lines (Auto-Structure Tracking)
Swing highs and lows are automatically detected and projected forward.
Broken levels self-remove to keep the chart clean.
Great for structure trading, liquidity analysis, and break-of-structure confirmation. To help identify the best possible scenario for the trend continuation pullback work A+.
🔍 How the Pullback Logic Works
The BEM Scalping & Trend Continuation Tool uses a 3-bar structural pattern:
Bullish Pullback Pattern
The High of the first candle needs to be higher than the second one, and the high of the second needs to be higher than the third, moving down in a pullback to the moving average.
Price wicks into MA
Open above MA (rejection)
Continuation expected upward
Bearish Pullback Pattern
The Low of the first candle needs to be lower than the second one, and the low of the second one needs to be lower than the third one, moving upward to the moving average.
Price wicks into MA
Open below MA (rejection)
Continuation expected downward
Bars are highlighted in different colors based on MA1(fast) or MA2(slow and deeper) pullback.
📘 How to Trade the System (Optional Use Case)
(Not predictive; for discretionary workflow support.)
LONG Scenario
Price above Trend MA
Price above VWAP (optional confluence)
Gold (MA9) or Blue (MA45) bullish pullback highlight
Bullish triangle plotted
Entry: candle close or break of signal candle high
Stop: below MA or swing low
Target: next liquidity level, swing high, or trail with MA9
SHORT Scenario
Price below Trend MA
Price below VWAP
Purple (MA9) or Deep Violet (MA45) bearish pullback highlight
Bearish triangle plotted
Entry: candle close or break of signal candle low
Stop: above MA or swing high
Target: next swing low or break structure
*
This tool is for charting and better visualization of pullback and trend continuation only.
It does not guarantee profits.
Always combine with proper risk management.
TTP IFVG Signals With EMA /ICT Gold scalpingThis script uses original logic and alerting rules. in Japan
finding ICT IFVG and EMA conditions.
#IFVG, Forex, ICT, EMA, Scalping, Indicator
This indicator automatically finds IFVG (Imbalance / Fair Value Gap) zones and gives you a buy or sell signal when price comes back and breaks out through that gap.
It also draws a colored box over the gap so you can see the zone visually, and it raises alerts when a new signal appears.
High-level logic:
On every bar, the script looks back up to “IFVG_GapBars” bars.
For each offset i it checks a 3-candle pattern:
– If the low of the newer candle is above the high of the older candle: bullish FVG (price jumped up, leaving a gap).
– If the high of the newer candle is below the low of the older candle: bearish FVG (price jumped down, leaving a gap).
When a valid FVG is found:
– For a bullish FVG it looks for a later close that breaks down through that gap (sell signal).
– For a bearish FVG it looks for a later close that breaks up through that gap (buy signal).
– A moving-average trend filter must agree (downtrend for sells, uptrend for buys).
– It checks that price has not already “filled” the gap before the breakout.
If all conditions are satisfied, it:
– Sets signal_dir = 1 for a buy, or -1 for a sell.
– Draws a box from the original FVG bar to the bar just before the breakout (extended a bit to the right), between the gap high and gap low.
– Plots an ▲ label for buys or ▼ label for sells.
– Triggers the corresponding alert conditions.
Now the parameters:
PipSizeMultilier (PipSizeManual)
Multiplies the symbol’s minimum tick size (syminfo.mintick).
It is used when converting “MinFVG_Pips” into an actual price distance.
If you feel the indicator is too sensitive (too many small gaps), you can increase this multiplier to effectively require a larger price difference.
TickSize
Internal value = syminfo.mintick * PipSizeMultiplier.
This is the actual price step the script uses as a “pip” when checking minimum gap size.
FVG Search Lookback (IFVG_GapBars)
How many bars back from the current bar the script will scan for a 3-candle FVG pattern.
Larger value = it can find older FVGs, but loop cost is higher.
Min FVG Size (Pips/Points) (MinFVG_Pips)
Minimum allowed size of the gap, measured in “pips/points” using TickSize.
If the vertical distance between the gap high and gap low is smaller than this, the gap is ignored.
0.0 means “no size filter” (every FVG is allowed).
FVG Epsilon (Price Units) (FVG_EpsPoints)
Tolerance for the FVG detection.
It is subtracted/added in the condition that checks “low > old high” or “high < old low”.
0.0 means strict gap (no overlap at all). A small positive epsilon allows tiny overlaps to still count as a gap.
Show IFVG Zones (ShowZones)
If true, the script draws a box over the IFVG zone when a signal is confirmed.
If false, no boxes are drawn; you only see the ▲ / ▼ markers and alerts.
Buy Zone Color (ZoneColorBuy)
Fill color and border color for boxes created from bearish FVGs that later produce a buy signal.
Sell Zone Color (ZoneColorSell)
Fill color and border color for boxes created from bullish FVGs that later produce a sell signal.
Box Extension (Bars) (BoxExtension)
How many extra bars to extend the right side of the box beyond the breakout bar.
The internal right coordinate is “bar_index - 1 + BoxExtension”.
Increase this if you want the zone to visually extend further into the future.
MA Period (MA_Period)
Lookback length of the moving average used as a trend filter.
MA Type (MA_Kind)
Type of moving average: “SMA” or “EMA”.
If SMA is chosen, the script uses ta.sma; if EMA, it uses ta.ema.
Moving-average filter behavior:
For sell signals (from bullish FVG): MA must be sloping down (MA < MA ) and price must be below MA.
For buy signals (from bearish FVG): MA must be sloping up (MA > MA ) and price must be above MA.
If these conditions are not satisfied, the FVG is ignored even if the gap and breakout conditions are met.
Signals and alerts:
signal_dir = 1 → buy signal, ▲ label below the bar, “IFVG Buy Alert” / “IFVG Buy/Sell Alert” can fire.
signal_dir = -1 → sell signal, ▼ label above the bar, “IFVG Sell Alert” / “IFVG Buy/Sell Alert” can fire.
signal_dir = 0 → no new signal on this bar.
In short:
This indicator finds 3-candle IFVG gaps, filters them by size and trend, waits for a clean breakout through the gap, draws a box on the original gap zone, and gives you a clear buy or sell signal plus alerts.






















