אינדיקטור
ניתוח מגמה
Doji Downside PointerA Doji candle is a distinct technical analysis chart pattern that forms when a security's opening and closing prices are virtually equal, resulting in a cross-like shape that signals market indecision.
Locate the Trend: Find a clear upward or downward trend.Spot the Doji: Wait for the candle body to flatten.Confirm the Signal: Look at the very next candlestick.Manage Your Risk: Place stop-losses beyond the Doji wicks.
for educational purposes only
אינדיקטור
Fractal Structure Indicator BOS CHoCH TGFXFractal Market Structure — BOS / CHoCH
OVERVIEW
This tool maps market structure automatically using fractal pivots. It detects swing and internal structure, labels each break as BOS (continuation) or CHoCH (change of character / reversal), tracks the current fractal high and low (FH / FL), highlights the premium and discount zones of the active range, and summarises higher-timeframe structure in a table.
THE CONCEPTS
- Fractal pivots: highs and lows are detected as Williams-style pivots (a high or low with N bars on each side). Two layers are available — swing structure (larger pivots) and internal structure (smaller pivots inside the swings).
- BOS (Break of Structure): price closes beyond the prior structural point in the direction of the trend — a continuation event.
- CHoCH (Change of Character): the first break against the prevailing structure — an early sign of a potential reversal.
- Current FH / FL: the most recent fractal high and low, where liquidity tends to rest.
- Premium / Discount: the active range is split at its 50% equilibrium. Above it is premium (relatively expensive); below it is discount (relatively cheap).
- Multi-timeframe table: shows the structural bias and the zone (premium / discount) of higher timeframes at a glance.
NON-REPAINTING
A fractal is only confirmed once N bars have closed on each side, so a pivot is fixed after confirmation and does not repaint. Structure breaks (BOS / CHoCH) are evaluated on bar close.
SETTINGS
- Swing fractal length and internal fractal length.
- Show / hide internal structure.
- Show current FH / FL lines and labels.
- Show BOS / CHoCH labels.
- Show premium / discount zones.
- Colors, line extension, and the multi-timeframe table (timeframes and position).
HOW TO READ IT
- Green = bullish structure, red = bearish structure.
- BOS suggests trend continuation; CHoCH warns of a possible reversal.
- Price reaching discount within a bullish bias, or premium within a bearish bias, is the classic context many traders use to look for entries in the direction of structure.
NOTES
This script is an original implementation of standard, public price-action concepts (fractal pivots, market structure, BOS / CHoCH, premium / discount, equilibrium). It is a visualization and context tool — it does not generate buy/sell signals and makes no claim about future performance. Best used together with your own analysis and risk management.
אינדיקטור
Liquidity Map & Order Blocks [MQLSoftware]Liquidity Map & Order Blocks reads swing structure into a density map of where stop-liquidity rests, then projects which pool price is most likely drawn toward next. Equal highs and lows are grouped into bands whose brightness scales with a multi-factor Liquidity Score, sweeps mark where those pools were hunted, and a forward-looking model expresses the most likely draw as a self-calibrating historical hit-rate rather than a fixed number. A compact right-side panel adds chart and higher-timeframe structure, the net liquidity pull, the draw target, and pool counts.
This is a visual analytical tool intended for chart reading and liquidity mapping. It does not execute trades and does not provide financial advice. It does not generate buy or sell signals and makes no claim about profitability or win rate. The draw percentage describes how often similar pools were reached in the past over the loaded data; it is a descriptive statistic, not a prediction, and past behavior does not guarantee future results.
Key Features
Resting liquidity drawn as density bands from ATR-normalized clustering of equal highs and lows, so nearby levels merge into one pool instead of a stack of lines
Band brightness driven by a Liquidity Score that blends a saturating touch count, age decay, relative volume at the forming pivots, and rejection-wick depth
Draw on Liquidity projection: a directional arrow to the pool with the strongest modelled pull, muted automatically when the model's confidence is low
Draw percentage shown as a self-calibrating empirical hit-rate — how often pools of a similar profile were actually reached over the loaded history, marked provisional while the sample is thin
Sweep detection when price wicks beyond the last significant swing and closes back within it, with recent sweeps labelled and older ones marked compactly
Protected-swing structure engine marking Break of Structure and Change of Character, with an optional plain-language label mode
Order blocks drawn only when they originate a Break of Structure, plus an optional Fair Value Gap layer; both fade once mitigated
Multi-timeframe panel with chart and higher-timeframe bias, liquidity pull, draw target with its hit-rate, and pool counts, read non-repainting
Core Concept
Most liquidity and order-block tools on TradingView take one of two approaches. They either draw raw equal-high / equal-low lines and mark every order block and gap without ranking them, which clutters the chart and leaves the reader to judge which level matters, or they label structure (swings, breaks of structure) without projecting where liquidity is likely to pull price next. Both stop short of a scored, forward-looking read.
This indicator builds on a different base: cluster swing levels into scored density bands, gate order blocks by structure, and add a model for the next likely draw that is calibrated against realized history. It adds three specific algorithmic elements on top of that base.
1. ATR-Normalized Liquidity Clustering with a Multi-Factor Score. Swing highs and lows are not drawn as individual lines. They are grouped along the price axis by a clustering pass whose merge distance scales with ATR, so equal-ish levels collapse into a single pool and the behavior stays consistent across instruments. Each pool carries a Liquidity Score built multiplicatively from a saturating touch count, an age-decay term, relative volume at the forming pivots, and rejection-wick depth, so a band's brightness reflects how heavy and how fresh the resting liquidity is rather than only how many times the level was touched.
2. Draw on Liquidity Projection. Each unmitigated pool is treated as an attractor. Its pull is the product of its Liquidity Score, an exponential proximity kernel in ATR units, a structural prior that favors pools lying in the trend's continuation direction relative to current price, and a path-clearance term that discounts a pool when other strong pools sit between it and price. The strongest-pull pool is projected as the draw target, and the projection is deliberately muted when confidence is low, so a weak draw never reads like a strong one.
3. Self-Calibrating Empirical Hit-Rate. The draw percentage is not a fixed weight. Each draw is profiled into a bucket defined by Liquidity Score, distance, and structural alignment, and as the chart's history is processed the script records how often pools of that profile were actually reached within a configurable horizon. The displayed figure is the empirical reach frequency of that bucket, smoothed with a weak prior so thin samples are shown as provisional rather than over-read. It calibrates per symbol and timeframe with no fixed accuracy claim attached.
Anatomy of the Display
Liquidity bands are the horizontal zones spanning each pool, colored for buy-side (above) and sell-side (below) liquidity; the brighter a band, the higher its Liquidity Score. Swept pools dim to grey so a hunted level is visually retired.
The draw projection is the arrow from current price to the strongest-pull pool, with a price-side chip and an arrowhead pointing the modelled direction. Its weight scales with the hit-rate: a high-confidence draw is bold, a low-confidence one is thin and faded. The label reads the target level, the hit-rate (shown as a provisional `~NN% (n…)` while its sample is small), and whether the pool is buy-side or sell-side liquidity.
Sweeps mark a stop-hunt of the last significant swing: a wick beyond it that closes back within. The two most recent are labelled; older ones are compact marks so the chart stays clean.
Structure is drawn as Break of Structure and Change of Character lines from a protected-swing state machine; a toggle renders these in plain language (Trend break / Reversal) for readers new to the terminology.
Order blocks are the boxes drawn at the last opposite candle before a Break of Structure, so only structure-originating blocks appear; the optional Fair Value Gap layer marks three-candle imbalances aligned with the break. Both fade once price mitigates them.
The right-side panel lists chart structure, the net liquidity pull and its strength, the draw target with its hit-rate, pool counts per side, and a per-row higher-timeframe bias scan with a strength bar.
Multi-Timeframe Panel
The panel reads three higher timeframes of your choice for structural bias and trend strength, using the same protected-swing engine as the chart. Higher-timeframe values are read with `lookahead=barmerge.lookahead_off` and a one-bar offset, which is the standard non-repainting pattern for higher-timeframe context. A divergence between the chart's structure row and the liquidity pull is informative rather than contradictory: structure up while the draw points down with a high hit-rate, for example, frames an expected pullback toward a strong pool below.
Notes on Repainting
Confirmed liquidity pools, sweeps, structure breaks, and order blocks do not repaint. They are built from confirmed pivots (`ta.pivothigh` and `ta.pivotlow` with a right-bars parameter), so once committed they stay anchored.
Pivot detection has an inherent delay equal to the right-bars parameter (default 3 bars). The most recent swing is provisional until that many bars close past it. This is a property of all pivot-based indicators, not specific to this script.
The draw percentage is a learning statistic. It updates as the script accumulates observations over the loaded history. This is not a repaint of historical bars; the same bar can show a different figure when the chart is reloaded with a different amount of history, because more or fewer observations are available.
Mitigation is one-directional. Once an order block or gap is mitigated it stays marked as such.
Multi-timeframe panel data uses `lookahead=barmerge.lookahead_off` with a one-bar offset, the canonical non-repainting pattern for higher-timeframe context.
Alerts are gated by `barstate.isconfirmed` and fire once per closed bar, never intra-bar.
Typical Analysis Workflow
A common analytical workflow may include:
Reading the band map to see where the heaviest resting liquidity sits above and below price, with brighter bands as the higher-quality pools
Reading the draw projection as a hypothesis for where liquidity may pull price next, weighting it by its hit-rate and whether it aligns with structure
Noting sweeps as stop-hunts that often precede a move, and watching whether price reclaims or rejects the swept level
Treating order blocks as origin zones for the move that broke structure, and the panel's higher-timeframe rows as top-down context
Reading a structure-versus-pull divergence as a possible pullback rather than a contradiction, then managing any decision with other forms of analysis and risk management
Configuration
Structure Engine - ATR length, pivot left / right bars, and the swing filter that sets how significant a swing must be. Right Bars also sets the confirmation delay.
Liquidity Pools - lookback, cluster epsilon (how aggressively levels merge), minimum touches, age half-life, and whether volume contributes to the score.
Draw on Liquidity - proximity, structural prior strength, path clearance, the empirical-calibration toggle, and the calibration horizon.
Sweeps & Structure - sweep penetration, show sweeps, show structure, and the plain-language label toggle.
Order Blocks / FVG - show order blocks, show gaps, the order-block scan window, and the maximum number of boxes.
Visuals - colors for buy-side and sell-side liquidity, draw target, and structure, plus a minimum band height so pools read as bands rather than threads.
Multi-Timeframe HUD - show / hide the panel, the three higher timeframes, and panel position.
Markets and Timeframes
The indicator can be applied across multiple markets and timeframes:
Cryptocurrencies
Forex
Stocks and Indices
Commodities
Because the clustering distance, proximity kernel, and score are all ATR-based, the visual behavior stays consistent across instruments and timeframes. The volume component of the Liquidity Score contributes most on instruments with reliable volume (crypto, futures, equities) and falls back gracefully where volume is thin. The empirical hit-rate reads best on charts with enough history for its buckets to fill.
Alerts
Buy-side liquidity swept - fires when a buy-side pool's level is hunted
Sell-side liquidity swept - fires when a sell-side pool's level is hunted
Bullish Break of Structure - fires on a confirmed upside structure break
Bearish Break of Structure - fires on a confirmed downside structure break
All timeframes bullish - fires when every higher-timeframe row is bullish
All timeframes bearish - fires when every higher-timeframe row is bearish
All alerts evaluate on confirmed bars to avoid intra-bar oscillation.
אינדיקטור
ALMA Slope, ADX & Cross System Strategy Description : OverviewThe Advanced ALMA Slope, ADX & Cross System v7.6 is a high-performance, modular trend-following strategy built on Pine Script v6. Designed for algorithmic traders, this system leverages the mathematical precision of the Arnaud Legoux Moving Average (ALMA) to eliminate the lag inherent in traditional moving averages while maintaining superior smoothing capability.What sets this system apart is its Dynamic Volatility Adaptability and Bar-Confirmed Re-entry Engine, creating a highly flexible architecture capable of navigating volatile crypto assets, forex, or equities with minimal whipsaws.Key Features & Architecture1. Low-Lag ALMA Core with Slope AccelerationInstead of relying on simple price crosses, the primary engine tracks the directional derivative (Slope) of the ALMA.Slope Entry Mode: Filters out flat market micro-movements by entering precisely when the slope crosses the zero threshold.Acceleration Filter: Requires the momentum of the slope to build over a user-defined number of bars before validating a setup, preventing premature entries during false breakouts.2. Multilayered Trend Validation (ADX & DMI)To ensure trades are only executed during high-probability macro trends, the strategy integrates an ADX filter. It verifies not only whether trend strength is above a structural threshold (e.g., 20) but optionally guarantees that trend intensity is accelerating ($ADX_t > ADX_{t-1}$).3. Smart (Dynamic) Volatility-Adjusted Trailing StopStandard percentage-based trailing stops fail when market regimes shift from low-volatility accumulation to high-volatility expansion. This version implements an innovative ATR-to-SMA ratio multiplier:$$\text{Volatility Multiplier} = \frac{\text{Current ATR}}{\text{Historical ATR SMA}}$ OTC:WHEN the market becomes highly volatile, the system automatically expands the Trailing Start and Follow distances to give the asset "room to breathe" and avoid premature stop-outs.When the market calms down, the brackets contract to lock in profits early.4. Bar-Confirmed Mid-Trend Re-entry EngineMissed the initial breakout? The strategy features a sophisticated re-entry mechanism that tracks the last closed position's state. If a strong trend resumes after an early exit, it checks a dedicated cooldown timer and compares the current slope acceleration against the exit momentum, allowing safe mid-trend re-routing without chasing spikes.5. Flexible Execution and Risk ManagementDual Entry/Exit Protocols: Toggle between Slope Tracking and Price/ALMA or Price/VWMA crosses dynamically.Intrabar Reflexive Guard Rails: While strategy entries/exits are bar-confirmed to prevent repaint and slippage, the Stop Loss (SL), Take Profit (TP), and Trailing Stops run on real-time intrabar ticks for absolute capital protection.Settings & Optimization GuideTrending Markets (Crypto/Growth Stocks): Keep Adapt Percent TS with ATR active to ride massive extensions while protecting your downside during unexpected flash crashes.Mean-Reverting Markets (Forex/Indices): Consider turning on Exit on Slope Deceleration with a 3-bar lookback to catch micro-reversals before they eat into realized gains.Disclaimer: Past performance does not guarantee future results. This script is highly parameter-driven; users are strongly encouraged to utilize TradingView's Strategy Tester to optimize the ALMA period, ADX thresholds, and risk brackets for their specific asset class and timeframes before committing live capital.
אסטרטגייה
אינדיקטור
Squeeze Momentum Pro - TTM Squeeze, Volatility Breakout & MomentSqueeze Momentum Pro - TTM Squeeze, Volatility Breakout & Moment is a modern volatility squeeze and momentum indicator for TradingView that shows you exactly when the market is coiling (building energy) and the precise moment that energy fires into a trend. It combines the classic TTM Squeeze concept — Bollinger Bands contracting inside the Keltner Channel — with a multi-tier compression engine (Squeeze Pro) and a glowing momentum histogram, so you can trade breakouts, momentum, trend continuation and volatility expansion on any market and any timeframe: forex, crypto, stocks, indices, futures, gold (XAUUSD), Bitcoin (BTCUSD), NASDAQ, S&P 500, oil and more. Built in Pine Script v6, it adds neon momentum candles, rare high-conviction squeeze fire signals and a live dashboard — a clean, professional upgrade over a plain squeeze momentum oscillator. Keywords: squeeze momentum, squeeze pro, TTM squeeze, volatility squeeze, momentum indicator, Bollinger Bands, Keltner Channel, breakout indicator, volatility breakout, momentum oscillator, trend, buy sell signals, scalping, day trading, swing trading, no repaint.
◆ WHY THE SQUEEZE WORKS
When Bollinger Bands contract inside the Keltner Channel, volatility is compressing — the market is coiling like a spring. Low volatility is always followed by high volatility. The squeeze tells you a big move is building; the momentum histogram tells you which direction it is most likely to release. Trading the release of a squeeze is one of the highest-reward, lowest-risk setups in technical analysis.
◆ WHAT IT DOES
3 compression tiers (Squeeze Pro): HIGH (BB inside KC x1.0, tightest coil), MID (x1.5), LOW (x2.0), and EXPANSION (bands released). Tier is shown by colour-coded dots on the zero line.
Neon momentum histogram: linear-regression momentum that glows brighter as it extends and dims as it fades — instant read of strength and direction.
Squeeze Fire signals: rare, high-conviction arrows that fire only when a real coil (HIGH/MID) releases — filtered to remove noisy weak releases.
Neon momentum candles: your chart candles are tinted by momentum (turquoise up / magenta down).
Live dashboard: State, a unique Coil Energy gauge (stored energy of the coil), Momentum strength, Signal and Bias.
◆ HOW IT WORKS (under the hood)
Bollinger Bands (length/multiplier) measure compression; Keltner Channel (ATR-based) is the volatility reference. A squeeze is active when both BB edges sit inside the KC edges.
Three KC multipliers create three compression tiers so you can tell a mild coil from a maximum-tension coil.
Momentum is a linear regression of price versus the average of the Donchian midline and the moving average (LazyBear method).
The script tracks the tightest tier reached during each coil; a fire is only flagged when the coil reaches your chosen tier and then releases — so arrows mean something.
Coil Energy accumulates from how long and how tightly price has been compressed, and discharges on release — a unique read of stored breakout potential.
◆ HOW TO USE IT
Wait for a squeeze (especially a HIGH tier — tightest spring). The dashboard shows State and rising Coil Energy.
On the Squeeze Fire arrow, enter in the direction of the histogram colour (teal = long, magenta = short).
Stay in while momentum keeps extending (bars growing, bright colour); exit as momentum fades (bars shrinking, dim colour) or flips across the zero line.
Use Fire on release from to control signal frequency: HIGH only (rare, strongest) → MID+ → Any (more signals).
Works on all symbols and timeframes; combine with your own support/resistance, structure or trend tools for confluence.
◆ SETTINGS
Squeeze Engine: BB length & multiplier, KC length, KC multipliers for HIGH/MID/LOW tiers.
Momentum: linear-regression length.
Fire Signals: release tier threshold (HIGH only / MID+ / Any).
Histogram / Candles: glow, tint chart candles by momentum, optional squeeze-zone shading, fire markers.
Panel: show/hide, position, background, accent colour.
◆ ALERTS
Squeeze Fire Long / Short
High Squeeze started (maximum compression)
Momentum crossed zero
◆ LIMITATIONS
This is a momentum/volatility tool, not a complete system — always confirm with price action and risk management.
On forex and crypto, volatility (ATR) and momentum reflect the data feed of your broker/exchange; results can vary slightly between feeds.
A squeeze signals that a move is building, not its direction with certainty — the momentum colour gives the probable bias, not a guarantee.
With "HIGH only" some calm instruments may rarely reach the tightest tier; loosen the KC HIGH multiplier or switch to "MID+" if you want more signals.
◆ NON-REPAINTING
Every value comes from confirmed bar data with no lookahead and no security() smoothing tricks. A signal printed on a closed bar stays. As with any live tool, the current forming bar updates in real time and settles on close.
Squeeze Momentum Pro - TTM Squeeze, Volatility Breakout & Moment is an educational analysis tool, not financial advice. Always do your own research and manage risk. © LunqFX.
אינדיקטור
FVG Imbalance Tracker TGFXFVG Imbalance Tracker
OVERVIEW
FVG Imbalance Tracker automatically detects, draws and tracks Fair Value Gaps (FVG), also known as imbalances. It marks each gap as a zone, extends it until price returns, and tells you when the gap has been mitigated (filled). An optional 50% midline (Consequent Encroachment / CE) and a higher-timeframe table give you context at a glance.
WHAT IS A FAIR VALUE GAP
A Fair Value Gap is a three-candle pattern where the first and third candles do not overlap, leaving a price range that was crossed in a single, one-sided move:
- Bullish FVG: the low of candle 3 is above the high of candle 1.
- Bearish FVG: the high of candle 3 is below the low of candle 1.
That untraded range is an imbalance. Price frequently returns to it later to "rebalance" before continuing, which is why these zones are useful as potential reaction areas.
HOW IT WORKS
1. On the close of every third candle, the script checks for a gap between candle 1 and candle 3.
2. If a gap is found (and passes the optional ATR size filter), a zone is drawn from the pattern to the right.
3. Each zone keeps extending until it is mitigated. You choose what mitigation means:
- Full fill: price fully closes the gap.
- 50% (CE): price reaches the midpoint (Consequent Encroachment).
- Touch: price reaches the near edge of the gap.
4. Once mitigated, the zone is dimmed and stops extending (or is removed, if you prefer).
HOW TO READ IT
- Green zones = bullish Fair Value Gaps (potential demand / support areas).
- Red zones = bearish Fair Value Gaps (potential supply / resistance areas).
- Solid, extending zone = still unmitigated.
- Dimmed zone = already mitigated.
- Dotted midline = the 50% (CE) level of the gap.
- Multi-timeframe table: shows the latest imbalance direction on three higher timeframes (Bull / Bear / –) for higher-timeframe context.
SETTINGS
- Detection: optional ATR filter to ignore small gaps, ATR length, minimum gap size (× ATR), and maximum gaps kept per side.
- Mitigation: choose Full fill, 50% (CE) or Touch, and whether mitigated gaps stay dimmed or are removed.
- Visual: colors for bullish/bearish gaps, box transparency, optional border, optional 50% midline, optional labels, label size.
- Multi-timeframe table: enable/disable, the three timeframes, and table position.
REPAINTING
Gaps are confirmed on the close of the third candle, so a zone does not appear and then disappear intrabar.
ALERTS
Three alerts are available: "New bullish FVG", "New bearish FVG" and "FVG mitigated". Add them from the alert dialog and set them to trigger once per bar close.
NOTES
This script is an original implementation of standard, public price-action concepts (Fair Value Gaps and Consequent Encroachment). It is a visualization and context tool — it does not generate buy/sell signals and makes no claim about future performance. Fair Value Gaps work best combined with your own analysis (market structure, liquidity, higher-timeframe context, risk management) rather than used in isolation.
אינדיקטור
Liquidity Sweeps EQH EQL TGFXLiquidity Sweeps — EQH / EQL
OVERVIEW
Liquidity Sweeps — EQH / EQL is a price-action tool that highlights resting liquidity on the chart and shows when that liquidity is taken. It automatically detects clusters of equal swing highs (EQH) and equal swing lows (EQL), draws them as liquidity levels, and flags the moment price runs through a level and closes back on the other side — a liquidity sweep (also called a stop run or liquidity grab).
THE IDEA BEHIND IT
Stop orders tend to build up just beyond obvious swing highs and lows. When several swings form at roughly the same price, they create a visible pool of resting orders:
- Equal highs (EQH) sit above price and represent buy-side liquidity (buy stops / breakout buy orders).
- Equal lows (EQL) sit below price and represent sell-side liquidity (sell stops / breakout sell orders).
Price is often drawn toward these pools. A sweep occurs when price spikes through the level to trigger those orders and then closes back inside the range — frequently a sign that the move beyond the level lacked follow-through.
HOW IT WORKS
1. Swings are detected with confirmed Williams pivots (configurable left/right length).
2. When two consecutive pivot highs (or lows) form within an adaptive, ATR-based tolerance, they are treated as "equal" and a liquidity level is drawn at the extreme. The tolerance can also be set as a fixed tick distance.
3. Each level extends to the right until price reaches it.
4. A sweep is confirmed on bar close:
- Bearish sweep: a bar's high trades above an EQH but the bar closes back below it (buy-side liquidity taken).
- Bullish sweep: a bar's low trades below an EQL but the bar closes back above it (sell-side liquidity taken).
The swept level is then dimmed and stops extending, and a "SWEEP" label is placed.
HOW TO READ IT
- Red levels / "EQH" labels = buy-side liquidity resting above price.
- Green levels / "EQL" labels = sell-side liquidity resting below price.
- Solid line = level still intact (liquidity untouched).
- Dotted/dimmed line = level already swept.
- Red "SWEEP" above a candle = buy-side liquidity taken and rejected.
- Green "SWEEP" below a candle = sell-side liquidity taken and reclaimed.
- Multi-timeframe table: shows the most recent sweep direction on three higher timeframes (Bull / Bear / –) for higher-timeframe context at a glance. On each higher timeframe a sweep is measured as breaking the N-bar high/low and closing back inside.
SETTINGS
- Swing detection: pivot left/right bars control how large a swing must be before it counts. Lower = more, smaller swings (more sensitive); higher = fewer, more significant ones.
- Equal levels: tolerance mode (ATR or ticks), ATR length and multiplier, and a tick tolerance. A larger tolerance treats more pivots as "equal".
- Sweeps: show/hide sweep labels, and whether swept levels stay on the chart (dimmed) or are removed.
- Visual: colors for buy-side/sell-side, line width, label size, show/hide level labels.
- Multi-timeframe table: enable/disable, the three timeframes, the higher-timeframe sweep lookback, and the table position.
REPAINTING
Levels are built only from pivots that are already confirmed, so a level never appears and then disappears once drawn (by definition, a pivot is confirmed a number of bars after it forms, equal to the "right bars" setting). Sweeps are evaluated on bar close, so sweep labels and alerts do not change intrabar.
ALERTS
Two alerts are available: "Bullish liquidity sweep" and "Bearish liquidity sweep". Add them from the alert dialog and set them to trigger once per bar close.
NOTES
This script is an original implementation of standard, public price-action concepts (Williams pivots, equal highs/lows, liquidity sweeps). It is a visualization and context tool — it does not generate buy/sell signals and makes no claim about future performance. Sweeps are best combined with your own analysis (market structure, higher-timeframe context, risk management) rather than used in isolation.
אינדיקטור
Motion Reversal System [BullByte]Motion Reversal System (MRS) - Trend-Failure Bar Detector with Adaptive Pressure Meter, Multi-Mode Signal Engine, and Complete Trade-Level Framework
---
Why This Indicator Exists
Most reversal indicators fall into one of two failure modes. Either they fire constantly in ranging markets because they have no directional filter, or they only confirm reversals long after price has already turned because they rely on lagging momentum oscillators. Motion Reversal System (MRS) was built to solve both problems in a single coherent engine.
MRS is one engine with one purpose: identify the precise bar at which a confirmed trend structurally fails - the moment commitment fades, the bar itself rejects further advance, and the move's energy reverses. From that bar, MRS automatically frames the trade with entry, two targets, and a stop loss, then manages the full trade lifecycle to closure.
---
What Makes This Not a Mashup
A mashup combines independent indicators that each output their own signal, then layers them visually. MRS is the opposite. Every component of MRS feeds into a single decision: "Is the current bar a trend-failure bar?" Remove any one component and the engine stops working correctly.
- The Directional Gate decides IF a trend is present (no trend = no exhaustion to detect)
- The Four Failure Conditions decide IF the current bar is structurally failing that trend
- The Signal Mode decides HOW STRICT the failure must be
- The Pressure Meter provides a live visual reading of building reversal pressure
- The Trade Level Engine decides WHERE to enter, stop, and target
- The HTF Filter decides WHETHER higher-timeframe context confirms the call
These are not independent indicators. They are stages of one detection pipeline. Each stage exists because the next stage cannot function without it.
---
The Engine - How It Actually Works
Stage 1 - Directional Gate (Kaufman Efficiency Ratio, Self-Adapting)
The script computes Kaufman's Efficiency Ratio (ER) over a rolling window. ER measures net price displacement divided by the total path price traveled. Values near 1.0 indicate pure trending motion; values near 0.0 indicate pure noise.
A fixed ER threshold would work well on one instrument and fail on another, so MRS adapts the gate dynamically. The threshold becomes the rolling mean of the ER series plus half a standard deviation, with a user-defined floor. This means the gate raises itself during volatile sessions and lowers during quiet sessions automatically. No re-tuning per instrument.
Only bars that occur inside a confirmed directional move (gate passed + minimum ATR displacement satisfied) are evaluated for failure. This single design choice eliminates the largest source of false signals: exhaustion calls in choppy ranges where there is no trend to exhaust.
Stage 2 - Four Failure Conditions (Evaluated at Bar Close)
For every bar inside a confirmed trend, MRS evaluates four orthogonal failure conditions:
C1 - Velocity Reversal: The bar closed against the direction of the confirmed trend. This is the most basic failure signal. A bull trend bar that closes red, or a bear trend bar that closes green.
C2 - Wick Rejection: The trend-side wick (upper wick in a bull trend, lower wick in a bear trend) is at least N times the size of the bar's body. This measures intra-bar rejection - buyers or sellers pushed price further in the trend direction and were defeated within the same bar.
C3 - Commitment Anomaly: The bar's commitment value (measured via volume-weighted body strength when volume is reliable, or wick-rejection ratio when it is not) is at least N standard deviations below the recent trend's commitment baseline. The current bar is statistically anomalous compared to what the trend has been producing.
C4 - Range Expansion: The bar's true range is at least N times ATR. Filters out small doji bars where wick rejection and velocity reversal become meaningless from microstructure noise.
These four conditions are orthogonal - they measure different physical properties of the bar. C1 measures direction. C2 measures intra-bar struggle. C3 measures volume/commitment. C4 measures magnitude. When multiple conditions align on the same bar, the signal reflects a greater degree of structural confluence - though no combination of conditions guarantees a reversal.
Stage 3 - Signal Mode (Strictness Selector - THE ACTUAL SIGNAL GATE)
This is the decisive gate that determines whether a signal fires. The user chooses how many of the four conditions must align:
Conservative - All 4 conditions required. Rarest signals, highest structural confluence. Best for swing traders, low-noise sessions, or those who prefer fewer signals with stronger multi-condition alignment.
Balanced (default) - Any 3 of 4 conditions required. Middle ground for most users and most timeframes. Allows one condition to be absent if the other three are strong.
Aggressive - Velocity Reversal (C1) is mandatory plus at least one other condition (minimum 2 of 4 total). Most signals, fewer conditions required per signal. Best for scalpers, active intraday traders, or those who prefer earlier detection at the cost of more false positives.
When the chosen condition count is satisfied at bar close, a signal fires. The Pressure Meter (Stage 5) is a separate visual reading and does not gate signals.
Stage 4 - Commitment Measurement (Volume-Aware with Auto Fallback)
Commitment measures how decisively the market voted on each bar. MRS supports three measurement modes:
Auto (recommended) - Uses volume-weighted commitment on instruments with real volume data (crypto, futures, stocks with traded volume). Automatically falls back to wick-rejection ratio on indices and synthetic feeds where reported volume is meaningless. The dashboard surfaces whichever method is actually active.
Volume - Forces volume-weighted measurement. Useful when you want to lock the method explicitly. Silently falls back to wick if data is missing, with a dashboard warning.
Wick - Forces wick-rejection ratio regardless of volume availability. Best for spot Gold (XAUUSD), forex, or any instrument where you don't trust the broker's volume feed.
Stage 5 - Adaptive Pressure Meter (Live Visual Reading)
The pressure meter is the dashboard's live reading of building reversal pressure. It is always populated whenever a trend is confirmed, regardless of whether the four-condition gate has been met. This gives the trader a continuous sense of how strong the reversal pressure has been building.
The meter is normalized against an adaptive baseline calculated from its own rolling history (mean + multiplier x stdev). The dashboard percentage shows where the current meter sits relative to that baseline.
Important: the baseline is a visual reference only. It does not gate signals. The signal authority is the Signal Mode condition count described in Stage 3. The meter and baseline simply help the trader monitor when conditions are increasingly aligned before they actually trigger.
Stage 6 - Higher Timeframe Confirmation (Optional Filter)
When enabled, the engine cross-checks every signal against the directional state of a higher timeframe. A reversal signal on the chart timeframe is marked "Strong" when the higher timeframe direction agrees with the chart trend being reversed against. For example: chart is in a confirmed bull move, HTF is also bullish, and a bear reversal signal fires - this is HTF-Strong, because the HTF confirms the bull trend that is being exhausted.
If the HTF direction disagrees with the chart trend (e.g., chart is in a bull move but HTF is already bearish), the signal is marked "Weak" - visually dimmed but not suppressed. The trader still sees the call but is warned that the HTF backdrop does not align with the underlying chart trend being detected.
The HTF uses request.security with lookahead = barmerge.lookahead_off, eliminating future-data leak across timeframes. The HTF series itself naturally evolves as each HTF candle forms (this is standard Pine behavior), so the script treats HTF as a confirmation filter rather than a guarantee of HTF-bar finalization. The signal trigger itself remains chart-bar-close only.
Stage 7 - Trade Level Engine (Complete Lifecycle)
When a signal fires, the engine automatically computes and draws:
- Entry: signal-bar close
- Stop Loss: fixed ATR distance from entry (not score-scaled - strong signals deserve tighter stops, not wider ones)
- Target 1: intermediate reference level, ATR distance scaled by signal strength (visual only, does not close trade)
- Target 2: decisive level, ATR distance scaled by signal strength (closes the trade on hit)
While the trade is active, four colored horizontal lines extend from the signal bar to the current bar, with monospace pill labels showing the price and R:R for each level. Two zone fills (green Entry to TP2 reward zone, red Entry to SL risk zone) make the risk/reward geometry visible at a glance.
The trade closes when either TP2 or SL is touched at bar close (intra-bar wicks that retreat before close do NOT close the trade). Same-bar TP2/SL tie is resolved as SL hit (conservative backtest assumption).
After closure, the trade-level lines freeze in place as historical record. Labels and fills vanish to keep the chart clean. The cooldown counter starts. By default, all four lines (Entry, SL, TP1, TP2) persist as historical traces for richest backtest visibility. The "Keep TP1/TP2 Historical Lines" input can be turned off to delete TP1/TP2 lines on closure and roughly double the number of historical trades the chart can hold before Pine's 500-line cap is reached.
---
Signal Timing - No Repaint
All signal generation and trade closure is gated to confirmed (closed) bars via barstate.isconfirmed.
- A reversal signal triangle and label appear only at the close of the signal bar
- Entry, SL, TP1, TP2 levels are computed from the signal bar's close
- Trade closure (TP2 / SL hit) is evaluated only after the candle finalizes - intra-bar wicks that retreat before close do not trigger closure
The trade-off is up to one bar of timing on closure for cases where price spikes through a level intra-bar and retraces. The gain is realistic backtest visuals and zero repaint at every stage of the trade lifecycle. This is an intentional architectural choice for honest behavior over flashy intra-bar firing.
---
How to Read the Chart
Signal Markers
Bull Reversal (detected inside a confirmed bear move, reversal up signaled): small cyan triangle below the bar.
Bear Reversal (detected inside a confirmed bull move, reversal down signaled): small red triangle above the bar.
Important: a bearish reversal signal fires inside a confirmed bull move. The signal detects exhaustion of the prevailing trend - not confirmation of a new one. The dashboard will show BULL MOVE while a short is active. This is correct behavior - you are trading the exhaustion of that bull move.
A monospace pill label sits beside each triangle showing the failure score (e.g., "Reversal Up | 2.45"). Higher numbers indicate stronger structural confluence across the four conditions.
When HTF Confirmation is enabled and HTF disagrees with the signal, the triangle and label appear in a dimmed color with "(HTF)" appended to the label text. The signal is still visible but is visually de-emphasized.
Trade Level Lines
Once a signal fires, four horizontal lines appear extending from the signal bar:
- Entry (yellow, solid): the price at which the signal was generated (signal-bar close)
- Target 1 (cyan, dashed): intermediate reference level, visual only
- Target 2 (green, solid): decisive level - trade closes when this is hit at bar close
- Stop Loss (red, solid): risk level - trade closes when this is hit at bar close
Pill labels at the right end of each line show the exact price and R:R distance.
Zone Fills
- Green soft fill between Entry and TP2: the reward zone
- Red soft fill between Entry and SL: the risk zone
At a glance, the green:red ratio visualizes the trade's risk-to-reward geometry.
Directional Background
- Subtle blue tint: a bull trend is confirmed
- Subtle red/orange tint: a bear trend is confirmed
- No tint: no confirmed direction (chop)
Bar Coloring (Exhaustion Gradient)
When the exhaustion meter rises above the trigger threshold (default 50% of baseline), bars are tinted on a gradient:
- Cool color (cyan/red): exhaustion is building but moderate
- Bright color (red on bull trend, cyan on bear trend): exhaustion has reached or exceeded the baseline - conditions for a signal are increasingly met, though no signal fires until the condition count gate is satisfied at bar close
Historical Trade Traces
After a trade closes, by default all four trade-level lines (Entry, SL, TP1, TP2) remain on the chart as a permanent historical record. This builds a visual log of every prior MRS detection directly on the chart. The "Keep TP1/TP2 Historical Lines" input can be turned off if you want to conserve Pine's line-object cap.
---
How to Read the Dashboard (Full Mode)
The dashboard is the live diagnostic panel. Every row tells you something specific about the current state of the engine. From top to bottom:
Row 0 - Title: "MOTION REVERSAL SYSTEM (MRS)" - confirms the indicator name.
Row 1 - Context: ticker symbol, chart timeframe, and active Signal Mode.
Row 2 - Directional State: BULL MOVE / BEAR MOVE / NEUTRAL - large text, colored. Tells you whether a confirmed trend is currently in effect. When a trade is active against the current trend (e.g., short open during a bull move), this row appends "SHORTING EXHAUSTION" or "LONGING EXHAUSTION" so the dashboard reads as a coherent statement rather than an apparent contradiction.
Row 3 - Exhaustion bar: a 10-segment text-based pressure bar with percentage. Shows how close the live meter is to the adaptive baseline. Color escalates from gray to teal to purple to bright red/cyan as pressure builds.
Row 4 - Pressure: numerical value of the live exhaustion meter.
Row 5 - Baseline: the adaptive baseline value (mean + k x stdev) the meter is compared against. Visual reference only - does not gate signals.
Row 6 - Conditions: which of the four failure conditions are currently satisfied. " VEL WICK ANOM RANGE" means C1, C2, C4 are firing; C3 is not.
Row 7 - Count: how many of 4 conditions are firing, with current Signal Mode in parentheses. This is the actual signal authority - when the count satisfies the Signal Mode rule, a signal fires.
Row 8 - Eff Ratio: the current Kaufman Efficiency Ratio value, with the adaptive gate level next to it. Shows whether the directional gate is passing.
Row 9 - ATR: current ATR value at the configured length. Reference for understanding trade-level distances.
Row 10 - HTF Dir: current higher-timeframe directional state, OR "INVALID HTF (set higher than chart)" warning if user has misconfigured the HTF input.
Row 11 - Commit: which commitment measurement method is currently active (Auto -> Volume, Auto -> Wick fallback, etc.), with warning indicator if forced mode silently fell back.
Row 12 - Active Trade Status: "NO ACTIVE TRADE" or "LONG ACTIVE E " / "SHORT ACTIVE E " - color-coded.
Row 13 - Status: "Ready for signal" / "Cooldown: N bars" / "Trade active" - tells you whether the engine can fire a new signal right now.
Row 14 - Session: count of signals fired in the current session (resets daily).
Rows 15 to 19 - Engine Parameters reference: live readouts of the directional window, lookback periods, threshold parameters, ER gate values, and current commitment status. Useful for verifying your settings are applied as expected.
Row 20 - Version and Author footer.
Mobile / Minimal Dashboard Mode
For phone and tablet users, switching "Dashboard Mode" to "Minimal (Mobile)" collapses the dashboard to a single-column 5-row compact layout with larger fonts: Title, State, Exhaustion, Conditions, and Trade Status. Diagnostics are hidden for screen-space efficiency.
---
Default Settings Explained
- Directional Window: 12 bars - measures Efficiency Ratio over a 12-bar lookback
- Directional Threshold (Base): 0.40 - minimum ER for trend confirmation, adapted upward dynamically
- Min Move Size: 1.5 ATR - net displacement must be at least 1.5 ATR for a trend to qualify
- Trend Statistics Lookback: 20 bars - sample size for computing commitment baseline statistics
- Wick Rejection Ratio: 1.5 - trend-side wick must be at least 1.5x the body to count as rejection
- Commitment Anomaly Sigma: 1.0 - current commitment must be at least 1.0 standard deviation below trend mean
- Min Range Expansion: 1.2 ATR - current bar range must be at least 1.2x ATR
- Signal Mode: Balanced - any 3 of 4 conditions required
- Baseline Lookback: 100 bars - rolling history for pressure meter statistics
- Baseline Multiplier: 2.0 - baseline = mean + 2.0 x stdev
- ATR Length: 14 - standard ATR period
- Commitment Mode: Auto - volume on real-volume instruments, wick on indices
- Post-Closure Cooldown: 10 bars - wait 10 bars after trade closure before new signal
- Stop Loss Distance: 1.5 ATR - base SL distance from entry
- Target 1 Distance: 1.5 ATR - T1 at 1:1 with SL
- Target 2 Distance: 3.0 ATR - T2 at 1:2 with SL
- Score-Weight Nudge: 0.3 - stronger signals widen targets by up to 30%
- Min Label Spacing: 0.35 ATR - minimum vertical gap between pill labels for readability
---
Recommended Usage by Trader Profile
Scalper (1m to 5m): Aggressive mode, Cooldown 5 to 8 bars, HTF Confirmation on 15m. Signal frequency will be higher in Aggressive mode; use the dashboard pressure meter to monitor building exhaustion between signals.
Intraday Trader (5m to 30m): Balanced mode (default), Cooldown 10 bars, HTF Confirmation on 1h to 4h. The default settings were designed with this profile in mind as a starting reference point.
Swing Trader (1h to 4h): Conservative mode, Cooldown 15 to 20 bars, HTF Confirmation on Daily. Few signals, maximum condition confluence required.
Position Trader (Daily and above): Conservative mode, HTF Confirmation on Weekly. Signals are rare; when they fire, all four structural failure conditions have aligned on a higher timeframe bar.
---
Recommended Markets
- Crypto (Spot and Perpetuals): well-suited - high volume data availability, clean microstructure, MRS auto-selects volume-weighted commitment
- Index Futures (NQ, ES, NIFTY futures): well-suited - real traded volume available, strong directional character
- FX Majors: usable with Wick commitment mode forced (broker volume is unreliable)
- Spot Gold (XAUUSD): use Wick mode explicitly - most brokers report tick count as volume which is meaningless
- Cash Indices (NIFTY, SPX index): MRS auto-detects index type and routes to Wick mode; verify Commit row on dashboard
---
A Real-World Example Walkthrough
This walkthrough is a constructed illustration of how the engine behaves. It does not represent a historical trade or a performance result.
Scenario: BTCUSDT 15m chart, Balanced mode, Auto commitment.
Bars 1 to 20: Price climbs in a steady bull move. Dashboard shows BULL MOVE, Efficiency Ratio 0.55, Pressure Meter 0.20 (low). No signals fire because exhaustion is not building.
Bar 21: A large green candle prints - Range Expansion (C4) fires but the bar closes strong (no Velocity Reversal C1), and commitment is normal (no C3). Only 1 of 4 conditions. No signal.
Bars 22 to 24: Three smaller green bars with shrinking bodies. The Pressure Meter ticks up to 0.55 (moderate). Bar coloring activates softly. Dashboard "Conditions" row shows - only Wick Rejection is firing intermittently. No signal yet.
Bar 25: A red bar prints with a long upper wick and large range. All four conditions fire:
- C1 Velocity Reversal: bar closed red (against bull trend)
- C2 Wick Rejection: upper wick is 1.8x the body
- C3 Commitment Anomaly: bar's commitment is 1.4 standard deviations below the trend baseline
- C4 Range Expansion: bar range is 1.6x ATR
Dashboard shows "Conditions: VEL WICK ANOM RANGE | Count: 4/4". Pressure Meter reads 1.15.
A red bear reversal triangle prints above the bar with the label "Reversal Down | 3.42". Trade-level lines automatically draw:
- Entry (yellow): 64,210.50 (signal-bar close)
- SL (red): 64,422.00 (1.5 ATR above entry, since this is a short)
- T1 (cyan dashed): 63,999.00 (1.5 ATR x score-scale below entry)
- T2 (green): 63,576.00 (3.0 ATR x score-scale below entry)
Green reward fill appears Entry to T2, red risk fill Entry to SL. Dashboard "Active Trade" row turns red: "SHORT ACTIVE E 64,210.50". Dashboard "Directional State" row reads: "BULL MOVE | SHORTING EXHAUSTION".
Over the next several bars, price drops. The trade-level lines extend bar-by-bar. Dashboard " Status " reads "Trade active". No new signals fire because one trade is already open.
Bar 32: In this example, price reaches T2 at 63,576.00 on this bar's close. The trade closes at the target level. Labels and zone fills vanish. The trade-level lines freeze at bar 32 as historical record. Dashboard "Status" switches to "Cooldown: 10 bars".
Bars 33 to 42: Cooldown period. No new signals possible.
Bar 43: Cooldown complete. Dashboard "Status" reads "Ready for signal". The engine will evaluate the next qualifying bar for failure conditions.
---
Chart Examples
These screenshots show the indicator in use at specific moments in time. They are provided for visual reference only and do not represent performance results or forward-looking outcomes.
1. MRS detected a trend-failure bar inside a confirmed bull move on BTCUSDT 5m. Range expansion (C4) fired as exhaustion pressure reached the adaptive baseline (1.28 vs 1.03). Balanced mode gated the short at bar close - entry 62,553.3, SL 62,681.9, T2 62,273.6 (T2 distance: 2.17R).
2. MRS detected a trend-failure bar at the low of a confirmed bear move on NQ1! 5m. As the engine tracked displacement against path length (ER), exhaustion pressure crossed the adaptive baseline - failure score 0.48. Balanced mode gated the long at bar close - entry 30,553.75, SL 30,489.00, T2 30,706.50 (T2 distance: 2.36R).
---
Parameter Adjustment Guide
If you get too few signals:
- Switch Signal Mode to Aggressive
- Lower Wick Rejection Ratio (1.0 to 1.2)
- Lower Commitment Anomaly Sigma (0.7 to 0.9)
- Lower Min Range Expansion (1.0 to 1.1)
- Reduce Cooldown to 5
If you get too many false signals:
- Switch Signal Mode to Conservative
- Raise Wick Rejection Ratio (2.0 to 2.5)
- Raise Commitment Anomaly Sigma (1.3 to 2.0)
- Raise Min Range Expansion (1.5 to 2.0)
- Enable HTF Confirmation
- Raise Cooldown to 15 to 20
If the T2 zone is reached but price reverses sharply before bar close triggers closure:
- Reduce T2 Distance to 2.0 to 2.5 ATR
- Reduce Score-Weight Nudge to 0.1 (less target widening on strong signals)
If SL is hit too often:
- Increase Stop Loss Distance to 2.0 ATR
- Increase T1 and T2 proportionally to maintain R:R geometry
---
What This Indicator Does Not Do
- It does not execute trades. It is an indicator (overlay), not a strategy. Order placement and trade management decisions remain with the user.
- It does not predict the future. It identifies bars where a confirmed trend has structurally failed based on objective criteria.
- It does not eliminate losses. False signals will occur, especially in news-driven price spikes. Always size positions according to your own risk management rules.
- It does not work on every instrument equally well. Choppy low-liquidity assets produce noisier signals. Test on your specific market before relying on it.
- It does not replace discretionary judgment. Use MRS as one input in your decision process, not the only input.
---
Alerts Available
MRS Bull Reversal (Strong) - bullish reversal signal; HTF confirms the preceding bear trend
MRS Bull Reversal (HTF Weak) - bullish reversal signal; HTF does not confirm the preceding bear trend
MRS Bear Reversal (Strong) - bearish reversal signal; HTF confirms the preceding bull trend
MRS Bear Reversal (HTF Weak) - bearish reversal signal; HTF does not confirm the preceding bull trend
MRS Target 2 Hit - trade closure at T2 level
MRS Stop Loss Hit - trade closure at SL level
---
Disclaimer
This script is provided for educational and analytical purposes only. It is not financial advice, an investment recommendation, or a solicitation to trade. Past performance of any indicator or strategy does not guarantee future results. Trading involves substantial risk of loss. The author and TradingView are not liable for any losses or damages arising from use of this script. Always validate signals against your own analysis, conduct your own due diligence, and apply prudent risk management. Use at your own risk.
---
Open source under Mozilla Public License 2.0. Code is fully readable in the Pine Editor for those who want to study the math. Thank you.
- BullByte
אינדיקטור
HaP Adaptive SuperFibo MTFWhat is the HaP Adaptive SuperFibo MTF?
The biggest weakness of the traditional SuperTrend indicator is the false signals it generates in ranging markets. To solve this, the HaP Adaptive SuperFibo MTF uses a dynamic algorithm that self-adjusts based on market volatility by combining ADX (Average Directional Index) and Dual ATR (Average True Range). Furthermore, it plots noise-filtered automated Fibonacci levels based on SuperTrend swings and displays the macro trend direction using a Multi-Timeframe (MTF) Dashboard.
How Does It Work Under the Hood? (Technical Core)
1. Smart SuperTrend Multiplier:
Instead of a standard fixed multiplier, the indicator calculates the volatility ratio between a Short ATR (10) and a Long ATR (50). Then, ADX (14) steps in to measure trend strength:
If ADX < 20 (Ranging Market): The indicator increases the calculated multiplier by 30% (widens the band) to avoid false breakouts and whipsaws.
If ADX > 25 (Trending Market): The indicator tightens the multiplier by 15% to trail the trend more closely and protect profits.
Users can turn off "Smart Mode" and use a fixed multiplier if desired.
2. Noise-Filtered Auto Fibonacci:
The script draws Fibonacci levels using SuperTrend reversal points (zigzag logic). What makes it unique is the ATR Filter. To ignore minor price fluctuations, it looks for the user-defined "Min Wave Length (ATR Multiplier)" condition. It anchors the Fibonacci only between the first valid strong swing points that meet this ATR condition. Users can choose between "Short Term" or "Long Term" (Weekly data-based) drawing modes.
3. MTF Dashboard:
It analyzes the smart SuperTrend direction across 4 customizable timeframes (e.g., 15m, 1H, 4H, Daily) and generates a total score. The dashboard summarizes the macro picture of the market (Strong Bull, Ranging/Neutral, Strong Bear, etc.).
How to Use It? (Trading Strategy)
Trend Confluence: Before entering a trade, check the Dashboard. If the panel says "STRONG BULL," only look for Long opportunities.
Entries: Look for reversal candles when the price pulls back to the automatically drawn 0.382, 0.500, or 0.618 Fibonacci support/resistance levels in the direction of the main trend.
Take Profit: Use the 1.236, 1.618, and higher extension levels (red colored lines) as your take-profit targets. You can trail your stop loss slightly above/below the SuperTrend line.
Key Settings:
Smart Multiplier Mode: Toggle the ADX+ATR dynamic algorithm.
ADX Ranging/Trending Limits: Adjust the ADX thresholds (Default 20-25).
Fibo Min Wave Length: Higher values ignore more market noise; lower values plot fibs on smaller swings.
Panel Timeframes: Fully customizable 4 distinct timeframes for macro analysis.
Disclaimer: This indicator is designed for educational and analytical purposes only. It does not provide financial advice. Past performance is not indicative of future results.
אינדיקטור
Trend Clarity IndexThis indicator measures the quality of the current trend, not just its direction. It checks whether price is above or below the EMA and evaluates how strongly each candle closes in the direction of that trend.
A high score means the trend is clean and well-structured. A lower score suggests weak closes, noisy price action, or less reliable trend conditions.
Green = clean bullish trend
Red = clean bearish trend
Gray = neutral or unclear trend
Higher score = cleaner trend
Lower score = weaker or dirtier trend
אינדיקטור
EMA + VWAP + Bollinger Bands Combo# EMA + VWAP + Bollinger Bands Combo
This indicator combines three of the most popular technical analysis tools into a single customizable overlay: Exponential Moving Average (EMA), Volume Weighted Average Price (VWAP), and Bollinger Bands.
Instead of adding multiple indicators to your chart, you can manage all three from a single script and enable only the tools you need.
### Features
✅ **Exponential Moving Average (EMA)**
* Customizable length and source
* Optional display toggle
* Useful for identifying trend direction and dynamic support/resistance
✅ **Volume Weighted Average Price (VWAP)**
* Supports Session, Weekly, Monthly, Quarterly, and Yearly anchors
* Optional VWAP deviation bands
* Useful for institutional price analysis and intraday trend confirmation
✅ **Bollinger Bands**
* Customizable length and standard deviation settings
* Supports SMA, EMA, RMA (SMMA), WMA, and VWMA as the basis
* Useful for volatility analysis, breakout detection, and mean-reversion setups
### Display Combinations
The indicator allows any combination of:
* EMA only
* VWAP only
* Bollinger Bands only
* EMA + VWAP
* EMA + Bollinger Bands
* VWAP + Bollinger Bands
* EMA + VWAP + Bollinger Bands
### How Traders Commonly Use It
**Trend Following**
* Price above EMA and VWAP can indicate bullish conditions.
* Price below EMA and VWAP can indicate bearish conditions.
**Intraday Trading**
* VWAP acts as a key institutional reference level.
* VWAP bands can help identify stretched price conditions.
**Volatility Analysis**
* Bollinger Band expansion may indicate increasing volatility.
* Bollinger Band contraction may indicate potential breakout conditions.
**Confluence Zones**
* Areas where EMA, VWAP, and Bollinger Bands align can provide stronger support and resistance levels.
### Notes
This indicator is designed as a convenience tool that combines multiple commonly used overlays into a single script, helping reduce chart clutter while maintaining flexibility and customization.
אינדיקטור
Scalp Pro Signals [Jos-ProTrader]Overview
Scalp Pro Signals is a non-repainting scalping indicator designed to help traders identify high-probability intraday entries using trend, momentum, and price-location confirmation.
The indicator combines:
* EMA Trend Analysis
* RSI Momentum Filter
* VWAP Confirmation
* Bullish/Bearish Candle Validation
The goal is to reduce low-quality signals and keep traders aligned with the prevailing market direction.
How It Works
Buy Conditions
A BUY signal is generated when:
* Fast EMA is above Slow EMA
* RSI is above 55
* Price closes above VWAP
* The candle closes bullish
Sell Conditions
A SELL signal is generated when:
* Fast EMA is below Slow EMA
* RSI is below 45
* Price closes below VWAP
* The candle closes bearish
Signals are confirmed only after candle close to avoid repainting.
Features
*Non-Repainting Signals
*Buy & Sell Alerts
*Trend Identification Using EMAs
*Momentum Confirmation with RSI
*VWAP-Based Price Validation
*Works on Forex, Crypto, Stocks, and Indices
Recommended Timeframes
* 1 Minute
* 3 Minutes
* 5 Minutes
* 15 Minutes
For best results, use the indicator during active market sessions with strong volume and volatility.
Risk Management
This indicator is designed as a trade-assistance tool and should not be used as a standalone trading system. Always combine signals with proper risk management, stop-loss placement, and overall market analysis.
Disclaimer
This indicator provides technical analysis signals based on historical price data and does not guarantee future performance. Trading involves risk, and users should perform their own due diligence before making trading decisions.
אינדיקטור
Fear & Greed IndexThe Fear & Greed Index is a synthetic market sentiment indicator designed to convert multiple technical signals into a single 0–100 score.
Its purpose is to quickly identify market phases of fear, neutrality, or greed across any asset or index.
This indicator does not rely on an official VIX.
Instead, it uses synthetic realized volatility, combined with trend and momentum metrics, to provide a visual reading of market sentiment and regime conditions.
Methodology
The score is built from several components:
Realized volatility
used as a market stress proxy: higher volatility pushes the index toward fear.
Momentum
captures recent price acceleration or deterioration.
RSI
evaluates market strength and overbought / oversold conditions.
Trend vs moving average
compares current price to its moving average to assess directional bias.
Drawdown
measures the distance from recent highs to identify stress, correction, or recovery phases.
Score interpretation
The final score is normalized between 0 and 100:
0 – 20 → Extreme Fear
20 – 40 → Fear
40 – 60 → Neutral
60 – 80 → Greed
80 – 100 → Extreme Greed
How to use it
Low readings usually reflect stressed, volatile, or corrective market conditions.
High readings usually reflect confident, bullish, or potentially overheated market conditions.
The indicator is best used as a market regime / sentiment filter, not as a standalone buy or sell signal.
Disclaimer
This script is a synthetic sentiment indicator based on price and volume data.
It is not an official volatility index and should not be considered investment advice.
אינדיקטור
Adaptive Support & Resistance Pro with EMA Momentum Filter## Description
This indicator is an advanced tool designed to identify adaptive Support and Resistance (S/R) zones and combine them with an Exponential Moving Average (EMA) momentum filter. Unlike static S/R lines, this script uses a combination of momentum oscillators and dynamic pivot calculations to find high-probability reversal zones on higher or current timeframes.
The core philosophy of this indicator is to prevent "knife-catching." Instead of firing a signal immediately when a support or resistance level is formed, it waits for the price to confirm a change in momentum by crossing the EMA line in the direction of the trade.
---
## How It Works (Under the Hood)
### 1. Support & Resistance Detection
The script uses a multi-layered filter to detect true pivot points:
* **Legacy RSI & Modified RSI:** It evaluates overbought (>75) and oversold (<25) conditions using a 9-period Relative Strength Index.
* **Chande Momentum Oscillator (CMO) based on HMA:** It applies a 1-period CMO logic over Hull Moving Averages (HMA 5 and HMA 12) to detect immediate shifts in market velocity.
* **Close Pivots:** It uses deviation-free highest/lowest calculations (`ta.highest` and `ta.lowest`) combined with `ta.valuewhen` to fetch precise structural levels.
A **Support Zone** is formed only when the RSI is oversold, the CMO shows an upward momentum shift (>50), and a local low pivot is confirmed.
A **Resistance Zone** is formed when the RSI is overbought, the CMO shows a downward shift (<-50), and a local high pivot is confirmed.
### 2. S/R Timeframe Flexibility
Through the `request.security` function, users can plot these adaptive levels from higher timeframes (HTF) onto their current chart. To prevent **repainting** and back-shifting signals, the script strictly uses `barmerge.lookahead_off`.
### 3. EMA Momentum Trigger (The Confirmation Filter)
To filter out false breakouts and premature entries during heavy trend extensions, an EMA filter is introduced:
* **BUY Signal:** Triggered only when a new Support level has been established AND the price successfully closes above the EMA (`ta.crossover`).
* **SELL Signal:** Triggered only when a new Resistance level has been established AND the price successfully closes below the EMA (`ta.crossunder`).
**Strict Discipline:** The script uses an internal state machine (`waitForBuyBreak` / `waitForSellBreak`) ensuring that **only ONE signal** is fired per newly created S/R level. This completely eliminates the "whipsaw" effect (multiple false signals) when the price is consolidating or chopping around the moving average.
---
## Settings & Customization
* **Line Width / Colors:** Fully customize the visual thickness and color styling of your Support and Resistance zones.
* **S/R Timeframe:** Leave it blank for the current chart timeframe, or select higher timeframes (e.g., 4H or 1D) for macro level analysis.
* **Enable EMA Filter:** Toggle this option ON to use the momentum confirmation logic, or OFF to see signals immediately upon S/R level creation.
* **EMA Length:** Adjust the period of the confirmation line (Default is 50, but can be set to 20 for faster entries or 200 for macro trend-following).
---
## Alerts
The script includes three built-in alert conditions for automation:
1. `New S/R line` - Triggers whenever a new support or resistance level is plotted.
2. `BUY Signal` - Triggers when the EMA crossover confirms the support bounce.
3. `SELL Signal` - Triggers when the EMA crossunder confirms the resistance rejection.
## Disclaimer
This indicator is meant for educational and analytical purposes only. Past performance does not guarantee future results. Always practice proper risk management.
אינדיקטור
Triangle Pattern Scanner (Symmetric / Ascending / Descending)Triangle Pattern Scanner automatically detects and draws Symmetric,
Ascending, and Descending triangle formations on the chart in real time,
using pivot-based geometry validation to ensure only structurally sound
patterns are displayed. A multi-timeframe table shows at a glance which
triangle types are currently forming across five user-defined timeframes.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
BACKGROUND — WHY TRIANGLE PATTERNS?
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Triangle patterns are among the most widely recognized continuation and
reversal formations in technical analysis. They form when price makes a
series of pivot highs and pivot lows that converge toward a single apex
point, compressing volatility before a potential breakout in either
direction.
Identifying them manually requires drawing trendlines across multiple
pivots, verifying that price stays within the boundaries throughout the
formation, checking that the lines actually converge ahead, and
distinguishing between the three types based on the angle of each
boundary line. This indicator automates all of those steps.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
THREE PATTERN TYPES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
SYMMETRIC TRIANGLE
Both the upper trendline (connecting pivot highs) and the lower trendline
(connecting pivot lows) slope toward each other — the upper falling, the
lower rising. Neither side is horizontal. The pattern is considered neutral
until the breakout direction is confirmed. A symmetry ratio check ensures
the two slopes are reasonably balanced rather than one side being nearly
flat while the other is very steep.
ASCENDING TRIANGLE
The upper trendline is nearly horizontal (price repeatedly tests the same
resistance level) while the lower trendline slopes upward (higher lows).
The pattern is considered bullish by structure, with the expectation of
an upward breakout through the flat resistance. The angle tolerance for
the horizontal line is configurable, giving you control over how strictly
"flat" the upper line must be.
DESCENDING TRIANGLE
The lower trendline is nearly horizontal (price repeatedly tests the same
support level) while the upper trendline slopes downward (lower highs).
The pattern is considered bearish by structure, with the expectation of
a downward breakout through the flat support. The same configurable angle
tolerance applies to the lower line.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
HOW IT WORKS — TECHNICAL DETAIL
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
PIVOT DETECTION
The indicator uses Pine Script's ta.pivothigh() and ta.pivotlow() to
collect recent swing highs and swing lows. The Pivot Length input controls
the symmetric left-right lookback used by both functions — a pivot high
requires the highest high compared to an equal number of bars on both
sides. Up to 8 recent pivots of each type are stored in memory for
pattern scanning.
GEOMETRY VALIDATION
For each combination of two pivot highs and two pivot lows, the indicator
calculates the slopes and intercepts of the upper and lower trendlines,
then verifies:
— Convergence: the two lines must actually meet ahead of the current
bar (apex in the future), not behind it
— Containment: every bar between the formation's start and end must
have its high below the upper trendline and its low above the lower
trendline — no violations allowed
— Slope direction: upper falling + lower rising for symmetric; upper
flat + lower rising for ascending; lower flat + upper falling for
descending
— Alternating pivots: the four pivot points (2 highs, 2 lows) must
alternate in time order (H, L, H, L or L, H, L, H) — this prevents
false formations where all highs come before all lows or vice versa
— Symmetry ratio (symmetric only): the ratio of the two slopes must
exceed a minimum threshold so neither side dominates
ANGLE NORMALIZATION
The angle calculation normalizes price change against the formation's
own height and bar count rather than using raw price differences. This
makes the angle tolerance behave consistently across different symbols,
price ranges, and timeframes — the same degree setting works on a $1
stock and a $50,000 asset alike.
DUPLICATE FILTERING
Once a valid formation is found, its starting bar position is recorded.
Any subsequent formation of the same type starting within a short
distance of an existing one is treated as a duplicate and skipped,
preventing the same structure from being drawn multiple times with
slightly different pivot combinations.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
MULTI-TIMEFRAME TABLE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
A table in the bottom-right corner runs the same pattern detection
logic across five user-defined timeframes simultaneously and displays
whether each triangle type is currently detected on each timeframe.
A ✅ marks a detected pattern; — means none found.
This gives you a fast structural overview without switching charts —
if the 1H and 4H both show an ascending triangle, that confluence may
carry more weight than a pattern on a single timeframe alone.
The MTF scan uses a sampled bar validation (checking approximately 12
evenly-spaced points within the formation rather than every bar) to
keep performance reasonable across multiple timeframes.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
HOW TO USE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1. SET PIVOT LENGTH
Controls how significant a swing high or low must be. Lower values
(2–5) detect more frequent, shorter-term pivots. Higher values
(10–20) require more surrounding bars and detect only major structure.
2. SET LOOKBACK
Maximum bar span a formation can cover. Increase this to allow
larger, longer-term formations; decrease it to focus on recent
structure only.
3. ADJUST FLAT LINE ANGLE TOLERANCE
For ascending and descending triangles, this controls how strictly
the flat boundary must be horizontal. At 0° only perfectly
horizontal lines qualify; at 10–15° a moderate slope is allowed.
Increase if you want more patterns detected; decrease for stricter
horizontal requirement.
4. CONTROL MAX PATTERNS
Each pattern type has a separate maximum count. Set to 1 to show
only the most recent valid formation per type, or increase to see
multiple simultaneous formations.
5. SET LINE EXTENSION
How many bars beyond the formation the trendlines extend, giving
a visual projection of where the boundaries will be in the future.
6. READ THE MTF TABLE
Use the bottom-right table to check whether the same pattern type
is forming on higher timeframes, and prioritize formations that
appear on multiple timeframes.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
WHERE TO USE IT
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Works on any asset class (crypto, forex, equities, indices, commodities)
and any timeframe. Particularly useful for:
— Breakout traders who want to be positioned before a triangle resolves
— Swing traders looking for compression zones where volatility is
contracting ahead of an expansion move
— Multi-timeframe analysis where higher-timeframe triangle formations
provide context for lower-timeframe entries
— Market structure analysis where triangle patterns help define the
current phase of price action (consolidation vs. expansion)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
SETTINGS REFERENCE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Pivot Length — symmetric lookback for swing high/low detection
Lookback — maximum bar span a formation may cover
Max Triangles (each) — maximum formations shown per pattern type
Show/Hide (each type) — toggle each pattern type independently
Line Width — visual thickness of the trendlines
Line Extension (Bars) — how far beyond the formation lines extend
Show Labels — enable/disable the formation labels on chart
Flat Line Angle Tolerance — horizontal strictness for ascending/descending
MTF Timeframes (TF 1–5) — the five timeframes scanned in the MTF table
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ORIGINALITY
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Triangle pattern detection is a known concept, but this indicator's
specific implementation combines several elements not commonly found
together: full bar-by-bar containment validation (not just endpoint
checking), alternating pivot order enforcement, normalized angle
calculation that works consistently across different assets and
timeframes, and a simultaneous five-timeframe detection table — all
within a single indicator. The flat-line angle tolerance using
formation-height normalization is the author's own approach to making
ascending and descending triangle detection robust across varied market
conditions.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
DISCLAIMER
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
This indicator is intended for educational and analytical purposes only.
Triangle patterns do not guarantee a breakout in any particular
direction. Always use proper risk management and combine multiple forms
of analysis before making trading decisions.
אינדיקטור
Volatility, Flow & Liquidity EngineVolatility, Flow & Liquidity Engine (VFL)
Why these parts are ONE tool, not a mashup of separate indicators
The three layers aren't independent studies stacked for show — they are sequential stages of a single trade decision (is a move coming, which way, and can I execute it) and they share one computational core. The same path-dependent volatility forecast is computed once and used by all three: it anchors Layer 1's expected move and implied-vs-realized dislocation, and it de-biases Layer 3's high-low spread estimators and prices its slippage and sizing. A signal is only actionable when Layer 1 says "loaded," Layer 2's order flow confirms the side, and Layer 3 says the spread and impact let you execute at size. Remove any layer and the decision is incomplete — timing without direction is a coin flip; direction without an execution read ignores slippage that can exceed the edge. That dependency, and the shared vol core, is why this lives in one script rather than three.
The three layers
Pressure & regime — when a move is coming. Compression, implied-vs-expected-vol dislocation, basis tension, convexity and trend inefficiency combine into a "pressure" reading. A high-percentile load plus a real range release fires a signal, typed GAMMA BLAST / SQUEEZE / EXPANSION, alongside a variance-ratio regime read and a path-dependent realized-vol forecast with a rolling fit/trust gauge.
Order flow — which way. Reconstructed intrabar buy/sell pressure (bulk-volume by default, with candle-geometry and intrabar tick-rule options) standardized to a z-score plus session CVD. Used only to confirm or veto a release's direction — the one orthogonal read price geometry alone can't give.
Liquidity & execution — can I trade it, and at what cost. Low-frequency effective-spread estimators (EDGE primary, with high-low covariance and high-low range cross-checks), an illiquidity ratio and impact-slope, and a volume-at-price liquidity map (POC, value area, walls, voids, anchored VWAP with σ bands, nearest dense liquidity). These become a liquidity score, slippage estimate, and order-type and size guidance. A structure sub-layer (prior-day value area + untested "naked" POCs) builds a per-bar support/resistance ladder that location-gates the final signal: a long is withheld if it would fire into a resistance shelf, a short if into support.
How to use it
Wait for the consolidated decision table to line up — pressure loaded, order flow confirming the side, liquidity executable, and the trade well-located against the S/R ladder. Read the size and order-type guidance before entering, and treat STRESSED liquidity or Extreme vol as stand-aside flags. The on-chart glow lines map the structure (prior-day value, naked-POC magnets, liquidity support/resistance, nearest shelves, fair-value VWAP); the legend-key panel decodes every line and marker.
Universal — works on any asset, any market
Price source, volume source (with a borrow-volume option for cash indices/FX), companion symbol and volatility index are all configurable inputs. Defaults are tuned for NSE NIFTY index futures (intraday, weekly Tuesday expiry, 09:15–15:30) — change the companion/vol-index symbols, expiry day and session for other instruments. The volatility index and companion symbol are optional; without them the engine runs price-only and re-weights automatically.
Non-repaint
Higher-timeframe confluence reads the last closed HTF bar by default, and every higher-timeframe request uses no-lookahead — confirmed signals don't move after the bar closes. The current bar forms live and settles on close, like any indicator.
Honesty / limitations
Every block is a low-frequency estimator of a quantity normally measured from quote/tick/book data — it approximates, it does not measure. Order flow is reconstructed (≈tick-rule accuracy), not true bid/ask; dealer-flow effects are inferred from price/vol/basis, not read from an option chain. Volume modules need a real volume feed and auto-disable without one. Follow-through statistics are computed on loaded chart history (in-sample), not a forward backtest.
This is a study/education tool, not financial advice. Estimates only; past behaviour does not guarantee future results.
אינדיקטור
VD Gann LevelsVD Gann Levels — by Vinith Dcosta & | Financepedia
A time-based Gann level indicator that automates what would otherwise be a manual charting process.
What it does
On the daily timeframe, the indicator identifies a significant unbroken swing high or low within a 6–12 month window and uses that pivot as an anchor. From the anchor date, it projects a series of Gann solar-degree intervals (90, 120, 144, 180, 216, 240, 270, 360) forward in time, converting each degree into a calendar date using mean solar motion (1° ≈ 1.0146 days). For every projected date that has already occurred, the indicator marks that day's high and low as horizontal levels.
Levels are calculated on the daily timeframe but render on all timeframes, so you can move down to intraday and see where price sits relative to each level.
The table
A summary table lists every degree, its classification (Major/Minor), the projected date, and the high/low of that date's candle. Dates that haven't occurred yet still show their projected date, with the high/low marked as "unplotted" until the candle forms. Each row carries an accuracy note: Minor degrees resolve to an exact date, while Major (cardinal) degrees may differ by up to one day due to seasonal variation in solar motion.
Inputs
Anchor: Auto-detect (default) selects the most extreme unbroken swing in the window, or switch to Manual to choose any anchor date from the calendar.
Pivot Lookback: Adjusts swing-detection sensitivity in auto mode.
Visual settings: Colors for the anchor and degree lines, line width, and a right-extension toggle.
How to use it
The plotted levels are intended as potential points of interest for confluence with your own analysis. The anchor and its degree projections give you a time-and-price map derived from a single significant swing. Use it alongside your existing method rather than in isolation.
Notes
Designed for the daily timeframe as the calculation base; displays across all timeframes.
The solar-degree dates approximate the classical Gann time method; cardinal degrees carry a ±1 day tolerance as noted in the table.
This script is for educational and informational purposes only. It does not produce buy or sell signals and is not financial advice. Trading decisions and their outcomes are solely your own responsibility. Always apply independent analysis and sound risk management.
Built by The Liquidity Architect"
אינדיקטור
Relative Strength vs TOPIX# Relative Strength vs TOPIX
This indicator measures a stock's performance relative to the TOPIX Index by plotting the ratio of the stock's closing price to the TOPIX closing price.
The indicator helps investors identify whether a stock is outperforming or underperforming the broader Japanese equity market. A rising line indicates the stock is gaining strength relative to TOPIX, while a falling line suggests relative weakness.
### How to Use
* Rising Relative Strength Line = Outperformance vs TOPIX
* Falling Relative Strength Line = Underperformance vs TOPIX
* New highs in Relative Strength often signal improving investor sentiment before earnings revisions or estimate upgrades.
* Divergences between price and relative strength can help identify potential leadership changes within a sector.
### Best Applications
* Japanese consumer and retail stocks
* Sector rotation analysis
* Identifying market leaders and laggards
* Screening for stocks attracting institutional buying
### Formula
Relative Strength = Stock Close ÷ TOPIX Close
This indicator automatically updates when the chart symbol changes, making it ideal for comparing multiple stocks against the Japanese market benchmark.
אינדיקטור
Daily Key LevelsDaily Key Levels marks important New York-session opening prices directly on the chart, helping intraday traders keep the current session’s main reference levels visible without carrying old historical lines forward.
The indicator captures each level from 1-minute data and projects it across the active session only. The session resets at 18:00 New York time, matching the common futures session structure.
Key Features
Marks the 18:00 market open, 8:30 news level, 9:30 New York open, and 10:00 macro level.
Optional 4-hour opening prices: 18:00, 22:00, 02:00, 06:00, 10:00, and 14:00.
Optional 6-hour opening prices: 18:00, 00:00, 06:00, and 12:00.
Automatically avoids duplicate stacked lines when the same timestamp belongs to multiple groups.
Only displays levels for the current active session.
Overlap Logic
When multiple level groups share the same timestamp, the indicator uses a clean priority rule:
Dedicated key levels > 4-hour opens > 6-hour opens
For example, the standalone 18:00 market-open level takes priority over both 4H and 6H 18:00 levels. The standalone 10:00 macro level takes priority over the 4H 10:00 level.
Notes
This indicator is designed as a visual reference tool for intraday context, planning, and level awareness. It does not generate trade signals, entries, exits, or alerts. Level accuracy depends on the chart symbol’s available 1-minute data and TradingView’s session/feed data.
אינדיקטור
Tomukas Daily Scale-In
I used to think entries were everything.
The more I trade, the more I think most traders are obsessed with the wrong thing.
Everyone wants the perfect entry.
Nobody talks about what happens after the trade is open.
This strategy is built around an idea I've been testing for a long time:
Build the position. Don't marry the entry.
The Daily timeframe is where this framework makes the most sense.
Less noise.
Less stress.
Less staring at charts.
You get a signal, build the position if needed, and let the market do its thing.
Current forward testing is sitting around 7.8% drawdown, which is one of the reasons I keep pushing this framework forward.
Not because it's perfect.
Because it's realistic.
No martingale.
No doubling forever.
No holy grail.
Just trend, position building, and patience.
Most of my scripts end up evolving around the same thing:
Scale-ins.
Because after years of testing indicators, filters, confirmations, and fancy ideas, position management ended up mattering more than almost everything else.
If you decide to test it, let me know what market you're running it on.
And if you find value in the work, boost the script.
It genuinely helps.
Forward testing tools, tracker, and the full framework are in the link in my bio.
— Tomukas
אסטרטגייה
All-Time High/Low Fibonacci Retracement (with Flip)Tired of manually dragging the Fibonacci tool across macro charts every time an asset makes a new high or low? This indicator automates the entire process. It scans the absolute historical data of any asset to identify its true All-Time High (ATH) and All-Time Low (ATL), then dynamically projects standard Fibonacci retracement levels between them.
Whether you are analyzing a stock's decades-long macro cycle or looking for major historical support and resistance levels, this script keeps your charts perfectly anchored without the manual clutter.
Key Features
100% Automated Tracking: Uses historical state variables (var) to lock onto the ultimate lowest and highest prices ever printed on your current chart.
Real-Time Dynamic Updates: If the asset breaks out into price discovery (new ATH) or capitulates to a new bottom (new ATL), the script recalculates and shifts all Fibonacci lines instantly.
One-Click Flip Toggle: Built-in calculation flip. Measure retracements from the top down (bearish retracement) or flip it from the bottom up (bullish expansion) right from the settings menu.
Clean Visuals: Hard-coded with classic Fibonacci ratios (23.6%, 38.2%, 50.0%, 61.8%, 78.6%) using a subtle, non-intrusive color gradient that won't crowd your daily price action.
How to Use the Settings
Flip Retracement (Checkbox): * Unchecked (Default): Places 0% at the All-Time High and 100% at the All-Time Low (Ideal for finding support levels during a pullback from macro highs).
Checked: Places 0% at the All-Time Low and 100% at the All-Time High (Ideal for tracking major resistance levels and targets on the way back up).
💡 Pro-Tip: Because TradingView loads a limited number of historical bars on lower timeframes (like 5-minute or 15-minute charts), always load this indicator on a Daily (D), Weekly (W), or Monthly (M) chart first. This ensures the script catches the true historical inception highs and lows of the asset!
אינדיקטור






















