Adaptive RSIAdaptive RSI
Adaptive RSI is an enhanced version of the classic Relative Strength Index designed to automatically adjust its behavior to changing market conditions. The indicator can operate both as a mean-reversion oscillator and as a trend-following momentum tool, allowing traders to detect high/low value zones while also capturing directional moves.
Unlike the traditional RSI, which uses a fixed smoothing method, Adaptive RSI dynamically changes its calculation speed depending on market activity. This helps reduce false signals in slow or choppy markets while allowing faster responses during strong moves.
🔍 Concept & Idea
The goal behind Adaptive RSI is to make RSI responsive when opportunities appear and more conservative during uncertain or low-activity environments.
By automatically adjusting its internal smoothing and reaction speed, the indicator attempts to balance:
• Early entries during strong market moves
• Reduced noise during consolidation
• Mean-reversion opportunities in ranging markets
• Momentum confirmation in trending markets
This adaptive behavior makes the oscillator more versatile across multiple market conditions.
⚙️ How It Works
The indicator evaluates market activity using three drivers:
• True Range (volatility)
• Volume activity
• Rate of price change
Users can define which of these factors has priority. The script then checks up to three conditions; the more conditions that are satisfied, the faster and more responsive the RSI calculation becomes.
This creates multiple internal speed tiers ranging from smooth and conservative to highly responsive.
After the adaptive RSI is calculated, an additional adaptive smoothing layer is applied using the same logic, improving signal clarity while preserving responsiveness.
An optional feature allows the RSI to use a special Rate-of-Change weighted price source. This feature is more advanced and mainly intended for users who understand how weighted price construction affects oscillators.
A divergence measure between the base RSI and the smoothed Adaptive RSI is also plotted to help visualize shifts in momentum strength.
⚙️ Key Features
• Adaptive RSI calculation speed
• Works for both trend-following and mean-reversion approaches
• Adjustable long and short signal thresholds
• Overbought and oversold zone highlighting
• Divergence histogram between RSI and adaptive smoothing
• Trend-based coloring and visual signal markers
• Optional ROC-weighted source for advanced users
🧩 Inputs Overview
• RSI calculation length and smoothing length
• Price source selection or optional special weighted source
• Speed tier selection (slow, medium, fast behavior)
• Activity priority order (volatility, volume, momentum)
• Long/short and overbought/oversold thresholds
📌 Usage Notes
• Can be used both for trend continuation and mean-reversion strategies.
• Adaptive logic helps reduce noise during sideways markets.
• Strong moves may cause faster RSI transitions due to adaptive speed selection.
• Signals may update intrabar on lower timeframes.
• Works best when combined with risk management and confirmation tools.
• No indicator is perfect; always test before live use.
This script is intended for analytical purposes only and does not provide financial advice.
Penunjuk dan strategi
Length Adaptive MA SuperTrendLength Adaptive MA SuperTrend
Length Adaptive MA SuperTrend is a third-generation evolution of the SuperTrend concept, designed to improve signal accuracy while maintaining high responsiveness across different market conditions. The indicator dynamically adjusts its moving-average length to better match current market activity, allowing it to react quickly in fast markets while remaining stable during slower phases.
This adaptive behavior helps traders and investors visualize trend direction more clearly while reducing unnecessary noise, making the tool suitable for both beginners and advanced users seeking a responsive trend overlay.
🔍 How It Works
The indicator uses a moving average as the foundation for a SuperTrend-style structure, but instead of keeping the moving-average length fixed, it continuously adapts to changing market environments.
The script compares average activity levels across three horizons:
• Long-term period
• Medium-term period (half length)
• Short-term period (square-root length)
Activity is measured using one of three selectable drivers:
• ATR (volatility)
• Volume
• Standard deviation
Whichever period shows the strongest average activity becomes the active length used for calculating the moving-average base. This allows the indicator to automatically shift between faster and slower behavior depending on market conditions.
After selecting the active length, the result is slightly smoothed using the chosen moving-average type to produce a cleaner and more stable trend structure.
ATR-based bands are then applied around the adaptive base, and trend direction changes when price crosses these bands.
⚙️ Key Features
• Adaptive moving-average length selection
• Automatic adjustment between short, medium, and long market conditions
• Multiple smoothing types (SMA, EMA, WMA, HMA, VWMA, DEMA, TEMA, EWMA)
• ATR-based SuperTrend structure
• Trend transition markers
• Optional candle coloring based on active trend
🧩 Inputs Overview
• Moving-average smoothing type
• Base length and price source
• ATR length and multiplier
• Adaptive driver selection (ATR, Volume, or Standard Deviation)
📌 Usage Notes
• Helps visualize prevailing market trends across changing environments.
• Automatically adapts speed for trending and consolidating markets.
• Signals may change intrabar on lower timeframes.
• Best used with confirmation tools and proper risk management.
• Intended as an analytical tool, not financial advice.
ST Order Block EngineAdvanced order block detection based on displacement and structural validation.
ROC-WMA bull bear indicatorROC-Weighted MA Oscillator
By Ludovic B
Modified source code of SeerQuant
The ROC-Weighted MA Oscillator (ROCWMA) is a momentum-driven oscillator designed to expose hidden acceleration and deceleration phases in price action by dynamically weighting a moving average with the normalized Rate of Change (ROC).
Instead of treating all price deviations equally, this indicator amplifies meaningful moves and suppresses low-energy noise, making it particularly effective in scalping, intraday trading, and momentum reversals.
🔧 Core Concept
A base moving average (SMA, EMA, TEMA, DEMA, HMA, ALMA, etc.)
Weighted by normalized ROC
Transformed into a Z-score oscillator for comparability across assets
Smoothed with a signal line for timing precision
Result: a context-aware oscillator that adapts to market intensity.
📊 What the Oscillator Shows
Bullish momentum when histogram is positive and expanding
Bearish momentum when histogram is negative and expanding
Neutral zone to filter chop and avoid over-trading
Automatic color logic to highlight regime changes
Optional candle coloring reflects the active momentum state.
🎯 Signal-Based Price Markers (Advanced Feature)
This script includes price-chart markers when:
The signal line retraces to X% of the maximum oscillator bar of the current momentum phase
AND the signal slope confirms exhaustion (rising or falling)
Key characteristics:
Adaptive thresholds (relative, not fixed)
Separate logic for bullish and bearish phases
Reset on each neutral-zone transition
Configurable number of markers per momentum cycle
This makes the indicator particularly useful for:
Pullback entries
Momentum fading
Timing partial exits
⚙️ Customization
Fully adjustable ROC length, MA type, signal length
Neutral zone threshold control
Multiple color schemes
Optional candle coloring
Adaptive signal-to-oscillator percentage logic
🧠 Best Use Cases
Scalping (M1–M5)
Intraday momentum confirmation
Pullback and exhaustion detection
Cross-asset trading (FX, indices, crypto, metals)
ROCWMA is not a lagging oscillator.
It is a momentum intensity detector built to reveal when price moves matter.
Gold Decisions [DayFunded]Gold Decisions 🎯
A multi-timeframe decision system designed specifically for XAUUSD (Gold) traders who want clarity, not noise.
🔍 What It Does
This indicator helps you identify high-probability trade setups by checking 5 key conditions:
1️⃣ Direction — Weekly + Daily must agree (no fighting the trend!)
2️⃣ Breakout — Daily closes beyond a key H4 zone
3️⃣ Pullback — Price returns to the cleared level (no chasing!)
4️⃣ Structure — 15-minute confirms with a break of structure
5️⃣ Entry — Clean directional close = signal
When all gates pass, you get a simple BUY or SELL label with confidence level (H/M/L).
📊 Features
✅ Clean, minimal chart labels (no spam!)
✅ Smart panel showing exactly what to watch for
✅ Win/Loss tracking to see historical performance
✅ H4 Supply/Demand zones auto-detected
✅ Asia session levels (Gold reacts to these!)
✅ Weekly/Daily high-low reference points
✅ Pullback target line for easy visual
⚠️ Important Notes
This is an indicator, not an EA — it does NOT place trades
Signals fire on confirmed bar close — no repainting
Works best on 15m to 4H timeframes
Designed for XAUUSD but may work on other pairs
🎁 Free to Use
This script is completely free. If you find it helpful, a follow or comment is always appreciated!
📖 How to Use
Add to your Gold chart (15m-4H recommended)
Watch the panel for "WATCH FOR" guidance
Wait for BUY/SELL signal
Check confidence level (H = High, M = Medium, L = Low)
Manage your own risk
Not financial advice. Trade responsibly. ✌️
Adaptive Volatility Trend Filter AI PANDAHENTesting scripts by using ma ema volume and will give green and red indicator where is suggestion to buy or sell
Divergence Detector [KTY] Divergence Detector
Hi, I'm Kim Thank You 👋
KTY = Kim Thank You (김땡큐)
Detects divergences in real-time across 6 indicators: MACD, RSI, Stochastic, CCI, Momentum, MFI.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 FEATURES
- Multi-Indicator Detection
- Scans 6 indicators simultaneously
- MACD, RSI, Stochastic, CCI, Momentum, MFI
- Divergence Types
- Bullish Divergence (Green): Price lower low, indicator higher low → ↑
- Bearish Divergence (Red): Price higher high, indicator lower high → ↓
- Visual Display
- Arrow lines connecting pivot points
- Labels showing indicator names with direction (↑/↓)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✅ HOW TO USE
- Bullish divergence → Check for potential upward move
- Bearish divergence → Check for potential downward move
- Multiple indicators diverging → Higher reliability
- Combine with S/R levels for confirmation
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💡 TIPS
- Divergence indicates "possibility" not certainty
- Strong trends may ignore divergences
- Higher timeframe divergences are more reliable
- Use with other indicators for confirmation
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠️ DISCLAIMER
This indicator is for educational purposes only.
Not financial advice. Always do your own research.
Alg0 Hal0 CCI SnapAlg0 ۞ Hal0 CCI Snap
1. The Core PhilosophyThe A۞H CCI Snap is a dual-confirmation momentum oscillator. Unlike standard oscillators that only look at one data stream, this tool separates Market Structure (Background Trend) from Momentum Velocity (CCI Snap). It is designed to identify "Mean Reversion" opportunities and "Trend Continuation" snaps.
2. The Interface (Visual Components)The CCI Line (Blue): Tracks the "typical price" relative to its average. It tells you how fast the market is moving.The Signal Line (Yellow): A customizable moving average (HMA, TEMA, etc.) of the CCI. It filters out the "jitters" of the blue line.Background Trend (Green/Red): This is independent of the CCI. It tracks whether the actual Price is above or below a long-term Moving Average (default is 50 SMA).The 5-Color Heatmap Dashboard: A real-time data table that calculates the "Heat" of the current momentum compared to the last 3 bars.
3. How to Trade with A۞H CCI Snap
۞ The "Snap" Entry (Trend Continuation)This is the highest probability trade. You are looking for a momentary dip in a strong trend.Check Background: Background must be solid Green.Observe CCI: The Blue CCI line dips below the Yellow Signal line (a "cooling off").The Trigger: Enter when the Blue line snaps back above the Yellow line.Confirmation: The Dashboard should show Dark Green (Accelerating Bullish Heat).
۞ The Zero-Line Rejection (Trend Strength)
The 0 line is the "Fair Value" of momentum.Bullish: In a Green background, if CCI drops toward 0 but bounces off it without crossing, it confirms the trend is extremely strong.
Bearish: In a Red background, if CCI rises toward 0 but "rejects" and heads back down, it confirms heavy selling pressure.
۞ Exhaustion Warning (Mean Reversion)If the CCI is above +200 or below -200, the market is overextended. Look at the Dashboard Heatmap: If the CCI is at +210 but the cell color turns from Dark Green to Light Green, the "Heat" is leaving the move. This is your signal to tighten stop-losses or take profits.
4. Input Customization Guide and Recommendations
* Setting GroupFunctionPro-TipCCI CoreSets the sensitivity of the blue line.
* Use 14 for scalping, 20 for day trading.
* CCI SignalSets the smoothing of the yellow line.
* HMA (Hull) is best for crypto due to low lag.Background
* TrendDrives the Green/Red chart color.
* Set to 50 SMA for a "Trend Filter" or 200 SMA for "Macro" view.
* Alert SettingsToggles specific notifications.
* Turn off "Zero Cross" if you only want major Trend Flips.
5. Interpreting the Heatmap Dashboard:
۞ Dark Green (+): Bullish Acceleration (Buy/Hold).
۞ Light Green (+): Bullish Deceleration (Caution/Take Profit).
۞ Gray (0): No Momentum (Range-bound/Sideways).
۞ Orange/Light Red (-): Bearish Deceleration (Short Cover/Bottom Fish).
۞ Dark Red (-): Bearish Acceleration (Sell/Short).
!! Important Technical Note!!
VWAP Option: If you select VWAP as your Trend MA Type, the background will only color on charts that provide Volume Data (Stocks, Crypto, most Futures). It will appear gray on most Forex pairs.
VWMA 200 (HTF) + Fibonacci BandsVWMA 200 (HTF) + Fibonacci Bands + VWAP Trend Dashboard
This indicator combines a Higher Timeframe VWMA (default: 200) with volatility bands and Fibonacci-based internal levels, plus anchored VWAPs (Daily / Weekly / Monthly) and an optional trend dashboard table.
It was designed to help you quickly spot:
where price is relative to a major HTF VWMA mean
whether price is trading in normal / extreme zones
how price is positioned versus session/period VWAPs
a simple “at-a-glance” trend bias across multiple anchors
What’s included
1) VWMA 200 (HTF)
VWMA is calculated on a locked timeframe (HTF) using request.security.
Default source is HLC3, but you can change the source.
2) Volatility bands + Fibonacci levels
The outer bands are based on a scaled standard deviation (mult * stdev) around the HTF VWMA.
Internal bands use Fibonacci ratios:
11.8% / 23.6% / 38.2% / 50% / 61.8% / 76.4% / 88.6% / 100%
Clean labels on the right side show each level as a percentage.
3) Extreme candle highlighting
Candles can be highlighted when the close is beyond the 76.4% band (upper or lower).
Helps identify potential stretched conditions / breakout zones.
4) Anchored VWAPs
Optional Daily / Weekly / Monthly VWAP (anchored by period change).
Optional VWAP labels on the right side (toggle separately).
5) Trend Dashboard Table
Optional table showing Bullish / Bearish / Neutral for:
VWAP D, VWAP W, VWAP M, and VWMA HTF
Displays distance from each reference in points (price units).
Includes a Confluence row:
Bullish if price is above all references
Bearish if price is below all references
Mixed otherwise
Table position can be customized (Top Right / Top Left / Bottom Right / Bottom Left).
How to use (quick guide)
Mean reversion / structure: Use the HTF VWMA as the central “mean” reference.
Zones: Fibonacci bands show progressively stronger deviation zones from the mean.
Extremes: Candle coloring beyond 76.4% can highlight stretched price action.
Trend bias: The dashboard helps confirm whether price is aligned above or below key anchors (VWAPs + VWMA HTF).
Confluence: When multiple anchors agree, trend conviction tends to be higher.
Notes / Disclaimer
This tool is intended for context and decision support, not as a standalone strategy.
VWAP behavior may differ across markets/sessions depending on symbol and exchange rules.
Always combine with your own risk management and confirmation tools.
FOCUS all in one (N-TABLOUH)It took me hours and hours to build this indicator
so it shows the important stuff we need to watch as traders! Here you see a price label with a countdown,
how much the asset has retraced from its high or low,
and the total session range.
You also get 4h separators to show the move, keeping you aware of the 4/8 or 12h window. Plus, there is a table showing the assets you want to trade so we don't have to go flip charts and waste time
True Range Smoothed SuperTrendTrue Range Smoothed SuperTrend (TRS SuperTrend | MisinkoMaster)
The True Range Smoothed SuperTrend is an innovative trend analysis indicator designed to identify clear market trends while minimizing noise. By combining a smoothed price source weighted by true range values with an ATR-based volatility multiplier, this tool delivers reliable trend signals adaptable to a wide variety of asset classes and timeframes.
It’s particularly useful for traders seeking a versatile trend-following system that balances sensitivity and stability.
🔍 Concept & Idea
The indicator enhances the classic SuperTrend concept by using a true range–weighted smoothing of price data instead of raw price or simple moving averages. This weighting helps focus on periods with higher volatility, improving the relevance of trend detection.
Along with smoothing, the indicator applies an ATR-based volatility multiplier to dynamically adjust the upper and lower trend bands, adapting to current market volatility conditions.
⚙️ How It Works
True Range Weighted Smoothing:
The source price (default: low) is multiplied by the true range values over the lookback period.
These weighted values are summed and normalized by the total true range sum.
The result is further smoothed using an Exponential Moving Average (EMA) with a length proportional to the square root of the input length, reducing noise while preserving trend responsiveness.
ATR-based Bands:
The Average True Range (ATR) is calculated with the same length as the smoothing period.
The ATR is multiplied by a user-defined multiplier to establish dynamic upper and lower bands around the smoothed price.
Trend Determination:
When the source price crosses above the upper band, a bullish trend is signaled.
Conversely, crossing below the lower band signals a bearish trend.
These crossings update the trend state, which controls plotted bands and trend labels.
🧩 Inputs Overview
Length – Controls the lookback period for true range weighting, ATR calculation, and smoothing. Affects sensitivity and smoothness (default 37).
Source – Price source used for calculation, defaulting to low.
Multiplier – Scales the ATR bands to adjust volatility sensitivity (default 1.45).
📌 Usage Notes
The TRS SuperTrend works well across various asset classes and timeframes.
The true range weighting improves trend detection in volatile markets by emphasizing price moves during active periods.
Adjust the length and multiplier inputs to balance between noise reduction and responsiveness for your specific market and strategy.
Trend changes are visually marked with “𝓛𝓸𝓷𝓰” and “𝓢𝓱𝓸𝓻𝓽” labels directly on the chart.
Background fills between bands and price improve visual clarity.
Combine with other confirmation tools and risk management practices for best results.
Not a standalone trading system; always validate and backtest prior to live trading.
⚠️ Disclaimer
This script is provided for educational and informational purposes only and does not constitute financial advice. Trading involves risk and users should perform their own analysis before making trading decisions.
Enjoy smoother and clearer trend analysis with the True Range Smoothed SuperTrend!
Volatility Smoothed Moving Average BandVolatility Smoothed Moving Average Bands
The Volatility Smoothed Moving Average Bands are volatility-based bands that combine multiple measurements to provide a robust and accurate view of market trend and direction.
🚀 Benefits
• Reduced noise through multi-source averaging
• Fast response to market changes
• Strong performance on volatile assets, especially altcoins (notably CROUSD)
💡 Core Idea
The goal is to generate accurate and robust signals by averaging multiple components without requiring additional historical data. The method extracts more information from the same data, improving stability and responsiveness simultaneously.
⚙️ How It Works
A fast and a slow moving average are calculated.
Multiple intermediate values are derived and averaged to build a highly stable center line.
Differences between all components are averaged to estimate volatility.
This volatility is added and subtracted from the center line to form dynamic upper and lower bands.
The result is adaptive bands that track market structure with high accuracy and reduced lag.
📌 Usage Notes
• Best suited for trend detection and dynamic support/resistance.
• Bands expanding → volatility increasing.
• Bands contracting → market compression or consolidation.
• Crosses above/below bands often signal strong directional shifts.
Enjoy and trade smart.
LSMA25 Trend Correction Continuation
## LSMA25 Trend Correction Continuation - Publishing Description
### Overview
This indicator highlights **trend continuation opportunities** using a **25-period LSMA (Least Squares Moving Average)** with a **slope/angle filter** and a simple **correction + re-entry** logic.
It is designed to mark:
* **Continuation entries** after a pullback (correction) and re-cross of LSMA in the direction of a strong trend
* **Strong-trend state** (subtle dots) when price stays on the trend side of LSMA with a steep angle, even without a fresh cross
### Core logic
1. **LSMA (25 by default)**
* Uses `ta.linreg(close, lsmaLen, 0)` as the LSMA line.
2. **Trend strength via angle (tick-normalized)**
* Computes 1-bar LSMA slope in **ticks**:
* `slopeTicks = (lsma - lsma ) / syminfo.mintick`
* Converts slope to an angle using `atan()` and a calibration input:
* `ticksPerBarFor45` approximates how many ticks per bar corresponds to ~45°
* Strong trend conditions:
* LONG trend strength when `angleDeg >= minAngleLongDeg`
* SHORT trend strength when `angleDeg <= minAngleShortDeg`
3. **Correction detection**
* LONG side: a correction exists if within the last `corrLookback` bars the close was **below** LSMA:
* `ta.barssince(close < lsma) <= corrLookback`
* SHORT side: correction exists if within the last `corrLookback` bars the close was **above** LSMA:
* `ta.barssince(close > lsma) <= corrLookback`
4. **Continuation signals**
* **Long Continuation (LC)** triggers when:
* Price **crosses above** LSMA (`ta.crossover(close, lsma)`)
* Angle indicates **strong uptrend**
* A recent **pullback below LSMA** occurred
* Optional ATR% filter passes
* **Short Continuation (SC)** triggers symmetrically on cross below.
5. **Strong trend markers**
* When price is on the trend side of LSMA and angle is strong:
* Uptrend: `close > lsma and strongUp`
* Downtrend: `close < lsma and strongDown`
* Drawn as small, semi-transparent circles (not entry signals by themselves).
### Plots and labels
* **LSMA line** plotted in yellow.
* **LC**: green triangle below bar (trend continuation long).
* **SC**: red triangle above bar (trend continuation short).
* **Dots**: tiny circles for strong-trend state when no fresh continuation signal is present.
### Inputs (how to tune)
* **LSMA length**
* Higher = smoother, fewer signals
* Lower = more responsive, more signals/noise
* **Ticks per bar ≈ 45°**
* Calibration control for angle scaling across different instruments/timeframes
* Increase it if angles look too “aggressive”; decrease it if angles look too “flat”
* **Min angle for LONG / Max angle for SHORT**
* Tighten to filter for only steep trends; loosen to allow more setups
* **Max correction bars back**
* Larger values allow older pullbacks to qualify
* Smaller values require a more recent correction
### Optional volatility filter (ATR%)
* When enabled, the script requires:
* `ATR% = (ATR / close) * 100 >= minAtrPct`
* Useful to avoid low-volatility chop (but can filter out valid trends on slow markets).
### How to use (practical)
* Use **LC/SC** as “trend continuation after pullback” markers:
* Prefer trading in the direction of higher timeframe bias (if applicable)
* Consider entries on LC/SC with your own risk rules (stops/targets are not included)
* Use the **strong-trend dots** as a regime filter:
* If dots persist, continuation setups have higher context quality
* If dots disappear frequently, market may be ranging/choppy
### Limitations (important)
* Angle is based on **LSMA 1-bar slope**, so it is sensitive to sudden changes and can vary across markets/timeframes.
* Correction logic is binary: it only checks whether price crossed to the other side of LSMA recently (not depth/structure of pullback).
* Signals depend on **close crossing LSMA**, not intrabar wick behavior.
* Not a full trading system: no position sizing, stops, or take profits.
### Alerts
Alerts fire only on **confirmed bars** (`barstate.isconfirmed`) for:
* “LSMA25 Long continuation”
* “LSMA25 Short continuation”
US30 AsianRange 1900-0000 LIMIT OCO (1pct risk) 120 fib 30/150asian sweep at the 120 fib, aiming for 150 pips long and short buy limits set, once one is hit for the day cancel the opposite limit straight away
TCT ChecklistChecklist in order to make you take in account everything you need to determine if a range is worth taking or not.
Vishall Heikin Ashi ForceVishall Heikin Ashi Force
Vishall Heikin Ashi Force
Vishall Heikin Ashi Force
Vishall Heikin Ashi Force
Vishall Heikin Ashi Force
S/R Zones
### What it does
**Smart S/R Zones** automatically detects and visualizes **support and resistance zones** by:
* Finding **confirmed swing highs/lows** (pivot points)
* **Clustering nearby pivots** into price zones
* Scoring each zone by **how many pivots** it contains (zone “strength”)
* Marking zones as **active** or **broken**, and stopping broken zones at the breakout bar
* Keeping the chart clean by removing pivots and zones outside a configurable lookback window
### Core logic (how it works)
1. **Pivot detection (swing points)**
* Uses `ta.pivothigh()` and `ta.pivotlow()` with:
* `leftBars` bars to the left
* `rightBars` bars to the right
* Important: pivots are **confirmed only after `rightBars` bars**, so signals are delayed by design.
2. **Pivot memory + lookback cleanup**
* Each pivot is stored with:
* price
* type: `1` = resistance pivot high, `-1` = support pivot low
* pivot bar index (pivot’s original bar)
* active/broken flag
* breakout bar index (when it got broken)
* Pivots older than `lookbackPeriod` bars are removed.
3. **Dynamic zone width**
* Computes the recent range:
* `priceRange = highest(high, lookbackPeriod) - lowest(low, lookbackPeriod)`
* Converts it to a maximum zone width:
* `maxZoneWidth = priceRange * zoneWidthPct / 100`
* This makes zones adapt to volatility/regime changes.
4. **Breakout detection (pivot invalidation)**
* A resistance pivot is marked broken when:
* `close > pivotPrice * (1 + breakoutPct/100)`
* A support pivot is marked broken when:
* `close < pivotPrice * (1 - breakoutPct/100)`
* Note: breakout is **close-based**, not intrabar wick-based.
5. **Clustering pivots into zones**
* Pivots are grouped into zones **only with the same type** (support with support, resistance with resistance).
* A pivot joins a zone if it is close to the zone midpoint:
* `abs(price - zoneMid) <= maxZoneWidth/2`
* Zone boundaries expand to include the new pivot, but only if:
* `(newHigh - newLow) <= maxZoneWidth`
* Zone strength increments by 1 for each pivot added.
6. **Active vs broken zones (visual state)**
* Active zones extend to the **current bar**.
* Broken zones stop at their **breakout bar** (the bar index stored when the pivot was broken).
* Strength includes all pivots clustered, including pivots that later broke (as long as they are still in lookback).
### Visuals (what you see)
* **Green zones**: active support
* **Red zones**: active resistance
* **More transparent zones**: broken zones (support/resistance that was invalidated by a close beyond the breakout threshold)
* Optional labels:
* `S2`, `S3`… for support strength
* `R2`, `R3`… for resistance strength
* The number is the **count of clustered pivots** in that zone.
### Inputs (how to tune it)
* **Pivot Left Bars / Pivot Right Bars**
* Higher values = fewer pivots, more “major” swings, stronger zones
* Lower values = more pivots, more zones, more noise
* **Lookback Period**
* Limits how far back pivots are considered and keeps the chart uncluttered
* **Zone Width %**
* Controls how wide zones can get (as a % of recent range)
* Higher = more clustering, fewer broader zones
* Lower = tighter zones, more zones
* **Minimum Zone Strength**
* Filters weak zones. Example: set to 3 to show only zones formed by 3+ pivots
* **Breakout Threshold %**
* Defines how far price must close beyond a level to mark it broken
* Higher = fewer “false break” breaks, slower invalidation
* Lower = more responsive, more break markings
* **Show Strength Labels**
* Toggles S/R strength markers.
### How to use it in trading workflows
* **Zone reaction**: Watch for rejection/acceptance when price revisits a strong zone (`S3+`, `R3+`).
* **Breakout context**: A zone turning “broken” indicates price closed meaningfully beyond it (by threshold).
* **Confluence**: Use with your own context (trend, volatility, session structure, volume tools). This script is strictly price-structure based.
Top-secret Golden Mentor (Jorge's Algo)Description:
INTRODUCTION The Top-secret Golden Mentor is an institutional trading system engineered for surgical precision on Gold (XAUUSD) and other volatile assets. This indicator goes beyond simple entry signals; it automatically filters market traps (fakeouts) by aligning every volume anomaly with the macro market structure.
The main objective is simple: Stop trading against the trend and pinpoint exactly where institutions have injected capital.
KEY FEATURES
1. X-Ray Candles (True Volume Pressure) Move beyond traditional Japanese candlesticks. This indicator "undresses" the price action:
Grey Border: Represents the price range.
Color Fill (Green/Red): Reveals who actually won the internal volume battle (Delta).
Benefit: You can spot candles that look bullish on the outside but are "hollow" (empty of buyers) on the inside.
2. Smart Trend Filter (The Trap Detector) The core upgrade of V18. The system analyzes market structure in real-time.
If a BUY signal appears during a BEARISH structure, the system instantly marks it with a Grey "X".
Signal with "X" = MARKET TRAP (Absorption).
This prevents you from entering fake pullbacks that are about to be absorbed by the main trend.
3. Sniper Signals & Institutional Gaps (FVG) When the system detects a massive volume injection:
It plots a Volume Dot (Alert).
It automatically projects the 50% Retracement Line of the candle body (Institutional Equilibrium).
It draws a Subtle Box (Gap/FVG) marking the price inefficiency where institutions often return to mitigate.
4. Dynamic Structure Panel A visual dashboard in the top corner that instantly displays the current timeframe bias (BULLISH or BEARISH), removing subjective guesswork.
HOW TO USE THIS STRATEGY
Check the Panel: Is the bias BULLISH or BEARISH?
Wait for the Signal: Look for the Volume Dot.
Filter the Trap:
If the dot has a Grey "X" on top: DO NOT TRADE. It is a counter-trend trap.
If the dot has NO "X" and lines are drawn: VALID SIGNAL.
Execution: Place your Limit Order at the dotted 50% line or inside the Institutional Gap Box.
RECOMMENDED SETTINGS
Assets: Optimized for XAUUSD (Gold), but works on Forex and Futures.
Timeframes: Highly effective on 1H for direction and 5m for sniper entries.
DISCLAIMER This indicator is a technical analysis assistance tool based on Smart Money Concepts (SMC). It does not guarantee future profits. Always use proper risk management.
RSI Momentum & Trend Suite - O59 Elite QuantRSI Momentum & Trend Suite – O59 Elite Quant
Professional Market Structure & Momentum Analysis Tool
RSI Momentum & Trend Suite – O59 Elite Quant is a comprehensive technical analysis indicator designed to help traders better understand market momentum, trend structure, price reactions, and key support & resistance zones directly on the chart.
This indicator combines RSI-based momentum analysis, dynamic bar coloring, price action signals, and automatic trend & support/resistance detection into a single, clean visual framework.
🔹 Momentum & Bar Coloring Logic
The indicator includes a custom RSI momentum engine that evaluates short-term price changes and momentum strength.
Candles are automatically colored when momentum reaches critical zones:
Above 70 → Strong bullish momentum
Below 30 → Strong bearish momentum
This candle coloring helps traders instantly recognize momentum extremes without switching to a separate RSI pane.
🔺 Buy & Sell Triangle Signals
The script generates triangle-based buy and sell signals based on a combination of:
RSI oversold / overbought conditions
Short-term price action behavior
Candle structure and confirmation logic
These signals are intended to highlight potential reaction zones, not to predict the market.
They work best when used together with trend direction and support/resistance levels.
📈 Automatic Trend Detection
The indicator automatically identifies ascending and descending trend structures using pivot-based swing analysis.
Trendlines are drawn dynamically based on higher lows and lower highs
Broken trendlines are automatically removed to keep the chart clean
Both bullish and bearish trends are visually distinguished
This allows traders to quickly assess whether the market is trending or losing structure.
🟦 Dynamic Support & Resistance Levels
Key support and resistance levels are detected using recent pivot points:
Levels extend forward in real time
Broken levels are removed automatically
Helps identify potential reaction, rejection, and liquidity zones
These levels are designed to adapt continuously as market structure evolves.
🧾 Information Table & Visual Themes
A customizable information table is displayed on the chart, showing:
Indicator name
Current symbol
Active timeframe
Author branding
Users can choose between multiple visual themes, allowing better readability and personal preference while maintaining a professional appearance.
⚠️ Important Notes & Risk Disclaimer
This indicator is designed as a technical analysis support tool only.
It does not provide financial advice
Signals and visual elements should not be used alone
Always confirm signals with your own strategy, risk management, and market context
⚠️ Special caution is advised during:
Low-volume sessions
Weekend price action
High-impact news events
Thin liquidity hours
Market conditions during these periods may produce false signals or reduced reliability.
📌 Final Disclaimer
This indicator is for educational and analytical purposes only.
It is not investment advice.
All trading decisions remain the sole responsibility of the use
Institutional Structure [Clean Pro]Institutional Structure — Script Explanation
This script is designed to map institutional market behavior using high-timeframe structure, not retail noise.
It focuses on where smart money acts, not on frequent signals.
🔹 1. High-Timeframe Support & Resistance (HTF S/R)
The script identifies major structural highs and lows using a higher lookback period.
Purpose:
Defines where institutions previously distributed or accumulated
Acts as natural decision zones
Filters out low-quality intraday levels
Why it matters:
Institutions trade from key HTF levels, not random support/resistance.
🔹 2. Equilibrium (50% Mean Price)
The equilibrium line represents the fair price between HTF high and low.
How it’s used:
Below equilibrium → discount zone (buy interest)
Above equilibrium → premium zone (sell interest)
Professional insight:
Smart money prefers buying discounts and selling premiums, not chasing price.
🔹 3. Market Structure Shift (MSS)
Instead of frequent BOS labels, the script detects true directional shifts.
Bullish MSS:
Price closes above previous HTF high
Bearish MSS:
Price closes below previous HTF low
Why MSS over BOS:
MSS confirms control change
Reduces false signals
Aligns with institutional execution logic
🔹 4. Liquidity Sweep Detection (Wick-Based)
The script identifies stop-hunt behavior using wick rejection logic.
Buy-side liquidity:
Wick above HTF high, but close back below
Sell-side liquidity:
Wick below HTF low, but close back above
Meaning:
Stops were triggered, but price failed to accept → smart money absorption
🔹 5. Fair Value Gap (FVG) – Refined Imbalance
Fair Value Gaps highlight inefficient price movement.
Bullish FVG:
Price leaves an upside imbalance
Bearish FVG:
Price leaves a downside imbalance
How pros use it:
As reaction zones, not entry signals
Best combined with liquidity + MSS
🔍 How Everything Works Together
The script is context-based, not signal-based:
1️⃣ HTF structure defines the battlefield
2️⃣ Liquidity is taken (stop hunts)
3️⃣ MSS confirms direction
4️⃣ FVG offers precision
5️⃣ Equilibrium filters bias
This creates high-probability trade environments, not overtrading.
📌 Best Practices (Professional Use)
Timeframes: 1H / 4H / Daily
Avoid lower TF noise
Trade only after liquidity is taken
Use FVG as confirmation, not trigger
Respect equilibrium bias
🎯 Summary
✔ Clean institutional logic
✔ No clutter, no spam
✔ HTF-driven decisions
✔ Liquidity-first mindset
✔ Designed for BTC, Gold & FX
🧠 Trade where institutions trade — not where indicators flash.
ST | MA Occurrence ScannerThis tool is designed to automate the statistical backtesting of Moving Averages. Instead of subjectively looking at a chart to see if an MA is being "respected" by the price, this indicator quantifies every interaction to provide hard data.
How it Works: The scanner detects when price approaches a user-defined Moving Average (SMA) and tracks the outcome of that interaction based on a dynamic "Tolerance Zone."
Ker 2021 EMA/SMA這個腳本主要是EMA/SMA的基礎
加上可調動範圍
數字可以調動
但是因為我不是coding人員
所以有些欄位編排不正確
但是使用上沒有什麼問題
如果你有coding的能力
可以聯絡我 幫我補正 謝謝
This script is mainly based on EMA/SMA, with adjustable ranges and parameters.
The values can be modified freely.
Since I’m not a programmer, some of the field formatting may not be perfectly structured.
However, it works fine in actual use.
If you have coding experience and would like to help improve or clean up the code, feel free to contact me. Thank you.






















