Auto Range Detector [QuantAlgo]🟢 Overview
The Auto Range Detector is a structural analysis tool built for traders who work around consolidation. It automatically scans every bar across multiple window sizes, tests each candidate against a set of independent structure filters, and draws a box where price rotated between two boundaries and stayed contained by them. Every stage is volatility normalized against the symbol's own history, so one configuration behaves consistently on a five minute crypto chart and a daily equity chart alike. Whether you fade the edges, trade the resolution, or simply want the ranges on your chart drawn the way you would draw them by hand, the indicator turns raw price into confirmed structures, marked breakouts, and a definition of "range" that you have complete control over on any asset and any interval.
🟢 How It Works
The indicator tests up to three window sizes on every bar: the base scan length, double it, and triple it. Each window places two boundaries using the method you choose, measures the band height, and ranks that height against its own history on the symbol and interval, so the volatility gate reads as a percentile of what the market normally produces. The window then has to pass four independent structure tests: enough midline crossings per bar to establish two sided rotation, enough bars reaching each boundary, a regression slope flat enough to show a stable mean, and enough closes held between the boundaries. The longest window that clears every test defines the range.
Once a structure qualifies, the left edge walks backwards through earlier history for as long as price stayed inside the band, and lands only on a bar held within the boundaries wick and all, so a box begins on a candle that belonged to the structure. The range stays provisional until it has spanned a minimum number of bars, and a provisional structure that breaks is cleared without a marker, leaving only structures that held on the chart. A break is confirmed on a close or a wick beyond the boundary, with an ATR buffer that filters marginal clears.
🟢 Key Features
▶ Multi-Scale Detection
The scan tests up to three window sizes on every bar: the base length, double it, and triple it, with the longest qualifying window defining the range. Boundary Basis then decides where the two edges sit and how range height is measured. Percentile band trims outlying wicks so no single spike defines the box, with the percentile itself adjustable. Absolute extremes places the edges on the extreme wicks and measures peak to trough. Body extremes works from opens and closes only, which suits instruments with erratic wicks such as thin crypto pairs. Signal Timing governs whether everything waits for the bar to close or evaluates the forming bar, and ATR Length sets the volatility unit every distance in the script is expressed in.
▶ Structure Filters
Five settings decide whether a candidate window is a range. Compression Percentile is the volatility gate, ranking band height against the symbol's own history so the threshold means the same thing on any instrument. Min Rotation Rate requires midline crossings per bar, which is what separates a genuine range from a reversal that happens to span the same distance. Min Boundary Touches requires both sides to be visited more than once, so a single spike high paired with a single spike low does not qualify, with Touch Definition and Touch Tolerance controlling what registers as a visit. Max Drift limits how far the mean of the window may tilt. Min Containment requires a share of closes to sit between the boundaries, rejecting structures where price only passed through the zone. Every test has its own control, so the definition can be set to tightly held rectangles or to looser rotational structures.
▶ Range Behavior
Range Anchoring decides where the left edge lands once a structure qualifies. Scan window only draws the box across the window the filters evaluated. Extend to containment walks the edge backwards through earlier bars that stayed inside the band, up to an adjustable ceiling, so the box covers the full consolidation. Minimum Range Bars holds a new structure provisional until it has run long enough, and a provisional structure that breaks is cleared without a marker. Absorb Overshoot lets a boundary take in a marginal wick rather than closing the box on it. Break Confirmation and Breakout Buffer decide what ends the range, on a close or a wick, and how far past the boundary price must clear. Cooldown Bars and Max Range Age govern what happens after a range resolves.
▶ Deviation Merging
Optional handling for a break that closes back inside the range. With this enabled, the broken structure is held open briefly and a close back between the boundaries revives it: the box resumes from its original left edge, the breakout marker is withdrawn, and the excursion is marked at its extreme, leaving one continuous structure with a failed break inside it rather than a breakout followed by a fresh box over the same price. Left disabled, every break is final.
▶ Range Visualization
Each structure is drawn as a gradient shaded box that fades from the boundaries toward equilibrium, with an optional midpoint line and quartile levels marking where a rotation is already extended. A live tag reports whether the structure is forming or confirmed, how many bars it has held, and its height as a percentage of price. Breakout markers print below the bar on an upside break and above it on a downside break.
▶ Built-in Alerts
Ready-made alert conditions fire when a new range is detected, when one breaks to the upside or downside, on any range break, and when a failed break returns price inside the structure.
▶ Color Presets
Six presets (Classic, Aqua, Cosmic, Cyber, Neon, Custom) drive the bullish and bearish pair, with the range color held separate so a live structure always reads as neutral against whichever pair is active. Custom mode exposes individual color pickers. Every border, line, fill, and label is contrast corrected against the chart background automatically, so a color close to your background lifts far enough to read while shading stays light enough to keep price action visible.
インジケーター

インジケーター

TMA Volatility BandsTMA Volatility Bands
TMA Volatility Bands is a trend and volatility indicator built around a smoothed Triangular Moving Average (TMA) and dynamically calculated deviation bands.
The indicator is designed to show the current market trend, volatility range, and potential reversal areas through a structured set of expanding TMA bands.
The TMA acts as the central trend reference, while the surrounding bands expand according to the current deviation of price from the TMA. This creates three volatility levels on both sides of the TMA, helping visualize how far price has moved from its smoothed average.
Main Settings
TMA Trend Line
The central TMA provides a smooth representation of the underlying price trend and reduces short-term market noise.
Dynamic Volatility Bands
Three band levels are calculated above and below the TMA. The bands automatically adapt to changing price volatility, creating a dynamic market range.
Multi-Level Band Structure
The first band represents the primary volatility boundary, while the middle and outer bands extend progressively farther from the TMA. This makes it easier to identify stronger extensions in price movement.
Trend Strength Gradient
The TMA changes color according to the direction and strength of its movement relative to ATR-based volatility. Stronger TMA movement produces a stronger color transition, while weaker movement moves toward a neutral color.
Buy and Sell Signals
The indicator includes automatic reversal-style signals based on price extending beyond the primary volatility band and then forming an opposite-direction candle.
A Buy signal appears when the previous candle moves below the lower primary band and the current candle closes bullish.
A Sell signal appears when the previous candle moves above the upper primary band and the current candle closes bearish.
Adjustable Settings
TMA Period controls the smoothing and responsiveness of the central TMA.
Band Deviation controls the distance of the primary volatility bands from the TMA.
Price Source allows the calculation to use the selected price source.
Trend Threshold controls the sensitivity of the TMA trend-strength gradient.
TMA Volatility Bands is designed to provide a clean visual framework for analyzing trend direction, volatility expansion, price extensions, and potential reversal areas.
The signals should be used as part of a broader trading strategy and confirmed with price action, market structure, or other analysis tools.
インジケーター

インジケーター

Atr Volatility BandsAtr Volatility Bands
Atr Volatility Bands is an ATR-based trend and volatility indicator designed to provide a clear visual view of market direction, volatility, and changing price conditions.
The indicator combines a smoothed ATR Trail with an additional ATR-based outer band and a dynamic three-color gradient. The ATR Trail adapts to market volatility and changes direction when price moves through the calculated volatility levels.
The gradient continuously changes based on the position of price within the ATR bands, creating a smooth visual transition between different market conditions. The same gradient is also applied to the candles, making trend and momentum changes easier to recognize directly on the chart.
Main Settings
• Adaptive ATR Trail
Tracks the current market direction while adapting to changing volatility.
• ATR Outer Band
Provides additional volatility context around the main ATR Trail.
• Dynamic Color Gradient
Uses a smooth purple, blue, and cyan transition based on price position within the ATR range.
• Trend Shift Detection
Helps visually identify when the current market direction changes.
• Gradient Bar Coloring
Colors candles according to the current ATR-based market condition.
• Sensitivity
Adjusts the responsiveness of the ATR calculations.
• Gradient Smoothness
Controls how smoothly the color transitions respond to price changes.
Atr Volatility Bands is designed to keep the chart clean while providing an intuitive view of trend direction, volatility, and price movement.
Use the indicator together with your preferred market structure, price action, and confirmation tools. It is not intended to be used as a standalone buy or sell signal.
インジケーター

