$ - Boxes +$ – Boxes +
A higher timeframe candle tool that outlines each HTF candle directly on your lower timeframe chart. Instead of flipping between timeframes, you can see the range, body and midpoint of the 1H, 4H or daily candle while executing on the 1m or 5m. The previous candle's high and low can also be carried forward as live levels, making it easy to frame reversals and continuations off the last HTF range.
HTF Candle Boxes
Time Interval – choose any higher timeframe to outline (1H by default).
Number of Boxes – show the last 1, 2 or 3 completed HTF candles, or Show All for the full chart history.
Box styling – adjustable border width, style (solid / dashed / dotted) and colour.
Current HTF Candle
The HTF candle still in progress is projected across its full time period, so you can see exactly where it will close. The box expands in real time as new highs and lows print, and the body updates with the live close.
Body & Midline
Include Body – draws the open-to-close body inside each box, coloured bullish or bearish, so each HTF candle reads the same as it would on its own timeframe.
Show MidLine – marks the 50% level of each candle's range, useful for framing premium and discount within the candle.
Line Settings
Hide Side Lines – removes the vertical edges, leaving the high and low as clean horizontal levels. Required for the options below.
Extend Lines to Current Candle – carries the previous HTF candle's high and low forward to price, stopping each line at the candle that closes through it.
Extend Lines 10 Candles Ahead – projects the previous high and low 10 bars past the current candle, keeping the levels visible in the space ahead of price. Takes priority over Extend to Current.
Draw Lines from Exact Candle – starts each high and low line from the exact lower timeframe bar that printed it, rather than the start of the HTF candle.
Range Labels
Show H/L Range Pips – displays each HTF candle's high-to-low range above its box.
Show O/C Pips – adds the body size and the percentage of the range the body makes up, e.g. 12.4 / 30.1 = 41%.
Values are measured in pips on forex pairs and in price points on all other markets.
Box Fill Colours
Separate fill colours for bullish and bearish HTF candles. Fills are transparent by default, so boxes show as outlines only until a colour is chosen.
How to Use
Apply to a chart on a lower timeframe than the one set in Time Interval. For example, set the interval to 1H and view a 5m chart to see each hourly candle outlined over its 5m bars. อินดิเคเตอร์

Entry TerminalEntry Terminal — Market Structure, FVG & Liquidity Suite
Entry Terminal is a multi-component market structure and execution framework. It combines confirmed structure shifts, liquidity levels, rejected blocks, FVG/IFVG zones, Fibonacci projections, ATR boundaries, higher-timeframe reference levels, and contextual momentum data.
Main Features
Confirmed CHoCH and directional BOS structure detection.
Live BLVL candidates classified as Trend Continuation or Potential CHoCH.
Bullish and bearish Rejected Block detection using wick percentage and ATR filters.
Rejected Block retest tracking.
FVG, Breaker and IFVG detection with configurable mitigation rules.
FVG overlap filtering, midpoint visualization, raids, and directional filtering.
Structured execution sequence:
CHoCH → Rejected Block → RB Retest → BOS/FVG → Final FVG Retest
Optional BUY/SELL labels after the complete sequence.
Previous-regime HH/LL liquidity targets.
Optional 0.5 ATR target zones above HH and below LL.
Two-pivot liquidity trend lines with confirmed break markers.
CHoCH-based ATR High/Low boundaries.
ATR boundary breaks classified as MATCH or COUNTER relative to the CHoCH direction.
CHoCH-based one-way ATR trailing line.
Fibonacci Entry Box, reaction zones, and dynamic expansion zones.
Selected higher-timeframe Opening Price.
Previous HTF High/Low lines originating from their exact wick candles.
HTF levels freeze when first touched.
Dashboard with:
USDT Dominance correlation and structure
Risk-On/Risk-Off context
DI+ and DI−
ADX
Momentum
Elder Force Index
Optional VWAP, SMA, EMA, and WMA overlays.
Individual and combined alerts for major events.
Suggested Entry Workflow
Long Setup
Wait for a confirmed bullish CHoCH.
Observe whether the ATR High breaks with a MATCH result.
Wait for a bullish Rejected Block to form and receive a valid retest.
Require a bullish BOS and bullish FVG association.
Consider entry when price returns to the final bullish FVG and the indicator prints BUY.
Use the Entry Box, HTF opening price, USDT.D context, and dashboard readings as additional context—not mandatory signals.
Short Setup
Wait for a confirmed bearish CHoCH.
Observe whether the ATR Low breaks with a MATCH result.
Wait for a bearish Rejected Block to form and receive a valid retest.
Require a bearish BOS and bearish FVG association.
Consider entry when price returns to the final bearish FVG and the indicator prints SELL.
Evaluate the HTF opening price, PH/PL levels, USDT.D structure, and dashboard conditions before execution.
Risk and Target Framework
Potential invalidation may be placed beyond the Rejected Block, final FVG, or relevant swing.
Potential targets include HH/LL liquidity, ATR target boxes, HTF previous levels, and Fibonacci reaction zones.
Position size should be calculated from the invalidation distance.
Avoid risking a fixed position size without accounting for volatility.
Dashboard values are contextual and should not be treated as mandatory filters.
Important Behavior
Pivot-based structures require right-side confirmation and therefore appear after the pivot is confirmed.
Primary structural events and execution signals are confirmed on closed bars.
This is an indicator, not an automated strategy, and it does not place or manage orders.
Users should independently test all settings for their symbol, timeframe, fees, and execution conditions.
Disclaimer
This script is provided for educational and informational purposes only. It does not constitute financial, investment, or trading advice. No indicator can predict market movements or eliminate the risk of loss. Even high-quality setups may fail or be stopped out. Always perform your own research, use appropriate risk management, and consult a qualified financial professional where necessary. The author assumes no responsibility for trading decisions, losses, or damages resulting from the use of this script. อินดิเคเตอร์

Market Stress RadarMarket Stress Radar
Which assets withstand a market selloff — and which recover first?
Market Stress Radar compares an asset with a selected benchmark during defined market stress episodes. It tracks their losses from a shared reference date, their recovery times, and whether initial relative strength turns into weakness.
READING THE CHART
• Green line: Asset return from its own pre-stress closing price.
• Blue line: Benchmark return from its own pre-stress closing price.
• Zero line: Each instrument’s respective reference price.
• Orange shading: Stress detection day.
• Green triangle: First asset recovery after detection.
• Orange triangle: Delayed relative weakness.
• Gray square: Observation window ended.
Both return lines use the same reference date. They appear during monitored episodes and remain blank between episodes.
HOW STRESS IS DETECTED
By default, the radar examines the benchmark’s three-day return.
A stress episode starts when the decline reaches the larger of:
• A minimum drop of 3%.
• 1.5 × pre-window ATR percentage × √3, using a 20-day ATR.
The volatility measurement comes from before the decline window. This is a scaling rule, not a statistical confidence level.
Detection requires a fresh transition into stress and a confirmed daily close. Only one episode is monitored at a time; additional triggers during that episode are ignored.
RECOVERY: FIRST TOUCH AND EPISODE COMPLETION
The reference prices are frozen at the closing prices immediately before the measured decline window.
D0 is the detection day. An instrument first recovers when it closes at or above its own frozen reference price. A value already above that price on D0 is recorded as D+0.
First recovery does not mean permanent recovery. An asset can recover and subsequently fall back below its reference.
The episode ends when:
• Both instruments close at or above their respective reference prices on the same day; or
• The observation limit is reached — 30 daily bars after detection by default.
Missing or misaligned data ends the episode separately. Elapsed days refer to daily chart bars, which are trading sessions for stocks.
ILLUSTRATIVE EXAMPLE
Suppose BTC falls 8% over the detection window while the chart coin falls 3%.
The coin initially leads BTC by 5 percentage points.
If the coin returns to its own reference price four daily bars after detection, its first recovery is recorded as D+4. If BTC remains below its reference, monitoring continues.
If either instrument never recovers within the observation window, that recovery remains NOT OBSERVED. A timeout is not counted as a successful recovery.
This is a hypothetical example, not a backtest result.
DELAYED RELATIVE WEAKNESS
An initially resilient asset can lose its advantage.
With the default settings, the radar issues one warning per episode when:
• The asset initially leads its benchmark by at least 0.5 percentage points; and
• Its lead later falls to −0.5 percentage points or below.
WEAKNESS OBSERVED records that this happened during the episode. It does not necessarily mean the asset is still underperforming; the latest returns and relative lead show the current relationship.
COMPACT DASHBOARD
The dashboard shows:
• Episode status.
• Asset and benchmark returns.
• First recovery day, or OPEN / NOT OBSERVED.
• Initial and latest relative lead.
• Detection date, elapsed daily bars and reference date.
• Counts of jointly recovered episodes, timeouts and data gaps.
After an episode ends, LAST EPISODE identifies the frozen final values. These are not current returns or trading win rates.
The dashboard can be placed in five positions.
SETUP
Use standard 1D candles.
Automatic benchmark selection:
• Crypto: BINANCE:BTCUSDT.
• USD stocks: AMEX:SPY.
A custom benchmark can also be selected. Use instruments with matching daily sessions and comparable quote currencies. No currency conversion is performed.
ALERTS
Six alert conditions are available:
• New market stress.
• First asset recovery.
• Late relative weakness.
• Both instruments recovered.
• Observation window ended.
• Data gap stopped the episode.
Configure alerts separately in TradingView.
METHOD AND LIMITATIONS
Calculations and event signals use confirmed daily closes. Markers are not backdated to the earlier reference date.
Results depend on the selected instruments, settings and available history. Historical data corrections can change results. Price returns account for splits but exclude dividend income.
Market Stress Radar is a descriptive analysis tool. It does not place trades, predict guaranteed recoveries or establish a profitable trading strategy. อินดิเคเตอร์

