Seasonality: Soft Commodities [invincible3]Seasonality: Soft Commodities
Seasonality: Soft Commodities is a professional mini-chart seasonality dashboard designed for traders and analysts who want to study recurring yearly patterns in major soft commodities.
The indicator displays 365-day seasonal curves directly on the chart for Cocoa, Coffee, Cotton, Orange Juice, and Sugar. Each commodity is shown in its own compact panel, making it easy to compare seasonal strength, weakness, turning points, and recurring periods of historical tendency throughout the calendar year.
Two seasonal views are available:
Blue Line — All Years Average
Shows the long-term historical seasonal path using the full available dataset.
Yellow Line — Weighted Average
Shows a weighted seasonal curve designed to emphasize more relevant recent behavior while still preserving the broader historical pattern.
The dashboard includes flexible layout controls, allowing users to adjust widget width, distance from price candles, panel height, row spacing, and placement. Individual commodities can be enabled or disabled, and users can choose whether to display the All Years curve, the Weighted Average curve, or both.
Key Features:
• Seasonality curves for Cocoa, Coffee, Cotton, Orange Juice, and Sugar
• Separate mini-panel for each commodity
• Blue All Years seasonal average
• Yellow Weighted Average seasonal curve
• Monthly grid and labels for easy calendar interpretation
• Right-side dashboard placement option
• Adjustable chart width, spacing, and panel height
• Auto-theme colors with manual style customization
• Lightweight visual design built for quick seasonal comparison
This tool is useful for identifying periods where soft commodities have historically shown stronger or weaker seasonal tendencies. It can help traders prepare trade ideas, compare current market behavior against historical patterns, and add a seasonal context layer to technical or macro analysis.
This indicator does not generate direct buy or sell signals. Seasonality should be used as a supporting research tool together with price action, trend analysis, volume, fundamentals, and proper risk management.
Gösterge

Coil & Fire - Ashish*Updated version of Momentum Scanner*
Finds stocks that had a strong explosive move (EP candle), are now coiling quietly near their EMAs, and marks the exact entry and stop-loss levels based on the most recent low-volume healthy-dip candle.
How it works:
Screens for stocks with a recent 8%+ single-day move that are outperforming their benchmark since that move, holding above the EMA9/21 cloud with the trend structure intact, and showing genuinely quiet volume on the pullback. When all conditions align, it marks a teal bar — a low-volume healthy-dip candle sitting within 5% above EMA9. The high of that bar is your entry. The low is your stop-loss. Purple dots show the entry level. Red dots show the stop.
Orange background = price has crossed the entry level. Yellow background = setup is valid, waiting for the trigger.
What's different from Momentum Scanner:
Entry and stop-loss are now anchored to the most recent teal bar rather than a historical coil-high level, so levels are always close to current price. Volume comparison for the teal bar now uses a 10-day average instead of 50-day, making it more responsive to recent trading activity rather than a long historical baseline.
Note: Indicators are tools, not oracles — every signal still requires human judgment, risk management, and context before any trade is taken. Gösterge

Gösterge

SMC + HTF LevelsSMC + HTF Levels — an overlay indicator that combines Smart Money liquidity (BSL/SSL, EQH/EQL) with previous higher-timeframe levels (D, 4H, W, M, Q, Y H/L). Auto-merges overlapping SMC and HTF levels, tracks sweeps (wick/close), shows developing week/month highs and lows (CWH/CWL, CMH/CML), includes a nearby-levels dashboard and alerts. Fully customizable: colors, tolerance, fade, dedupe, and scale filter. Built for forex, indices, crypto, and commodities. Gösterge

Quantile Threshold Bands | NickJoanQuantile Threshold Bands | NickJoan
Core Idea
Quantile Threshold Bands measures the position of price within a lookback window and uses that information to define adaptive upper and lower threshold bands. The script calculates two percentile levels from a user-defined lookback window and uses them to classify the current source value as bullish or bearish.
When the price moves above the upper quantile, the indicator turns bullish. When the price moves below the lower quantile, it turns bearish. When it returns inside the band area, the script keeps the last active state until the opposite threshold is crossed again. This gives the indicator a persistent regime structure.
Calculation Logic
The indicator works through three steps:
Source selection.
- The user chooses the price series to analyze.
Quantile calculation.
- The script looks back over a chosen number of bars.
- From that window, it calculates a lower quantile band and an upper quantile band.
- These values are obtained with a nearest-rank percentile calculation.
State assignment.
- If the source is above the upper band, the state becomes bullish.
- If the source is below the lower band, the state becomes bearish.
- If the source is between the bands, the previous state remains active.
What the Bands Mean
The lower and upper bands represent the selected percentile levels inside the recent price window.
The lower band marks a lower threshold within recent price behavior.
The upper band marks a higher threshold within recent price behavior.
The area between them defines the central zone where price is neither breaking upward nor downward.
Because the levels are recalculated on every bar, they adjust as the market changes. The result is a dynamic set of thresholds that follow the market’s own recent distribution.
Chart Output
The script displays four visual elements on the chart:
Lower Quantile line.
Upper Quantile line.
Filled zone between the two bands.
Colored candles showing the active state.
The color logic is:
Aqua when the regime is bullish.
Olive when the regime is bearish.
No color yet before the first valid state is established.
The output is designed to make the current state readable at a glance.
Inputs
The indicator has four primary inputs:
Source - The series used in the quantile calculation.
Lookback - The number of bars used to build the rolling window.
Lower Quantile % - The percentile used for the lower band.
Upper Quantile % - The percentile used for the upper band.
The lower percentile must be smaller than the upper percentile.
Alerts
The script includes alerts for regime changes:
Long Signal - Triggers when the state turns bullish.
Short Signal - Triggers when the state turns bearish.
These alerts are designed to notify the trader when price breaks into a new regime.
How to Use It
This indicator can be used as a regime filter or market bias tool.
Typical use cases include:
Directional bias filter. Use the bullish state when price is above the upper quantile and the bearish state when price is below the lower quantile.
Threshold-based alerts. Use the long and short alerts to notify you when price breaks into a new percentile regime.
Range / compression read. The distance between the two bands can help show whether recent price action has been compressed or expanded. A narrow band zone suggests tighter recent movement, while a wider band zone suggests broader recent movement.
Trade filtering. Use it to decide whether to allow only long setups, only short setups, or no directional trades depending on regime.
Gösterge