Gaussian Trend Filter | Lyro RS█ Overview
Gaussian Blur Trend Filter | Lyro RS is a trend-following overlay that runs price through a two-pass Gaussian blur to build a smoothed baseline, then classifies the market as bullish, bearish, or neutral from the slope of that baseline combined with price's position relative to it.
Where a single moving average reacts to every wiggle in price, this indicator convolves the same Gaussian kernel over price twice. The second pass smooths the already-smoothed series, producing a wider effective kernel with cleaner slope behaviour than a single-pass filter of the same length — fewer false slope changes, later noise-driven flips.
The result is a coloured baseline with a filled cloud back to price, flip labels marking the exact bar of a trend change, and recoloured candles so the whole chart reflects the current state at a glance.
█ How It Works
⚪ Gaussian Weighting
Each bar in the lookback window is weighted using a Gaussian curve rather than a flat or linear taper, so nearby bars dominate but older bars still contribute smoothly instead of dropping out abruptly.
w = math.exp(-(i * i) / (2.0 * sigma * sigma))
sigma is set as a percentage of Kernel Length via the Blur Width input, which shapes how quickly that weighting falls off.
⚪ Two-Pass Convolution
The first pass smooths raw close into an intermediate series. The second pass smooths that already-blurred series with the same kernel. Two convolved Gaussians combine into one wider, cleaner Gaussian — this is what removes the "noise of the noise" that a single pass leaves behind.
⚪ Trend Classification
The trend only flips to bullish when the baseline is rising and price closes above it, and only flips to bearish when the baseline is falling and price closes below it. Outside of those conditions the previous state is held, so the trend is sticky rather than flickering on ambiguous bars.
⚪ Visual Layer
The baseline is drawn as a stacked outer-glow / glow / core-line plot for a soft neon look, the raw first-pass line is kept visible but faint as a reference, the space between baseline and price is filled as a trend cloud, and candles are recoloured to match the active trend.
█ How to Use
⚪ Reading the Cloud
Cloud colour and fill direction show the current bias and how far price has stretched from the smoothed baseline.
⚪ Flip Labels
"Long" and "Short" labels mark the exact bar where trend state changed — useful as an entry trigger or as confirmation of a bias shift.
⚪ Tuning Kernel Length
Shorter length reacts faster and produces more flips; longer length is smoother but lags further behind price. Lower timeframes generally want shorter settings.
⚪ Tuning Blur Width
Controls how sharply the Gaussian weighting falls off relative to Kernel Length. Lower values keep more first-pass detail; higher values flatten the weighting curve for extra smoothness.
⚪ Alerts
Two built-in alert conditions — Bullish Flip and Bearish Flip — let you get notified the moment the trend state changes without watching the chart.
█ Settings
Kernel Length (5–100, default 30) — number of bars used in the Gaussian window for both blur passes.
Blur Width (0.1–1.0, step 0.05, default 0.35) — Gaussian sigma as a fraction of Kernel Length.
Custom Color Palette — Classic, Mystic (default), Accented, or Royal preset schemes.
Use Custom Palette — overrides the preset with your own Up/Down colours.
█ Important
The double Gaussian pass trades reactivity for a cleaner slope — the baseline will lag raw price more than a single-pass filter of the same length. Reduce Kernel Length on faster markets or lower timeframes if that lag feels excessive. Trend state is confirmed on bar close and does not repaint historically, though the state of the currently forming bar can still change until it closes.
This script is provided for educational and informational purposes only and does not constitute financial advice. Past performance of any strategy, indicator, or trading approach does not guarantee future results. インジケーター

Intraday Master ProIntraday Master Pro is a high-precision trading script engineered to identify high-probability intraday opportunities by filtering momentum, volume, and multi-timeframe alignment into automated trade setups.
Key Features
Multi-Timeframe Trend Dashboard: Real-time alignment checks across the 1m, 5m, and 15m timeframes.
Dynamic Trend Flow Band: Visual volatility channels indicating overall market bias.
Precision Entry Signals: Volume-filtered entries based on EMA crossovers and RSI constraints.
Automated Risk Management: Dynamic Stop Loss (SL) and 3 Take Profit targets (TP1, TP2, TP3) anchored directly to active signal bars.
Setup Rating Score (1–100): Real-time setup scoring algorithm based on multi-timeframe concordance and volume strength.
How It Works
1. High-Precision Signals & Entry Conditions
The indicator issues BUY or SELL labels only when multiple conditions align:
Trend & Momentum: Fast and Slow EMA crossovers filtered by RSI.
Volume Confirmation: Spikes exceeding 1.25x the 20-period volume average.
Cooldown Guard: Built-in bar cooldown filters to prevent whipsaws during choppy consolidated markets.
2. Multi-Timeframe Dashboard & Setup Rating
Located on the right side of your chart, the dashboard updates live:
1m / 5m / 15m Trend Status: Green (BULL) or Red (BEAR) depending on price position relative to core moving averages.
Setup Rating (1 to 100): A live score grading the quality of the current setup.
80–100 (Green): High-confluence setup across all timeframes and volume.
60–79 (Orange): Moderate setup; proceed with standard risk.
Below 60 (Gray): Low confluence or weak trend.
3. Dynamic Stop Loss & Take Profit Levels
When a valid signal triggers, the indicator projects extended level lines onto your chart:
SL (Orange Line): Calculated dynamically using ATR based on recent market volatility.
TP1 (1.5x R:R): Partial profits / initial target.
TP2 (2.8x R:R): Main target.
TP3 (4.5x R:R): Extended runner target for strong trending days.
How to Use Intraday Master Pro
Wait for a Signal: Look for a clear BUY or SELL label on the chart.
Check Confluence: Glance at the Dashboard. Look for Setup Ratings of 80/100 or higher and alignment across 1m, 5m, and 15m timeframes for maximum statistical edge.
Set Orders: Place your Stop Loss at the SL line and split your position across TP1, TP2, and TP3.
Manage Risk: Once price reaches TP1, consider moving your Stop Loss to entry (Breakeven) to lock in a risk-free trade while riding the position to TP2 and TP3.
Settings & Configuration
Risk Management Inputs: Adjust Core Sensitivity or Volatility Factor to widen or tighten stop-loss distances based on the asset’s volatility.
Visuals: Toggle the Dashboard or Flow Band visibility on/off and customize accent colors to fit dark or light charts.
Disclaimer
The Intraday Master Pro indicator is designed strictly for educational and informational purposes and does not constitute financial, investment, or trading advice. Past performance is not indicative of future results. Trading equities, options, forex, and cryptocurrencies involves significant financial risk and can result in the loss of your capital. Always practice proper risk management and consult a licensed financial advisor before executing trades. インジケーター

Supertrend + Fibonacci OTE Grid & Bands [BigBeluga]🔵 OVERVIEW
The Supertrend + Fibonacci OTE Grid & Bands is an advanced technical analysis indicator designed by BigBeluga to combine trend-following Supertrend mechanics with dynamic Fibonacci retracement grids and volatility-based channel bands directly on the chart. Traditional Supertrend systems rely solely on stop lines, often missing optimal retracement zones (OTE) during trend pullbacks. To solve this limitation, this script integrates dual operating modes—anchored OTE grids that project Fibonacci levels across active trend swings, and continuous Fibonacci channel bands scaled by Average True Range (ATR).
The indicator visualizes trend direction, dynamic stop losses, shaded OTE zones, and proximity-highlighted grid levels. The core calculations track trend swings using customizable ATR lookbacks, compute proportional Fibonacci levels (0.0 to 1.0), and dynamically adjust line widths and colors when price approaches specific thresholds. Custom color palettes, bar/candle color toggles, and label configurations allow traders to fine-tune visual settings across various timeframes and asset classes.
🔵 HOW IT WORKS
The system operates through an integrated architecture where each component dynamically influences chart behavior:
1 — Supertrend Trend & Swing Engine
Stop Loss Line & Fills: Computes volatility-scaled Supertrend lines using ATR parameters, plotting colored stop-loss streams with gradient area fills.
Trend Extreme Tracking: Automatically tracks trend highs and lows upon trend direction flips to anchor structural Fibonacci calculations.
2 — Dual Fibonacci Modes (OTE Grid & Bands)
OTE Grid Mode: Projects an anchored Fibonacci retracement grid (0.0, 0.236, 0.382, 0.500, 0.618, 0.705, 0.786, 1.000) across the active trend swing, complete with a shaded Optimal Trade Entry (OTE) zone between the 0.618 and 0.786 levels.
Fibonacci Bands Mode: Plots continuous, ATR-scaled channel bands extending outward from the Supertrend line using proportional ratio offsets.
3 — Proximity Highlight & Styling Engine
Price Proximity Detection: Measures distance between price and individual grid levels using ATR multipliers to dynamically highlight active levels with distinct colors and thicker line widths.
Visual Customization: Supports bar and custom candle coloring by trend, adjustable line styles (Solid, Dotted, Dashed), and dynamic right-edge price labels.
🔵 HOW TO USE
Apart from serving as a comprehensive trend and retracement mapping tool, the indicator can be applied in several ways:
Follow Trend Momentum: Stay aligned with prevailing market direction by monitoring the Supertrend line color and trend-colored candles/bars.
Identify OTE Retracement Zones: In OTE Grid mode, monitor the shaded zone between the 0.618 and 0.786 Fibonacci levels for potential trend continuation entries during pullbacks.
Track Key Level Interactions: Watch for automatic color highlights and width changes on grid levels as price approaches critical Fibonacci thresholds.
🔵 SETTINGS
The indicator includes several customizable configuration groups to tailor calculations and visual styling to your trading style:
General Settings: Select between OTE Grid and Fibonacci Bands modes, toggle right-edge price/ratio labels, choose grid line styles (Solid, Dotted, Dashed), adjust grid highlight distance thresholds via ATR multipliers, and enable dimming for non-OTE levels.
Supertrend Parameters: Configure the ATR Period and Multiplier to adjust the sensitivity and distance of the core stop-loss line.
Fibonacci Bands Parameters: Define the ATR period and outer band multiplier specifically used when operating in Fibonacci Bands mode.
Main Styling & Colors: Set bullish and active price highlight colors, and toggle bar/candle coloring based on the active trend direction.
Fibonacci Level Settings: Enable or disable individual Fibonacci ratios (0.000, 0.236, 0.382, 0.500, 0.618, 0.705, 0.786, 1.000) and customize their individual display colors.
🔵 NOTES
Why this implementation is unique:
It merges classic Supertrend stop mechanics with both anchored OTE grids and continuous Fibonacci channel bands.
Features dynamic price proximity highlighting and custom linefill engines optimized for Pine Script version 6.
Provides extensive modular inputs for styling, level visibility, and operational mode switching.
インジケーター