PDH PDL + Key Levels# PDH PDL + Key Levels
A single indicator for the horizontal levels that actually matter intraday: previous day, week and month extremes, custom session highs and lows, and the New York open — with lines that stop where price consumed them instead of running across the whole chart.
## What it plots
**Previous period extremes**
PDH / PDL, PWH / PWL, PMH / PML. Each line is anchored at the bar that printed the extreme and extends to the right, so you see both where the level was made and how far it has travelled untouched.
**Session highs and lows**
Three independent, fully configurable sessions (defaults: New York, Asia, London). While a session is open its high and low develop live and are never cut. Once the session closes they freeze and become eligible for consumption like any other level.
**NY Open**
A fixed reference at 09:30 America/New_York. The price used is the close of the 09:29 one-minute candle, requested from a 1-minute context with lookahead off — it appears only once that candle has closed, so the level never repaints. The timezone is IANA, so daylight saving is handled automatically. Intraday timeframes only.
## Cut when consumed
The core behaviour. A level stops being drawn the moment price reaches it:
- A high acts as resistance and is consumed by any candle whose **high** reaches it — gaps up included.
- A low acts as support and is consumed by any candle whose **low** reaches it — gaps down included.
- The NY Open can be approached from either side, so it is consumed by a candle that straddles it or by a gap that jumps clean through it.
The result is a chart where a long horizontal line means genuinely untested, and a short stub means the level was taken out early. Consumption checks only start after the level's own period begins, so a fresh PDH is never cut by the day that created it. Turn the behaviour off and every line simply extends to the current bar.
## Coincident levels merge
When two or more levels land on the same price — within one tick — they fold into a single line with a combined label, for example `PDH + NY-H`. Hierarchy runs monthly, weekly, daily, sessions, NY open, and the surviving line keeps the **latest** endpoint of the group, so a level that is still alive never inherits an older level's cut.
## Settings
**General** — toggle cut-on-touch, toggle merging, show or hide all labels, label size.
**Line style** — style and width for the previous-period extremes.
**Colors** — separate colors for highs and lows, plus a master override that paints everything one color without erasing your palette underneath. Switch it off and your own colors come straight back.
**Levels** — individual toggles for PDH, PDL, PWH, PWL, PMH, PML. Monthly extremes are off by default.
**NY Open** — enable, label text, color, style, width. The time is not configurable by design.
**Session 1 / 2 / 3** — enable, label prefix, hours, timezone, color, style, width. Timezones accept GMT notation (`GMT-5`) or an IANA name (`America/New_York`); IANA is recommended because it survives daylight saving.
## How to use it
Mark your session before the open: untouched PDH and PDL are the most obvious draws on liquidity for the day, and the ones still extended after several sessions tend to be the ones price eventually goes to fetch. Session extremes give you the boundaries of the Asian and London ranges going into New York. The NY Open acts as the intraday mean many algorithmic systems reference — price reclaiming or rejecting it in the first hour is frequently the cleanest read of the session's direction.
Because a consumed level disappears, what remains on screen is the set of unresolved objectives, which keeps the chart readable without manual cleanup.
## Notes and limitations
- Levels are redrawn on the last bar only. The indicator shows the current state of the chart, not a historical record of every level that ever existed. It is a live map, not a backtest.
- The NY Open needs a 09:29 one-minute candle to exist. On a chart restricted to regular trading hours that begins at 09:30, that candle is absent and the level will not print. Use an extended-hours chart for futures.
- Sessions are evaluated on the chart's own bars, so a window narrower than your timeframe may never trigger. Keep session ranges wider than a single bar.
- Line and label counts are capped at 500 each, which is well above anything this indicator produces.
No alerts, no signals, no repainting. Just the levels. อินดิเคเตอร์

Quantum Trend Runtime - MTF Price Action [TrendRuntime]Quantum Trend Runtime — MTF Price Action
A multi-timeframe price-action engine built around percentage movement, impulse, rejection, volatility, market activity and confirmed structure.
Quantum Trend Runtime (QTR) was created around the way I personally analyze crypto markets.
Instead of depending primarily on traditional oscillators such as RSI or MACD, QTR focuses directly on price behavior:
How much has price moved?
Is that move significant for this market?
Is momentum continuing?
Is price rejecting the move?
Are multiple timeframes confirming the same idea?
Is the market active enough to trade at all?
QTR combines those questions into one visual runtime.
Recommended Timeframe
QTR is designed primarily around the:
2H chart
With the default configuration, the indicator analyzes three confirmed timeframes:
2H — Fast runtime
3H — Core runtime
4H — Slow runtime
The 3H timeframe receives the strongest weighting inside the QTR directional model.
Why Percentage Movement Matters
A market moving 0.30% is not behaving the same way as a market that has already moved 5%, 10%, 15% or more.
QTR therefore gives percentage expansion a central role.
For example, after a substantial bullish move, a strong bearish reaction can carry much more information than the same bearish candle appearing inside a flat market.
QTR measures both:
the latest confirmed candle movement;
the directional move that happened before it.
This allows the engine to identify both continuation and rejection environments.
QTR Market States
Each analyzed timeframe can display one of the following states:
BULL IMPULSE — Strong bullish expansion with continuation characteristics.
BEAR IMPULSE — Strong bearish expansion with continuation characteristics.
BULL REJECTION — Bullish reaction following meaningful downside movement.
BEAR REJECTION — Bearish reaction following meaningful upside movement.
NEUTRAL — The market is active, but no strong directional event is confirmed.
QUIET — Current movement is below QTR's activity requirements.
QTR is intentionally not designed to produce signals constantly.
Sometimes the most useful output is:
QUIET MARKET
In that environment, the indicator is effectively saying that the current contract may not offer enough movement to justify attention.
Adaptive Impulse Engine
QTR does not use one fixed percentage to decide whether a candle is significant.
Instead, it measures the normal absolute candle movement of the market and creates an adaptive impulse threshold.
Conceptually:
Adaptive Impulse =
max(
Minimum Impulse %,
Average Absolute Candle Body %
+ Multiplier × Body Dispersion
)
This allows QTR to adapt to markets with very different volatility profiles.
The dashboard displays this relationship through the IMPULSE multiple.
Examples:
0.70x = below the adaptive impulse threshold
1.00x = reaches the current impulse threshold
1.50x = 1.5 times the adaptive threshold
2.00x = approximately twice the normal impulse requirement
Prior Move
The dashboard's PRIOR% value measures the directional movement that occurred before the latest confirmed reaction.
This matters because context changes the meaning of a candle.
A bearish reaction after a +1% move is not necessarily equivalent to a bearish reaction after a +15% expansion.
Trend%
TREND% measures confirmed directional movement across the selected trend lookback.
It provides broader context around the immediate impulse or rejection signal.
Multi-Timeframe Direction
QTR combines the default timeframes using the following weighting:
2H = 25%
3H = 50%
4H = 25%
The core 3H runtime intentionally receives the greatest influence.
A normal opportunity generally requires agreement between multiple timeframes.
A strong confirmed rejection can optionally qualify independently when the remaining timeframes are not opposing it.
QTR Score
The directional score ranges approximately from:
-100 = strong bearish runtime
0 = neutral
+100 = strong bullish runtime
The score incorporates factors such as:
percentage candle movement;
adaptive impulse magnitude;
body efficiency;
directional closing strength;
rejection structure.
The QTR Score is a model output.
It is not a guaranteed probability of a successful trade.
Setup Quality
QTR also displays a quality grade.
The quality model considers:
directional score strength;
agreement between the 2H, 3H and 4H runtimes;
how many timeframes are currently active.
Possible grades include:
A+
A
B
C
LOW
Higher quality means the internal QTR components are agreeing more strongly.
It does not represent a guaranteed win rate.
Long and Short Opportunities
The main runtime can identify:
LONG OPPORTUNITY
or
SHORT OPPORTUNITY
These states mean that QTR has identified a directional environment worth evaluating.
They should not be interpreted as blind market orders.
The trader should still evaluate execution, liquidity, position sizing and personal risk tolerance.
QTR Projection
QTR includes a forward scenario engine.
When sufficient directional information is available, the indicator projects a potential price path across the next three core-timeframe intervals.
With the default 3H core timeframe:
T+1 ≈ 3 hours
T+2 ≈ 6 hours
T+3 ≈ 9 hours
The projection combines:
QTR directional score;
confirmed multi-timeframe trend;
recent percentage movement;
adaptive impulse magnitude;
impulse / rejection state;
momentum persistence.
Important: The QTR Projection is not an entry price.
If QTR displays:
SHORT OPPORTUNITY
QTR PROJECTION: -5.4%
this means the current runtime favors a bearish continuation scenario approximately toward that projected movement.
It does not mean that the trader should wait until the projected level is reached and then enter short.
The intended interpretation is:
OPPORTUNITY
↓
TRADE DECISION / EXECUTION
↓
RISK MANAGEMENT
↓
TARGET / QTR PROJECTION
Projection Corridor
The violet projection lines around the main QTR path represent a wider movement scenario.
The corridor responds to current volatility and QTR directional strength.
These levels are visual scenario estimates.
They are not statistically certified confidence intervals.
Trade Planning
When QTR identifies an opportunity, the indicator can display several planning references:
REF PRICE — Current price used as the planning reference.
INVALID — Structural invalidation beyond the confirmed core-timeframe candle.
1.25R — Reference target calculated from the selected reward/risk multiple.
RISK% — Distance between the reference price and invalidation.
TYPE — Whether the opportunity is primarily impulse- or rejection-driven.
The default reference reward/risk is:
1.25R
This value can be changed in the indicator settings.
REF PRICE is not an automatic entry signal.
It is provided to make the current risk structure easier to evaluate visually.
Percent Levels
QTR also includes customizable percentage levels around a confirmed anchor price.
Default levels are:
±4%
±7%
±15%
±25%
These levels reflect the percentage-based philosophy behind QTR and help visualize how far price has expanded from a known reference.
They should not be interpreted as guaranteed support or resistance.
Dashboard
The QTR dashboard is designed to summarize the market without requiring the trader to interpret multiple separate indicators.
For each timeframe it displays:
STATE — Current impulse, rejection, neutral or quiet classification.
CH% — Confirmed candle-body percentage change.
PRIOR% — Directional movement preceding the analyzed candle.
TREND% — Broader confirmed directional movement.
IMPULSE — Candle magnitude relative to its adaptive impulse threshold.
The lower part of the dashboard displays:
QTR projected direction;
T+1 / T+2 / T+3 projected prices;
projected percentage move;
current market activity;
trade-planning references;
current QTR action.
Market Activity
QTR also evaluates whether the market is currently worth watching.
Possible environments include:
QUIET
MODERATE
ACTIVE
HIGH
EXTREME
The objective is simple:
avoid forcing trades when the market is barely moving.
Confirmed Higher-Timeframe Data
QTR's multi-timeframe classifications are built from completed higher-timeframe candles.
The indicator intentionally avoids using unfinished future higher-timeframe candles for historical classifications.
This means confirmed signals can appear later than systems that use developing HTF candles, but the goal is to provide more consistent historical and live behavior.
The QTR Projection itself is a live scenario and can therefore change as current market price changes.
Alerts
QTR includes alert conditions for:
QTR Long Opportunity
QTR Short Opportunity
QTR High-Quality Long
QTR High-Quality Short
QTR Quiet Market
These alerts can help traders monitor multiple markets without keeping every chart open continuously.
How I Use QTR
My own workflow is focused on markets that are actually moving.
I generally look for:
Meaningful percentage expansion.
An active market rather than low-volatility price action.
Strong impulse or rejection behavior.
Agreement between the 2H, 3H and 4H runtimes.
A trade structure with acceptable reward relative to risk.
When the market is quiet, I would rather scan another contract than force a setup.
What QTR Is Not
QTR is not:
a guaranteed trading system;
a guaranteed price predictor;
a replacement for risk management;
a promise of future profitability;
a quantum-computing model.
Quantum Trend Runtime is the name of the TrendRuntime methodology and indicator.
The word "Quantum" is branding and does not imply that the Pine Script performs quantum computation.
Risk Disclaimer
Trading cryptocurrencies, perpetual futures and leveraged products involves substantial risk.
QTR provides quantitative price-action analysis, market classification and visual decision support only.
Any signal, projected path, target, score or market classification can fail.
Past performance does not guarantee future results.
Always determine position size, leverage, invalidation and maximum acceptable loss independently.
Built by Rudy — TrendRuntime
TrendRuntime
trendruntime.app
TradingView
www.tradingview.com
อินดิเคเตอร์