Price Action Breakout Trend [QuantAlgo]🟢 Overview
Price Action Breakout Trend is a trend-following indicator built on structural range breakouts rather than moving average crossovers or oscillator thresholds. It tracks the highest high and lowest low of a defined lookback window to establish the levels price must decisively clear to confirm a directional shift, anchoring a trailing stop that ratchets in the trend's direction and reverses only when price breaks through it, helping traders distinguish genuine trend continuation from the shallow pullbacks that punctuate every sustained move across all timeframes and markets.
🟢 How It Works
The foundation of the indicator is the range defined by recent price extremes. On each bar it references the highest high and lowest low of the prior lookback window, excluding the current bar so the reference range is locked in before price interacts with it:
prior_high = ta.highest(high, lookback)
prior_low = ta.lowest(low, lookback)
These two levels frame the breakout boundaries. Rather than reacting to every marginal touch, the indicator lets you define what qualifies as a genuine break through the confirmation setting, which determines whether the closing price or the full bar extreme is tested against the trailing stop:
test_down = confirmation == 'Close' ? close : low
test_up = confirmation == 'Close' ? close : high
From these, a single trailing stop is maintained on the active side of the trend. While the trend holds bullish the stop ratchets upward, advancing to track the rising lookback low and never loosening, and the trend reverses the moment the tested price breaks below it:
if trend == 1
trail := math.max(trail, prior_low)
if test_down < trail
trend := -1
trail := prior_high
On that reversal the stop immediately re-anchors to the opposite extreme, flipping above price to begin trailing the new downtrend, where the mirror of this same logic ratchets the stop lower and flips the trend back to bullish once price breaks above it. Because the reversal is triggered by the same stop price has been trailing, the line is not a passive overlay but the actual decision boundary, with no separate signal calculation sitting behind it. This makes the indicator a continuous stop-and-reverse system that always holds a committed direction, retaining its bullish or bearish reading through every pullback contained within the range until price clears the trailing level.
🟢 Signal Interpretation
▶ Bullish Trend (Green): When price breaks above the trailing stop and the trend flips up, the indicator enters bullish mode with green coloring applied across the stop, gradient fill, and breakout levels. The stop sits below price and ratchets higher as the trend develops, and the reading holds through pullbacks that stay above it. The flip into green, marked by an up triangle beneath the bar, identifies a potential long/buy opportunity, with subsequent pullbacks toward the rising stop offering potential continuation entries while the trend remains intact.
▶ Bearish Trend (Red): When price breaks below the trailing stop and the trend flips down, the indicator enters bearish mode with red coloring across all visual elements. The stop sits above price and ratchets lower as the decline extends, holding bearish through rallies that fail to reclaim it. The flip into red, marked by a down triangle above the bar, identifies a potential short/sell opportunity, with rallies back toward the falling stop offering potential continuation entries on the downside.
🟢 Features
▶ Preconfigured Presets: Three parameter sets cover different trading approaches. "Default" targets swing trading on 4-hour and daily charts with a 10-bar lookback and close-based confirmation, filtering marginal breaks while staying responsive to genuine shifts. "Fast Response" shortens the lookback to 5 bars and switches to wick-based confirmation for intraday charts, where the trend needs to flip as soon as price trades beyond a recent extreme. "Smooth Trend" extends the lookback to 25 bars with close confirmation for position trading on daily and weekly timeframes, where the cost of a false flip exceeds the cost of a delayed one. Selecting a preset overrides the individual lookback and confirmation inputs.
▶ Built-in Alerts: Three alert conditions cover all directional states. "Bullish Breakout Signal" fires on the bar where the trend confirms bullish. "Bearish Breakout Signal" fires on the bar where it confirms bearish. "Any Breakout Signal" combines both into a single condition for traders who want a unified notification regardless of direction.
▶ Visual Customization: Six color presets (Classic, Aqua, Cosmic, Cyber, Neon, and Custom) apply coordinated bullish and bearish schemes across the trailing stop, gradient fill, breakout levels, markers, and optional bar and background coloring. Independent toggles control each visual layer, so the trailing stop line, the gradient fill that ramps from the stop toward price, the triangle markers printed on each flip, and the underlying breakout levels that frame the active range can each be shown or hidden without affecting the others. Bar coloring tints price candles with the active trend color at a configurable transparency, and background coloring extends the directional tint across the full chart pane. Both are disabled by default and controlled independently.
*Tips: Layer the Price Action Breakout Trend with complementary analysis rather than treating it as a standalone trading tool. Breakouts hold most reliably when backed by participation, so combine each flip with volume context, since a break on expanding volume is far more likely to sustain than one on thin flow, and read the level being cleared against market structure, as a breakout through a well-established swing high or low carries more significance than one in open space. Pairing this script with volume, open interest, CVD, market structure, and mean reversion indicators from our QuantAlgo toolkit can further validate a breakout before entry. Gösterge

Gösterge