Yetty FVG ProYETTY FVG PRO
Yetty FVG Pro is a clean fair value gap and inversion fair value gap indicator designed to display the most recent imbalance zones without filling the chart with old or irrelevant boxes.
The indicator identifies confirmed three-candle fair value gaps on the chart’s current timeframe and monitors those zones for a potential inversion. Traders can independently control how many FVG and IFVG zones remain visible.
The default display shows:
• One recent active FVG
• Three recent IFVG zones
• Bullish FVGs in green
• Bearish FVGs in red
• Bullish IFVGs in aqua
• Bearish IFVGs in fuchsia
WHAT IS A FAIR VALUE GAP?
A fair value gap, or FVG, is a three-candle price imbalance created when the first and third candles do not overlap completely.
This can occur when price moves rapidly through an area without balanced two-sided trading.
The untraded area between the first and third candles becomes the fair value gap.
These zones may later act as areas of interest when price returns.
BULLISH FAIR VALUE GAP
A bullish FVG forms when:
1. Price moves sharply upward.
2. The low of the third candle is above the high of the first candle.
3. A visible gap remains between those two prices.
4. The completed zone meets the selected minimum-size requirement.
Bullish FVGs are displayed in green by default.
A bullish FVG can represent an area where price moved upward with strong displacement. Traders may monitor the zone for a reaction, support, continuation or failure.
BEARISH FAIR VALUE GAP
A bearish FVG forms when:
1. Price moves sharply downward.
2. The high of the third candle is below the low of the first candle.
3. A visible gap remains between those two prices.
4. The completed zone meets the selected minimum-size requirement.
Bearish FVGs are displayed in red by default.
A bearish FVG can represent an area where price moved downward with strong displacement. Traders may monitor the zone for a reaction, resistance, continuation or failure.
WHAT IS AN INVERSION FAIR VALUE GAP?
An inversion fair value gap, or IFVG, forms when price completely invalidates an existing FVG by closing through the opposite side of the entire zone.
Instead of deleting that failed FVG, Yetty FVG Pro converts it into an IFVG.
This allows traders to see where a previous imbalance failed and may have changed its directional role.
BULLISH IFVG
A bullish IFVG begins as a bearish FVG.
It becomes a bullish IFVG when a confirmed candle closes above the top of the entire bearish FVG zone.
The original bearish zone is then converted into an aqua bullish IFVG.
This indicates that price has broken completely through a previous bearish imbalance. Traders may watch the converted zone for potential support if price returns.
BEARISH IFVG
A bearish IFVG begins as a bullish FVG.
It becomes a bearish IFVG when a confirmed candle closes below the bottom of the entire bullish FVG zone.
The original bullish zone is then converted into a fuchsia bearish IFVG.
This indicates that price has broken completely through a previous bullish imbalance. Traders may watch the converted zone for potential resistance if price returns.
HOW TO USE IT
Yetty FVG Pro is designed to provide areas of interest rather than automatic trade-entry signals.
Start by identifying the broader direction and structure of the market.
In an upward-trending market, traders may give more attention to bullish FVGs and bullish IFVGs below or near current price.
In a downward-trending market, traders may give more attention to bearish FVGs and bearish IFVGs above or near current price.
When price returns to a displayed zone, observe how it reacts.
Possible reactions may include:
• Immediate rejection from the zone
• Partial entry followed by continuation
• Full traversal of the zone
• Consolidation inside the zone
• A complete close through the zone
• Conversion from an FVG into an IFVG
A zone should not automatically be treated as an entry. Evaluate the reaction alongside market structure, trend, liquidity, volume and risk.
POSSIBLE BULLISH WORKFLOW
1. Establish that the larger market context is bullish.
2. Identify a recent bullish FVG or bullish IFVG.
3. Wait for price to return to the zone.
4. Look for buyers to defend the area.
5. Wait for bullish confirmation.
6. Establish an entry, stop and target using your own trading plan.
Bullish confirmation might include:
• A rejection wick
• A bullish engulfing candle
• A liquidity sweep beneath the zone
• A short-term bullish structure break
• Increased buying volume
• Reclaiming VWAP or an important EMA
POSSIBLE BEARISH WORKFLOW
1. Establish that the larger market context is bearish.
2. Identify a recent bearish FVG or bearish IFVG.
3. Wait for price to return to the zone.
4. Look for sellers to defend the area.
5. Wait for bearish confirmation.
6. Establish an entry, stop and target using your own trading plan.
Bearish confirmation might include:
• A rejection wick
• A bearish engulfing candle
• A liquidity sweep above the zone
• A short-term bearish structure break
• Increased selling volume
• Rejection from VWAP or an important EMA
USING FVGs WITH IFVGs
An active FVG shows an imbalance that has not yet closed completely through its opposite boundary.
An IFVG shows that the original FVG failed and inverted.
This distinction can help traders separate an active imbalance from a zone where price has already demonstrated a directional change.
For example:
A bullish FVG may initially act as support.
If price later closes below the entire bullish FVG, the zone becomes a bearish IFVG.
If price returns to that converted zone from below, traders may monitor it as potential resistance.
The reverse logic applies when a bearish FVG becomes a bullish IFVG.
USING YETTY FVG PRO WITH OTHER TOOLS
FVG and IFVG zones can become more meaningful when they align with other areas of interest, including:
• Yetty ORB Pro boundaries
• Yetty Liquidity Sweep Pro levels
• Previous session highs or lows
• Higher-timeframe support and resistance
• VWAP
• The 9, 21 or 200 EMA
• Opening-range breakouts
• Swing highs and swing lows
• Supply and demand zones
• Strong displacement candles
Confluence does not guarantee that a zone will hold, but it can provide additional context for evaluating a reaction.
CHART TIMEFRAME
Yetty FVG Pro uses the chart’s current timeframe only.
If the indicator is applied to a one-minute chart, it identifies one-minute FVGs and IFVGs.
If it is applied to a five-minute chart, it identifies five-minute FVGs and IFVGs.
If it is applied to a 15-minute chart, it identifies 15-minute FVGs and IFVGs.
Changing the chart timeframe causes the indicator to calculate zones from the candles on the newly selected timeframe.
Lower timeframes will generally create more zones.
Higher timeframes will generally create fewer but broader zones.
DISPLAY SETTINGS
Show FVGs
Turns the active FVG boxes on or off.
Show IFVGs
Turns inversion fair value gap boxes on or off.
Number of FVG Zones to Show
Controls how many recent active FVG zones remain visible.
The available range is one through five.
The default is one FVG.
Number of IFVG Zones to Show
Controls how many recent inversion zones remain visible.
The available range is one through five.
The default is three IFVGs.
FVG and IFVG counts are controlled separately. For example, a trader can display one FVG while keeping three IFVGs visible.
Show Box Labels
Displays the directional classification inside each zone:
• BULL FVG
• BEAR FVG
• BULL IFVG
• BEAR IFVG
Extend Boxes Past Pattern
Controls how many additional candles each box extends beyond the completed three-candle pattern.
The default extension is five bars.
Box Fill Transparency
Controls the transparency of all displayed zones.
A higher number creates a more transparent box.
The default transparency is 85.
MINIMUM FVG SIZE
The Minimum FVG Size setting controls the smallest imbalance that can qualify as an FVG.
This value is measured in ticks and automatically uses the instrument’s minimum tick size.
Increasing the minimum size filters out smaller gaps and reduces the number of displayed zones.
Decreasing it makes the indicator more sensitive and allows smaller gaps to qualify.
The default minimum is one tick.
COLORS
The default colors are:
• Bullish FVG: lime green
• Bearish FVG: red
• Bullish IFVG: aqua
• Bearish IFVG: fuchsia
Every color can be customized from the indicator settings.
ALERTS
Yetty FVG Pro includes alert conditions for:
• New bullish FVG
• New bearish FVG
• New bullish IFVG
• New bearish IFVG
To create an alert:
1. Add Yetty FVG Pro to the chart.
2. Open TradingView’s alert menu.
3. Select Yetty FVG Pro under Conditions.
4. Choose the desired FVG or IFVG event.
5. Configure the notification method and expiration.
6. Create the alert.
Alerts are triggered from confirmed candle conditions.
IMPORTANT NOTES
Yetty FVG Pro displays price imbalances and inversion zones. It does not automatically place trades or determine entries, stop-losses, profit targets or position sizes.
A fair value gap is not guaranteed to be filled.
A zone is not guaranteed to produce a reversal or continuation.
Price can partially enter a zone, trade completely through it or move away without returning.
An IFVG appears only after a candle closes completely through the opposite side of an existing FVG. A wick through the zone without the required close does not create an inversion.
Because the indicator limits how many zones remain visible, an older box may be removed when a newer qualifying zone forms. Removing the box from the chart does not mean the historical price area has ceased to exist; it means the selected display limit has been reached.
The indicator evaluates patterns using completed candles.
For the clearest price information, use standard candlestick charts. Non-standard chart types such as Heikin Ashi, Renko, Kagi, Line Break, Point & Figure or Range charts may calculate prices differently and can produce misleading zones.
No indicator can predict future market movement or eliminate trading risk. Yetty FVG Pro should be used as an informational charting tool within a complete trading and risk-management plan.
Suggested starting point: NQ or MNQ on a five-minute standard candlestick chart using the default display of one FVG and three IFVGs.
インジケーター