Double U Strategy with Webhook AlertsDouble U Strategy with Webhook Alerts
Double U Strategy is a trend-following strategy built around two independent ATR-based engines, one for long entries and one for short entries. The idea comes from the ATR trailing-stop approach commonly associated with UT Bot, but Double U uses a different implementation and trading structure. The reason for separating the two sides is simple: bullish and bearish moves often behave differently, so forcing both directions to use exactly the same ATR settings is not always useful.
The long and short engines each have their own sensitivity and ATR period. A long entry can occur when price crosses above the long ATR trail while remaining above the trend EMA, while a short entry can occur when price crosses below the short ATR trail while remaining below the same EMA. The EMA is therefore used as a regime filter rather than as an entry signal by itself.
The strategy also supports pyramiding. If another valid signal appears while a position in the same direction is already open, the strategy can add to that position until the pyramiding limit is reached. The default limit is three entries, but this can be changed from the Strategy Properties.
Exits use a separate mechanism instead of simply waiting for the ATR engine to reverse. The script compares the current close with the close a configurable number of bars earlier and counts consecutive moves in the same direction. Once the required sequence is reached, the current position is closed. This keeps entry and exit logic independent: ATR behavior decides when to enter, while the sequence logic decides when an extended move has progressed far enough to exit.
The default configuration was selected as a practical starting point for testing rather than as a claim of universal optimization. The current setup uses a long-term EMA filter together with different ATR settings for long and short trades, reflecting the asymmetric design of the strategy. Results can change significantly between instruments and timeframes, so the parameters should be tested rather than treated as fixed recommendations.
Webhook alerts
Webhook support is built directly into the strategy. Entry and exit orders generate structured alert messages automatically, so there is no need to manually create separate JSON messages for buys, sells, or closes.
When creating a TradingView strategy alert, the Message field should contain only:
{{strategy.order.alert_message}}
The strategy includes a platform selector and an optional symbol override. If the symbol field is left empty, the chart ticker is sent in the webhook message. If an external execution system requires a different symbol, the required ticker can be entered directly. This is useful not only for crypto, but also for futures, forex, indices, metals, or any case where the TradingView symbol differs from the execution symbol.
For example, a strategy can run on a continuous futures chart while the webhook sends the currently tradable contract instead. The trading logic remains attached to the chart, while the execution symbol can be changed without modifying the Pine code.
Statistics
A compact statistics table is displayed on the chart to make parameter testing faster. It shows net profit, number of closed trades, win rate, profit factor, test period, pessimistic profit factor, maximum intratrade drawdown, and Sharpe ratio.
The drawdown value in this table is intentionally different from TradingView's portfolio-level maximum drawdown. It shows the largest adverse movement experienced inside any closed trade, which makes it useful when comparing parameter combinations and estimating how much floating loss a trade may have experienced before closing.
The Sharpe ratio is calculated from monthly equity returns using a 2% annual risk-free rate and is annualized from monthly observations.
Backtesting notes
The strategy uses 10% of equity as the default order size, allows up to three pyramided entries, processes orders on bar close, and includes 15 ticks of slippage by default. Commission is not hard-coded because the script can be tested on instruments with very different pricing models. Users should set commission, margin, slippage, and other Strategy Properties according to the broker, exchange, and instrument they actually intend to trade.
Historical results are hypothetical and depend on the selected market, timeframe, data source, execution assumptions, and parameters. The purpose of Double U Strategy is to provide a transparent strategy that can be backtested, adjusted, and connected to webhook-based execution, not to predict future performance. กลยุทธ์

อินดิเคเตอร์

Rejection Radar PRO Hariss 369Detect potential price rejection before a trend move loses momentum.
Rejection Radar PRO is a price-action based indicator designed to identify potential exit and reversal zones by combining confirmed support/resistance pivots, rejection candles, ATR-based rejection zones, and a higher-timeframe KAMA trend filter.
Instead of reacting to every candle, the indicator focuses on where price is being rejected.
🔥 Key Features
• HTF KAMA Trend Filter
Uses a higher-timeframe KAMA to provide directional context and help filter rejection signals against the broader trend.
• Confirmed Support & Resistance
Uses confirmed pivot highs and pivot lows to establish important potential rejection areas.
• Dynamic Rejection Zones
ATR-based zones create a flexible area around support and resistance rather than relying on a single exact price.
• Wick-Based Rejection Detection
Detects candles showing significant upper or lower wick rejection relative to candle body size.
• Optional Engulfing Rejection
Can additionally recognize bullish and bearish engulfing structures as rejection signals.
• Candle-Close Confirmation
Optional close confirmation helps reduce signals from candles that have not yet completed.
• Visual Rejection Markers
Clear rejection markers identify potential bearish rejection at resistance and bullish rejection at support.
• Exit Signals
Designed primarily as an exit/profit-protection tool:
Bearish rejection near resistance → potential LONG exit warning
Bullish rejection near support → potential SHORT exit warning
• Alerts
Create TradingView alerts when confirmed rejection conditions occur.
🧠 How It Works
The indicator combines:
HTF Trend → Confirmed Pivot → Rejection Zone → Candle Structure → Rejection Signal
A rejection signal is not simply generated because price touches support or resistance. Price must also demonstrate a rejection structure through the candle's wick/body relationship or optional engulfing pattern.
📊 Best Use
This indicator can be used alongside a separate trend-following entry system.
For example:
LONG
→ Enter using your primary trend-following system
→ Hold while the trend remains intact
→ Watch resistance/rejection zones
→ Bearish rejection can act as an early profit-protection or exit warning
SHORT
→ Enter using your primary trend-following system
→ Hold while the trend remains intact
→ Watch support/rejection zones
→ Bullish rejection can act as an early profit-protection or exit warning
It is particularly useful for traders who want to avoid exiting solely because of a small pullback or a single opposite candle.
⚙️ Customization
The indicator allows customization of:
• HTF timeframe
• KAMA length, fast and slow parameters
• Pivot sensitivity
• ATR zone width
• Wick/body rejection ratio
• Candle close-location threshold
• Engulfing rejection
• Candle-close confirmation
• Zone and pivot visibility
• Rejection markers
• Exit labels
⚠️ Important
This is a decision-support indicator, not a standalone trading system.
A rejection signal does not guarantee a reversal. Price can temporarily reject a level and subsequently break through it. Always consider market structure, volatility, liquidity, position size, and your predefined risk-management rules.
Backtest and forward-test the indicator on your specific instrument and timeframe before using it with real capital.
**DISCLAIMER**
Rejection Radar PRO is provided for educational and informational purposes only. It is not financial, investment, or trading advice and does not constitute a recommendation to buy or sell any security, futures contract, option, cryptocurrency, or other financial instrument.
Trading involves substantial risk, and past performance or historical signals do not guarantee future results. Rejection signals may fail, particularly during strong breakouts, high-volatility events, news releases, or rapidly changing market conditions.
Users are solely responsible for their trading decisions, risk management, position sizing, and financial outcomes.
Always conduct your own research, backtesting, and forward testing before using this indicator with real money.
อินดิเคเตอร์