RSL - Relative Strength Level (Levy)RSL steht für Relative Strength Level nach Levy (Robert A. Levy, 1960er Jahre) – nicht zu verwechseln mit Wilders RSI.
Grundidee:
RSL = Aktueller Kurs / Gleitender Durchschnitt (SMA) über n Perioden
Levy hat ursprünglich einen 27-Wochen-SMA (also ca. 130 Handelstage) verwendet. Der Indikator zeigt, wie weit der aktuelle Kurs relativ zu seinem eigenen historischen Durchschnitt steht – also eine Form von "Preis-Momentum relativ zu sich selbst", nicht relativ zu einem Index oder anderen Titeln (das wäre dann RS im Sinne von IBD/O'Neil).
Kernpunkte:
RSL > 1 → Kurs liegt über seinem gleitenden Durchschnitt → relative Stärke
RSL < 1 → Kurs liegt unter dem Durchschnitt → relative Schwäche
Levy nutzte es ursprünglich zum Ranking eines Aktienuniversums: Titel mit den höchsten RSL-Werten wurden gekauft (Momentum-Strategie), unterste wurden gemieden/verkauft
Unterschied zu RSI:
RSI (Wilder) misst Auf-/Abwärtsbewegungen innerhalb eines Zeitraums (Overbought/Oversold, 0–100 skaliert). RSL misst die Distanz des Kurses zu seinem eigenen gleitenden Durchschnitt – eher ein Trendfolge-/Momentum-Filter als ein Oszillator.
Dieses Script ist auch für den Pine Screener verwendbar, d.h. ihr könnt alle eure Watchlisten damit durchscreenen und nur die Stärksten oder schwächsten Assests daraus handeln.
Viel vergnügen damit
RSL stands for Relative Strength Level according to Levy (Robert A. Levy, 1960s) – not to be confused with Wilder's RSI.
Basic idea:
RSL = Current Price / Moving Average (SMA) over n periods
Levy originally used a 27-week SMA (approximately 130 trading days). The indicator shows how far the current price stands relative to its own historical average – i.e., a form of "price momentum relative to itself," not relative to an index or other securities (that would be RS in the IBD/O'Neil sense).
Key points:
RSL > 1 → Price is above its moving average → relative strength
RSL < 1 → Price is below its moving average → relative weakness
Levy originally used it to rank a universe of stocks: securities with the highest RSL values were bought (momentum strategy), the lowest were avoided/sold
Difference from RSI:
RSI (Wilder) measures up/down movements within a time period (overbought/oversold, scaled 0–100). RSL measures the distance of the price from its own moving average – more of a trend-following/momentum filter than an oscillator.
This script is also usable in the Pine Screener, meaning you can screen through all your watchlists with it and trade only the strongest or weakest assets from the results.
Enjoy using it!
Gösterge

Zero-Lag GARCH Bands | NAL1. Overview
Zero-Lag GARCH Bands | NAL is an adaptive volatility band indicator built from a Zero-Lag EMA baseline and an optimized GARCH-style volatility engine.
The indicator does not use a standard fixed-width channel. Instead, it estimates market variance through a recursive GARCH framework, smooths that volatility with a Zero-Lag EMA, and uses the result to create dynamic upper and lower bands around price structure.
The purpose of the indicator is to identify when price escapes a volatility-adjusted regime boundary, while allowing the band width to adapt to the underlying variance environment.
2. Calculation
The indicator starts by estimating volatility from lagged log returns. These returns are squared to create a variance component, which becomes the foundation of the GARCH model.
GARCH_LogReturn = math.log(close / close )
GARCH_SquaredLogReturn = math.pow(GARCH_LogReturn, 2.0)
GARCH_RealizedVariance = ta.sma(GARCH_SquaredLogReturn, GARCH_Lookback)
The script then searches through possible coefficient weights to find a beta/lambda value that better fits recent realized variance behavior. A second optimization loop is used to estimate gamma, which controls the long-run variance contribution.
These optimized coefficients are combined into a GARCH-style variance model using three components: long-run variance, recent shock variance, and lagged variance.
GARCH_Variance =
GARCH_Gamma * GARCH_LongRunVariance +
GARCH_Alpha * GARCH_SquaredLogReturn +
GARCH_Beta * GARCH_LaggedVariance
After the variance estimate is created, it is smoothed using a Zero-Lag EMA. This gives the volatility engine a faster response while still reducing noise.
GARCH_ProjectedVariance = f_zlema(GARCH_Variance, GARCH_SmoothLen)
GARCH_Volatility = math.sqrt(math.max(GARCH_ProjectedVariance, 0.0))
The baseline is also built with a Zero-Lag EMA, applied after a light EMA pre-smoothing step. This creates the central reference line for the band structure.
The final bands are created by scaling the Zero-Lag GARCH volatility against the selected source and band pressure setting. Higher band pressure creates a tighter band, while lower pressure allows the band structure to expand.
upperBand = baseline + (baseline_src / band_pressure) * GARCH_VolatilityMultiplier
lowerBand = baseline - (baseline_src / band_pressure) * GARCH_VolatilityMultiplier
A bullish state triggers when price closes above the upper band. A bearish state triggers when price closes below the lower band. When price remains inside the bands, the previous regime is held.
3. Key Features
Zero-Lag EMA baseline for reduced-lag price structure.
Optimized GARCH-style volatility engine.
Adaptive variance model using shock, lagged, and long-run components.
Zero-Lag smoothing applied to projected volatility.
Dynamic upper and lower volatility bands.
Band pressure control for adjusting channel tightness.
State-based candle coloring, band coloring, glow effect, and directional fills.
4. Use
Zero-Lag GARCH Bands is designed to identify when price begins escaping its volatility-adjusted structure. A close above the upper band reflects bullish expansion, while a close below the lower band reflects bearish expansion.
The GARCH engine gives the indicator a deeper volatility layer than a standard ATR or deviation channel. Instead of only measuring recent range, it models variance behavior and projects that into the band structure.
This indicator is best used as a specialized module within a complete strategy framework. Its role is to isolate volatility-adjusted regime expansion, where price is evaluated against a dynamic variance boundary rather than a static channel. The full value comes from how this volatility regime signal is integrated into a broader process for timing, structure, and execution.
Gösterge

Gösterge

Cumulative Rejection Heatmap [MarkitTick]💡 This advanced visual analytics tool is designed to track, aggregate, and display price rejection zones over a rolling historical window. By focusing entirely on market wicks—the footprints of supply and demand absorption—this script constructs a dynamic heatmap that highlights where price has repeatedly struggled to close. Instead of simply looking at volume or closing prices, it isolates the exact microscopic levels where buyers and sellers have historically stepped in to reverse the momentum, providing a crystal-clear map of underlying market mechanics.
● ✨ Originality and Utility
Traditional technical analysis often relies on closing prices or volume-at-price concepts like the Volume Profile. While valuable, these standard tools can sometimes obscure the specific price extremes where true order absorption occurs. This tool takes an entirely original approach by creating a "Rejection Profile."
It systematically scans every single bar within a defined historical window, mathematically measures the length of the upper and lower wicks, and compares them against the total range of the bar. When a wick meets a stringent, user-defined threshold, it is classified as a valid rejection. Over time, these individual rejection events are accumulated into specific price bins, forming a dense, visual heatmap.
The utility here is unparalleled for traders who rely on price action and liquidity concepts. By rendering a visual concentration of wicks, the chart immediately reveals hidden support and resistance walls that might not be evident through standard line-drawing techniques. It removes subjectivity from the process, mathematically proving where the market is consistently refusing to allow price to travel.
● 🔬 Methodology and Concepts
The core engine of this script relies on a rolling matrix computation combined with strict volatility filtering. The methodology can be broken down into several distinct logical phases:
Volatility Filtering: Before any rejection is considered, the script measures the current bar's true range against a fraction of the Average True Range (ATR). If the bar's range is too small, it is deemed market noise or chop, and is entirely ignored. This prevents tight, low-volatility consolidation from falsely inflating the rejection heatmap.
Wick Ratio Calculation: For valid bars, the script calculates the exact length of the upper wick (High minus the maximum of Open/Close) and the lower wick (minimum of Open/Close minus Low). This value is divided by the total bar range. If this ratio exceeds the minimum wick ratio threshold, a rejection event is triggered.
Price Discretization (Binning): The script continuously tracks the highest high and lowest low of the entire lookback window. It divides this total vertical price space into a user-defined number of equal-sized bins.
Rolling Matrix Accumulation: Using an advanced matrix data structure, the script logs each rejection event into its corresponding price bin. As the lookback window rolls forward in time, the oldest data is systematically overwritten by the newest data. This ensures the heatmap is constantly adapting to current market conditions without retaining stale historical data that is no longer relevant.
● 🎨 Visual Guide
The script overlays multiple layers of visual intelligence directly onto the main price chart, designed to be quickly readable without cluttering the workspace.
• The Rejection Heatmap
Projected forward from current price action, a series of horizontal boxes forms the heatmap. The vertical height of each box represents a specific price bin, while the color intensity indicates the density of rejections within that bin. Colors transition dynamically using a custom gradient. Areas with little to no rejection remain dark and transparent, while areas of extreme rejection light up in high-contrast neon tones. Each box contains a subtle text label displaying the exact number of rejection hits and its percentage relative to the most rejected level.
• Support and Resistance (S/R) Lines
The script automatically identifies the top bins with the absolute highest concentration of historical rejections. It projects dashed horizontal lines across the chart at the exact center of these bins. These lines act as major, mathematically validated support and resistance levels, highlighted in a distinct, user-defined border color.
• Directional Triangles
When an immediate price rejection occurs on the live chart, a small geometric shape is printed to alert the user:
A downward-pointing triangle above the bar indicates a significant upper wick rejection, signaling sudden selling pressure or supply absorption.
An upward-pointing triangle below the bar indicates a significant lower wick rejection, signaling sudden buying pressure or demand absorption.
• The Analytics Dashboard
A sleek, customizable table is anchored to a corner of the chart, providing a heads-up display of the current market state. It displays the active asset, the rolling window size, the current ATR, and the exact price level of the highest rejection density. Furthermore, it features a text-based ASCII progress bar showing the peak density relative to historical maximums, and a Bull/Bear Bias metric that calculates the exact ratio of upward versus downward rejections over the entire window.
● 📖 How to Use
Traders can integrate this visual framework into a variety of market approaches, primarily focusing on mean reversion, breakout confirmation, and precise risk management.
Identifying Liquidity Pools: The brightest zones on the heatmap represent areas where limit orders have historically absorbed market orders. Traders can use these glowing zones as highly probable target areas for taking profits, as price tends to gravitate toward and stall at heavy liquidity.
Validating Breakouts: If price breaks cleanly through a bright red, high-density rejection zone and closes beyond it, it indicates a significant shift in market structure. A zone that previously acted as a ceiling (supply) may now act as a floor (demand) upon a retest.
Stop Loss Placement: The automated S/R lines and high-density bins provide logical areas for stop-loss placement. Placing a stop just outside a heavy rejection bin ensures that the trade is only invalidated if the market successfully chews through a known area of heavy opposition.
Real-Time Execution: The live directional triangles can be used as immediate trigger signals when they align with the broader heatmap context. For example, an upward-pointing triangle printing exactly as price dips into a historically dense lower rejection bin provides a high-probability entry for a long position.
● ⚙️ Inputs and Settings
The script is highly customizable, allowing the user to tailor the mathematical sensitivity and visual output to their specific asset and timeframe.
• Heatmap Configuration
Window: The rolling lookback period. A larger window encompasses more macro price action, while a shorter window reacts faster to recent volatility.
Bins: Determines the vertical resolution. More bins create thinner, more granular price slices; fewer bins create wider, more generalized zones.
Min Wick Ratio: The strictness of the rejection criteria. A higher value (e.g., 0.60) requires the wick to make up at least 60% of the entire bar, filtering out weak signals.
Min Range (xATR): Filters out low-volatility bars to prevent tight consolidation from skewing the data.
Heatmap Width %: Controls how far the visual heatmap projects into the future on the right side of the chart.
• Dashboard and Visuals
Dashboard Pos: Anchors the analytics table to any corner of the chart to prevent obstruction of price action.
Top S/R Levels: Determines how many distinct dashed support/resistance lines are drawn based on the highest-ranking bins.
Use Neon Gradient: Toggles the dynamic color shading of the heatmap boxes.
• Alerts Configuration
Action Long / Action Short: Custom JSON string inputs that allow the user to format specific payloads for automated trading platforms or webhooks when a live rejection triangle prints.
● 🔍 Deconstruction of the Underlying Scientific and Academic Framework
At its academic core, this tool is heavily rooted in Auction Market Theory and the statistical discretization of continuous price variables. Auction Market Theory posits that financial markets exist solely to facilitate trade between buyers and sellers, constantly probing upward and downward to find areas of liquidity (fair value). When price extends too far and encounters a massive wall of limit orders, aggressive market orders are absorbed, and price is rapidly driven back in the opposite direction. On a candlestick chart, this aggressive absorption is permanently recorded as a wick.
By systematically isolating wicks, this script is effectively reconstructing the historical limit order book imbalance. It moves away from the continuous nature of time-series data and utilizes statistical binning—a process of dividing a continuous numerical range into discrete, non-overlapping intervals (bins). This is mathematically analogous to constructing a multidimensional probability density histogram.
The underlying matrix acts as a Markovian state tracker, where the probability of future price rejection at a specific interval is inferred from the historical density of prior absorptions within that exact same interval. The application of the Average True Range (ATR) as a high-pass volatility filter ensures that the statistical sample is robust, eliminating low-amplitude noise and focusing the mathematical weight strictly on statistically significant standard deviation expansions.
⚠️ Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. We expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion. Gösterge

Adaptive S/R Box Zones with Dynamic Stop Loss & EMA FilterTitle: Adaptive S/R Box Zones with Dynamic Stop Loss & EMA Filter
Description:
This indicator is an advanced tool designed to automatically identify key Support and Resistance (S/R) levels by blending momentum, volatility, and structural pivot points. The core objective of the script is to visualize asymmetric risk zones (Stop Loss zones) and filter out false breakouts using an integrated EMA momentum filter.
How it works:
S/R Detection Logic: Levels are not derived from simple highs and lows. The script utilizes a sophisticated algorithm that dynamically combines the RSI (Relative Strength Index) to spot extreme overbought/oversold conditions, a HMA-based CMO (Chande Momentum Oscillator) for momentum confirmation, and historical Close Pivots.
Asymmetric SL Zones (Boxes): Instead of standard symmetric lines that often distort spatial risk, the indicator renders dynamic box shapes. The height of these zones automatically adapts to the market's current volatility using the ATR (Average True Range).
The Resistance Zone expands asymmetrically upward from the level, offering a clear visual map for placing Stop Losses on Short setups.
The Support Zone expands asymmetrically downward from the level, defining the logical Stop Loss area for Long setups.
EMA Momentum Filter & Trigger: The script features an optional EMA crossover filter. When enabled, the detection of a new S/R zone acts as a dynamic "setup alert", while the actual BUY or SELL signal triggers only when the price breaks through the EMA line, confirming directional momentum.
Key Features & Inputs:
Zone Height (ATR Multiplier): Controls the thickness of the risk zones based on market volatility.
S/R Timeframe: Multi-timeframe (MTF) functionality to plot higher time frame levels onto your current chart.
Signal Trigger Mode: Toggle between On Candle Close and After Candle Close (waits for the candle to seal to prevent repainting).
EMA Filter Toggle: Can be fully deactivated if you prefer to receive raw signals immediately upon the formation of S/R levels. Gösterge

Seasonality: Stock Indices [invincible3]Seasonality: Stock Indices
Seasonality: Stock Indices is a clean dashboard-style indicator designed to display historical seasonal tendencies for major global stock indices directly on the TradingView price chart.
The indicator includes six separate seasonal mini-charts:
Australian ASX 200 — seasonal data from 2001 to 2020
FTSE 100 — seasonal data from 1985 to 2020
German DAX — seasonal data from 1999 to 2020
Nasdaq 100 — seasonal data from 1996 to 2020
S&P 500 — seasonal data from 1980 to 2020
Dow 30 — seasonal data from 1980 to 2020
Each panel displays a full 365-day seasonal curve, allowing traders to study how each index has historically performed throughout the calendar year. The indicator plots both the long-term All Years average and a Weighted Average curve, making it easier to compare broad historical behavior with a more weighted seasonal tendency.
The dashboard is arranged in a compact multi-panel layout and is designed to stay visually separated from candles, so it does not disturb the main price chart. Users can adjust the widget width, distance from candles, panel height, row spacing, column gap, and dashboard placement on either the right or left side of price.
Automatic dark/light theme detection is included, helping the dashboard remain readable across different TradingView chart themes. Manual customization is also available for the grid color, background, text color, All Years line, Weighted Average line, and line width.
This indicator is useful for index traders, swing traders, macro analysts, seasonal researchers, and market-timing studies. It helps users compare current index behavior with long-term historical seasonal patterns across major U.S., European, Australian, and technology-focused equity benchmarks.
Key Features:
Seasonal dashboard for major global stock indices
Includes ASX 200, FTSE 100, DAX, Nasdaq 100, S&P 500, and Dow 30
Full 365-day seasonal curves
All Years average line
Weighted Average line
Adjustable dashboard size and placement
Designed to stay away from candles
Auto dark/light theme support
Manual color customization
Election seasonality is intentionally excluded
Built for visual seasonal analysis
The seasonal values are approximate and digitized from historical seasonal data screenshots. This indicator is intended for educational and analytical purposes only. It does not provide financial advice, investment recommendations, or direct buy/sell signals. Historical seasonal tendencies do not guarantee future market performance.
Gösterge

Seasonality: Metals [invincible3]Seasonality: Metals
Seasonality: Metals is a visual dashboard-style indicator designed to display historical seasonal tendencies for major metals directly on the TradingView price chart.
The indicator includes five separate seasonal mini-charts:
Copper — seasonal data from 1960 to 2020
Gold — seasonal data from 1975 to 2020
Palladium — seasonal data from 1978 to 2020
Platinum — seasonal data from 1970 to 2020
Silver — seasonal data from 1969 to 2020
Each panel displays a full 365-day seasonal curve, helping traders observe how each metal has historically behaved throughout the calendar year. The indicator plots both the long-term All Years average and a Weighted Average curve, allowing users to compare broad historical seasonality with a more weighted seasonal tendency.
The dashboard is built with a clean five-panel layout: Copper and Gold on the top row, Palladium and Platinum on the middle row, and Silver on the bottom-left panel. The layout is designed to stay away from candles so it does not interfere with price action while still giving traders a clear view of seasonal structure.
Users can customize the widget width, distance from candles, panel height, row spacing, column gap, and dashboard placement on either the right or left side of the chart. The script also includes automatic dark/light theme detection, while still allowing manual customization of the background, grid, text, and seasonal line colors.
This indicator is useful for commodity traders, macro analysts, metals investors, and seasonal-market researchers who want to compare current price behavior with long-term historical seasonal patterns in the metals market.
Key Features:
Seasonal dashboard for major metals
Includes Copper, Gold, Palladium, Platinum, and Silver
365-day seasonal curves
All Years average line
Weighted Average line
Clean mini-chart layout
Adjustable widget size and placement
Dashboard can be placed left or right of price
Auto dark/light theme support
Manual color customization
Designed to stay visually separated from candles
The seasonal values are approximate and digitized from historical seasonal data screenshots. This indicator is intended for educational and analytical purposes only. It does not provide financial advice, investment recommendations, or direct buy/sell signals. Historical seasonal tendencies do not guarantee future market performance.
Gösterge

Gösterge

Dynamic Speed Pivot Supertrend [ZenAlphaAlgo]Overview
The Dynamic Speed Pivot Supertrend is an advanced trend-following indicator designed to address the lag associated with pivot-based trailing stop losses. While pivot points excel at filtering noise and identifying significant trend structures, their delayed confirmation (e.g. waiting for $N$ bars to establish a pivot) can lead to late exits or entries when market velocity changes rapidly.
This script solves this problem by introducing a dynamic, momentum-based velocity factor that adaptively increases responsiveness during high-momentum moves while maintaining standard smoothing during sideways consolidation.
Credits & Attribution
The foundation of this script—calculating a Supertrend center line using weighted averages of pivot highs and lows—is based on the original work of LonesomeTheBlue (www.tradingview.com). We would like to credit them for their excellent contribution to the TradingView community.
This script modifies the original logic by introducing price velocity (ROC-based normalized speed) directly into the center line's smoothing calculation.
How it Works (Methodology)
The core feature of this indicator is Dynamic Speed Adaptive Smoothing:
Velocity Calculation: On every bar, the script computes the absolute Rate of Change (ROC) of the closing price over the specified "Speed Period (ROC)". This measures the speed of price movement.
Normalization: The current ROC is normalized against the highest ROC value found within the "Max Speed Lookback" window. This divides the current speed by the highest speed observed in the lookback window, bounding the price velocity dynamically between 0.0 (fully flat/no movement) and 1.0 (maximum acceleration).
Adaptive Smoothing: When a new pivot point is formed, the center line adjusts its position using an adaptive weighting calculation. If dynamic smoothing is enabled, the smoothing factor (Alpha) increases during high-velocity periods by selecting the maximum value between a baseline of 0.33 and the calculated normalized speed:
During High Acceleration (Alpha near 1.0) : The center line reacts instantly to the new pivot point, rapidly tightening the trailing stop.
During Consolidation (Alpha at 0.33 baseline) : The smoothing factor relaxes back to the stable baseline, preventing unnecessary whipsaws.
How to Read Visual Cues (Interpretation)
Trailing Stop Line:
Lime Green Line : Represents an active bullish trend (long). Price is trading above the trailing stop.
Red Line : Represents an active bearish trend (short). Price is trading below the trailing stop.
Stop Start Shapes (Circles) : A circle is plotted directly on the trailing stop line at the exact bar a new trend begins (the trend flip point).
Buy/Sell Shapes:
Triangle Up (below bar): Plotted on a bullish trend flip (Buy signal).
Triangle Down (above bar): Plotted on a bearish trend flip (Sell signal).
Gradient Background Fill: A transparent color band spans between the trailing stop line and the closing price. The gradient starts translucent (75% transparency) at the stop line and fades out completely (100% transparency) towards the current price, indicating the safety buffer visually.
Center Line : The gray dotted line represents the adaptive center line around which the ATR bands are calculated.
Input Parameters Guide
Pivot Point Period (default: 2) : The number of left and right bars required to confirm a pivot high or low. Larger values filter more noise but increase confirmation delay.
ATR Factor (default: 6.0) : The multiplier applied to the Average True Range (ATR) to determine the distance of the bands from the center line.
ATR Period (default: 9) : The lookback window for the ATR volatility calculation.
Use Dynamic Center Line Smoothing (default: true): Toggles between the dynamic momentum-based smoothing coefficient and the static 0.33 smoothing.
Speed Period (ROC) (default: 4) : The lookback window for the Rate of Change calculation used to determine current price speed.
Max Speed Lookback (default: 50) : The lookback window used to establish the maximum historical speed for normalization.
Display & Styling : Toggles to independently show or hide the Trailing Stop line, the Center line, the buy/sell shapes, or the background gradient fill.
Alerts
Alert Conditions : Standard alert triggers are available via the TradingView Alert Dialog for both Buy / Bullish Trend Flip and Sell / Bearish Trend Flip.
Dynamic Alert s: Script-based dynamic alerts trigger on the bar close when a trend flip occurs.
Disclaimer
This indicator is created for educational and analytical purposes only. Past performance does not guarantee future results. Trend-following indicators are subject to drawdowns during sideways/ranging market conditions. Always perform thorough backtesting and practice proper risk management. Gösterge

JJB OTT Alert RelayJJB OTT Alert Relay
A bridge indicator that exposes Optimized Trend Tracker (OTT) Buy/Sell signals as alert conditions for automated webhook notifications.
🔍 What This Does
The Optimized Trend Tracker by TradingView generates clean Buy/Sell crossover signals but doesn't expose alertcondition() natively. This relay indicator mirrors the OTT's Support and OTT lines, detects crossovers, and surfaces them as alert conditions — so you can catch signals via webhook, email, or push without watching the chart.
🟢 Buy Signal: Support line crosses above OTT line
🔴 Sell Signal: Support line crosses below OTT line
⚙️ Setup (One-Time, 60 Seconds)
1. Add both indicators to your chart:
The original Optimized Trend Tracker (Community Script)
This JJB OTT Alert Relay
2. Wire the inputs:
Open JJB OTT Alert Relay → Settings → Inputs
Set "Support Line" → #1 Optimized Trend Tracker: Support Line
Set "OTT Line" → #1 Optimized Trend Tracker: OTT
3. Verify the match:
Both indicators should show identical Support and OTT values in the Data Window. If they match, the relay is wired correctly.
🔔 Creating the Alert
Open TradingView's Alert dialog
Condition → "Any alert() function call"
Select "JJB OTT Alert Relay" as the source
Paste your webhook URL
Use this JSON message template:
{"topic":"JJB BTC OTT","title":"BTC OTT {{strategy.order.action}}","message":"OTT Signal: {{strategy.order.action}} | Price: {{close}} | Interval: {{interval}}","tags": ,"passphrase":"YOUR_WEBHOOK_PASSPHRASE"}
Replace YOUR_WEBHOOK_PASSPHRASE with your actual webhook passphrase. The {{strategy.order.action}} placeholder resolves to "buy" or "sell" on each crossover.
Set expiration (default 30 days) and create.
💡 One alert covers both signals. No need for separate buy/sell alerts.
📊 Signal Logic
Condition Signal Meaning
Support ↑ crosses above OTT 🟢 BUY Trend turning bullish
Support ↓ crosses below OTT 🔴 SELL Trend turning bearish
This is a trend-following system — signals are infrequent (typically 2-4 per quarter on daily timeframe) but high-quality. Each signal confirms a structural shift, not noise.
📌 Tips
Daily timeframe is the sweet spot — lower timeframes generate more noise
The relay mirrors the original OTT exactly — it doesn't recalculate
If you change OTT's settings, the relay picks them up automatically via the wired inputs
The plot on your chart confirms the wiring: green line = Support, blue line = OTT
🔧 Requirements
Original Optimized Trend Tracker indicator on the same chart
Basic Pine Script v5+ (TradingView)
Author: JJB | Version: 1.0 Gösterge

SBP Trend & Momentum System
SBP Trend & Momentum System is an educational trend and momentum analysis tool designed to study directional market phases while reducing repeated and conflicting setup markers.
The script combines structured trend analysis, Hull-style adaptive smoothing, EMA directional consensus, ATR-normalized trend strength, momentum analysis, recent price-structure events, candle characteristics, volatility conditions, and optional relative-volume information.
### Why these components are combined
A single trend or momentum calculation may react differently during compression, directional expansion, and temporary counter-moves. This script combines several analytical components so that each performs a separate role within the setup process.
The trend filter and adaptive average evaluate directional slope. EMA alignment measures directional consensus and trend separation. ATR normalization adjusts momentum, structure penetration, and signal distance relative to current market movement. Candle and optional volume calculations provide additional setup context.
These components are combined through a normalized quality and factor-consensus framework rather than requiring every analytical event to occur on the same candle.
### Trend Phase Lock
The Trend Phase Lock maintains an established bullish or bearish directional phase.
Temporary neutral conditions do not automatically reset the active phase. A new opposite phase requires persistent opposite directional conditions before the phase state changes.
The primary setup engine permits one BUY or SELL marker per established directional phase. This is intended to reduce repeated same-direction labels during an ongoing move.
### Dominant Trend Guard
The Dominant Trend Guard distinguishes stronger directional conditions from ordinary short-term movement.
During a major bullish phase, the script evaluates whether bullish trend slope, adaptive direction, EMA alignment, and ATR-normalized trend strength remain aligned. The same process is applied inversely during a major bearish phase.
A temporary counter-move alone does not immediately change the active directional phase. Opposite phase processing uses reversal persistence, adaptive and EMA agreement, and ATR-normalized displacement before the phase can change.
This mechanism is a directional-state filter. It does not predict future price direction.
### Big Trend Continuation Rescue
Strong directional expansion can sometimes move beyond the normal signal-distance range or continue after the standard phase signal window.
The Big Trend Continuation Rescue evaluates dominant trend state, directional momentum, factor alignment, normalized quality, volatility, and candle-range conditions.
Its purpose is to allow the setup engine to continue evaluating a strong directional phase without requiring the ordinary setup conditions to occur within a narrow group of bars.
The one-primary-marker-per-phase rule remains applicable.
### Quality and Factor Consensus
The script calculates a normalized quality score from:
• Trend strength
• Directional alignment strength
• ATR-normalized momentum quality
• Candle characteristics
• Recent structure quality
• Optional relative-volume information
Momentum, structure, and candle conditions contribute to setup quality and factor consensus. They are not all required to occur on the same candle.
The available scoring denominator automatically adjusts when optional analytical components are disabled.
### Structure Memory
The structure engine evaluates closes relative to previous price structure and measures penetration in ATR terms.
A controlled fresh structure event receives greater analytical weight. A recent structure event can remain relevant for a limited number of bars.
This allows the setup engine to evaluate continuation conditions after a structure event rather than requiring the signal candle itself to be the structure-break candle.
### Trading Modes
The indicator includes three analytical modes:
**SCALPING** — shorter calculation lengths for faster chart conditions.
**INTRADAY** — balanced calculation lengths for intraday market analysis.
**SWING** — longer calculation lengths for broader directional analysis.
These modes adjust internal trend, adaptive smoothing, momentum, structure, and candle-range parameters.
### Signal Quality and Frequency
Users can select **Aggressive, Balanced, or Conservative** signal-quality settings.
The **Selective, Balanced, and Frequent** frequency settings adjust phase confirmation and setup evaluation parameters.
These controls change the script's rule-based analytical sensitivity. They do not represent expected performance levels.
### BUY and SELL Labels
BUY and SELL labels identify rule-based analytical setups generated when the script's directional phase, trend state, factor consensus, quality, volatility, and other enabled conditions meet the defined criteria.
The labels are analytical markers only. They are not automated orders, trade execution instructions, financial advice, or guarantees of future market movement.
### Early Transition Markers
Optional early transition markers evaluate directional crosses together with trend slope, adaptive direction, EMA alignment, momentum, and candle characteristics.
These markers are separate from the primary BUY and SELL setup engine. They do not reset the Trend Phase Lock or unlock another primary setup marker.
### ATR Risk Guide
The optional ATR Risk Guide plots a volatility-based visual reference around the adaptive average.
It is provided for chart analysis only and is not a broker order, strategy exit, or guaranteed stop-loss level.
### Bar-Close Processing
When **Signals On Bar Close** is enabled, phase processing, primary setup markers, early transition markers, and related alerts are evaluated after the chart bar closes.
The script does not use `request.security()` or future-data lookup.
### Important Information
This indicator is provided for educational and informational purposes only.
It is an analytical decision-support tool and does not execute trades or provide automated investment advice. BUY and SELL labels identify conditions defined by the script's calculations and should not be interpreted as guarantees of profitable outcomes or future price direction.
Users should independently evaluate market conditions and apply their own execution, position-sizing, and risk-management methods.
Past performance does not guarantee future results.
Gösterge

SBP SBP Trend Phase NavigatorSBP Trend Phase Navigator
SBP Trend Phase Navigator is a rule-based technical analysis indicator designed to study directional trend phases and identify selected analytical setups when multiple chart conditions align.
Purpose and Component Integration
The indicator combines trend direction, adaptive smoothing, EMA alignment, ATR-normalized momentum, price structure, candle characteristics, optional relative volume, and volatility analysis.
These components are combined because they evaluate different aspects of price behaviour. Trend calculations provide directional context, momentum measures the strength of recent price movement relative to volatility, price structure evaluates movement beyond previous chart levels, and candle analysis examines the characteristics of the current bar.
The script processes these conditions within one rule-based framework rather than treating each component as an independent signal source.
Trend Analysis
The trend engine evaluates price in relation to a smoothed trend filter and measures the direction of the filter's slope.
A fast and slow EMA pair is used to assess directional alignment. The distance between these averages is normalized using Average True Range (ATR) and forms part of the trend-strength calculation.
A Hull-style adaptive average provides an additional directional reference. Its slope is evaluated together with the trend filter and EMA alignment when determining bullish or bearish trend conditions.
ATR-Normalized Momentum
Momentum is calculated from price change over a mode-dependent lookback period and divided by ATR.
This allows the script to evaluate recent directional price movement relative to the instrument's recent volatility rather than using absolute price movement alone.
Bullish and bearish momentum conditions are calculated separately.
Price Structure and Candle Analysis
The Price Structure Engine compares the current closing price with previous structure highs or lows over a selected lookback period.
The current setup candle is excluded from its own structure reference.
The Candle Quality Engine evaluates the candle body relative to the complete candle range and examines where the candle closes within that range. Bullish and bearish candle conditions are assessed separately.
Optional Relative Volume Analysis
The Relative Volume Filter compares current volume with its recent average where usable volume data is available.
This component is optional because volume characteristics can differ between symbols and markets.
When the volume filter is disabled, volume is excluded from both the score contribution and the available score denominator.
Volatility and Signal Distance
The volatility engine compares current ATR with its recent ATR average. The optional volatility filter can restrict setup markers when the ATR expansion ratio exceeds the selected maximum value.
The Maximum Signal Distance setting measures the distance between price and the Adaptive Average in ATR units. This condition can restrict primary setup markers when price is beyond the selected distance from the adaptive trend reference.
Normalized Quality Score
The indicator calculates separate bullish and bearish quality scores.
Trend strength and directional alignment form the core of the score. Momentum, candle characteristics, price structure, and relative volume contribute when their corresponding components are enabled.
The quality percentage is normalized according to the active scoring components. Disabling an optional component removes its contribution from the score calculation and the available score denominator.
The Aggressive, Balanced, and Conservative quality settings adjust the analytical thresholds used by the script. These settings control rule selectivity and do not represent an expected performance or success rate.
Trend Phase Lock
The Trend Phase Lock is used to control repeated same-direction setup markers.
Bullish and bearish trend conditions are counted over consecutive qualifying bars. A directional phase is established after the selected phase-confirmation requirement is met.
Temporary neutral or transition bars do not automatically reset the active phase.
After a primary BUY or SELL setup marker is generated, the active directional phase is marked as used. The primary setup engine does not generate another same-direction marker during that established phase.
A new primary setup becomes available after an opposite directional phase satisfies the script's phase-confirmation rules.
The Trend Phase Lock is a signal-frequency control mechanism. It does not predict future price direction.
Signal Frequency
The indicator provides Selective, Balanced, and Frequent signal-frequency settings.
Selective applies additional phase confirmation and higher quality requirements.
Balanced uses moderate phase and quality requirements.
Frequent uses less restrictive phase-confirmation and quality requirements.
These settings change the selectivity of the rule-based setup engine.
BUY and SELL Setup Labels
BUY and SELL labels identify bars where the enabled trend, momentum, structure, candle, volume, volatility, signal-distance, quality, and directional-phase conditions satisfy the selected settings.
The primary setup engine permits one setup marker per established directional phase.
When Signals On Bar Close is enabled, primary setup markers and related alert conditions are evaluated after the chart bar closes.
The labels represent rule-based analytical conditions generated by the script. They are not automated orders or guarantees of future price movement.
Early Transition Markers
Optional Early Transition Markers evaluate selected crossings of the trend filter together with trend slope, adaptive trend direction, EMA alignment, momentum direction, candle characteristics, volatility, and signal-distance conditions.
These markers are separate from the primary BUY and SELL setup engine. They do not reset the active phase or unlock another same-direction primary setup.
Early Transition Markers are disabled by default.
ATR Risk Guide and Dashboard
The optional ATR Risk Guide plots a volatility-based analytical reference around the Adaptive Average. It is a visual reference only and is not an automated order, strategy exit, or guaranteed stop level.
The optional dashboard displays the selected mode, signal-frequency setting, current trend state, active directional phase, phase-signal status, normalized quality score, market regime, and current setup state.
Modes and User Controls
The indicator provides SCALPING, INTRADAY, and SWING modes. These modes adjust the internal trend, adaptive-average, momentum, and price-structure lookback lengths.
Users can also control trend-strength, momentum, relative-volume, price-structure, candle-quality, and volatility filters through the indicator settings.
Important Information
SBP Trend Phase Navigator is an analytical and technical-analysis tool intended for educational and informational use.
The indicator evaluates chart data according to defined mathematical and rule-based conditions.
BUY and SELL labels identify analytical setups produced by the script's conditions. They do not constitute financial advice, automated trade execution, or guarantees of future market performance.
The script does not place or manage orders. Users are responsible for their own analysis, trading decisions, position sizing, and risk management.
Past performance does not guarantee future results. Gösterge

SBP Structured Scalping IndicatorSBP Structured Scalping Indicator
SBP Structured Scalping Indicator is a market-structure and short-turn analysis framework designed to identify selective BUY and SELL observations around developing price turns.
The script is not a simple moving-average crossover mashup. Its purpose is to combine differently timed market observations into a single major-turn framework. A volatility-responsive adaptive trend identifies directional colour changes, while confirmed swing context and recent local extremes study whether that change is occurring near a meaningful price turning area.
Because a confirmed pivot and an adaptive trend change may not occur on the same candle, the script uses a short event-memory window to evaluate their proximity. A local-extreme fallback also studies recent highs or lows and requires a configurable ATR-based price excursion before the area can qualify as meaningful.
Potential turns are then evaluated using a confirmation score derived from adaptive-trend position, Dynamic Trend Filter direction, normalized momentum, candle direction, and liquidity or premium/discount context. Minimum signal spacing and alternating signal-state logic are used to reduce repetitive labels.
The Premium / Discount framework builds a dealing range from confirmed structural highs and lows and displays straight Premium, Equilibrium and Discount reference levels. These levels can be used as visual context or, when enabled, as an additional signal-location filter.
The two-colour Adaptive Trend Line changes between bullish and bearish states only when its confirmed slope exceeds a volatility-adjusted threshold. BUY and SELL signals are plotted on the confirmation bar; the primary signals do not use negative offsets.
Main settings
Minimum Signal Gap controls spacing between major-turn signals. Increasing it produces fewer, more widely separated observations.
Minimum Turn Confirmation Score controls how many supporting conditions are required. A higher value is more selective; a lower value increases sensitivity.
Local Extreme Lookback changes the recent high/low observation range.
Minimum Major Turn Excursion ATR controls how much prior price movement is required before a local extreme can qualify as a meaningful turn area.
Signal Window After Colour Change and Maximum Bars From Swing control the short event-memory relationship between adaptive turns and swing context.
Use Confirmed Swing Context evaluates confirmed pivot proximity. Use Local Extreme Fallback allows meaningful recent extremes to supplement pivot context. Use Premium / Discount Bias restricts BUY observations toward Discount and SELL observations toward Premium.
Optional structure, swing, CHoCH and liquidity displays are included for analysis and can be hidden to maintain a clean chart.
The indicator is intended as an analytical framework for studying short-term market structure, directional transitions and price-location context. Signals are observations generated from the framework's conditions and should be evaluated with the trader's own risk management and trading plan. Gösterge

SEDAT XI Crypto AI BIAS ENGINE-iphone v2.0 ** ⚡SEDAT XI Crypto AI BIAS ENGINE⚡
The **SEDAT XI Crypto AI BIAS ENGINE** is a multi-asset cryptocurrency dashboard designed to help traders quickly identify where momentum, trend, and participation are aligning across the market.
Rather than focusing on a single chart, the dashboard continuously scans major cryptocurrencies and summarizes the information into an easy-to-read institutional-style interface. It combines trend analysis, breakout detection, momentum, volume activity, and RSI into one compact view, making it easier to prioritize the strongest opportunities.
### Features
• Multi-asset crypto scanner (BTC, ETH, SOL, ADA, XRP, SHIB)
• AI-style bias engine with Bullish, Bearish, Strong Trend, and Breakout detection
• Institutional volume activity meter
• Momentum score with color-coded strength
• RSI momentum confirmation
• Live current price display
• Final trade bias summary
• Mobile-friendly dashboard mode
• Adjustable dashboard size and screen placement
The goal is simple: reduce chart clutter and provide a fast market overview so traders can spend less time searching and more time focusing on high-quality setups.
This indicator is designed for educational and informational purposes. It does not predict future price movements or guarantee profitable trades. Always combine its signals with sound risk management and your own market analysis.
Thank you for checking out **SΞDAT XI Crypto AI BIAS ENGINE**. I hope it becomes a valuable part of your trading workflow. Feedback and constructive suggestions are always welcome as the project continues to evolve.
Gösterge

VIP Currency Strength MatrixVIP Currency Strength Matrix — Round-Robin Strong-Count (SMA/EMA)
OVERVIEW
This indicator scores the 8 major currencies (EUR, GBP, AUD, NZD, USD, CAD, CHF, JPY) using a round-robin "strong-count" method, then builds a pair-difference matrix so you can see, at a glance, which pairs have the wind at their back and which are fighting it. It is a bias and confluence tool, not an entry signal.
HOW IT WORKS
The 8 currencies form 28 unique pairings. For each pair, the indicator checks whether price is above or below a reference moving average (200 SMA by default):
- Price ABOVE the MA -> the BASE currency earns +1 strong-count.
- Price BELOW the MA -> the QUOTE currency earns +1 strong-count.
Each currency is compared against the other seven, so every currency ends with a strong-count from 0 (weakest) to 7 (strongest).
For any pair, the score shown is:
strong-count(base) - strong-count(quote), ranging from -7 to +7.
- Positive = base is stronger (buy-side confluence).
- Negative = quote is stronger (sell-side confluence).
Cells at or beyond the highlight threshold (default 4) are color-coded green (buy) or red (sell).
WHAT YOU SEE
- Currency Strength table: all 8 currencies ranked 0-7, strongest at the top.
- Pair Matrix: all 28 pairs with their difference score, sorted so the strongest buy-side reads sit at the top and the strongest sell-side reads at the bottom.
HOW TO USE IT
1. Use it to establish directional bias first: favor longs on currencies ranked high, shorts on currencies ranked low.
2. A pair scoring +6 or +7 is strongly one-sided, but "strong" is not the same as "a good entry." Wait for price to reach your own level/structure before acting.
3. Look for agreement, not extremes. Alignment across your timeframes is the read you want.
MULTI-TIMEFRAME
Each copy of the indicator computes ONE timeframe (28 data requests). TradingView caps unique data requests at 40 (non-pro) / 64 (pro), so 28 pairs across several timeframes cannot fit in a single script. To watch multiple timeframes at once, add the indicator to your chart several times, set each copy to a different timeframe, and give each its own table position.
IMPORTANT SETUP NOTES
- Run it on a chart timeframe equal to or lower than the timeframe you request. Requesting a lower timeframe than the chart (e.g. asking for 15m while on a 4H chart) forces a heavy data pull across all 28 pairs and can trigger "Memory limits exceeded." If you see that error, lower "History bars per pair" and/or drop to a lower chart timeframe.
- "Data-feed prefix" must be a feed that carries all 28 pairs, including the crosses (OANDA works well).
INPUTS
- Reference MA type and length (default SMA 200)
- History bars per pair (memory control)
- Data-feed prefix
- Timeframe (one per copy)
- Panel tag, table positions, text size
- Buy/Sell highlight threshold (default 4)
HONEST LIMITATIONS
- A round-robin does not mathematically guarantee 8 unique ranks. Cyclical conditions (A>B, B>C, C>A) can produce a tie, showing a 0 or a repeated rank. Treat a 0 as "no clear edge / choppy," not as a defect.
- Strength above/below a long MA is a slow, trend-following read. It tells you direction and context; it does not time entries.
This script is provided for educational and analytical purposes only. It is not financial advice and makes no representation about future results. Always do your own analysis and manage risk. Gösterge

Trend Health [FEELS]A trend rarely dies suddenly. It fades first: the move gets inefficient and counter-trend candles grow heavier. Trend Health paints that fading straight onto a supertrend-style ATR trail, and tightens the stop while it happens.
The band is saturated green or red while the trend is strong. As health decays the color drains toward amber, an amber dot prints where the dying starts, and the trail contracts under price so a weak trend exits earlier than a fixed stop would.
QUICK START
Add it to a chart and read the color. Bright band: trend intact, trail at full width. Fading band: trend losing quality, stop contracting. Amber band: dying trend, elevated flip risk. Scroll the history: most flips carry an amber warning dot some bars before them. The strip along the bottom compresses the full health history into one regime line, and the label at the right edge shows direction, state and the current health score.
HOW IT WORKS
Two layers: a health score, and a trail that consumes it.
Health score, computed every bar over the Health lookback window:
1. Directional efficiency. Kaufman efficiency ratio (net move divided by the sum of absolute bar-to-bar moves), zeroed when the net move points against the active trend, normalized so a reading of 0.5 counts as fully efficient.
2. Momentum side. RSI distance from the 50 line in the direction of the trend, scaled over 25 points.
3. Impulse asymmetry. Candle bodies printed with the trend versus against it over the window. When counter-trend bodies grow, this component decays before price structure breaks.
These three form the core score (weights 0.45 / 0.30 / 0.25). The displayed health adds a fourth read, the distance between price and the trail in ATR units, at 25 percent weight. The score is EMA-smoothed and resets on every flip.
The trail is a ratchet ATR stop built from scratch. Base width is ATR times the multiplier. With Adaptive tightening on, the effective multiplier is scaled by the core score, so a healthy trend trails at full width while a dying trend gets a progressively tighter stop. The distance component is excluded from the core on purpose, otherwise tightening would lower the score and tighten further in a loop. Toggle it off and you get a classic fixed-width trail; the health engine then only drives the color.
HOW TO USE
- Color is the instruction. Enter or hold on a saturated band, tighten manually or stand aside on amber.
- The dying alert fires when health crosses under the threshold while the trend is still running. On past data many flips were preceded by exactly this transition. Treat it as a condition read, not a forecast.
- Four alerts: flip up, flip down, trend dying, trend recovered.
- Designed on 4H to 1W. Works on any symbol and timeframe; on low timeframes expect more flips, especially in ranges with adaptive mode on.
PARAMETERS
- ATR length / ATR multiplier: trail geometry at full health.
- Adaptive tightening: health-driven contraction of the trail, on by default.
- Health lookback: window for the efficiency, momentum and asymmetry reads.
- Health smoothing: EMA on the raw score.
- Dying threshold: below this level the trend counts as dying; drives the amber floor, the warning dot, the label and the alert.
- Display toggles: trend fill, bar coloring, flip markers, dying warnings, health ribbon, status label.
- Sizing: marker size, label size and trail width are adjustable.
NOTES
- The trail state confirms at bar close. On the live bar the level and color can update until close.
- Health describes the present condition of the trend. It does not predict future prices.
- A dying warning is a condition mark, not an exit signal: health can recover and the trend can resume. Sharp reversals can flip a trend straight from high health without any warning printed.
- Adaptive mode trades later giveback for earlier exits, so in choppy ranges it flips more often than a fixed trail. That is the design, not a defect.
ORIGINALITY
The ratchet ATR trail is a classic public-domain concept reimplemented from scratch. What is original here is the three-component health model, the gradient mapping of that score onto the trail, bars and ribbon, and the feedback of the score into the stop width itself, which makes the flip points measurably different from a standard fixed-factor trail. RSI and the efficiency ratio are not displayed as separate indicators; they exist only as inputs to one scoring model. This is a single system, not a mashup. Gösterge