Elsea Heat Band & MAsElsea Heat Band & MAs is a moving-average utility: it draws the medium-term band (also known as the Bull Market Support Band / Bear Market Resistance Band, credit: Benjamin Cowen) alongside a set of conventional daily and weekly moving averages, on a single overlay with independent toggles for each group.
There is nothing novel in the calculations here. Every line is a standard SMA or EMA at a conventional length, and the cross detection is the standard 50/200 golden and death cross. The script exists to put a specific combination on one chart with consistent colouring, per-group toggles and end-of-series labels, rather than to introduce a new method. It is open-source for that reason.
WHAT IT DRAWS
Heat Band — a 140-day SMA and a 147-day EMA (roughly twenty and twenty-one weeks of trading days) with a shaded fill between them. Using both an SMA and an EMA at slightly offset lengths gives a band rather than a line, blending flat-window and recency weighting.
Daily MAs — 50-day and 200-day SMAs, with star and skull markers where the 50 crosses the 200 in either direction.
Weekly MAs — 50, 100, 200 and 300-week SMAs, computed as 350, 700, 1400 and 2100 daily bars, coloured on a single blue ramp so the ordering is readable at a glance.
Labels — at the right edge of the series, each visible average is labelled with its length.
HOW TO USE IT
Each of the three groups toggles independently, so the script can serve as a Heat Band overlay alone, a conventional MA set alone, or all of it together.
The band is medium-term structure: price above it has been above its twenty-week baseline, price below it has not. The weekly averages are long-horizon reference levels, most useful on instruments with many years of history. The 50/200 cross is included because it is widely watched, not because it is predictive — it is a lagging construction by definition, and the markers are there to locate the event on the chart rather than to endorse it.
LIMITATIONS
All averages are computed from daily closes regardless of chart timeframe, so they are stepped on intraday charts and update once per day.
Weekly averages are approximated as multiples of seven daily bars, not calendar weeks. On instruments that do not trade seven days a week the effective calendar period is longer than the label suggests. This is intended for consistency with the daily series, but the labels are approximate.
The longest average needs roughly 2100 daily bars before it produces a value. On instruments with less history it will not plot.
Moving averages lag by construction, and the longer ones lag substantially. Nothing here identifies a turn as it happens.
The 50/200 cross is a widely known lagging signal with no edge implied by its inclusion.
This is an analysis tool. It does not predict direction and produces no buy or sell recommendations.
インジケーター

Percent Line/Box Toolkit
Percent Line/Box Toolkit is an overlay tool that draws horizontal lines and rectangles at percentage distances from the current price.
It is built for anyone who reads a chart in percentage terms rather than in absolute prices: eight percent above the market means the same thing on any symbol and at any price level, while a fixed price distance has to be worked out again whenever the price moves or the instrument changes.
Every drawing is anchored to the latest close, and its vertical position is expressed as a percentage of that close, so the whole set travels with the market instead of standing still.
The horizontal geometry of each drawing is measured in bars of a reference timeframe chosen separately for that drawing, rather than in bars of the chart.
Six lines and four rectangles are available, each one positioned, sized, labeled and colored independently of the others.
Line (present six times, Line 1 to Line 6, each instance identically structured)
Switch, label text, label size: The switch turns the line on or off, the text field holds the label, and the dropdown sets the size it is drawn in. An empty text field means no label.
Level (%): Vertical position of the line, as a percentage of the current close.
Offset (Bars): Horizontal position, measured in bars. Positive values move the line to the left, negative values to the right.
Length (Bars): Width of the line, measured in bars.
Reference Timeframe: Offset and length are counted in bars of this timeframe. If it is left empty, the chart's own timeframe is used.
Style, width, color: The line style (solid, dotted or dashed), the thickness of the line, and its color.
Box (present four times, Box 1 to Box 4, each instance identically structured)
Switch, label text, label size: The switch turns the box on or off, the text field holds the label, and the dropdown sets the size it is drawn in. An empty text field means no label.
Upper (%): One edge of the box, as a percentage of the current close.
Lower (%): The other edge, also as a percentage of the current close. The two fields can be filled in either order.
Offset (Bars): Horizontal position, measured in bars. Positive values move the box to the left, negative values to the right.
Length (Bars): Width of the box, measured in bars.
Reference Timeframe: Offset and length are counted in bars of this timeframe. If it is left empty, the chart's own timeframe is used.
Border width, border color, fill color: The thickness of the outline, its color, and the color of the area inside. A border width of zero leaves the box without an outline.
Every enabled line is drawn as a horizontal segment at its percentage level, and every enabled box as a rectangle spanning its two levels.
Everything is rebuilt from the current close on each new bar, so the drawings follow the price instead of staying where they were put.
Nothing remains on past bars: there is no history to scroll back through, only the state the chart is in right now.
The two edges of a box are sorted before it is drawn, so the higher value always becomes the top edge and the order in which they are entered makes no difference.
Offset shifts a drawing along the time axis: positive values move it left into the existing bars, negative values right into the empty space beyond the last bar.
Because offset and length count bars of the reference timeframe rather than bars of the chart, a drawing holds its size when the chart timeframe is changed; a line 50 bars wide on a 4-hour reference stays that wide whether the chart shows 5-minute or daily bars.
On instruments that do not trade continuously the time axis runs through the closed periods as well, so a drawing covers its length in calendar terms rather than in visible bars and appears shorter than the bar count suggests.
Any drawing can carry a label at its right-hand end, drawn in the color of the line or of the box border; it appears as soon as its text field is filled and disappears when the field is cleared, without affecting the drawing itself.
This indicator is intended solely for market analysis and does not constitute investment advice or a guarantee of success.
Use it at your own discretion and risk; past results are not indicative of future performance.
インジケーター