Trend Deviation Channel (Zeiierman)█ Overview
Trend Deviation Channel (Zeiierman) is an adaptive trend channel designed to measure the prevailing trend and how far price is displaced from its expected trend path.
The channel is built around five main components:
• Trend Baseline = the expected price path derived from the regression trend
• Deviation Rails = +1D, +2D, +3D and -1D, -2D, -3D levels around the trend
• Trend State = bullish, bearish, or neutral classification of the center trendline
• Deviation Profile = a rolling distribution showing where price has historically spent time relative to the trend
• Deviation Events = confirmed 2D and 3D Expansion and Re-entry events highlighting significant movement through the outer channel structure
A reading of -2D means price is approximately two normalized downside deviations below trend.
A reading beyond +3D or -3D represents a major displacement from the expected trend path and is classified as Dislocated .
█ How It Works
⚪ Trend Model
The indicator builds a regression trend from completed historical bars and projects that structure forward.
The current candle does not pull the trend toward itself while its deviation is being measured, helping preserve a cleaner reading of how far price has moved from the established trend.
re = ta.linreg(src , len, 0)
rp = ta.linreg(src , len, 1)
slope = re - rp
⚪ Trend State
The center 0 TREND line identifies the current environment as:
• Up Trend
• Down Trend
• Neutral
Trend direction is based on regression slope strength relative to ATR.
Separate Trend Enter Strength and Trend Exit Strength thresholds help prevent the trend state from constantly switching during borderline conditions.
⚪ Deviation Structure
Price displacement is measured relative to the projected trend rather than a horizontal average.
• ±1D = Stretch
• ±2D = Extreme
• ±3D = Dislocated
residual = price - trend
deviation = residual >= 0 ? residual / upperDev : residual / lowerDev
Price near 0D is trading close to trend equilibrium.
As price reaches 1D, 2D, and 3D , displacement from the expected trend path becomes progressively more significant.
⚪ Deviation Profile
The profile beside the channel shows where price has historically spent the most time in deviation space , rather than price space.
For example, readings such as +0.4D, +1.2D, -0.7D, and -2.1D are grouped together to reveal the distribution of trend-relative displacement.
Wider areas show deviation zones visited more often, while thinner areas show less common displacement.
⚪ Expansion & Re-entry
Expansion events identify confirmed transitions into more extended deviation regions.
exp2 = barstate.isconfirmed and ta.crossover(z, d2)
exp3 = barstate.isconfirmed and ta.crossover(z, d3)
2D Expansion indicates price has moved into an extreme displacement.
3D Expansion indicates price has moved into the outer Dislocated region.
A Re-entry occurs when price later crosses back inside the corresponding deviation boundary.
These events can help identify:
• accelerating extension
• sustained displacement
• failed expansion
• movement back toward trend equilibrium
█ How to Use
Trend Deviation Channel can be used for Trend Identification, Trend Pullbacks, Dislocation Analysis, Mean Reversion, and Deviation Profile Analysis.
⚪ Trend Identification
The centerline provides the directional framework of the indicator.
• Bullish centerline = active uptrend
• Bearish centerline = active downtrend
• Neutral centerline = insufficient directional strength
⚪ Trend Pullbacks
During an established uptrend, price can be evaluated by how deeply it pulls below the center trendline.
• 0D to -1D = normal movement around trend
• -1D to -2D = meaningful pullback from trend
• -2D to -3D = extreme downside displacement
• Below -3D = dislocation from the prevailing trend structure
The opposite interpretation can be applied during downtrends.
A deviation level should not automatically be treated as support, resistance, or a reversal point. Instead, it provides a standardized measurement of how far price has moved from its expected trend path.
⚪ Dislocation Analysis
A 3D move marks an unusually large deviation from the existing trend.
When price reaches 3D against a prolonged trend , it can signal that momentum has shifted strongly enough for a larger trend change to be developing.
The key is not the 3D touch itself, but whether price can hold the displacement or continue through it .
⚪ Mean Reversion
Price often reacts or temporarily bounces when reaching the outer 2D and 3D deviation bands .
These areas represent strong extension, so traders can watch for temporary pullbacks or mean-reversion moves when price reaches them.
A touch alone is not a reversal signal, but it highlights an area where a reaction may become more likely.
⚪ Deviation Profile Analysis
The Deviation Profile shows where price has spent the most time relative to the trend .
Wider areas represent deviation zones visited more frequently, while thinner areas represent less common displacement.
• A profile weighted toward the lower deviation bands can suggest persistent downside pressure and stronger seller control.
• A profile weighted toward the upper deviation bands can suggest persistent upside pressure and stronger buyer control.
A balanced profile around 0D suggests price is spending more time near trend equilibrium.
█ Settings
Source: Selects the price series used to construct the trend model and calculate deviation. Close is used by default.
Trend Length: Controls how much historical data is used to estimate the regression trend. Higher values create a smoother, slower channel. Lower values react faster.
Trend Enter Strength: Controls how much directional strength is required before the center trendline enters an Up or Down state.
Trend Exit Strength: Controls how weak an established trend must become before returning to Neutral.
Deviation Shape: Asymmetric estimates separate upside and downside deviation scales. Symmetric uses one shared scale for both sides.
Residual Shock Cap (ATR): Limits how much an unusually large historical movement can influence the deviation width.
Minimum Deviation Width (ATR): Prevents the deviation rails from becoming too narrow during low-volatility conditions.
Minimum One-Side Samples: Controls how many observations are required before an independent upside or downside deviation estimate is used.
Deviation 1: Controls the first deviation rail and separates the Core region from Stretch behavior.
Deviation 2: Controls the second deviation rail and the threshold used for 2D Expansion and Re-entry events.
Deviation 3: Controls the outer deviation rail and the threshold used for 3D Expansion and Re-entry events.
Stretch Memory: Controls how slowly persistent displacement beyond the first deviation rail fades from the internal stretch state.
Show Rail Labels: Shows or hides the +1D, +2D, +3D, 0 TREND, -1D, -2D, and -3D labels.
Show Current Deviation: Shows or hides the live label displaying the current normalized deviation and displacement zone.
Show 2D Expansion: Shows or hides confirmed 2D Expansion markers.
Show 2D Re-entry: Shows or hides confirmed 2D Re-entry markers.
Show 3D Expansion: Shows or hides confirmed 3D Expansion markers.
Show 3D Re-entry: Shows or hides confirmed 3D Re-entry markers.
Up Trend: Controls the center trendline color during an active uptrend.
Down Trend: Controls the center trendline color during an active downtrend.
Neutral Trend: Controls the center trendline color when no active directional trend is detected.
Upper Deviation: Controls the color of positive deviation rails, upper channel areas, profile bins, and upside events.
Lower Deviation: Controls the color of negative deviation rails, lower channel areas, profile bins, and downside events.
Show Deviation Profile: Shows or hides the rolling trend-relative Deviation Profile.
Bins: Controls the number of buckets used to construct the Deviation Profile.
Profile Range (D): Controls the positive and negative deviation range displayed by the profile.
Profile Gap: Controls the horizontal distance between the projected channel and the Deviation Profile.
Profile Max Width: Controls the maximum width of the most populated profile area.
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
อินดิเคเตอร์

อินดิเคเตอร์

Earnings Drift RadarEarnings Drift Radar
Does a stock keep its lead after earnings?
Earnings Drift Radar follows a stock's performance relative to a market benchmark and a selected sector benchmark from an earnings reaction day. It separates the initial relative reaction from the subsequent change in that lead.
READING THE RADAR
• Green line: stock return minus sector return, in percentage points.
• Blue line: stock return minus market return, in percentage points.
• Zero line: equal performance since the same starting point.
• Blue shading and a green dot: the selected reaction day.
• Orange downward marker: a previously positive sector lead crosses to zero or below.
The dashboard describes the sector lead as growing, holding, fading, lost, or underperforming. These states describe relative price behavior; they are not buy or sell instructions.
A SIMPLE EXAMPLE
Stock A rises 6% while its sector rises 5%: its sector lead is +1 percentage point.
Stock B rises 2% while its sector falls 4%: its sector lead is +6 percentage points.
The smaller absolute gain can represent stronger relative performance.
If the initial sector lead is +4 pp and later falls to +2 pp, the radar shows 50% of the initial lead retained. This ratio is available only for sufficiently positive initial reactions. It may exceed 100% or turn negative.
HISTORICAL CONTEXT
The table summarizes sector excess returns at D+5, D+10 and D+20, where D0 is the reaction day. Each horizon includes only completed valid observations from the selected recent event window. It displays sample count, mean, median and percentage of positive excess returns. The positive percentage is not a trading win rate.
SETUP
Use a standard 1D chart of a USD stock and matching US-session USD benchmarks. SPY is the default market benchmark. XLK is a technology-sector example: choose the appropriate sector ETF yourself.
Choose Feed event bar, Next trading bar, or Manual date. TradingView earnings data does not reliably resolve every release time. Verify D0 against the actual announcement; shifting to the next bar applies to all reports. Manual mode studies one chosen event.
METHOD AND LIMITS
The reference prices are the split-adjusted regular-session closes immediately before D0. Calculations use simple price-return differences, without beta modeling, dividend returns or currency conversion. Missing or misaligned benchmark data invalidates the remainder of that event. New earnings events replace unfinished observation windows.
Updates and alert conditions use confirmed daily closes. Historical feed corrections and setting changes can change results. Relative performance does not prove that earnings caused a move. Small samples should be interpreted cautiously. This is an analytical indicator, not a validated trading strategy or a profitability claim.
ALERTS
New earnings reaction; sector lead lost; sector lead recovered; sector lead starts fading. Configure alerts separately in TradingView.
อินดิเคเตอร์