CHoCH Fib Setup [Almaghamsi]CHoCH Fib Setup is an educational overlay indicator that combines Change of Character (CHoCH) detection with Fibonacci retracement and extension levels.
The script is designed to help traders study one structured workflow on a single chart:
Identify a CHoCH on the current timeframe.
Draw Fibonacci levels on the impulse that produced that CHoCH.
Highlight a 0.5-0.618 pullback zone as a study area for potential entries.
Project extension targets at 1.272, 1.414, 2, 1.618 and 2.618.
Optionally filter setups with a higher-timeframe structure bias.
This is not a buy/sell signal service and it does not place trades. It is a visual study tool.
What the script does
The script uses pivot highs and lows to track the latest swing points. A bullish CHoCH is marked when price breaks above the last relevant swing high after a non-bullish bias. A bearish CHoCH is marked when price breaks below the last relevant swing low after a non-bearish bias. Users can require a close beyond the level or allow a wick break.
After a valid CHoCH, the script anchors a Fibonacci range to that impulse:
Retracement levels: 0, 0.236, 0.382, 0.5, 0.618, 0.786, 1.0
Entry study zone: 0.5 to 0.618
Stop-loss line at the opposite extreme of the impulse
Extension targets: 1.272, 1.414, 1.618 ,2 and 2.618
Each level is printed with its ratio and the actual price.
An optional higher-timeframe module reads the same structure logic on a user-selected timeframe. When enabled, long Fibonacci setups are drawn only if HTF bias is bullish, and short setups only if HTF bias is bearish. Counter-trend CHoCH events can still appear as faded labels ending with "x".
The settings panel is bilingual (English / Arabic), with English first. On-chart labels default to English and can be switched to Arabic.
Why this combination exists
CHoCH, Fibonacci retracements, Fibonacci extensions, and multi-timeframe bias are established public concepts. This script does not invent those concepts. Its purpose is to keep them in one readable workflow so the user does not have to draw the Fib range manually after every CHoCH.
The script is original as a packaged study layout: aligned CHoCH-to-Fib mapping, optional HTF gating, price labels on targets, and a bilingual interface. It does not claim to reverse-engineer any closed-source vendor tool.
How to use
Add the indicator to a standard candlestick chart.
Choose a working timeframe. Example: 15 minutes for entries.
Enable the HTF filter if desired and set a larger interval. Example: 60 on a 15-minute chart.
Wait for a CHoCH in the direction of the HTF bias.
Use the 0.5-0.618 box only as a pullback study zone, not as an automatic order.
Treat the red line as a structural invalidation reference, not a broker order.
Treat 1.272 / 1.414 / 1.618 /2 /2.618 as measured extension references only.
Confirm context with your own analysis and risk limits.
Limitations
Pivot length changes the CHoCH results. This is a simplified swing-break model and not a full Smart Money Concepts suite. It does not plot order blocks, FVGs, or liquidity pools. HTF bias can change until the higher-timeframe bar closes. The script keeps the latest aligned Fibonacci setup, not unlimited history. Pivot confirmation needs right-side bars, which is normal for pivot logic. There is no win rate because this is an indicator, not a strategy().
Disclaimer
This script is provided for education and chart study only. It is not investment advice, financial advice, trading advice, or a recommendation to buy or sell any instrument. Markets involve a high risk of loss. Past behavior around CHoCH or Fibonacci levels does not predict future results. Users are responsible for their own decisions, position sizing, and local regulations.
Open-source note
This publication is open-source so users can inspect the logic. If you reuse parts of the code in a public script, credit this publication and add a meaningful improvement before publishing.
مؤشر CHoCH Fib Setup أداة تعليمية على الشارت تجمع بين اكتشاف تغيير صفة الحركة (CHoCH) ومستويات فيبوناتشي للتصحيح والامتداد.
الهدف هو دراسة مسار واحد على نفس الشارت:
تحديد CHoCH على الفريم الحالي.
رسم فيبوناتشي على موجة الاندفاع التي صنعته.
تظليل منطقة 0.5 إلى 0.618 كمنطقة دراسة للدخول المحتمل.
إسقاط أهداف 1.272 و 1.414 و 1.618 و 2 و2.618.
إمكانية فلترة السيتب باتجاه الفريم الأعلى.
هذه ليست خدمة توصيات ولا تفتح صفقات تلقائيًا. هي أداة بصرية للدراسة.
ماذا يفعل المؤشر
يستخدم قممًا وقيعانًا محورية لتتبع آخر نقاط التأرجح. يُعلَّم CHoCH الصاعد عند كسر آخر قمة محورية بعد انحياز غير صاعد، والهابط عند كسر آخر قاع محوري بعد انحياز غير هابط. يمكن اشتراط الإغلاق أو السماح بكسر الظل.
بعد CHoCH صالح يُثبَّت فيبوناتشي على الموجة، مع منطقة 0.5-0.618 وخط إبطال عند طرف الموجة وأهداف امتداد 1.272 و 1.414 و 1.618 و 2 و 2.618، وكل مستوى يظهر مع سعره.
فلتر الفريم الأعلى اختياري. عند تفعيله يُرسم سيتر الشراء فقط إذا كان الفريم الأعلى صاعدًا، وسيتر البيع فقط إذا كان هابطًا. أحداث CHoCH المخالفة يمكن أن تظهر باهتة وتنتهي بـ x.
لوحة الإعدادات ثنائية اللغة والإنجليزية أولًا. نصوص الشارت افتراضيًا بالإنجليزية ويمكن تحويلها للعربية.
لماذا هذا التجميع
المفاهيم عامة ومعروفة. المؤشر لا يدّعي اختراعها. الغرض جمعها في مسار واحد حتى لا يُرسم الفيبو يدويًا بعد كل CHoCH. الأصالة في التغليف: ربط CHoCH بالفيبو، فلتر الفريم الأعلى، السعر على الأهداف، وواجهة ثنائية اللغة.
طريقة الاستخدام
أضف المؤشر على شارت شموع قياسي، اختر فريم العمل، فعّل الفلتر إن أردت، وانتظر CHoCH مع اتجاه الفريم الأعلى. صندوق 0.5-0.618 منطقة دراسة فقط، والخط الأحمر مرجع إبطال، والأهداف مراجع قياس. أكّد دائمًا بتحليلك وحدود المخاطرة.
القيود
النتيجة تتغير مع طول المحور. النموذج مبسّط ولا يرسم كتل أوامر ولا فجوات قيمة عادلة. انحياز الفريم الأعلى قد يتغير قبل إغلاق شمعة ذلك الفريم. لا توجد نسبة نجاح لأن هذا مؤشر وليس استراتيجية.
إخلاء المسؤولية
هذا المؤشر للتعليم ودراسة الشارت فقط، وليس استشارة استثمارية ولا توصية بشراء أو بيع أي أداة. التداول ينطوي على مخاطر خسارة مرتفعة، والسلوك السابق لا يتنبأ بالنتائج المستقبلية. المستخدم مسؤول عن قراراته وحجم المخاطرة والأنظمة المحلية.
ملاحظة المصدر المفتوح
نُشر السكربت مفتوح المصدر لمراجعة المنطق. إذا أعدت استخدام أجزاء منه في منشور عام، اذكر هذا المنشور وأضف تحسينًا حقيقيًا قبل النشر. インジケーター

Universal Aggressive Trend MACD v3.3 - Trailing TPThis strategy is an automated trend-following system designed to catch strong price movements while filtering out choppy, sideways markets. Think of it as a sniper that waits for momentum to shift in the direction of the overall trend, enters the trade, and then uses a smart profit-locking mechanism to squeeze as much gain as possible out of the move.
The system relies on a few core mechanics to operate:
Finding the Main Trend: It looks at a long-term moving average (EMA 99) to determine whether the market is generally moving upward or downward. It also checks the slope of this average to confirm the trend has real momentum.
Momentum Triggers (MACD): Instead of just reacting instantly to a MACD crossover, the strategy "arms" the signal. If the MACD lines cross, the system remembers that shift and allows you to enter a trade over the next several candles if other conditions align. It also looks for "continuation" breakouts—jumping into an existing trend when the price breaks past recent highs or lows.
Safety Filters: It refuses to trade in boring or low-volume markets. It uses an ADX (Average Directional Index) filter to ensure the market is actually trending rather than chopping back and forth, and a volume filter to make sure enough money is moving through the asset.
Smart Profit-Taking (Trailing TP): Once a trade is in profit, the strategy tracks the absolute highest peak profit achieved on candle closes. If the price starts pulling back from that peak by a set percentage, it automatically closes the trade to lock in your gains.
Emergency Stop-Loss: If the market violently reverses against you before a profit can be built up, an ATR (Average True Range) stop-loss acts as a safety net to cap your maximum loss.
Live Monitoring: It features a built-in on-screen dashboard that displays your current profit, peak profit, win rate, and whether market filters are currently green (good to trade) or red (stay out). ストラテジー

EMA + RSI + VWAP Targets🚀 EMA + RSI + VWAP Trading Indicator | Smart Buy & Sell Signals
Trade with confirmation, not guesswork. 📊
This indicator combines EMA trend direction, RSI momentum, and VWAP price positioning into one clean trading system designed to help identify potential BUY and SELL opportunities.
🔥 Key Features:
🟢 BUY & 🔴 SELL signals
📈 EMA trend filter
⚡ RSI momentum confirmation
🎯 VWAP market positioning
🎯 Automatic Target 1, Target 2 & Target 3
🛑 Configurable Stop Loss
🔔 BUY/SELL alerts
👀 Clean and easy-to-read chart
⚙️ Customizable settings for different markets and timeframes
💡 How it works:
BUY signals look for bullish conditions when price is above the EMA and VWAP with RSI confirmation.
SELL signals look for bearish conditions when price is below the EMA and VWAP with RSI confirmation.
🎯 Multiple targets help you plan potential trade exits, while the configurable Stop Loss helps define risk.
Perfect for traders looking for a simple, confirmation-based approach across crypto, forex, stocks, and other markets.
⚠️ Disclaimer: This indicator is an analytical tool, not financial advice. No indicator can guarantee profits. Always use proper risk management and test the settings on your market and timeframe before trading live.
⭐ Like, follow, and share if you find this indicator useful! インジケーター

24-hour Volumeoppock Curve Multi-Filter is a trend and momentum-based indicator designed to identify potential high-probability Long and Short opportunities. It combines the Coppock Curve with multiple confirmation filters to determine market bias and provides visual Entry, Stop Loss, TP1, TP2 and TP3 levels.
Use the indicator alongside market structure, support/resistance and price action for confirmation. It is designed as a decision-support and risk-management tool, not a guaranteed signal generator. Always apply proper risk management.
If you want, I can also write you a much more professional TradingView publication description with sections like “How It Works,” “Buy Conditions,” “Sell Conditions,” “Risk Management,” and “Settings,” tailored specifically to your script.
インジケーター

Adaptive ATR% Extension ScannerIdentifying when a stock is historically overextended and due for a mean-reverting pullback is a critical component of risk management and scaling out of swing trades. The Adaptive ATR% Extension Scanner provides an objective, mathematical way to measure these extensions based entirely on a stock's unique historical volatility profile.
Rather than relying on static guesses for when a stock is "too far" from its moving average, this tool actively reads the chart's history to tell you exactly when current price action has reached an statistical extreme.
Key Features:
Dynamic Percentile Lookback: The indicator automatically scans the last 20 swing highs (pullbacks) for the specific ticker you are viewing. It calculates the exact ATR% multiple at each peak to establish a unique historical baseline for what constitutes an "extended" move.
Dual-Tier Signals: The script calculates the 75th percentile (Warning) and 90th percentile (Extreme) of past pullbacks. It plots highly customizable signals directly on your chart when the current price breaches these historically significant thresholds.
Multi-MA Variance Scanner: Not every stock respects the same baseline. The built-in dashboard tracks the 10 EMA, 20 EMA, 50 SMA, and 200 SMA simultaneously. It calculates the historical variance for each to determine which moving average produces the most tightly clustered, predictable extensions.
Auto-Best Fit: The script can automatically select the moving average with the lowest historical variance to drive your chart visuals and trigger your signals, completely removing the guesswork.
Customizable Price Bands: Toggle upper price bands on or off to project exactly what dollar amount the stock needs to hit to reach an overextended state, allowing you to easily set advance limit orders.
How to Use:
Leave the MA setting on "Auto (Best Fit)" to let the script find the most predictable baseline for the current ticker. Watch for the warning dots (yellow by default) as a signal to scale out partial positions, and extreme dots (red by default) as a signal to tighten trailing stops aggressively. Full customization options allow you to change dot colors, emojis/characters, opacity, and dashboard visuals to fit your exact charting style. インジケーター

インジケーター

52 Week High/Low Offset ScreenerTitle:
52 Week High/Low Offset Screener
Visibility: Open (recommended) or Protected
Category: Indicator (not overlay)
Companion script: 52 Week High/Low (Current & Offset)
→ After the indicator is published, paste its script URL here in the description
(English NOTES / German HINWEISE).
----- Description (paste below; English first) -----
█ OVERVIEW
This is a Pine Screener companion to “52 Week High/Low (Current & Offset)”.
It scans a watchlist for where price sits relative to a lagged 52-week high/low (default offset: 52 weeks). You can constrain those distances in the script settings and/or with column filters in the Pine Screener.
Same calculation as the chart indicator. This script does not overlay on price; it outputs columns and a Hit flag.
This is a scan helper, not a buy or sell signal.
█ HOW TO RUN THE SCAN
1. Add this script to your Favorites (star). It will not appear in Pine Screener otherwise.
2. Open Products → Screeners → Pine (or tradingview.com/pine-screener/).
3. Choose a watchlist (keep it under 1,000 symbols).
4. Select “52 Week High/Low Offset Screener”.
5. Set the timeframe (daily is typical) and optional distance filters in the script settings.
6. Click Scan.
7. To apply the built-in distance filters, add a column filter: Hit = 1.
Only one Pine script can be used per scan.
█ COLUMNS
• Hit — 1 if all enabled script filters match, otherwise 0
• Distance % nearer offset — distance to the closer of the two offset levels
• Nearer to (1=High, −1=Low)
• Distance % offset high / offset low
• Offset high / Offset low — lagged 52-week levels
• Current 52W high / Current 52W low
• Close
Distance formula:
(close − offset level) / close × 100
Positive = price above that level, negative = below.
█ DISTANCE FILTERS (SCRIPT SETTINGS)
Disabled filters are ignored. All enabled filters must pass for Hit = 1.
• Side: All / only nearer to offset high / only nearer to offset low
• Constrain nearer distance (from % / to %)
• Constrain distance to offset high
• Constrain distance to offset low (DCA-style example: −15 to +8)
• Only below offset low
• Only above offset high
You can also filter on the columns themselves. Numeric filters are literal:
• Distance % offset low < 1 includes +0.08 (slightly above the low) and −16 (below the low)
• Below the offset low only: Distance % offset low < 0
• At least 1% below the low: Distance % offset low < −1
• Within 1% of the low: between −1 and 1
█ ALERT
Alert condition “52W Offset Hit” fires when a symbol matches the script’s distance filters.
█ NOTES
• Uses 52 weekly bars and a weekly offset; the current 52-week high/low includes the developing week.
• Chart companion: “52 Week High/Low (Current & Offset)”.
(Add the published indicator URL here after step 1 of the publishing sequence.)
This script does not generate trading signals and is not investment advice.
--------------------------------------------------------------------------------
DEUTSCH
█ ÜBERBLICK
Das ist der Pine-Screener zum Indikator „52 Week High/Low (Current & Offset)“.
Er scannt eine Watchlist danach, wo der Kurs relativ zu einem zeitversetzten 52-Wochen-Hoch/-Tief steht (Standard-Offset: 52 Wochen). Diese Abstände kannst du in den Skript-Einstellungen und/oder über Spaltenfilter im Pine Screener eingrenzen.
Dieselbe Berechnung wie der Chart-Indikator. Dieses Skript liegt nicht über dem Kurs; es liefert Spalten und ein Hit-Flag.
Das ist eine Scan-Hilfe, kein Kauf- oder Verkaufssignal.
█ SCAN AUSFÜHREN
1. Dieses Skript zu den Favoriten hinzufügen (Stern). Sonst erscheint es nicht im Pine Screener.
2. Products → Screeners → Pine öffnen (oder tradingview.com/pine-screener/).
3. Eine Watchlist wählen (unter 1.000 Symbole halten).
4. „52 Week High/Low Offset Screener“ auswählen.
5. Timeframe setzen (typisch Tageschart) und optional die Abstandsfilter in den Skript-Einstellungen.
6. Scan klicken.
7. Um die eingebauten Abstandsfilter anzuwenden, Spaltenfilter setzen: Hit = 1.
Pro Scan kann nur ein Pine-Skript verwendet werden.
█ SPALTEN
• Hit — 1, wenn alle aktivierten Skript-Filter zutreffen, sonst 0
• Distance % nearer offset — Abstand zum näheren der beiden Offset-Niveaus
• Nearer to (1=High, −1=Low)
• Distance % offset high / offset low
• Offset high / Offset low — zeitversetzte 52-Wochen-Niveaus
• Current 52W high / Current 52W low
• Close
Abstandsformel:
(Schlusskurs − Offset-Niveau) / Schlusskurs × 100
Positiv = Kurs über diesem Niveau, negativ = darunter.
█ ABSTANDSFILTER (SKRIPT-EINSTELLUNGEN)
Deaktivierte Filter werden ignoriert. Alle aktivierten Filter müssen für Hit = 1 gleichzeitig erfüllt sein.
• Side: All / only nearer to offset high / only nearer to offset low
• Constrain nearer distance (from % / to %)
• Constrain distance to offset high
• Constrain distance to offset low (DCA-Beispiel: −15 bis +8)
• Only below offset low
• Only above offset high
Du kannst auch direkt über die Spalten filtern. Numerische Filter gelten wörtlich:
• Distance % offset low < 1 enthält +0,08 (knapp über dem Tief) und −16 (unter dem Tief)
• Nur unter dem Offset-Tief: Distance % offset low < 0
• Mindestens 1 % unter dem Tief: Distance % offset low < −1
• Höchstens 1 % vom Tief entfernt: zwischen −1 und 1
█ ALERT
Die Alert-Bedingung „52W Offset Hit“ löst aus, wenn ein Symbol die Abstandsfilter des Skripts erfüllt.
█ HINWEISE
• Nutzt 52 Wochenkerzen und einen Wochen-Offset; das aktuelle 52-Wochen-Hoch/-Tief bezieht die laufende Woche ein.
• Chart-Begleiter: „52 Week High/Low (Current & Offset)“.
(Nach der Indikator-Veröffentlichung hier die Skript-URL einfügen.)
Dieses Skript erzeugt keine Handelssignale und ist keine Anlageberatung.
インジケーター