Adaptive Supertrend MA Crossover StrategyAdaptive Supertrend MA Crossover
Overview
This strategy trades the crossover between a Moving Average and a Supertrend line - a classic trend-following combination - but with two design choices that set it apart from the standard version of this idea already published elsewhere:
1. The Supertrend and the Moving Average each take their own independently selectable price source (Open, High, Low, Close, HL2, HLC3, OHLC4, or HLCC4), rather than both being locked to Close.
2. A new Moving Average source option: "EMA of Supertrend." Instead of feeding the MA a raw price series, this applies an EMA directly to the Supertrend line itself, and then runs your chosen MA type (SMA/EMA/HMA/WMA) on top of that smoothed line. The result is a crossover between two different "views" of the same underlying trend structure, rather than a crossover between price and trend.
Why "EMA of Supertrend" matters
A standard Supertrend line is deliberately steppy - it holds a level and jumps, rather than moving smoothly, which is what makes it useful as a stop/trend marker but also means a plain price-vs-Supertrend crossover can be noisy on choppy days (price whipsaws across a flat Supertrend step repeatedly).
Applying an EMA to the Supertrend line first produces a smoothed trend proxy that still reacts to genuine Supertrend flips, but rounds off the sharp step edges. Running your chosen Moving Average on top of that, rather than on top of price, means the crossover signal is comparing two related measures of trend, not fighting against Supertrend's inherent steppiness. This tends to produce fewer false flips in sideways conditions while still catching genuine trend changes, without adding a second unrelated indicator to the chart.
This source option is exposed directly in the settings (MA Source = "EMA of Supertrend"), with its own dedicated smoothing period, so it's a toggle away from the standard price-source approach for direct comparison on your own charts.
Caption: Chart example on GOLDPETAL, 15-min: long & short entry on the MA-Supertrend crossover.
How it works
Supertrend: calculated from your selected source (default HL2, the traditional Supertrend basis) with a configurable ATR Period and ATR Factor. Unlike TradingView's built-in Supertrend function (which is hard-coded to HL2), this version lets the basis price and the trend-flip check both use whichever source you select.
Moving Average: choose SMA, EMA, HMA (Hull), or WMA, computed on your selected source, including the "EMA of Supertrend" option described above.
Entry signal: long when the Moving Average crosses above the Supertrend line, short on the opposite cross.
Reverse Trading Mode: a single toggle that inverts the signal (useful for quickly testing whether the opposite side of a crossover performs better on a given instrument/timeframe, without rebuilding the logic).
Stop Loss / Take Profit: both optional and independently toggleable, with a shared basis switch between Percentage (of entry price) and Points, so the same settings panel works whether you're trading a low-priced or high-priced instrument.
Settings guide
(select this whole list after pasting and click the bullet-list button)
Supertrend Source - price series used for the Supertrend basis and trend-flip check
ATR Period / ATR Factor - standard Supertrend volatility inputs
MA Type - SMA / EMA / HMA / WMA
MA Source - price source, or "EMA of Supertrend"
EMA of Supertrend Period - smoothing period applied to the Supertrend line (only active when MA Source = EMA of Supertrend)
Reverse Trading Mode - inverts long/short signals
Use SL / Use TP, Basis, Values - optional exit management, Percentage or Points
Caption: Strategy Tester summary, GOLDPETAL futures, 15-min, , default settings.
Disclaimer:
This script is a technical trading tool for educational and informational purposes. It does not constitute financial advice, and past performance in backtesting does not guarantee future results. Always test thoroughly on your own instruments and timeframes, and use appropriate risk management, before considering live use. กลยุทธ์

Mirror BiasSee the market from the other side.
Mirror Bias is a visual context indicator designed to challenge directional bias by displaying price action as a true vertical reflection of the underlying chart.
Instead of trying to predict whether the market is bullish or bearish, Mirror Bias asks a different question:
"Would this chart look the same to me if I couldn't rely on the usual visual direction of price?"
How it works
Mirror Bias mathematically reflects the OHLC data across a horizontal axis, i.e.,:
Mirrored Price = -Price
Because the transformation is applied to the actual OHLC values, the candles retain their original proportions, structure, gaps, wicks, and relationships. Time remains unchanged; only the vertical orientation is reversed.
This is a true geometric mirror of price action.
Why Mirror Bias is different
Some indicators described as "inverted candles" use a reciprocal transformation such as:
1 / Price
That is a nonlinear inverse-price transformation and is useful for certain comparative applications, but it is not a geometric reflection of the chart. TradingView seems to be lacking a true mirror of price action so I am adding this for public use.
Mirror Bias takes a different approach: the shape of the market is preserved while its visual orientation is reversed.
Use it as a bias-checking tool
Markets can be surprisingly difficult to evaluate objectively when our brains are conditioned to associate:
Rising charts with bullishness
Falling charts with bearishness
Green candles with opportunity
Red candles with danger
Mirror Bias provides an alternate visual perspective that can make familiar structures feel unfamiliar again.
Try analyzing the mirrored chart before looking back at the original chart. You may notice:
Trend structure you hadn't consciously recognized
Support and resistance relationships from a different perspective
Pullbacks that look different when the visual direction is reversed
How strongly candle colors influence your interpretation
Whether your market view is based on structure or simply visual habit
Optional contextual tools
Mirror Bias can remain completely clean and minimal, or additional context can be enabled when needed:
Swing Structure : Displays confirmed HH, HL, LH, and LL labels from the original price action.
Daily Open : Mirrors the current session's daily open.
Previous Day High / Low : Mirrors the prior day's key levels.
VWAP : Mirrors session VWAP on intraday charts.
20 / 50 / 200 EMA : Adds mirrored moving-average context.
Original Direction : Optionally reveals the underlying market's relationship to a selected EMA.
Candle Color Modes : Preserve the original colors, invert them, or use neutral candles.
All contextual elements are transformed into the same mirrored coordinate system so they remain consistent with the visual perspective.
A note on interpretation
The Mirror Bias script's purpose is perspective.
Use it to step outside an established narrative, question your assumptions, and compare your first impression with what you see when the same market is presented from the opposite visual direction.
Does your interpretation change simply because the chart was facing the other way?
อินดิเคเตอร์

Breakout Failure RadarBreakout Failure Radar
Follow the breakout. Keep the original level. Recognize when the structure fails.
Breakout Failure Radar tracks what happens after a price-channel breakout. It freezes the original breakout level and volatility reference, then monitors whether price holds a retest or closes back through the failure threshold.
READ THE COLORS
Blue B+ / B− — Breakout detected
A new upward or downward breakout enters observation.
Green R+ / R− — Retest held
Price touches the frozen retest zone and closes back on the breakout side. Monitoring continues.
Orange F+ / F− — Breakout failed
Price closes beyond the failure threshold on the opposite side of the original level.
Gray square — Window complete
The observation window ends without a defined failure. This does not indicate a profitable trade.
The + and − signs always refer to the original breakout direction. F+ identifies a failed upward breakout; F− identifies a failed downward breakout.
HOW A BREAKOUT IS DETECTED
The default channel uses the highest high and lowest low of the previous 20 completed candles. The current candle is excluded.
An upward breakout requires:
• A close more than 0.10 ATR14 above the upper channel.
• The previous close to have been at or below its own previous upper channel.
Downward breakouts use the opposite conditions.
The channel boundary and ATR are frozen when the breakout is confirmed. Later price movements do not move these reference values.
RETEST OR FAILURE?
The default observation window covers the next five candles, excluding the breakout candle.
The retest zone extends 0.25 frozen ATR on either side of the original level. A held retest requires the candle’s range to intersect this zone and its close to finish more than 0.10 frozen ATR on the original breakout side.
A failure occurs when price closes more than 0.10 frozen ATR on the opposite side of the original level.
A held retest does not end the observation. The same breakout can hold a retest and still fail later.
WORKED EXAMPLE
Hypothetical prices using the default settings.
An upward breakout freezes a level of 100 and an ATR of 4. Price closes at 102, satisfying the breakout conditions.
• Retest zone: 99 to 101.
• Held retest: The candle touches this zone and closes above 100.40.
• Failure: A subsequent candle closes below 99.60 within the observation window.
• Still unresolved: A close at 99.80 is below the original level but has not crossed the failure threshold.
The buffers distinguish a small move around the level from a confirmed condition. They do not guarantee that price will continue or reverse.
MONITORING RULES
• Only one breakout is monitored at a time. Additional breakouts during an active observation are ignored.
• A held retest is reported only once per setup.
• A gap that skips the entire retest zone does not count as a touch.
• Failure takes priority over window completion on the final observation candle.
• A first held retest and window completion can occur on the same final candle.
• A new observation can start no earlier than the candle after the previous observation ends.
• A rejected crossing is not automatically activated later; a fresh channel crossing is required.
DISPLAY AND ALERTS
The frozen level and retest zone are displayed through the observation’s final candle. Historical markers remain on the candles where their conditions were confirmed.
The status panel shows:
• Original breakout direction and latest status.
• Frozen breakout level.
• Number of candles monitored.
• Distance from the latest confirmed close to the frozen level, measured in frozen ATR. Positive values indicate the original breakout side.
• Whether a held retest occurred during the observation.
Five alert conditions are available:
1. New breakout under observation.
2. Retest held.
3. Upward breakout failed.
4. Downward breakout failed.
5. Monitoring window complete.
Choose Once Per Bar Close when creating alerts.
CONFIRMED-CANDLE BEHAVIOR
State changes and event markers are confirmed at candle close. The script does not use future candles, backdated signals or lookahead requests.
Historical data corrections, changes to chart history and different input settings can still change historical results. Use standard candles for interpreting the price-based rules.
RESEARCH AND LIMITATIONS
The default rules were examined on daily BTC, ETH, SOL, BNB and XRP USD histories from January 2021 through September 10, 2026.
The proportion of completed observations meeting the failure definition was:
• 2021–2023: 44.93% across 276 observations.
• 2024–2025: 46.63% across 178 observations.
• 2026: 55.38% across 65 observations.
These figures describe how frequently the chosen failure condition occurred. They are not prediction accuracy or trading win rates.
Average price movement after a warning changed direction between the examined periods. The study therefore did not establish a stable advantage from automatically trading against failed breakouts.
The analysis does not model portfolio exposure, execution costs, funding, stop-losses or actual fills. The five cryptocurrencies are a selected and correlated sample.
The indicator can calculate on stocks and other timeframes, but this research covers cryptocurrency daily candles with the default settings only.
WHAT MAKES THIS TOOL DISTINCT
The implementation combines a Donchian-style channel and Wilder ATR with frozen reference levels, a defined observation window and continued monitoring after a held retest. Each component serves the specific purpose of tracking how an individual breakout develops.
It operates independently of Crypto Breakout Compass and does not import that indicator’s signals.
Breakout Failure Radar is a market-structure monitoring tool. A failure warning identifies a condition that has already occurred; it is not an automatic instruction to enter the opposite trade. อินดิเคเตอร์

Crypto Breakout CompassCRYPTO BREAKOUT COMPASS
A clear framework for reading crypto breakouts — from market context to confirmed signals.
Crypto Breakout Compass highlights price-channel breaks that also meet trend, volatility and candle-strength conditions. Its purpose is to make breakout selection visible and explainable. It is a chart-analysis indicator, not an automated trading strategy.
THE SIGNAL PATH
Price-channel break → Trend alignment → Volatility & candle checks → Confirmed close → B+ or B−
Each filter has a specific job: the channel identifies a break, the EMAs establish direction, ATR limits volatility and extension, and candle location checks whether the move held into the close. A shared cooldown limits repeated alerts.
1. READ THE CHART
• Teal channel: highest high of the previous 20 completed candles.
• Red channel: lowest low of the previous 20 completed candles.
• Orange line: EMA50. Blue line: EMA200.
• Teal / red background: confirmed bullish / bearish trend alignment.
• B+: confirmed bullish breakout. B−: confirmed bearish breakout.
• Status panel: last confirmed trend, ATR percentage and current gate status.
The current candle is excluded from the channel calculation. A colored background alone is not a breakout signal.
2. WHAT QUALIFIES AS A SIGNAL?
Bullish — B+
The close moves above the upper channel, while the preceding close was at or below its own upper channel. Price must close above EMA50, EMA50 must be above EMA200, and EMA200 must be higher than five bars earlier. The close must finish in the top 30% of the candle.
Bearish — B−
The close moves below the lower channel, while the preceding close was at or above its own lower channel. Price must close below EMA50, EMA50 must be below EMA200, and EMA200 must be lower than five bars earlier. The close must finish in the bottom 30% of the candle.
Shared checks
• ATR14 must be positive and no more than 12% of the closing price.
• The close must extend no more than 1 ATR beyond the broken channel.
• At least 10 bars must separate signals, across both directions.
• The candle must be closed and the warmup complete.
A rejected breakout is not automatically accepted later. A fresh channel crossing is required. Zero-range candles receive a neutral close location and cannot meet the default candle-strength threshold.
3. WORKED EXAMPLES
Hypothetical prices, using the default settings. These illustrate the rules, not actual trades or forecast returns.
Example A — bullish qualification
Upper channel = 100 | ATR = 4
Candle: high 103, low 98, close 102
EMA50 = 99 | EMA200 = 95 and rising
The close is 2 points above the channel: 2 ÷ 4 = 0.5 ATR. Its location within the candle is (102 − 98) ÷ (103 − 98) = 80%, inside the top 30%. ATR is approximately 3.92% of close, below the 12% cap. If the previous-close crossing condition, warmup and cooldown are also satisfied, B+ appears at candle close.
Example B — bearish qualification
Lower channel = 100 | ATR = 4
Candle: high 102, low 97, close 98
EMA50 = 105 | EMA200 = 110 and falling
The close is 0.5 ATR below the channel and sits 20% of the way up the candle, inside the bottom 30%. ATR is approximately 4.08% of close. If the remaining conditions are satisfied, B− appears at candle close.
Example C — an extended move is rejected
Upper channel = 100 | ATR = 4 | Close = 106
The extension is 6 ÷ 4 = 1.5 ATR, exceeding the default 1 ATR limit. No B+ is printed, even if the trend is bullish. This illustrates the extension filter; it does not imply the price cannot continue higher.
4. QUICK START & ALERTS
Start with regular 1D cryptocurrency candles and the default inputs. The default warmup requires at least 205 previous bars. Separate alert conditions are available for bullish and bearish breakouts; choose “Once Per Bar Close” when creating an alert.
The research covers daily candles only. Other intervals display “Unvalidated timeframe”. Changing inputs also moves beyond the tested defaults. Bearish markers describe price direction; they do not imply that short selling is available on a spot market.
5. CONFIRMATION & DATA BEHAVIOR
Markers and saved status update only on confirmed candle closes. Channel lines and EMAs can move while a candle is open. The script uses no future bars, pivot backdating or lookahead requests. Historical data corrections, feed changes, available history and input changes can still affect historical signals.
The indicator runs entirely on TradingView chart data and requires no API key. Prices and day boundaries can differ between exchanges and USD/USDT pairs.
6. WHAT THE RESEARCH DOES — AND DOES NOT — SHOW
Fixed default rules were examined on historical daily BTC, ETH, SOL, BNB and XRP USD series from January 2021 through September 10, 2026. No parameter search was performed for this study.
The event study measures directional price change from the next daily open after a signal to the close of the tenth following candle. A simple 0.30 percentage-point round-trip cost deduction was also examined. This is not a portfolio backtest: it does not model funding, leverage, actual fills, stops or compounding.
In the 2024–2025 validation window, 67 filtered events had a mean directional change of +1.114% and a median of −1.236%. The unfiltered channel baseline, with the same cooldown, averaged +1.240% across 159 events. The worst filtered adverse excursion within an observation window was −34.744%.
The later 2026 window contained only 15 filtered events, of which 14 were bearish. This small, directionally concentrated sample does not establish a general trading edge. The five coins are also a selected, correlated sample. The evidence is mixed, and positive average event returns should not be interpreted as verified strategy profitability.
SCOPE & ORIGINALITY
This implementation combines a prior-bar Donchian-style channel, standard EMAs and Wilder ATR with directional candle location, extension limits and a shared signal cooldown. The code was written independently for this tool. Its contribution is the explicit qualification process and closed-bar status display, not a claim to have invented the underlying indicators.
Crypto Breakout Compass does not place orders or prescribe position sizes, stop-losses or exits. Use it to inspect market structure and test hypotheses; a marker is not a guarantee of follow-through. อินดิเคเตอร์

FVG Precision | Exact Labels | 2R | WebhookFVG Precision | Exact Labels | 2R | Webhook is a Fair Value Gap (FVG) trading indicator designed to identify structured bullish and bearish FVG setups, wait for price to return into the imbalance, confirm rejection, and then display a complete trade setup with entry, stop loss, take profit, and trade direction.
HOW THE INDICATOR WORKS
The indicator looks for bullish and bearish Fair Value Gaps created by strong price displacement.
A bullish FVG is detected when price creates an upside imbalance between candles.
A bearish FVG is detected when price creates a downside imbalance between candles.
The script uses ATR-based filters to reduce very small or weak gaps and also checks for displacement strength before accepting an FVG.
After an FVG is identified, the indicator waits for price to return and fully fill the qualifying area.
When rejection confirmation is enabled, a trade signal is not generated simply because price touches the FVG. Price must fill the zone and then show confirmation back in the expected direction.
For bullish setups, the script looks for bullish rejection and a close back through the required portion of the FVG.
For bearish setups, the script looks for bearish rejection and a close back through the required portion of the FVG.
This helps filter out many simple touches that do not produce a confirmed reaction.
ENTRY
Once all conditions are satisfied, the indicator creates either a BUY or SELL signal.
The official entry price is based on the closing price of the candle that confirms the setup.
The indicator displays:
• BUY or SELL direction
• Exact entry price
• Signal time in Eastern Time
• Active entry FVG
• Stop Loss
• Take Profit
• Current trade status
STOP LOSS
Stops are structure-based rather than using an arbitrary fixed distance.
For BUY setups, the stop is placed below the most recently confirmed swing low, including the selected stop buffer.
For SELL setups, the stop is placed above the most recently confirmed swing high.
This allows the risk level to adapt to the current market structure.
TAKE PROFIT
The default take-profit target uses a 1:2 risk-to-reward ratio.
This means:
Risk = 1R
Target = 2R
For example:
If the distance between entry and stop loss is 5 points, the take-profit target is positioned approximately 10 points from the entry in the profitable direction.
The 2R level is automatically calculated for every qualifying setup.
ONE ACTIVE TRADE AT A TIME
The indicator is intentionally designed to manage only one active signal at a time.
While a BUY or SELL setup is active, the indicator will not issue another new trade signal.
A new setup becomes eligible after the current trade ends through:
• Take Profit
• Stop Loss
• FVG invalidation
• Weekend reset
This design helps prevent conflicting BUY and SELL signals from being active simultaneously.
ACTIVE FVG INVALIDATION
The original FVG remains part of the trade-management logic.
If price closes through the active FVG in the invalid direction before the trade completes, the indicator can classify the setup as:
FVG BROKEN
The active setup is then cancelled.
TRADING SESSION
Signals are restricted to the futures trading window used by this indicator:
Sunday 6:00 PM ET
through
Friday 4:00 PM ET
Saturday is disabled.
A weekend reset occurs Friday at 4:00 PM Eastern Time.
SUPPORTED CHART TIMEFRAMES
The indicator can visually operate on:
• 1 Minute
• 5 Minute
• 15 Minute
• 30 Minute
RECOMMENDED / PRIMARY TIMEFRAME: 15 MINUTES
The 15-minute timeframe is the primary timeframe this version is designed to be used with.
Compared with the lower timeframes, the 15-minute chart generally provides a cleaner view of market structure and reduces the amount of short-term price noise seen on very small candles.
IMPORTANT WEBHOOK RULE:
Only signals generated on the 15-minute timeframe are permitted to send trade-copier webhook events.
1 Minute:
Indicator can display setups, but website webhook transmission is OFF.
5 Minute:
Indicator can display setups, but website webhook transmission is OFF.
15 Minute:
Indicator displays setups AND webhook transmission is ON.
30 Minute:
Indicator can display setups, but website webhook transmission is OFF.
This restriction was intentionally added so an external trade copier or automation system receives only the selected 15-minute signals rather than signals from multiple chart timeframes.
WEBHOOK / AUTOMATION SUPPORT
The indicator contains machine-readable webhook functionality for integration with an external trade-management or trade-copying application.
Supported webhook lifecycle events include:
• ENTRY
• TP_HIT
• SL_HIT
• FVG_BROKEN
• WEEKEND_RESET
Every new trade receives a unique signal ID.
That same signal ID follows the trade throughout its lifecycle so an external application can associate subsequent events with the correct original signal.
ENTRY webhook data can include:
• Unique Signal ID
• Symbol
• TradingView Symbol
• BUY / SELL direction
• Timeframe
• Signal timestamp
• Entry price
• Stop Loss
• Take Profit
• Risk/Reward
This provides a structured foundation for webhook-based alerts and external automation.
BENEFITS
The purpose of FVG Precision is to make Fair Value Gap trading more structured and easier to interpret.
Key benefits include:
• Automatically identifies qualifying bullish and bearish FVGs
• Uses displacement and ATR filters to reduce weak setups
• Waits for FVG interaction instead of signaling immediately
• Optional rejection confirmation helps filter simple touches
• Automatically identifies BUY and SELL opportunities
• Displays exact entry prices
• Automatically calculates structure-based stop losses
• Automatically calculates a 2R profit target
• Displays the active FVG visually
• Prevents multiple active signals at the same time
• Provides FVG invalidation logic
• Restricts signals to the selected trading session
• Provides BUY, SELL, TP, SL and FVG Broken alerts
• Supports structured webhook integration
• Restricts automated webhook transmission to the preferred 15-minute timeframe
IMPORTANT
This indicator is a decision-support and automation tool. Signals are based on predefined technical conditions and do not guarantee profitable trades.
Historical or visually successful setups do not guarantee future results. Slippage, liquidity, market volatility, news events, execution quality, commissions, and other market conditions can materially affect actual results.
Users should test the indicator thoroughly and use appropriate risk management before using any signal for live trading. อินดิเคเตอร์