52 Week High/Low (Current & Offset)Title:
52 Week High/Low (Current & Offset)
Visibility: Open (recommended) or Protected
Category: Overlay / indicator
Companion script: 52 Week High/Low Offset Screener
----- Description (paste below; English first) -----
█ OVERVIEW
This indicator plots two 52-week ranges at once:
• Current 52-week high/low, including today’s price, as two horizontal lines.
• Historical 52-week high/low, lagged by a user-defined number of weeks, as a full history.
The current range always moves with price. After a sharp rally or sell-off that can make the live 52-week band less useful for context (for example dollar-cost averaging). The offset range shows where the 52-week high and low stood N weeks ago, before the latest move fully rewrote those extremes.
A distance label shows how far the close is from the nearer offset level, in percent of the current price. Positive = price is above that level, negative = below.
This is a positioning tool, not a buy or sell signal.
█ HOW IT WORKS
Current 52-week high/low
Calculated on the weekly timeframe over 52 weeks and combined with the developing week’s high/low on the chart timeframe, so today’s price is included.
Historical 52-week high/low (offset)
The same 52-week calculation, shifted by N weekly bars (default: 52). The offset is applied on the weekly timeframe, not in chart bars, so “52 weeks” remains 52 weeks on a daily chart.
Distance %
(close − offset level) / close × 100
The label is attached to whichever offset level is closer in price:
• Orange = nearer the offset high
• Teal = nearer the offset low
If the current 52-week high and the offset high print as the same price, they are merged into one label: “52W High = Offset”. The same logic applies independently to the low.
█ HOW TO USE
1. Add the script to a chart (daily is a typical timeframe).
2. Set Historical offset (weeks). Default is 52 (about one year); 13 ≈ one quarter, 4 ≈ one month.
3. Read price against the white historical path, not only against the green/red current lines.
4. Use the distance label and the table (Current vs −Nw) for a quick readout.
Reading for DCA-style context (not advice):
• Near the offset low, slightly negative or slightly positive → closer to the older low.
• Near the offset high, small negative → still below the older high, relatively expensive vs that band.
• Near the offset high, positive → price has left the older high.
█ SETTINGS
52-week setup
• Basis for 52-week values: Highs/Lows (default) or Close
• Historical offset (weeks)
Current 52W High/Low
• Horizontal lines, colors, width, style (solid / dashed / dotted), price labels
Historical 52W High/Low (Offset)
• History on/off, colors, fill, fill color
• In the Style tab, historical lines default to dashed and can be switched to solid or dotted
Info panel
• Table on/off, position, distance label
█ NOTES AND LIMITS
• 52 weeks means 52 weekly bars, not exactly 365 calendar days.
• The current 52-week high/low updates with the developing week.
• The offset uses closed weekly values (no lookahead inside the forming week).
• Companion screener: “52 Week High/Low Offset Screener” (add to Favorites, then Products → Screeners → Pine).
This script does not generate trading signals and is not investment advice.
--------------------------------------------------------------------------------
DEUTSCH
█ ÜBERBLICK
Der Indikator zeigt zwei 52-Wochen-Spannen gleichzeitig:
• Das aktuelle 52-Wochen-Hoch/-Tief inklusive heutigem Kurs, als zwei horizontale Linien.
• Das historische 52-Wochen-Hoch/-Tief, um eine wählbare Anzahl Wochen versetzt, als vollständigen Verlauf.
Die aktuelle Range wandert immer mit dem Kurs. Nach einer starken Rally oder einem Ausverkauf ist das live 52-Wochen-Band für den Kontext oft weniger nützlich (zum Beispiel beim Averagen / DCA). Die Offset-Range zeigt, wo Hoch und Tief vor N Wochen standen, bevor die jüngste Bewegung diese Extreme überschrieben hat.
Das Abstands-Label zeigt, wie weit der Schlusskurs vom näheren Offset-Niveau entfernt ist (in % vom aktuellen Kurs). Positiv = Kurs liegt darüber, negativ = darunter.
Das ist eine Lagehilfe, kein Kauf- oder Verkaufssignal.
█ BERECHNUNG
Aktuelles 52-Wochen-Hoch/-Tief
Berechnung auf dem Wochen-Timeframe über 52 Wochen, kombiniert mit dem laufenden Wochenhoch/-tief auf dem Chart-Timeframe, damit der heutige Kurs einbezogen wird.
Historisches 52-Wochen-Hoch/-Tief (Offset)
Dieselbe 52-Wochen-Berechnung, um N Wochenkerzen verschoben (Standard: 52). Der Versatz greift auf dem Wochen-Chart, nicht in Chart-Balken. „52 Wochen“ bleiben also auch auf dem Tageschart 52 Wochen.
Abstand %
(Schlusskurs − Offset-Niveau) / Schlusskurs × 100
Das Label hängt an dem Offset-Niveau, das preislich näher liegt:
• Orange = näher am Offset-Hoch
• Türkis = näher am Offset-Tief
Sind aktuelles 52W-Hoch und Offset-Hoch als derselbe Preis dargestellt, werden sie in einem Label zusammengefasst: „52W High = Offset“. Dieselbe Logik gilt unabhängig fürs Tief.
█ NUTZUNG
1. Skript auf einen Chart legen (Tageschart ist ein üblicher Timeframe).
2. Historical offset (weeks) einstellen. Standard ist 52 (ca. ein Jahr); 13 ≈ ein Quartal, 4 ≈ ein Monat.
3. Den Kurs gegen den weißen historischen Verlauf lesen, nicht nur gegen die grünen/roten aktuellen Linien.
4. Abstands-Label und Tabelle (Current vs. −Nw) für die schnelle Ablesung nutzen.
Lesart für DCA-Kontext (keine Empfehlung):
• Nah am Offset-Tief, leicht negativ oder leicht positiv → näher am älteren Tief.
• Nah am Offset-Hoch, leicht negativ → noch unter dem älteren Hoch, relativ teuer zu diesem Band.
• Nah am Offset-Hoch, positiv → der Kurs hat das ältere Hoch verlassen.
█ EINSTELLUNGEN
52-week setup
• Basis for 52-week values: Highs/Lows (Standard) oder Close
• Historical offset (weeks)
Current 52W High/Low
• Horizontale Linien, Farben, Stärke, Stil (solid / dashed / dotted), Preis-Labels
Historical 52W High/Low (Offset)
• Verlauf an/aus, Farben, Füllung, Füllfarbe
• Im Tab Style sind die historischen Linien standardmäßig gestrichelt und können auf durchgezogen oder gepunktet gestellt werden
Info panel
• Tabelle an/aus, Position, Abstands-Label
█ HINWEISE UND GRENZEN
• 52 Wochen bedeutet 52 Wochenkerzen, nicht exakt 365 Kalendertage.
• Das aktuelle 52-Wochen-Hoch/-Tief aktualisiert sich mit der laufenden Woche.
• Der Offset verwendet geschlossene Wochenwerte (kein Vorgriff innerhalb der entstehenden Woche).
• Begleit-Screener: „52 Week High/Low Offset Screener“ (zu den Favoriten, dann Products → Screeners → Pine).
Dieses Skript erzeugt keine Handelssignale und ist keine Anlageberatung. インジケーター