Previous Day Levels & BOS (v4.0.0)Indicator Overview
This custom Pine Script v6 trading indicator combines Previous Day High/Low (PDH/PDL) boundary tracking, multi-trigger Break Signals, and Break of Structure (BOS) logic into a unified, clean charting tool. Designed for precision execution, the script tracks session boundaries strictly using calendar days to prevent Sunday and Monday session combining, while enforcing structural constraints on market structure breaks.
Core Functional Components
Previous Day Levels: Plots dynamic lines representing the high and low of the previous calendar day, adapting automatically as sessions roll over.
Break Signals: Evaluates multi-trigger crosses against PDH and PDL bounds, printing designated arrows whenever price breaks these key liquidity thresholds.
Structure Breaks (BOS): Identifies swing highs and lows post-PD break, restricting BOS prints strictly within the boundaries of the Previous Day High and Low levels.
Alert System: Fully equipped with built-in native alerts for bullish, bearish, and any combined BOS events.
Complete Revision History
v1.0.0: Established initial session logic and PDH/PDL level plotting.
v1.1.0: Transitioned to strict calendar day tracking to fix Sunday and Monday session combining issues.
v1.2.0: Introduced built-in alert conditions for Bullish, Bearish, and Any BOS configurations.
v1.3.0: Enforced sequence rules requiring a PD break before evaluating BOS structures.
v1.4.0: Removed price boundary filters on post-PD break swings to capture broader structural setups.
v1.5.0: Explicitly anchored version 6 header at line 1 to resolve compiler issues.
v1.6.0: Upgraded the BOS engine to utilize array tracking, preventing swing point overwriting.
v1.7.0: Added automated removal for BOS lines and labels upon level mitigation.
v1.8.0: Resolved loop execution errors by computing crossover logic outside array loops.
v1.9.0: Reverted mitigation deletion rules so BOS elements remain visible post-PD break.
v2.0.0: Overhauled the BOS engine to active single-level tracking to minimize chart clutter.
v2.1.0: Enforced strict boundary filtering to ensure BOS markers print exclusively inside PDH and PDL channels.
v2.2.0: Enabled multi-trigger tracking so every unique cross above PDH or below PDL prints an arrow signal.
v3.1.0 - v3.2.0: Experimental Fair Value Gap (FVG) and mitigation engines introduced and tested.
v4.0.0: Cleaned and streamlined the script by completely removing experimental FVG features, finalizing the layout down to core PD levels, break arrows, and precision BOS tracking. อินดิเคเตอร์

OTT Rejection ZoneOTT Rejection Zone is a chart overlay for decision-making. Its purpose is to help you answer three questions before you take a trade:
Where are the orders? (Zones)
How proven is each level? (Touch count)
Which side is advancing right now? (Pressure lines)
What you see on the chart
1) The Boxes = "Buyer / Seller Zones"
Red zones form where sellers have repeatedly rejected price from above. Green zones form where buyers have repeatedly defended from below. A zone is only drawn after a level has been defended at least twice one-off swings don't qualify. Zone width scales with ATR, so the zones mean the same thing on any symbol and any timeframe.
How to use it
- Price approaching a red zone → expect supply; watch how price reacts, not just that it arrived.
- Price approaching a green zone → expect demand; same rule.
- A zone disappearing → price closed decisively through it; the defenders are gone. Don't expect a level to matter after it's been broken.
Simple mental model
- Zone = where orders have proven themselves
- No zone = price is in open water
2) The Number on Each Zone = "Touch Count"
Every zone shows how many separate times it has been defended for example, SELLERS x4. Touches include wick-tests: any candle that pushes into the zone and closes rejected adds to the count (with a small cooldown so one cluster of candles isn't over-counted).
How to use it
- x2 → a young level, lightly proven.
- x3–x4 → a real shelf; both sides know it's there.
- A count that keeps climbing while the zone holds → active defense, orders still there.
One caution: a heavily tested level is well-proven but also well-worn levels don't hold forever, and the break of a many-touch zone tends to travel.
3) Solid vs Faded Zones = "Hot / Cold"
Zones defended within the last 30 candles render solid that's live inventory. Zones that haven't been tested recently fade but remain valid.
How to use it
- Solid zone → participants are actively engaged there right now.
- Faded zone → still a reference level, but treat it as memory rather than presence.
4) The Dotted Lines = "Pressure Lines"
When three or more minor swing highs step down in a row, a dotted red line is drawn through them and extended forward: sellers accepting worse prices to get filled — which only happens when they're eager. The mirror in green: rising lows = buyers pressing. The line invalidates the moment price closes through it.
How to use it
- Falling red line into a red zone above → sellers are both positioned and advancing. The strongest bearish picture this tool draws.
- A pressure line breaking → the advance has paused; the side that was pressing just lost initiative.
Simple mental model
- Zone = where they sit
- Pressure line = they're walking toward you
How a beginner can use this (step-by-step)
Step 1 — Find the nearest zones. Above and below current price. That's your map.
Step 2 — Read the counts and shading. Solid, high-count zones deserve the most respect.
Step 3 — Check for a pressure line. If one side is pressing toward a zone, plan around that side keeping the initiative until the line breaks.
Step 4 — Let the reaction be your trigger. This tool tells you where the decision areas are you enter only on your own trigger at those areas (rejection candle, structure reclaim, session timing). The zones are the location, not the signal.
Settings
Swing strength (5) controls zone granularity higher gives fewer, more major levels. Minor swing strength (2) sets pressure-line sensitivity. Zone half-width (0.25 ATR) and break-through distance (0.5 ATR) are ATR-based so behavior is consistent across markets. Touches to draw (2) hides unproven swings; the 30-candle activity window separates hot from cold; the 3-bar cooldown prevents over-counting. Enable "Keep broken zones" to study break-and-retest behavior on faded boxes.
Limitations
Zones and lines appear only after a swing confirms (swing strength × bars later). This delay is deliberate nothing repaints retroactively but it means levels form with a lag rather than at the exact turn. Pressure lines are deleted and redrawn as new swings confirm. Everything here is inferred from price behavior: it shows where orders were defended, not a live order book, and a level having held before is never a guarantee it holds again.
OTT Rejection Zone is a chart overlay for decision-making. Its purpose is to help you answer three questions before you take a trade:
Where are the orders? (Zones)
How proven is each level? (Touch count)
Which side is advancing right now? (Pressure lines)
What you see on the chart
1) The Boxes = "Buyer / Seller Zones"
Red zones form where sellers have repeatedly rejected price from above. Green zones form where buyers have repeatedly defended from below. A zone is only drawn after a level has been defended at least twice one-off swings don't qualify. Zone width scales with ATR, so the zones mean the same thing on any symbol and any timeframe.
How to use it
- Price approaching a red zone → expect supply; watch how price reacts, not just that it arrived.
- Price approaching a green zone → expect demand; same rule.
- A zone disappearing → price closed decisively through it; the defenders are gone. Don't expect a level to matter after it's been broken.
Simple mental model
- Zone = where orders have proven themselves
- No zone = price is in open water
2) The Number on Each Zone = "Touch Count"
Every zone shows how many separate times it has been defended for example, SELLERS x4. Touches include wick-tests: any candle that pushes into the zone and closes rejected adds to the count (with a small cooldown so one cluster of candles isn't over-counted).
How to use it
- x2 → a young level, lightly proven.
- x3–x4 → a real shelf; both sides know it's there.
- A count that keeps climbing while the zone holds → active defense, orders still there.
One caution: a heavily tested level is well-proven but also well-worn levels don't hold forever, and the break of a many-touch zone tends to travel.
3) Solid vs Faded Zones = "Hot / Cold"
Zones defended within the last 30 candles render solid that's live inventory. Zones that haven't been tested recently fade but remain valid.
How to use it
- Solid zone → participants are actively engaged there right now.
- Faded zone → still a reference level, but treat it as memory rather than presence. อินดิเคเตอร์

Sweep & Reverse | Liquidity Sweep Reversal StrategyThis strategy trades the liquidity-sweep reversal pattern: price wicks through a prior swing high or low — clearing out the stops resting there — then closes back inside the range, suggesting the move beyond that level was a stop-hunt rather than a genuine breakout.
How it works:
Confirmed swing highs and lows (via pivot detection) are stored as watched levels.
A sweep triggers when a bar wicks past a level but closes back on the other side.
Longs enter on swept lows, shorts on swept highs. The stop sits just beyond the sweeping wick (with an ATR buffer); the target is set from your chosen reward:risk ratio.
Levels expire if left untouched for too long, and new levels too close to an existing one (relative to ATR) are skipped to keep zones from cluttering.
Features:
Optional volume-spike filter — only counts sweeps backed by above-average volume
Optional rejection-wick filter — requires the sweeping wick to be meaningfully larger than the bar's body, filtering out weak/low-conviction sweeps
Optional next-bar confirmation — waits one bar past the sweep and only enters if price actually continues in the reversal direction, reducing whipsaw entries
Optional session window filter (defaults to the London/NY overlap, the highest-liquidity window)
Adjustable stop distance, minimum stop size, and reward:risk ratio
Breakeven stop management once a trade moves partway to target
Long/short can be toggled independently
Every trade's entry/SL/TP lines persist on the chart after the trade closes (auto-expiring after a configurable number of bars), so past trades stay visible for review
Styled performance dashboard: trade count, win rate, net profit, live position state
Warnings:
This is fundamentally a mean-reversion pattern. In strongly trending markets, sweeps frequently continue rather than reverse — no combination of filters here eliminates that risk.
Backtest results are sensitive to pivot length, stop distance, and which filters are enabled. A high win rate on a small number of trades is not statistically meaningful — test across multiple instruments and timeframes, and evaluate profit factor and max drawdown alongside net profit, not net profit alone.
Past performance in a backtest, including this one, does not guarantee future results. This is not financial advice. กลยุทธ์

TIS_SwingOVERVIEW
TIS_Swing detects swing highs and swing lows and, unlike most pivot tools, publishes the last confirmed level as a continuous value that other scripts can read.
Standard pivot indicators return a number only on the bar where the pivot is confirmed and nothing on every other bar. That is fine for drawing a dot on the chart, but it makes the level unusable for comparison: on any given bar you cannot ask whether the current price is above the last confirmed swing high, because on that bar the pivot series holds no value. TIS_Swing keeps the level alive between pivots, so that question can be answered on every bar, by you visually or by another script through the source dropdown.
HOW IT WORKS
A bar qualifies as a swing high when its high is greater than or equal to the highs of the bars that follow it, and strictly greater than the highs of the bars that precede it. The number of bars checked on each side is set by Strength Left and Strength Right. Swing lows use the mirrored rule. The comparison on the right side is inclusive, so a candidate that ties with a later bar still qualifies; this produces slightly more pivots than a strictly greater definition, and is intentional.
A pivot can only be confirmed once the bars to its right exist, so a pivot is always confirmed Strength Right bars after it forms. It is never confirmed earlier and it is never revised afterwards, so nothing repaints.
Once a pivot is confirmed, its price becomes the current level for that side and stays there until the next pivot on the same side replaces it. When the series trades through the level, the level is marked as broken. What happens next depends on Remove Broken Pivot Lines:
- ON, the default: the visible level is dropped and no level is shown until a new pivot forms. This is the familiar behaviour of most pivot tools.
- OFF: the visible level stays where it was until a new pivot replaces it, so a broken level remains on screen as a reference.
Either way, a second pair of values keeps the last level regardless of the setting. Those are the plots marked (persistent), and they exist so that comparisons are always possible.
WHAT YOU CAN DO WITH IT
Market structure on price. With the level available on every bar, a higher high is simply the current price trading above the last confirmed swing high, and a lower low is the mirror. You can read it off the chart or compute it in your own script by selecting Last Swing High (persistent) as a source and comparing it against the close.
Divergence on an oscillator. Turn on Use Other Source, point it at a stochastic, an RSI or any other plotted series, and move the script to its own pane. The pivots are then detected on the oscillator instead of on price. A higher swing low on the oscillator while price is still making lower lows is a classic divergence, and here it is visible as a stepped level moving up while price moves down.
Breakout timing. With Remove Broken Pivot Lines on, the moment the level disappears is the moment the last swing was taken out. That transition is also available as an alert.
PARAMETERS
Parameters
- Strength Left: bars to the left of the candidate that must be lower for a high, or higher for a low. Default 5.
- Strength Right: bars to the right required to confirm the pivot. Also the confirmation delay, in bars. Default 2.
- Remove Broken Pivot Lines: drop the visible level once it is broken. Default on. Does not affect the (persistent) plots.
- Use Other Source: detect pivots on another plotted series instead of the bar highs and lows. Both sides then use the selected series.
- Source: the series used when Use Other Source is on.
Visual Settings
- Show Levels: opacity of the stepped level lines.
- Show Persistent Levels: opacity of the thin lines that always keep the last level. Off by default to keep the chart clean.
- Show Pivot Markers: diamonds drawn on the confirmed pivot bars.
- Extend to the Right: horizontal line projected forward from the last pivot on each side.
- Swing High Color, Swing Low Color, Line Width, Extension Line Style.
The Show options change opacity only. The four series are always published, so another script can read them even when they are not visible on the chart.
OUTPUTS
Four values are available in the source dropdown of any other indicator or strategy:
- Last Swing High and Last Swing Low: the level as shown, honouring Remove Broken Pivot Lines.
- Last Swing High (persistent) and Last Swing Low (persistent): the last confirmed level, kept regardless of that setting.
Four alerts are available: New Swing High, New Swing Low, Swing High Broken, Swing Low Broken.
LIMITATIONS
- A pivot is confirmed Strength Right bars after the bar that forms it. On the chart this looks like a delay, and it is one. It is inherent to any pivot definition that requires confirmation from the right, and it is the price of not repainting.
- These levels are reference points, not entry signals. Nothing here tells you which way to trade.
- With Remove Broken Pivot Lines on, the level is dropped on the same bar as the break. A comparison such as close above Last Swing High will therefore never be true, because the value is already gone by the time it would be. Use the (persistent) plots for that comparison, or detect the break as the transition of the visible plot to no value.
- Before the first pivot on a side is confirmed, that side publishes no value.
- Pine fixes the pane at compile time, so with a non-price source the script has to be moved to its own pane manually.
- Larger Strength values give fewer and more significant levels but a longer confirmation delay. There is no setting that avoids that trade-off. อินดิเคเตอร์

B8 UltimateB8 Ultimate
An Open Price Range indicator that automatically identifies the High/Low of a reference hour and extends this range over a configurable duration.
Features:
Up to 5 configurable symbols.
Zones are displayed only on their corresponding symbol.
Independent reference time for each symbol, in 30-minute increments.
Independent time zone for each symbol, with automatic Daylight Saving Time (DST) handling.
Rectangle duration and color configurable for each symbol.
Optional first-hour marker.
Configurable number of historical zones.
IG DAX and CAC preconfigured, with 3 additional free slots.
Behatsla’ha
Notes:
Uses 1H data for XX:00 reference times and aggregates 2 × 30-minute candles for XX:30.
Rectangle border width and transparency are configurable globally.
Rectangle fill can be enabled or disabled.
The optional first-hour marker automatically adapts to the chart timeframe.
The first-hour marker is displayed only on timeframes below 1H.
For XX:30 reference times on a 1H chart, the rectangle starts at the opening of the 1H candle containing XX:30. Example: 14:30 → displayed from 14:00.
The rectangle end is recalculated from this visual starting point. With a 24-hour duration: 14:00 → 14:00 the following day, preventing overlapping zones.
The High/Low is always calculated from the actual reference hour.
Short legend name: B8.
==========================================================================
Français :
B8 Ultimate
Indicateur de type "open price range" permettant de matérialiser automatiquement le High/Low d’une heure de référence et de prolonger cette zone sur une durée configurable.
Fonctionnalités :
Jusqu’à 5 actifs configurables.
Affichage uniquement sur l’actif correspondant.
Heure de référence configurable par actif, par pas de 30 minutes.
Fuseau horaire indépendant par actif, avec gestion automatique des changements d’heure.
Durée et couleur du rectangle configurables par actif.
Marqueur optionnel de la première heure
Nombre de zones historiques configurable.
DAX et CAC IG préconfigurés, avec 3 emplacements supplémentaires libres.
Behatsla’ha
Notes :
Calcul en 1H pour XX:00 et agrégation de 2 × 30 min pour XX:30.
Épaisseur et transparence du rectangle configurables globalement.
Option pour afficher ou masquer le remplissage du rectangle.
Marqueur optionnel de la première heure, adapté automatiquement à l’unité de temps affichée.
Le marqueur est affiché uniquement sur les timeframes inférieurs à 1H.
Pour XX:30 sur un graphique 1H, le rectangle commence à l’ouverture de la bougie 1H contenant XX:30. Exemple : 14:30 → affichage à partir de 14:00.
La fin est recalculée depuis ce début visuel. Avec une durée de 24 h : 14:00 → 14:00 le lendemain, afin d’éviter le chevauchement des rectangles.
Le High/Low est calculé sur l’heure réelle de référence.
Nom court dans la légende : B8. อินดิเคเตอร์

Market Maker BoxMarket Maker Box draws the last completed candle’s high and low as a live trading box, then colors that box for the candle that is forming now.
The idea is simple: market structure from the previous candle becomes the range you scalp this candle. Green means the forming candle is leaning up. Purple means it is leaning down. No color means chop — stand down.
Built for 5m and 15m charts so price prints inside the box, not beside it.
The boxes
Turn on the timeframes you want. They all run the same engine.
4H — on by default. Prior 4-hour high/low over the current 4-hour window.
Daily — prior day high/low over today.
9-day — prior 9-day high/low over the current 9-day window.
When a window closes, that box dies and a new one starts from the candle that just completed. The box grows with printed bars and stops a few candles past price so the live bar is readable.
How to read it
Color Meaning Destination
Neon green
Forming candle leaning bullish
Upper half — median to high
Neon purple
Forming candle leaning bearish
Lower half — low to median
Orange / TF tint
Chop. No call.
No shade
The shaded half is where price is predicted to go on that candle, not where you blindly click.
Labels show the level and how far price is from it, in percent.
Optional fibs (0.236 / 0.382 / 0.618 / 0.786) draw on every box you have turned on.
The lean
Trend first. A dip does not flip a green box purple.
EMA stack and slope on that box timeframe
The two candles before the box
A higher-timeframe completed body (daily helps 4H, 9-day helps daily)
Live candle can confirm the trend
Live candle cannot reverse the color unless a sweep-and-reclaim prints late in the window
ADX chop gate — no color in a dead tape
Color must hold a few chart bars before it paints
Stack the boxes. A green 4H inside a green daily is the clean scalp. Mixed colors means wait.
How to use it
Green box, price in the lower quarter → look long toward the median, then the high
Purple box, price in the upper quarter → look short toward the median, then the low
Price already in the destination half → you are late; wait for a pullback or the next box
Narrow grey box → range is too thin; fees eat the trade
Box-timeframe closes outside the range → the box is dead. That is continuation, not a fade
The box is the map. Your entry is still a reclaim, a rejection, or a limit at the level.
Defaults that stay clean
4H box on. Daily and 9-day off. Median on. Extra fibs off. Destination shade on. Break stamps off.
Add daily and 9-day when you want higher-timeframe context. Leave them off when you only want the session range.
Alerts
Off by default. Optional:
Price taps the box high or low
Confirmed 4H lean flips to bull or bear
What this is not
Not a signal bot. Not a guarantee the forming candle closes that color. Not financial advice.
The box tells you where you are and which way this window is leaning. You still pick the trigger and the size.
Pine v6 · © SRUS · Education and research only. อินดิเคเตอร์

อินดิเคเตอร์