Master Line Plus. Multi-MA ConsensusMaster Line Plus — Multi-MA Consensus with Agreement Score
Master Line Plus blends eight different moving-average families into a single consensus trend line, measures how strongly those averages agree, and filters direction with a volatility-aware band. It's a clean, open-source way to read one trend reference — plus a sense of how much conviction is behind it — instead of stacking many moving averages on the chart.
How it works
Every moving-average type reacts to price differently. EMA and WMA weight recent bars heavily and turn quickly; SMA weights all bars equally and turns slowly; RMA (Wilder's) is the smoothest; HMA cuts lag while staying responsive; DEMA and TEMA use multiple EMA passes to reduce lag further; and ALMA applies a Gaussian weighting to balance smoothness and responsiveness. Each one alone is a compromise — fast types whipsaw in chop, slow types lag at turns.
Plus computes all eight over the same length and averages them into one line:
consensus = ( EMA + SMA + WMA + HMA + RMA + DEMA + TEMA + ALMA ) / 8
The purpose of the combination is not to stack indicators, but to average out the bias of each MA type: the lag-reducing members keep the line responsive while the smoother members damp noise, producing a trend estimate steadier than any single fast MA yet more responsive than any single slow one. Using eight diverse families (rather than eight EMAs) is what makes the blend meaningful — they disagree in different conditions, and that disagreement is itself information.
Agreement score. Because the eight averages are diverse, Plus also counts how many of them price is trading above. When most agree (e.g. 8/8) the trend is broad and well-supported; when they split (e.g. 5/8) the move is weaker or transitioning. The dashboard shows this as a percentage aligned with the current trend — a simple conviction gauge a single line can't give.
Direction. Trend is decided with an ATR band rather than a raw cross: it turns bullish only when price closes above the consensus by more than Flip band × ATR, bearish only when it closes the same distance below, and holds the previous trend in between. This deadband suppresses the constant flip-flopping of a plain price/MA cross in sideways markets. Triangles mark the exact flip bar, and the line and optional band are colored by trend.
Signal line & higher-timeframe filter. A signal line (an EMA of the consensus) can be shown for slope/cross context. Optionally, a higher-timeframe consensus must agree before a flip is allowed — so on a 1H chart you can require the daily consensus to also be bullish before a long flip prints.
How to use it
Use the consensus line as your trend reference and bias filter — favor longs while it's teal, shorts while it's red.
Read the Agreement % as conviction: high agreement supports staying with the trend; a falling score warns the move is losing breadth.
Enable higher-timeframe agreement to trade only with the larger trend and cut counter-trend signals.
Widen the Flip band on noisy instruments to reduce false flips; narrow it on clean trends for earlier turns. Increase Length for a slower bias; decrease it for a faster read.
Two built-in alerts fire on bullish and bearish flips.
Settings
Consensus — Source, Length (used by all eight MAs), ALMA offset/sigma.
Trend & signal — Flip band (× ATR) and the signal-line length.
Higher timeframe — require HTF agreement for flips, and the HTF to use.
Display — show/fill band, signal line, flip markers, bar coloring, dashboard.
Notes and limitations
This is a trend-following tool. Like all moving-average methods it lags at turning points and can flip late after sharp reversals; the ATR band trades some timing for fewer false signals.
The higher-timeframe consensus uses request.security with lookahead disabled, so it can update on the still-forming HTF bar until that bar closes. On-chart values are likewise evaluated on the current bar and can update in real time until the bar closes.
It does not predict price and makes no performance claims — use it as one input alongside your own analysis and risk management.
For research and education only. This is not financial advice. インジケーター

Pivot Channel TrendLines [BigBeluga]🔵 OVERVIEW
The Pivot Channel TrendLines is an advanced technical analysis indicator designed by BigBeluga to automatically map structural pivot points, project dynamic trendline channels, and track directional breakout signals directly on the chart. Traditional manual trendline drawing is often subjective and time-consuming, while standard indicators fail to account for slope progression and volatility filters. To solve this limitation, this script combines an automated pivot detection engine with ATR-filtered extension lines and real-time breakout triggers.
The indicator visualizes key market highs and lows, dotted projection channels, and directional signals. The core calculations identify confirmed pivot extremes using configurable lookback periods, compute slope values between successive pivots, and filter out insignificant structures using Average True Range thresholds. Customizable color palettes, line styles, and extension lengths allow traders to fine-tune the geometric mappings across various asset classes and timeframes.
🔵 HOW IT WORKS
The system operates through an integrated architecture where each component dynamically influences chart behavior:
1 — Automated Pivot Detection Engine
Lookback Scanning: Evaluates bar ranges using user-defined lookback criteria to identify significant swing highs and lows.
ATR Filtering: Compares successive pivot price differentials against Average True Range thresholds to ensure only meaningful structural shifts generate active channels.
2 — Dynamic Trendline Projection & Channels
Confirmed Trendlines: Connects historical pivot points with solid boundary lines to map ongoing trend channels.
Dotted Extensions: Projects sloping extension lines forward by a user-defined bar length to monitor future support and resistance interactions.
3 — Directional Breakout & Price Dash System
Breakout Triggers: Monitors active extension lines in real time, plotting directional labels ("Up" or "Down") whenever price closes beyond expected threshold boundaries.
Last Pivot Dashes: Renders customizable horizontal dashed or dotted lines alongside precise price level tags for the latest identified high and low pivots.
🔵 HOW TO USE
Apart from serving as an automated structural mapping tool, the indicator can be applied in several ways:
Identify Trend Channels: Follow the solid and dotted trendlines connecting major pivot highs and lows to track prevailing market direction and channel boundaries.
Catch Structural Breakouts: Monitor the chart for Up or Down directional labels indicating when price has successfully broken through active projected extension lines.
Track Recent Reference Prices: Use the last pivot price dashes to quickly reference key support and resistance boundaries established by the most recent market swings.
🔵 NOTES
Why this implementation is unique:
It automates complex pivot channel mapping and slope projections directly on the chart.
Features integrated ATR volatility filters to eliminate insignificant structural noise.
Fully optimized for high-performance rendering under Pine Script version 6 standards.
インジケーター

Master Line Lite: 5-MA ConsensusMaster Line Lite condenses five different moving-average families into a single, easy-to-read consensus trend line, then filters its direction with a volatility-aware band so the trend only changes when price commits. It's a clean, open-source alternative to stacking several moving averages on one chart.
How it works
Each moving-average type reacts to price differently. An EMA and a WMA weight recent bars heavily and turn quickly; an SMA weights every bar equally and turns slowly; an RMA (Wilder's) is the smoothest; and an HMA cuts lag while staying responsive. Any single one is a compromise — fast types whipsaw in chop, slow types lag at turns.
Master Line Lite computes all five over the same length and averages them into one line:
consensus = ( EMA + SMA + WMA + HMA + RMA ) / 5
Blending the five balances their individual biases: the fast members keep the line responsive while the slow members damp noise. That's the purpose of the combination — not to stack indicators, but to average out the weakness of each MA type into one steadier reference than a single fast MA, yet more responsive than a single slow one.
Direction is then decided with an ATR band instead of a raw cross. The trend turns bullish only when price closes above the line by more than Flip band × ATR, and bearish only when it closes the same distance below; between those thresholds the previous trend is held. This deadband is what suppresses the constant flip-flopping of a plain price/MA cross during sideways markets.
The line is colored by the current trend, an optional band shows the flip thresholds, and triangles mark the exact bar where the trend flips.
How to use it
Use the line as a trend reference and bias filter — favor longs while it's teal, shorts while it's red.
The triangles flag where the consensus trend changes — a "context has shifted" cue, not a standalone entry.
Widen the Flip band on noisy/ranging instruments to cut false flips; narrow it on clean trends for earlier turns.
Increase Length for a slower higher-timeframe bias; decrease it for a faster intraday read.
Two built-in alerts fire on bullish and bearish flips.
Settings
Source — price series the averages are built from (default: close).
Length — lookback used for all five moving averages.
Flip band (× ATR) — how far price must clear the line to change the trend; the core noise filter.
Show band — draw the upper/lower flip thresholds.
Color bars by trend — tint candles with the trend color.
Show status box — small top-right label with the current Bull / Bear / Flat state.
Notes and limitations
Like all moving-average methods, this lags at turning points and can flip late after sharp reversals — the ATR band trades some timing for fewer false signals. Values can update on the still-forming real-time bar until it closes. It does not predict price and makes no performance claims; use it as one input alongside your own analysis and risk management.
For research and education only. This is not financial advice. インジケーター

IQR Risk-to-Reward & Dynamic Targets [MantisAlgo]IQR Risk-to-Reward & Dynamic Targets combines empirical quartile statistics with structural liquidity analysis to identify setups with favorable market-derived risk-to-reward. Instead of assigning arbitrary profit targets such as fixed 2× risk multiples, the indicator divides recent price action into Q1 (25th percentile), Q2 (Median), and Q3 (75th percentile), together with 1.5×IQR statistical outlier boundaries.
These statistical value zones are combined with opposing swing liquidity to calculate the available True Risk-to-Reward Ratio before a setup is displayed. Each qualified setup automatically projects Entry, Structural Stop Loss, Take Profit 1, Take Profit 2, and the resulting True R:R directly on the chart.
🟢 IQR FAIR VALUE STRUCTURE
The Interquartile Range represents the middle 50% of the recent price distribution:
IQR = Q3 − Q1
Q1 = 25th Percentile
Q2 = 50th Percentile (Median)
Q3 = 75th Percentile
When price remains primarily between Q1 and Q3, the market is trading inside its recent statistical value region and tends to rotate around the Median. When price extends beyond an outer quartile or IQR outlier region and subsequently reclaims the Median Wave, the indicator evaluates whether sufficient structural space exists for a move toward opposing liquidity.
This creates two broad market conditions:
• Equilibrium / Mean-Reversion — Price remains within the Q1–Q3 value region and rotates around the Median.
• Expansion / Reclaim — Price extends outside statistical value, then reclaims the Median with sufficient space toward opposing liquidity.
🟢 SIGNALS & TRUE R:R GATE
The core trigger follows a simple sweep-and-reclaim sequence.
For a Long setup, price must first sweep or touch the Lower IQR Band within the recent bars. The signal is then evaluated when price crosses back above the Median Wave and the reclaim candle closes above it.
For a Short setup, price must first sweep or touch the Upper IQR Band. The signal is evaluated when price subsequently crosses back below the Median Wave and the reclaim candle closes below it.
Long: Lower Band Sweep → Median Reclaim → Confirmed Close
Short: Upper Band Sweep → Median Reclaim → Confirmed Close
The reclaim candle becomes the Entry only when volume is sufficiently active, the signal cooldown has been satisfied, and the available True R:R meets or exceeds the selected minimum threshold.
True R:R = Target Distance / Invalidation Distance
Target Distance = |TP2 − Entry|
Invalidation Distance = |Entry − SL|
If True R:R is below the selected threshold, the setup is suppressed. If it meets or exceeds the threshold, the trigger triangle and complete Entry / SL / TP1 / TP2 structure are displayed.
🟢 DYNAMIC TARGET STRUCTURE
Each qualified setup contains four objective levels:
Entry — The exact closing price of the confirmed trigger candle.
Stop Loss — The structural extreme associated with the preceding sweep. For Long setups, the relevant sweep low is used; for Short setups, the relevant sweep high is used. A break beyond this level invalidates the setup structure.
Take Profit 1 — TP1 is based on the opposing quartile boundary: Q3 for Long setups and Q1 for Short setups. It represents the first statistical mean-reversion objective.
Take Profit 2 — TP2 is based on opposing structural liquidity: swing-high liquidity for Long setups and swing-low liquidity for Short setups. Because TP2 is derived from actual chart structure rather than a predetermined fixed multiple, the resulting True R:R changes naturally from setup to setup.
🟢 IQR OUTLIER FENCES
The indicator also calculates traditional Box Plot outlier boundaries:
Lower Fence = Q1 − (1.5 × IQR)
Upper Fence = Q3 + (1.5 × IQR)
These boundaries identify price observations that are unusually extended relative to the recent rolling distribution and provide additional context for statistical sweeps.
🟢 DYNAMIC MEDIAN WAVE
The central Median Wave is based on Q2 and smoothed using a two-pole SuperSmoother-style digital filter. Its purpose is to reduce short-term noise while remaining responsive to directional changes. The wave changes visual state according to its directional slope and acts as the primary reclaim reference for potential setups.
🟢 STATISTICAL BOX-PLOT PIVOTS
Confirmed structural swing pivots can display compact Box Plot brackets directly on the chart. Each bracket visualizes the local Q1 Lower Quartile, Q2 Median, Q3 Upper Quartile, and IQR outlier boundaries, making it easier to compare structural turning points with the surrounding statistical distribution.
🟢 STATISTICAL HUD
The optional top-right HUD provides a compact summary of the current statistical and structural state, allowing users to review the active distribution, directional context, and setup information without manually inspecting every plotted level.
🟢 SETTINGS
Quartile Sample Window — 34: Controls the rolling observation window used to calculate Q1, Q2, and Q3.
Outlier Whisker Multiplier — 1.5: Controls the IQR multiplier used to define the statistical outlier fences.
Structural Liquidity Lookback — 20: Controls the search window used to identify opposing swing liquidity for TP2.
Minimum True R:R Ratio — 2.0: Defines the minimum required target distance relative to structural risk. Higher values produce fewer but more selective setups.
Signal Cooldown — 6: Controls the minimum separation between consecutive signals.
Visual Settings: Show IQR Fair Value Cloud, Show Statistical Box-Plot Pins, Show Signal Trigger Triangles, Show Target Projection Rays, Max Historical Setups to Display, and Show Statistical HUD Dashboard.
🟢 INTERPRETATION
The indicator combines three elements: Statistical Location, Structural Invalidation, and Available Target Space. It does not assume that every statistical extreme will reverse or that every liquidity target will be reached.
Instead, it evaluates whether a confirmed statistical reclaim has enough remaining structural space relative to its invalidation risk to satisfy the selected True R:R requirement. The goal is to make signal timing, structural risk, and available market space directly visible on the chart rather than attaching arbitrary target multiples after a signal appears.
🟢 DISCLAIMER
This indicator is designed for technical analysis, quantitative research, and educational purposes only. It does not constitute financial advice. Historical statistical relationships do not guarantee future outcomes. Always apply appropriate risk management and position sizing. インジケーター
