RSI Dip + EMA Trend Long DCA - IndicatorRSI Dip + EMA Trend Long DCA — Leveraged Indicator
🔷 What it does:
This is a signal-only indicator that mirrors a leveraged dip-buying DCA workflow on crypto perpetuals. It tracks one virtual long position at a time, opened only when an oversold dip and an uptrend confirmation align across two lower timeframes. The indicator manages up to four safety orders as price ladders lower, and exits via three independent paths: take profit with trailing, hard stop loss, or a forced close after a maximum holding period. Every event emits a webhook-ready JSON payload tailored for a DCA Bot configured for leveraged futures.
- Dual confirmation entry: RSI(12) crossing down 35 on 5m AND EMA(50) > EMA(100) on 15m.
- Soft-compounding safety ladder: 4 SOs at 1.05× margin progression, deviations 1.00%, 2.20%, 3.64%, 5.37%.
- Three-exit architecture: 1.0% Take Profit with 0.1% trailing, 9% hard Stop Loss, 3-day Max Hold timeout.
- Default leverage 25×, configurable from 1× upward.
- Honest virtual bookkeeping: total notional and qty updated per fill, avg entry / open PnL displayed live.
🔷 Who is it for:
- Active traders running a DCA Bot on leveraged crypto perpetuals who want a systematic dip-buying engine.
- Bot operators who want a chart-driven signal source with per-event JSON ready for a DCA Bot.
- Traders who want to monitor an evolving leveraged position — base entry, owned SO levels, deployed notional, open PnL, time-to-max-hold — directly on the chart.
- Operators comfortable with portfolio-level drawdowns in the 15–20% range in exchange for accelerated returns.
🔷 How does it work:
Entry RSI Filter (Oversold Dip): A 5-minute RSI(12) is sampled via request.security with lookahead disabled. The dip gate fires when RSI crosses down through 35 — momentum has rolled over into oversold.
EMA Trend Filter: A 15-minute EMA(50) and EMA(100) are sampled in parallel. The trend gate is satisfied only while Fast EMA > Slow EMA — broader trend is up. When the EMA cross flips, the dip signal alone cannot open a virtual position.
Entry: When both gates align at host-bar close, the indicator marks a virtual long entry, captures the base entry price, seeds the cost-basis ledger with base margin × leverage notional, and fires the entry webhook payload.
Safety Order Ladder: After base fill, the indicator monitors close price downward against the position. When close reaches base entry × (1 − cumulative deviation), the k-th SO is marked filled, cost-basis is updated, and the SO webhook payload is fired. No additional gating on the SO ladder — pure price.
Honest Virtual Bookkeeping: Total notional and qty are updated incrementally on every event, so the avg entry, deployed notional, and open PnL displayed in the status table reflect the actual broker-equivalent position state — no shortcut from base entry, no synthetic averaging.
Exit Priority: Three exits evaluated in order on each bar: (1) Stop Loss at 9% below average entry, (2) Maximum Hold timeout from base entry, (3) Take Profit at 1.0% above average entry with 0.1% trailing — once price reaches the TP target, the position closes only after a 0.1% retrace from the in-favor peak.
🔷 Why it's unique:
- Two-Layer Confirmation: RSI dip on 5m for timing, EMA stack on 15m for trend bias. The two filters operate on different scales — momentum exhaustion alone cannot fire a signal against a confirmed downtrend, and trend alignment alone cannot fire outside a tactical entry window.
- Three-Exit Architecture: Most DCA tools use one or two exit conditions. This indicator handles all three failure modes explicitly — hard tail-risk stop, stuck-trade timeout release, and momentum-trailing winner exit.
- Leverage-Aware Sizing: Margin and leverage are independent inputs. The virtual ledger tracks notional position, so the avg-entry line and open PnL reflect the leveraged broker state, not unleveraged cash-only math.
- Per-Event Webhook Ledger: Up to seven distinct events per cycle (entry + 4 SO fills + close + max-hold/SL), each with its own JSON alert payload. The indicator drives a DCA Bot end-to-end through a single PulseWire alert.
🔷 Considerations Before Using the Indicator:
Market & Timeframe: Designed for liquid crypto perpetuals on 15m. Default thresholds are calibrated for XMRUSDT.P 15m. Different pairs may need EMA period and RSI threshold tuning.
Leverage Warning: The default 25× leverage is aggressive. The companion strategy's backtest at default settings produced 18.01% maximum drawdown — substantially above the 5–10% per-trade band, although that figure reflects portfolio-level accumulation across 779 trades, not single-trade risk. Lower the leverage input to dial down portfolio-level drawdown proportionally.
Cross Detection Granularity: Entries and SO fills are evaluated on bar close. A bar that spikes through a level and returns within the same bar may be missed by design — this matches realistic polling behavior and avoids over-signaling on intra-bar wicks.
Live vs Historical State: The virtual position state is rebuilt from chart history each time the indicator is recompiled. If the indicator is added mid-deployment or the live bot diverges from the signal stream (manual interventions, partial fills), the indicator state may not match the live bot. Toggle the indicator off and on to reset.
No SO Condition: Safety orders fire on pure price ladder with no momentum gate — averaging continues unconditionally as price drops, until SL, MaxHold, or price reversal. Higher average-entry quality in shallow dips; greater unrealized exposure on sharp drops.
Maximum Hold Timeout: The 3-day forced close exists to release capital from stuck trades. The indicator dispatches a close webhook the moment the timeout fires — verify the receiving DCA Bot accepts unconditional close commands.
Funding Rates (Perpetuals): The indicator does not account for perpetual funding rates. Sustained negative funding improves live performance for this long strategy; sustained positive funding degrades it. Review the historical funding pattern before live deployment.
Backtesting Note: This is an indicator, not a strategy. There is no built-in P&L tester. For performance metrics over a 14-month sample (~779 closed trades, 74.07% win rate, 18.01% max drawdown, profit factor 1.313, +30.79% net return), use the companion strategy version on identical parameters.
🔷 How to Use It:
🔸 Add the indicator to a 15m chart on the leveraged perpetual pair you want to trade.
🔸 Review the entry filters (RSI on 5m, EMA stack on 15m), the 4-SO ladder, and the three exit conditions. Defaults are calibrated for XMRUSDT.P 15m at 25× leverage — recalibrate per asset and per risk tolerance before deploying.
🔸 Set leverage and base margin to match your exchange and account configuration. Lower leverage scales portfolio-level drawdown proportionally.
🔸 In the DCA Bot Webhook group, paste the Bot ID, Email Token, and Pair (QUOTE_BASE format, e.g., USDT_XMR).
🔸 Create an alert on the indicator with "Any alert() function call". Paste the DCA Bot's webhook URL into the alert's Webhook field. The indicator will emit JSON payloads for entry, each safety order, and all three close types — formatted for direct DCA Bot consumption.
🔷 INDICATOR SETTINGS
Base Order Margin (USDT): Margin per base trade. Notional = Margin × Leverage. Used for the virtual avg-entry / open-PnL computation.
Leverage (×): Exchange leverage. Default 25×.
Max Safety Orders: Maximum number of safety orders per cycle (default 4).
First SO Margin (USDT): USDT margin of the first safety order; subsequent SOs scale by the Size Multiplier.
Step to First SO (%): Distance from base entry at which SO1 becomes eligible.
Step Multiplier: Ladder factor that widens each subsequent deviation step.
Size Multiplier: Factor that grows each subsequent safety order's USDT margin.
Entry RSI Timeframe / Length / Level: Lower-timeframe RSI oversold-dip filter.
EMA Timeframe / Fast / Slow: Higher-timeframe trend confirmation filter.
Take Profit (%) / Trailing Deviation (%): TP target above avg entry and trailing buffer.
Stop Loss (%): Hard stop below avg entry.
Force Close After Max Hold / Max Hold (seconds): Timeout for forced market close.
DCA Bot Webhook: Bot ID, Email Token, and Pair fields injected into every alert payload.
Visualization: Toggle SO Ladder, Avg / TP / SL plot lines, fill labels, signal triangles, status table.
Brand Watermark: Configurable text, position, size, and transparency.
👨🏻💻💭 We hope this tool helps enhance your trading. Your feedback is invaluable, so feel free to share any suggestions for improvements or new features you'd like to see implemented.
__
The information and publications within the 3Commas PulseWire account are not meant to be and do not constitute financial, investment, trading, or other types of advice or recommendations supplied or endorsed by 3Commas and any of the parties acting on behalf of 3Commas, including its employees, contractors, ambassadors, etc. Indicator

RSI Dip + EMA Trend Long DCA - StrategyRSI Dip + EMA Trend Long DCA — Leveraged Strategy
🔷 What it does:
This is a long-only DCA strategy on leveraged crypto perpetuals that buys oversold dips inside confirmed uptrends. A long entry opens only when the lower-timeframe RSI crosses down into oversold territory AND a higher-timeframe EMA cross confirms the larger trend is up. Four safety orders form a pure-price deviation ladder. Exit is a tight Take Profit with trailing, OR a hard Stop Loss, OR a forced close after a maximum holding period.
- Single base order with up to four safety orders, soft 1.05× size compounding.
- Dual confirmation entry: RSI(12) crossing down 35 on 5m AND EMA(50) > EMA(100) on 15m.
- Three exit paths: 1.0% Take Profit with 0.1% trailing, 9% hard Stop Loss, or forced market close after 3 days max hold.
- Default leverage 25× — per-trade realized risk ~7.17% of equity (inside the 5–10% band).
- Every entry, safety order, and exit emits a webhook-ready JSON alert payload for direct DCA Bot consumption.
🔷 Who is it for:
- Active traders comfortable with leveraged crypto perpetuals who want a systematic dip-buying engine inside confirmed uptrends.
- Bot operators who want a chart-driven signal source with per-event JSON ready for a DCA Bot configured for leveraged futures.
- Traders looking to combine momentum exhaustion (RSI dip) with trend confirmation (EMA stack) for higher-confidence entries.
- Portfolio operators who can absorb a 15–20% maximum drawdown in exchange for ~30% trailing returns over comparable periods.
🔷 How does it work:
Entry RSI Filter (Oversold Dip): A 5-minute RSI(12) is sampled via request.security with lookahead disabled. The dip gate fires when RSI crosses down through 35 — momentum has rolled over into oversold, which on a confirmed uptrend often marks a tactical bounce point.
EMA Trend Filter: A 15-minute EMA(50) and EMA(100) are sampled in parallel. The trend gate is satisfied only while Fast EMA > Slow EMA — the broader trend is up. When the EMA cross flips, the dip signal alone cannot open a trade.
Entry: When both gates align at host-bar close, a long position opens. Base order is configurable as Market (default) or Limit. With default 25× leverage, base margin × leverage = notional position size.
Safety Order Ladder: After base fill, the strategy monitors price deviation downward against the position. No additional gating — pure price ladder. The k-th safety order fires when close ≤ base entry × (1 − cumulative deviation), where cumulative deviation grows by the step multiplier (default 1.2): 1.00%, 2.20%, 3.64%, 5.37%. Each safety order's USDT margin grows by 1.05× — soft compounding.
Exit Priority: Three exit paths evaluated in order on each bar: (1) Stop Loss at 9% below average entry, (2) Maximum Hold timeout at 3 days from base entry, (3) Take Profit at 1% above average entry with 0.1% trailing — once price reaches the TP target, the position closes only after a 0.1% retrace from the in-favor peak.
🔷 Why it's unique:
- Two-Layer Confirmation: RSI(12) dip on 5m for entry timing, EMA(50/100) on 15m for trend bias. The two filters operate on different scales — momentum exhaustion alone cannot open a trade against a confirmed downtrend, and trend alignment alone cannot open a trade outside a tactical entry window.
- Three-Exit Architecture: Hard Stop Loss for tail-risk protection, Maximum Hold timeout for stuck trades that don't reach either bound, and Take Profit with trailing for letting winners run. Most DCA strategies use one or two exits; this one explicitly handles all three failure modes.
- Leverage-Aware Sizing: Base margin and leverage are independent inputs. Margin sets the per-trade capital commitment; leverage sets the notional exposure. Per-trade risk at SL = base + SO margins × SL% — bounded and predictable.
- DCA Bot Integration: Every event (base, SO 1–4, TP/SL/MaxHold close) emits a fully-formed JSON alert payload. Connect one alert to a DCA Bot's webhook URL and the strategy drives the bot end-to-end.
🔷 Considerations Before Using the Strategy:
Market & Timeframe: Defaults are calibrated for BYBIT:XMRUSDT perpetual on 15m. The dip-buying-in-uptrend logic is portable to other liquid crypto perpetuals with clear directional regimes, but the EMA periods and RSI thresholds should be reviewed before redeployment.
Leverage Warning: The default 25× leverage is aggressive. A 9% adverse price move at 25× leverage equals 225% of base margin — the Stop Loss closes the position at full margin loss before liquidation. The per-trade realized risk at SL is approximately 7.17% of equity at default base margin (60 USDT). Lower the leverage input or reduce base margin to dial down per-trade exposure.
Drawdown Profile: The backtest produced a 18.01% maximum equity drawdown over a 14-month sample with 779 closed trades. This is above PulseWire's typical 5–10% per-trade band — but the figure reflects portfolio-level accumulation of losing trades across an adverse period, not single-trade risk. Per-trade risk remains inside the 5–10% band; the portfolio-level DD reflects the leveraged compounding and should be sized accordingly within a diversified strategy mix.
No SO Condition: Safety orders fire on pure price ladder with no momentum gate. This means averaging continues unconditionally as price drops, until either SL fires or the price reverses. The trade-off: higher average-entry quality if the dip continues, but greater unrealized loss exposure during sharp drops.
Maximum Hold Period: The 3-day forced close exists to release capital from stuck trades that haven't reached TP or SL. On a 15m chart, this is approximately 288 bars. Adjust the timeout to match your strategy rotation cadence.
Funding Rates (Perpetuals): Backtests do not account for perpetual funding rates. Sustained negative funding (shorts pay longs) improves live performance for this long strategy; sustained positive funding degrades it. Review the historical funding pattern before live deployment.
Demo Testing: Always demo-test before going live. Past results do not guarantee future performance, especially on leveraged strategies where small parameter changes materially affect risk.
🔷 STRATEGY PROPERTIES
Symbol: BYBIT:XMRUSDT.P (Perpetual)
Timeframe: 15M
Test Period: April 1, 2025 — May 26, 2026 (~14 months).
Initial Capital: 10,000 USDT.
Order Size per Trade: 60 USDT margin × 25× leverage = 1,500 USDT notional base + 4 safety orders at 1.05× progression.
Max Capital Deployed (Margin): ~318.6 USDT per trade across base + 4 SOs.
Max Realized Loss per Trade: ~717 USDT at full ladder + SL (~7.17% of equity).
Commission: 0.05% per trade.
Slippage: 3 ticks.
Leverage: 25× (configurable).
Margin for Long Positions: 100%.
Indicator Settings: Default Configuration.
Base Order: 60 USDT margin, Market by default (Limit toggle available).
Take Profit: 1.0% above average entry with 0.1% trailing.
Stop Loss: 9% below average entry (hard close).
Max Hold: 3 days (259,200 seconds) — forced market close.
Entry Filter: 5m RSI(12) Crossing Down 35 AND 15m EMA(50) > EMA(100).
Safety Orders: 4, Deviation 1.0%, Deviation Step 1.2×, Size Multiplier 1.05×.
Strategy: Long Only.
🔷 STRATEGY RESULTS
⚠️ Remember, past results do not guarantee future performance.
Net Profit: +3,078.80 USDT (+30.79%)
Max Equity Drawdown: 2,013.77 USDT (18.01%)
Total Closed Trades: 779
Percent Profitable: 74.07% (577 / 779)
Profit Factor: 1.313
🔷 How to Use It:
🔸 Adjust Settings: Open the strategy inputs and review the Base Margin, Leverage, entry filter (RSI level on 5m, EMA periods on 15m), the 4-SO ladder, and the three exit conditions. Defaults are calibrated for XMRUSDT.P 15m at 25× leverage — recalibrate per asset and per risk profile before deploying.
🔸 Results Review: Run a full-period backtest and confirm Max Drawdown stays inside your personal risk band. The 18% DD at default settings reflects 25× leverage — lower the leverage input to scale risk down proportionally. Validate the closed-trade count (≥ 100 minimum is a comfortable statistical floor).
🔸 Create alerts to trigger the DCA Bot: Add one alert on the strategy using "Any alert() function call". Paste the DCA Bot's webhook URL into the alert's Webhook field, and fill the Bot ID, Email Token, and Pair inputs on the script. The strategy will emit JSON payloads for entry, each safety order, and all three exit types — formatted for direct DCA Bot consumption.
🔷 INDICATOR SETTINGS
Base Order Margin (USDT): Margin per base trade. Notional = Margin × Leverage.
Leverage (×): Exchange leverage. Default 25× — adjust to match your account configuration.
Use LIMIT for Base: Toggle between Market (default) and Limit at bar close.
Max Safety Orders: Maximum number of safety orders per deal (default 4).
First SO Margin (USDT): USDT margin of the first safety order; subsequent SOs scale by the Size Multiplier.
Step to First SO (%): Distance from base entry at which SO1 becomes eligible.
Step Multiplier: Ladder factor that widens each subsequent deviation step.
Size Multiplier: Factor that grows each subsequent safety order's USDT margin.
Entry RSI Timeframe / Length / Level: Lower-timeframe RSI oversold-dip filter.
EMA Timeframe / Fast / Slow: Higher-timeframe trend confirmation filter.
Take Profit (%) / Trailing Deviation (%): TP target above avg entry and trailing buffer.
Stop Loss (%): Hard stop below avg entry.
Force Close After Max Hold / Max Hold (seconds): Timeout for forced market close.
DCA Bot Webhook: Bot ID, Email Token, and Pair fields injected into every alert payload.
Visualization: Toggle SO Ladder, Avg / TP / SL plot lines, fill labels, status table.
Brand Watermark: Configurable text, position, size, and transparency.
👨🏻💻💭 We hope this tool helps enhance your trading. Your feedback is invaluable, so feel free to share any suggestions for improvements or new features you'd like to see implemented.
__
The information and publications within the 3Commas PulseWire account are not meant to be and do not constitute financial, investment, trading, or other types of advice or recommendations supplied or endorsed by 3Commas and any of the parties acting on behalf of 3Commas, including its employees, contractors, ambassadors, etc. Strategy

Indicator

Indicator

Indicator

Stocastico 3 Linee [AUTO TF]**Stochastic 3 Lines ** is an enhanced oscillator based on the classic Stochastic, featuring a third filter line calculated as a moving average of the %D. Designed to pinpoint momentum shifts and convergences with greater accuracy while filtering out market noise.
🚀 **Key Features:**
• 🔄 Automatic parameter adjustment based on Timeframe (1m, 5m, 15m, 1h, 4h)
• 🔧 Manual mode for full customization
• 🏷️ Real-time info label displaying active parameters
• 📐 20/80 levels for overbought/oversold zones
• 🧹 Clean chart: no intrusive shapes or alerts by default
📊 **Best for:** Scalping, Day Trading, and Swing Trading across Forex, Crypto, Indices, and Stocks.
⚙️ **Setup:** Toggle `Auto Parametri per TF` to use optimized presets, or disable it to input your custom values.
_________
**Stocastico 3 Linee ** è un oscillatore evoluto basato sullo Stocastico classico, potenziato da una terza linea di filtro calcolata come media mobile della %D. Progettato per identificare con maggiore precisione le fasi di convergenza e il momentum, riducendo drasticamente i falsi segnali tipici dei timeframe veloci.
🚀 **Funzionalità principali:**
• 🔄 Cambio automatico dei parametri in base al Timeframe (1m, 5m, 15m, 1h, 4h)
• 🔧 Modalità manuale per personalizzare liberamente ogni input
• 🏷️ Etichetta informativa in tempo reale con i parametri attualmente attivi
• 📐 Livelli 20/80 per zone di ipercomprato/ipervenduto
• 🧹 Grafico pulito: nessuna forma o alert invasiva di default
📊 **Ideale per:** Scalping, Day Trading e Swing Trading su Forex, Crypto, Indici e Azioni.
⚙️ **Configurazione:** Attiva/disattiva `Auto Parametri per TF` per usare i preset ottimizzati, oppure disattivala per inserire i tuoi valori personalizzati.
___
🔹 **Come si usa:**
1. Aggiungi l'indicatore al grafico.
2. Di default, `Auto Parametri per TF` è ON: i valori si adattano automaticamente al timeframe selezionato.
3. L'etichetta in alto a destra mostra in tempo reale i parametri attivi.
4. Disattiva `Auto` per usare configurazioni manuali personalizzate.
5. Utilizza i livelli 80/20 come riferimento per estensioni e rientri del prezzo.
⚠️ **Nota:** Nessun segnale grafico (pallini/frecce) è attivo di default per mantenere il grafico pulito. La convergenza delle 3 linee va interpretata visivamente o combinata con la tua strategia di price action.
Indicator

Indicator

RSI Multi-Timeframe DashboardRSI Multi-Timeframe Dashboard
═══════════════════════════════════════════
WHAT IT DOES
═══════════════════════════════════════════
This tool displays the Relative Strength Index (RSI) of up to six timeframes
at once in a compact on-chart table, so you can judge momentum across the
whole timeframe stack without switching charts. Instead of reading RSI on a
single timeframe, you see how short-, medium- and higher-timeframe momentum
line up — and a consensus row summarises the overall picture.
It is designed as a CONFLUENCE tool: a way to see whether the broader market
agrees with what you're seeing on your trading timeframe.
═══════════════════════════════════════════
HOW IT WORKS
═══════════════════════════════════════════
RSI is calculated with the standard Wilder method (default length 14) on each
selected timeframe using request.security(). Each row is classified into a zone:
- Overbought — RSI at or above the overbought level (default 70)
- Oversold — RSI at or below the oversold level (default 30)
- Bullish — RSI above the midline (default 50)
- Bearish — RSI below the midline (default 50)
The "ALL" row aggregates only the enabled timeframes:
- If every enabled timeframe is oversold → "STRONG BUY ZONE"
- If every enabled timeframe is overbought → "STRONG SELL ZONE"
- Otherwise it shows the majority bias and a score, e.g. "BULLISH (4/5)"
These are descriptions of momentum conditions — not instructions to buy or sell.
═══════════════════════════════════════════
HOW TO USE IT IN A TRADE
═══════════════════════════════════════════
The core idea is alignment. Higher-timeframe RSI defines the bias; lower-timeframe
RSI helps with timing inside that bias.
Example long workflow:
1. Bias — Confirm the higher timeframes (e.g. 4H, Daily) are Bullish (above the
midline). This says the dominant momentum favours longs.
2. Timing — Wait for a lower timeframe (e.g. 5m/15m) to dip toward Oversold and
turn back up, offering a pullback entry in the direction of the higher-TF bias.
3. Confluence — A "BULLISH (5/5)" or rising consensus score adds conviction;
a "MIXED" reading is a reason to wait.
4. Management — Define your stop from price structure (recent swing), not from
RSI alone, and size the position to your own risk rules.
The short workflow is the mirror image (higher TFs Bearish, lower TF rallies into
Overbought and rolls over).
Things to respect:
- RSI can remain Overbought in a strong uptrend (and Oversold in a strong
downtrend) for a long time. "Overbought" is not automatically "sell."
- Counter-trend signals (e.g. Oversold while higher TFs are Bearish) are
lower-probability and best avoided or treated as scalps only.
- This indicator does not place trades, set stops, or manage risk for you.
═══════════════════════════════════════════
SETTINGS
═══════════════════════════════════════════
- RSI — length, source, and the overbought / oversold / midline levels.
- Timeframes to monitor — up to 6 slots, each with an on/off toggle and its own
timeframe. Set them equal to or higher than your chart timeframe.
- Style — table position, text size, and your own bullish / bearish colours.
═══════════════════════════════════════════
ALERTS
═══════════════════════════════════════════
- All timeframes oversold
- All timeframes overbought
- Consensus turned bullish (majority crossed above the midline)
- Consensus turned bearish (majority crossed below the midline)
═══════════════════════════════════════════
NOTES, REPAINTING & LIMITATIONS
═══════════════════════════════════════════
- Monitored timeframes should be greater than or equal to your chart timeframe;
requesting a lower timeframe is not meaningful.
- Repainting: values use lookahead_off, so a higher-timeframe RSI updates live
until that bar closes — this is intended for real-time reading. The reading on
a closed higher-TF bar is final.
- RSI is a momentum oscillator, not a forecast. This dashboard organises that
information across timeframes; it does not predict price.
This script is published open-source. Study it, learn from it, and adapt it to
your own process. It is provided for educational purposes only and is not
financial advice. Past behaviour of any indicator does not guarantee future
results — always do your own analysis and manage your risk. Indicator

Z-Score OscillatorZ-Score Oscillator is a statistical momentum tool that measures how far the current price is from its rolling mean in standard-deviation units, then optionally normalizes that measurement into a fixed-range oscillator for clean overbought/oversold reading. It combines classical statistical rigor with modern enhancements — robust calculation methods, multi-period adaptive thresholds, low-lag smoothing, and built-in divergence detection — into a single configurable indicator.
── What It Measures ──
The core calculation is the z-score: the number of standard deviations the current source value sits above or below its rolling mean. A z-score of +2 means price is two standard deviations above its average; -2 means two below. This converts raw price action into a statistically grounded measure of extremity that adapts automatically to changing volatility regimes.
Unlike traditional oscillators with arbitrary fixed scales (RSI 0–100, Stochastic 0–100), z-score is grounded in the actual statistical distribution of the data. A reading of +2.5 has the same statistical meaning across any asset, timeframe, or volatility environment.
── What It's For ──
Identifying statistical extremes for mean-reversion setups
Confirming trend strength via persistent z-score elevation
Spotting divergences between price and underlying momentum
Cross-asset and cross-timeframe comparison on a normalized scale
Filtering signals from other indicators based on statistical context
══════════════ FEATURES ══════════════
── Three Display Modes ──
Oscillator Mode (default) — Normalizes the z-score into a fixed-scale oscillator where the upper and lower percentile thresholds map to +100 and -100 respectively. Provides familiar overbought/oversold semantics with consistent visual scale regardless of volatility regime.
Z-Score Mode — Classic floating z-score display with dynamic percentile threshold lines that adapt to the current distribution. Best for users who want to see raw statistical extremity values.
Percentile Rank Mode — Plots the rank of the current z-score within the lookback window, centered on zero. Range spans roughly ±50, with bands marking the configured percentile cutoffs. Distribution-free; ideal for non-Gaussian data.
── Calculation Methods ──
Mean / StDev (classic) — Standard z-score using rolling arithmetic mean and standard deviation. Statistically conventional but sensitive to outliers — a single price spike can inflate the standard deviation and suppress future readings.
Median / MAD (robust) — Robust z-score using the rolling median and median absolute deviation (scaled by 1.4826 for Gaussian consistency). Outlier-resistant and dramatically more stable on instruments prone to wicks, gaps, or volume spikes. Recommended for crypto, futures, and any data with non-Gaussian tails.
── Smoothing System ──
Five smoothing algorithms available, applied to the raw z-score before normalization so both Oscillator and Z-Score modes inherit the smoothed series cleanly:
ALMA — Gaussian-weighted moving average with configurable offset and sigma
LinReg — Linear regression endpoint
Hull MA — Low-lag weighted moving average (default)
Super Smoother — Ehlers 2-pole Butterworth filter
Two-Pole Gaussian — Ehlers Gaussian filter with minimal phase distortion
Default is Hull MA at length 5 — fast, low-lag, and effective for reducing bar-to-bar jitter without dampening genuine moves.
── Multi-Period Percentile Blend ──
Rather than relying on a single lookback window to define overbought/oversold thresholds, the indicator can blend percentile calculations across three configurable periods (default 50/100/200 bars, equally weighted). This creates more stable, regime-aware threshold levels:
Short period reacts quickly to recent volatility shifts
Medium period provides intermediate context
Long period anchors the thresholds against deeper history
Each period's weight is user-adjustable and auto-normalized. Set any weight to zero to exclude that period from the blend. Enabled by default for more sophisticated threshold behavior out of the box.
── Divergence Detection ──
Detects four types of divergence between price and the displayed oscillator value:
Regular Bullish — Price makes a lower low while oscillator makes a higher low (potential reversal up)
Regular Bearish — Price makes a higher high while oscillator makes a lower high (potential reversal down)
Hidden Bullish — Price makes a higher low while oscillator makes a lower low (trend continuation up)
Hidden Bearish — Price makes a lower high while oscillator makes a higher high (trend continuation down)
Pivot detection uses configurable left/right lookback bars with a range filter for the distance between pivots. Optional repaint-prevention mode delays plotting until the candle closes. Divergence detection runs against the active display mode, so divergences are detected against the same series being shown to the user.
The divergence detection logic is based on the open-source Divergence Indicator (any oscillator) by yatrader2 , adapted to v6 and integrated into the unified plotting and theming system.
── Theme & Visual System ──
Six color themes — Modern (default cyan/red), Classic (green/red), Neon (high-contrast green/magenta), Monochrome (grayscale), Sunset (warm orange/coral), Ocean (full-blue palette). The theme applies to every visual element: line color, zone fills, threshold lines, divergence labels, glow, and background tint.
Gradient line coloring — Optional smooth color transition through the theme palette based on position within the threshold range, replacing binary sign-based coloring.
Glow effect on extremes — Multi-layer concentric halo around the main line when in overbought/oversold territory, drawing attention to actionable moments.
Background tint — Optional pane-wide background wash when in extreme zones, matching the OB/OS fill color.
OB/OS color fill — Toggleable fill between the main line and the upper/lower bands when in extreme territory.
══════════════ ATTRIBUTION ══════════════
Divergence detection adapted from the open-source Divergence Indicator (any oscillator) by yatrader2 . Indicator

AetherEdge - PULSE Adaptive Signal Intelligence🖊️ Overview
PULSE is an all-in-one signal intelligence that grades trend-continuation (confirmation) and reversal (contrarian) signals through a self-learning AI classifier. Each time a signal fires, online learning predicts the probability the move will continue and sorts it into one of four tiers. Unlike conventional tools that merely light up signals, PULSE learns conviction from experience and enables filtering to keep only high-quality signals. An adaptive Smart Trail and smooth gradient visuals render the very breath of the trend.
🔶 Key Features
Confirmation signals: continuation entries from momentum/trend agreement, graded Normal / Strong (+)
Contrarian signals: reversal entries from oscillator extremes, shown as diamond markers
Exit marks: momentum fade after a signal flagged as take-profit candidates with "✕"
Smart Trail: an ATR-based adaptive trail serving as both dynamic support/resistance and a signal filter
Multi-tier classification: an online logistic regression learns each signal's continuation probability and grades it ★★/★/◇/◆
Tier filter: set a minimum tier to automatically exclude low-conviction signals
Smooth gradient candles: continuous red↔violet↔green coloring by trend score
Vertical gradient fill on the Smart Trail and layered neon glow for dimensional depth
Refined red/green jewel-tone palettes (three) with a gold-framed integrated HUD
Built-in confirmation/contrarian alerts
🧠 Technical Architecture
PULSE's foundation is a composite trend-and-momentum core. A trend score — the fast/slow EMA difference normalized by ATR — provides direction and strength, while RSI-derived smoothed momentum supplies turning points. Confirmation signals fire when momentum crosses zero in the trend direction, promoting to Strong (+) when trend strength exceeds a sensitivity-scaled threshold. Contrarian signals capture momentum reversing from an extreme. The Smart Trail, an ATR-based adaptive trail (supertrend-style), reverses direction when price pierces it, simultaneously serving as dynamic support/resistance and a directional signal filter.
Atop this sits the AI classification layer — a genuine online logistic regression. From four standardized features (trend score, momentum, trend strength, Smart Trail agreement), it predicts the probability of continuation in the signal's direction. When a signal fires, its features and direction are buffered; after a set outcome horizon, a supervised label is generated from whether price actually continued in the signal direction, and the weights are updated via stochastic gradient descent. Using the learned continuation probability, each signal is graded into four tiers: ★★ (strong continuation), ★ (continuation), ◇ (reversal-leaning), and ◆ (strong reversal). Setting a minimum-tier filter automatically excludes low-conviction signals, leaving only high-conviction ones on the chart.
In the visual layer, candles are colored by a continuous gradient tied to the trend score, and the space to the Smart Trail is filled with a vertical gradient, intuitively conveying trend strength and distance from the trail. Layered glow gives signals and the trail a smooth emission.
⚙️ Recommended Settings & Tuning Guide
PULSE is tuned with crypto in mind. On majors like BTC and ETH, Sensitivity near 5 is a starting point. On higher-volatility names such as SOL and XRP, raising Sensitivity to 7–9 suppresses noise signals and stabilizes quality. Use Confirmation mode (trend continuation) as the baseline; in choppy, range-heavy conditions choose Contrarian, or Both to see everything.
Sensitivity is the central frequency parameter — higher is more selective. In the AI layer, the Outcome Horizon controls the evaluation window for "continuation" and the Learning Rate controls adaptation speed. The most practical tuning lever is "Minimum Tier to Show." Start at tier 1 (show all); when signals are too frequent or fakeouts stand out, raise to tier 3 to narrow to high-continuation-probability signals. Combining with the Smart Trail Filter — keeping only signals aligned with the trail — raises conviction further.
💡 How to Use in Practice
The highest-conviction setups are confluences where multiple elements align at once. A Strong (+) confirmation signal accompanied by a ★★ or ★ AI tier and aligned with the Smart Trail direction is a strong continuation-entry candidate. Conversely, a confirmation signal the AI grades ◆ (strong reversal) suggests the trend may be running out of breath — a cue to stand aside or take profit early.
The HUD's continuation probability and model accuracy gauge how much to trust the AI. If model accuracy stably exceeds 50%, it is a sign the tier classification is meaningful. For multi-timeframe trading, pair a higher-timeframe PULSE to read the macro trend and Smart Trail with a lower timeframe for precise entry timing. Contrarian signals serve counter-trend trades in ranges, and exit marks serve as take-profit timing cues — each used according to conditions.
⚠️ Important Notes
The AI classifier requires accumulated data to learn, so near the chart's left edge or when signals are few, model accuracy stays at its initial value (50%) and tier classification remains neutral. Static model accuracy in the HUD is a sign that learning data is still insufficient. Whether model accuracy stably exceeds 50% depends on the instrument, timeframe, and period, and cannot overcome the fundamental constraint of market predictability. Because signals are designed for trend-following, note that confirmation signal accuracy degrades in violently ranging markets.
🚨 Disclaimer
This indicator is provided for educational and informational purposes only and does not constitute financial or investment advice. No signal guarantees future profit, and past performance does not indicate future results. All trading decisions are made at your own risk; please use this tool with sound risk management and your own independent verification. Indicator

RSI Divergence Momentum EngineRSI Divergence Momentum Engine
RSI Divergence Momentum Engine is a momentum and divergence analysis tool based on the Relative Strength Index. It is designed to help users study RSI trend tone, overbought / oversold behavior, RSI signal-line interaction, regular divergence, hidden divergence, and price-structure confirmation.
The script combines RSI with a signal moving average, pivot-based divergence detection, ADX trend-strength filtering, RSI trend-lock logic, gap protection, and a price-structure score. The goal is to reduce weak divergence interpretation and provide a more structured view of momentum reversal and continuation conditions.
It does not provide buy or sell recommendations. The purpose of this script is to help users analyze RSI momentum behavior, divergence quality, trend context, and structure alignment.
────────────────────
Core Concept
────────────────────
RSI is a momentum oscillator that measures the speed and magnitude of recent price changes.
A high RSI reading can show strong upside momentum or overbought pressure.
A low RSI reading can show strong downside momentum or oversold pressure.
Divergence occurs when price and RSI move in different structural directions.
A bullish regular divergence occurs when price makes a lower low while RSI forms a higher low.
A bearish regular divergence occurs when price makes a higher high while RSI forms a lower high.
Hidden divergence can be used to study potential continuation behavior inside an existing trend.
This script focuses on four main ideas:
• RSI momentum tone
• RSI signal-line interaction
• regular and hidden divergence
• divergence quality filtering through structure, ADX, and trend context
────────────────────
What This Script Shows
────────────────────
The script can display:
• RSI line
• RSI signal moving average
• RSI / signal fill
• overbought and oversold zones
• RSI middle level
• momentum tone ribbon
• bullish divergence labels
• bearish divergence labels
• hidden divergence labels
• divergence lines
• optional divergence zones
• RSI 50 recovery / loss markers
• RSI signal moving average crossover markers
• overbought / oversold event markers
• confidence percentage
• strength grade markers
These elements are intended to help users review whether RSI momentum is confirming, weakening, diverging, or aligning with price structure.
────────────────────
How It Works
────────────────────
1. The script calculates RSI from the selected source and length.
2. A configurable signal moving average is applied to the RSI.
3. RSI tone is classified by comparing RSI with the middle level and its signal line.
4. Overbought, oversold, and middle reference levels are plotted.
5. Pivot lows and pivot highs are detected on the RSI.
6. Price pivots and RSI pivots are compared to detect regular divergence.
7. Optional hidden divergence can also be detected.
8. Divergence distance and RSI gap filters help reduce very small or crowded signals.
9. ADX filtering checks whether the market has enough trend strength for the divergence context.
10. Trend-lock logic can block counter-trend divergence when RSI remains in a strong trend state.
11. Gap protection can reduce counter-direction signals immediately after strong gap movement.
12. A price-structure score checks EMA, VWAP, swing, and reversal-candle alignment.
13. A confidence score is calculated from ADX, structure score, RSI extreme location, divergence gap, and gap-protection context.
14. The script assigns weak, normal, or strong divergence grades based on the selected thresholds.
This structure is intended to make RSI divergence interpretation more selective than a simple pivot-to-pivot comparison.
────────────────────
Inputs And Customization
────────────────────
Users can adjust:
• RSI source
• RSI length
• RSI signal moving average length
• RSI signal moving average type
• overbought level
• oversold level
• middle level
• signal mode
• RSI 50 cross confirmation window
• RSI / signal gap requirement
• divergence pivot length
• minimum and maximum pivot distance
• minimum RSI divergence gap
• divergence line visibility
• hidden divergence visibility
• divergence cooldown
• strength grading thresholds
• confidence percentage visibility
• ADX filter settings
• trend-lock settings
• gap-protection settings
• price-structure score settings
• trend EMA filter
• volume filter
• RSI extreme filter
• RSI background zones
• RSI signal fill
• momentum tone ribbon
• guide labels
The default settings are designed to focus on clearer RSI divergence structures while reducing weak signals from noisy pivots, trend conflicts, and poor structure alignment.
────────────────────
Visual Elements
────────────────────
The script includes:
• RSI line
• RSI Signal MA
• RSI Signal Fill
• Overbought Zone
• Oversold Zone
• Middle Line
• Momentum Tone Ribbon
• Bull divergence label
• Bear divergence label
• Hidden Bull label
• Hidden Bear label
• Divergence line
• Optional divergence zone
• RSI+ marker
• RSI- marker
• MA cross marker
• OB / OS marker
The RSI line changes color according to bullish, bearish, or neutral momentum tone.
The fill between RSI and the signal moving average helps show short-term RSI pressure.
The momentum tone ribbon gives a compact view of whether RSI is above or below its signal and middle level.
The divergence labels show the detected direction, strength grade, and optional confidence percentage.
────────────────────
Reference Markers
────────────────────
Bull:
Shows a regular bullish RSI divergence.
Bear:
Shows a regular bearish RSI divergence.
H-Bull:
Shows a hidden bullish divergence.
H-Bear:
Shows a hidden bearish divergence.
RSI+:
Shows a stronger RSI recovery above the middle level.
RSI-:
Shows a stronger RSI loss below the middle level.
MA↑:
Shows RSI crossing above its signal moving average.
MA↓:
Shows RSI crossing below its signal moving average.
OB:
Shows RSI crossing into the overbought zone.
OS:
Shows RSI crossing into the oversold zone.
These markers are not trading signals. They are visual references for studying RSI momentum, divergence quality, and trend context.
────────────────────
How To Use
────────────────────
Use this script as an RSI momentum and divergence analysis tool.
General interpretation examples:
• A bullish divergence can help users review whether downside price movement is losing RSI momentum.
• A bearish divergence can help users review whether upside price movement is losing RSI momentum.
• A stronger divergence grade can indicate that the event satisfied more ADX, structure, RSI extreme, and divergence-gap conditions.
• RSI+ can help users review when RSI recovers above the middle level with strength.
• RSI- can help users review when RSI loses the middle level with weakness.
• Hidden divergence can be used to study potential continuation behavior, especially when aligned with trend context.
• The RSI signal moving average can help users review short-term momentum shifts.
• The momentum tone ribbon can help users quickly read bullish, bearish, or neutral RSI pressure.
This script is best reviewed together with price action, support and resistance, volatility, trend structure, and higher-timeframe context.
────────────────────
Confirmation And Repainting Notes
────────────────────
This script uses RSI pivot highs and pivot lows.
Pivot-based divergence requires bars on both sides of the RSI turning point before the pivot is confirmed.
Because of this, divergence labels and divergence lines appear only after the relevant pivot is confirmed.
If realtime mode is used, some signal conditions may change before candle close.
For more conservative use, users can select bar-close confirmation and evaluate signals after candle close.
The script does not use future price data to predict market direction. However, pivot-based structures naturally require confirmation bars, so divergence markers are confirmed after the pivot has formed.
────────────────────
Limitations
────────────────────
This script does not predict future price movement.
It does not provide buy or sell recommendations.
RSI divergence does not guarantee reversal.
Hidden divergence does not guarantee continuation.
RSI can remain overbought or oversold during strong trends.
Divergence signals can be less reliable in low-volatility ranges, fast news-driven moves, or unstable market conditions.
The confidence score is a structural reference, not a probability of profit.
This script should not be used as a standalone trading system.
────────────────────
Disclaimer
────────────────────
This publication is for educational and informational chart analysis only.
It does not constitute financial advice, investment advice, or a recommendation to buy or sell any financial instrument.
All trading and investment decisions are the responsibility of the user.
━━━━━━━━━━━━━━━━━━━━
RSI Divergence Momentum Engine
RSI Divergence Momentum Engine은 Relative Strength Index를 기반으로 한 모멘텀 및 다이버전스 분석 보조지표입니다. RSI 추세 톤, 과매수 / 과매도 행동, RSI 시그널선 상호작용, 일반 다이버전스, 히든 다이버전스, 가격 구조 확인을 함께 분석할 수 있도록 설계되었습니다.
이 스크립트는 RSI와 시그널 이동평균, 피벗 기반 다이버전스 감지, ADX 추세 강도 필터, RSI 트렌드 락 로직, 갭 보호, 가격 구조 점수를 결합합니다. 목적은 약한 다이버전스 해석을 줄이고, 모멘텀 반전과 지속 조건을 더 구조적으로 확인하는 것입니다.
이 지표는 매수 또는 매도 추천을 제공하지 않습니다. 목적은 RSI 모멘텀 행동, 다이버전스 품질, 추세 컨텍스트, 구조 정렬을 분석하는 것입니다.
────────────────────
핵심 개념
────────────────────
RSI는 최근 가격 변화의 속도와 크기를 측정하는 모멘텀 오실레이터입니다.
높은 RSI 값은 강한 상승 모멘텀 또는 과매수 압력을 보여줄 수 있습니다.
낮은 RSI 값은 강한 하락 모멘텀 또는 과매도 압력을 보여줄 수 있습니다.
다이버전스는 가격과 RSI가 서로 다른 구조적 방향으로 움직일 때 발생합니다.
상승 일반 다이버전스는 가격이 더 낮은 저점을 만들지만 RSI는 더 높은 저점을 만들 때 발생합니다.
하락 일반 다이버전스는 가격이 더 높은 고점을 만들지만 RSI는 더 낮은 고점을 만들 때 발생합니다.
히든 다이버전스는 기존 추세 안에서 잠재적인 지속 행동을 관찰하는 데 사용할 수 있습니다.
이 스크립트는 네 가지 핵심 개념에 초점을 둡니다.
• RSI 모멘텀 톤
• RSI 시그널선 상호작용
• 일반 및 히든 다이버전스
• 구조, ADX, 추세 컨텍스트를 통한 다이버전스 품질 필터링
────────────────────
이 스크립트가 보여주는 것
────────────────────
이 스크립트는 다음 요소를 표시할 수 있습니다.
• RSI 라인
• RSI 시그널 이동평균
• RSI / 시그널 fill
• 과매수 및 과매도 구간
• RSI 중앙선
• 모멘텀 톤 리본
• 상승 다이버전스 라벨
• 하락 다이버전스 라벨
• 히든 다이버전스 라벨
• 다이버전스 라인
• 선택 가능한 다이버전스 존
• RSI 50선 회복 / 이탈 마커
• RSI 시그널 이동평균 교차 마커
• 과매수 / 과매도 이벤트 마커
• 신뢰도 퍼센트
• 강도 등급 마커
이 요소들은 RSI 모멘텀이 가격을 확인하는지, 약해지는지, 다이버전스를 형성하는지, 또는 가격 구조와 정렬되는지를 복기할 수 있도록 돕습니다.
────────────────────
작동 방식
────────────────────
1. 선택한 소스와 길이를 기준으로 RSI를 계산합니다.
2. 설정 가능한 시그널 이동평균을 RSI에 적용합니다.
3. RSI를 중앙선 및 시그널선과 비교해 모멘텀 톤을 분류합니다.
4. 과매수, 과매도, 중앙 기준선을 표시합니다.
5. RSI의 피벗 저점과 피벗 고점을 감지합니다.
6. 가격 피벗과 RSI 피벗을 비교해 일반 다이버전스를 감지합니다.
7. 선택적으로 히든 다이버전스도 감지할 수 있습니다.
8. 피벗 거리와 RSI gap 필터를 사용해 너무 작거나 밀집된 신호를 줄입니다.
9. ADX 필터는 다이버전스 컨텍스트에 충분한 추세 강도가 있는지 확인합니다.
10. 트렌드 락 로직은 RSI가 강한 추세 상태를 유지할 때 역추세 다이버전스를 차단할 수 있습니다.
11. 갭 보호 로직은 강한 갭 움직임 직후 반대 방향 신호를 줄일 수 있습니다.
12. 가격 구조 점수는 EMA, VWAP, 스윙, 반전 캔들 정렬을 확인합니다.
13. ADX, 구조 점수, RSI 극단 위치, 다이버전스 gap, 갭 보호 컨텍스트를 기반으로 신뢰도 점수를 계산합니다.
14. 선택한 기준에 따라 약함, 보통, 강함 등급을 부여합니다.
이 구조는 단순한 피벗 비교보다 더 선별적인 RSI 다이버전스 해석을 목표로 합니다.
────────────────────
입력값 및 설정
────────────────────
사용자는 다음 항목을 조정할 수 있습니다.
• RSI source
• RSI length
• RSI signal moving average length
• RSI signal moving average type
• overbought level
• oversold level
• middle level
• signal mode
• RSI 50 cross confirmation window
• RSI / signal gap requirement
• divergence pivot length
• minimum and maximum pivot distance
• minimum RSI divergence gap
• divergence line visibility
• hidden divergence visibility
• divergence cooldown
• strength grading thresholds
• confidence percentage visibility
• ADX filter settings
• trend-lock settings
• gap-protection settings
• price-structure score settings
• trend EMA filter
• volume filter
• RSI extreme filter
• RSI background zones
• RSI signal fill
• momentum tone ribbon
• guide labels
기본 설정은 노이즈성 피벗, 추세 충돌, 구조 정렬이 부족한 약한 신호를 줄이면서 더 명확한 RSI 다이버전스 구조에 집중하도록 설계되어 있습니다.
────────────────────
시각 요소
────────────────────
이 스크립트는 다음 시각 요소를 포함합니다.
• RSI line
• RSI Signal MA
• RSI Signal Fill
• Overbought Zone
• Oversold Zone
• Middle Line
• Momentum Tone Ribbon
• Bull divergence label
• Bear divergence label
• Hidden Bull label
• Hidden Bear label
• Divergence line
• Optional divergence zone
• RSI+ marker
• RSI- marker
• MA cross marker
• OB / OS marker
RSI 라인은 상승, 하락, 중립 모멘텀 톤에 따라 색상이 바뀝니다.
RSI와 시그널 이동평균 사이의 fill은 단기 RSI 압력을 보여줍니다.
모멘텀 톤 리본은 RSI가 시그널선과 중앙선 위 또는 아래에 있는지 빠르게 확인하는 데 도움을 줍니다.
다이버전스 라벨은 감지된 방향, 강도 등급, 선택 가능한 신뢰도 퍼센트를 표시합니다.
────────────────────
참고 마커
────────────────────
Bull:
일반 상승 RSI 다이버전스를 표시합니다.
Bear:
일반 하락 RSI 다이버전스를 표시합니다.
H-Bull:
히든 상승 다이버전스를 표시합니다.
H-Bear:
히든 하락 다이버전스를 표시합니다.
RSI+:
RSI가 중앙선 위로 강하게 회복되는 구간을 표시합니다.
RSI-:
RSI가 중앙선 아래로 약하게 이탈하는 구간을 표시합니다.
MA↑:
RSI가 시그널 이동평균을 상향 돌파하는 구간을 표시합니다.
MA↓:
RSI가 시그널 이동평균을 하향 이탈하는 구간을 표시합니다.
OB:
RSI가 과매수 구간으로 진입하는 구간을 표시합니다.
OS:
RSI가 과매도 구간으로 진입하는 구간을 표시합니다.
이 마커들은 매매 신호가 아닙니다. RSI 모멘텀, 다이버전스 품질, 추세 컨텍스트를 관찰하기 위한 시각적 참고 지점입니다.
────────────────────
사용 방법
────────────────────
이 스크립트는 RSI 모멘텀 및 다이버전스 분석 도구로 사용하는 것이 적절합니다.
일반적인 해석 예시는 다음과 같습니다.
• 상승 다이버전스는 가격 하락 움직임에서 RSI 모멘텀이 약해지고 있는지 확인하는 데 사용할 수 있습니다.
• 하락 다이버전스는 가격 상승 움직임에서 RSI 모멘텀이 약해지고 있는지 확인하는 데 사용할 수 있습니다.
• 더 강한 다이버전스 등급은 ADX, 구조, RSI 극단 위치, divergence gap 조건을 더 많이 충족했다는 의미일 수 있습니다.
• RSI+는 RSI가 중앙선을 강하게 회복하는 구간을 복기하는 데 사용할 수 있습니다.
• RSI-는 RSI가 중앙선을 약하게 이탈하는 구간을 복기하는 데 사용할 수 있습니다.
• 히든 다이버전스는 특히 추세 컨텍스트와 정렬될 때 잠재적인 지속 행동을 분석하는 데 사용할 수 있습니다.
• RSI 시그널 이동평균은 단기 모멘텀 전환을 확인하는 데 사용할 수 있습니다.
• 모멘텀 톤 리본은 상승, 하락, 중립 RSI 압력을 빠르게 읽는 데 도움을 줄 수 있습니다.
이 스크립트는 가격 행동, 지지와 저항, 변동성, 추세 구조, 상위 시간대 컨텍스트와 함께 검토하는 것이 좋습니다.
────────────────────
확인봉 및 리페인트 안내
────────────────────
이 스크립트는 RSI 피벗 고점과 피벗 저점을 사용합니다.
피벗 기반 다이버전스는 RSI 전환점의 양쪽에 일정 수의 봉이 형성되어야 확정됩니다.
따라서 다이버전스 라벨과 라인은 관련 피벗이 확정된 이후에만 표시됩니다.
Realtime 모드를 사용할 경우 일부 신호 조건은 봉 마감 전까지 변경될 수 있습니다.
보다 보수적인 사용을 원한다면 Bar Close Confirmed 모드를 선택하고 봉 마감 이후 신호를 확인하는 것이 적절합니다.
이 스크립트는 미래 가격 데이터를 사용해 시장 방향을 예측하지 않습니다. 다만 피벗 기반 구조는 확인봉이 필요하므로 다이버전스 마커는 피벗이 형성된 뒤 확정됩니다.
────────────────────
한계
────────────────────
이 스크립트는 미래 가격 움직임을 예측하지 않습니다.
매수 또는 매도 추천을 제공하지 않습니다.
RSI 다이버전스는 반전을 보장하지 않습니다.
히든 다이버전스는 추세 지속을 보장하지 않습니다.
강한 추세에서는 RSI가 장시간 과매수 또는 과매도 상태에 머무를 수 있습니다.
저변동성 횡보, 뉴스성 급변, 불안정한 시장 환경에서는 다이버전스 신호의 신뢰도가 낮아질 수 있습니다.
신뢰도 점수는 구조적 참고값이지 수익 확률이 아닙니다.
이 스크립트를 단독 매매 시스템으로 사용해서는 안 됩니다.
────────────────────
중요 고지
────────────────────
본 게시물은 교육 및 정보 제공 목적의 차트 분석 자료입니다.
투자 자문, 매수·매도 추천, 특정 금융상품 거래 권유를 의미하지 않습니다.
모든 투자 판단과 그 결과에 대한 책임은 이용자 본인에게 있습니다. Indicator

RSI LOESSRSI LOESS - Volatility-Normalized Momentum Indicator with Adaptive Smoothing
An advanced momentum oscillator that enhances traditional RSI by combining standard deviation normalization with LOESS (Locally Estimated Scatterplot Smoothing) weighted averaging to create a more responsive and reliable trend strength filter.
Core Methodology:
The indicator applies a three-step transformation to price data:
Standard Deviation Normalization: Calculates RSI and subtracts its standard deviation, creating a volatility-adjusted baseline that adapts to changing market conditions
LOESS Weighted Smoothing: Applies customizable edge and center weighting to reduce noise while preserving signal integrity and minimizing lag
Binary Scoring System: Generates directional signals (+1/-1) at the 49 threshold for systematic trade execution
Optimized Zone Structure:
The indicator naturally oscillates between 30-70, with four distinct zones calibrated for this range:
RED (< 40): OVERSOLD - Weak momentum, potential reversal or continuation of downtrend
BLUE (40-50): BEARISH - Below neutral, conditions favor caution or short positioning
GREEN (50-60): BULLISH - Above neutral, momentum is building with early trend potential
ORANGE (60-70): OVERBOUGHT - Strong momentum, the "sweet spot" for trend following but watch for overextension
Trading Applications:
Long Entries: Look for transitions from RED into BLUE/GREEN zones as momentum shifts positive
Short Entries: Watch for moves from GREEN/ORANGE back into BLUE/RED zones as momentum weakens
The compressed zone triggers (40, 50, 60) provide earlier signals than traditional RSI levels (30, 70), making this ideal for swing trading and trend-following strategies.
Customizable Parameters:
RSI Length: Control the base momentum calculation period
SD Length: Adjust volatility normalization sensitivity
LOESS Smoothing Length: Fine-tune noise reduction vs. responsiveness
Edge/Center Weights: Customize the smoothing curve to match your trading style
Visual Features:
Color-coded line that changes based on current zone
Background fills highlighting each momentum zone
Real-time data table showing asset, current value, directional score, and zone classification
Perfect for traders seeking a sophisticated momentum filter that adapts to volatility while providing clear, actionable signals for trend identification and entry timing.
Indicator

Indicator

Zookoff-Zookonacci Cipher B + DivergencesThe Zook Ciphernator — Cipher B
The Zook Ciphernator is a multi-layer momentum, divergence, and reversal dashboard inspired by the classic Cipher B / VuManChu-style oscillator layout, but redesigned with cleaner visuals, improved toggle control, flexible display positioning, enhanced RSI divergence options, and a more refined dot/legend system.
This indicator is designed to help read momentum shifts, exhaustion, divergence, and possible reversal conditions in one pane. It is not intended to be used as a standalone buy/sell system. The signals are contextual tools and should be combined with price action, market structure, volume, risk management, and your own trading plan.
Core Components
WaveTrend
WaveTrend is the main momentum structure of the indicator.
It consists of:
Fast WaveTrend
Slow WaveTrend
The fast WaveTrend crossing above or below the slow WaveTrend can indicate a possible momentum shift.
In this version, the WaveTrend hills are rendered as layered blue/dark areas so the interaction between the fast and slow waves is easier to read visually.
WaveTrend is also used for standard buy/sell signals, WaveTrend divergence, and the Gold Dot logic.
Fast WT / VWAP
The VWAP layer in this indicator is not traditional price VWAP.
Here, it is calculated from the gap between the fast WaveTrend and the slow WaveTrend. In other words, it acts like a fast WaveTrend impulse layer.
When it rises, it suggests the fast WaveTrend is gaining strength relative to the slow WaveTrend. When it falls, it suggests momentum is weakening.
It can often give an earlier clue that momentum is starting to turn before the full WaveTrend structure becomes obvious.
Money Flow
The Money Flow area is a background pressure gauge.
It helps show whether the recent candle structure is leaning bullish or bearish.
Cyan Money Flow = bullish pressure
Red Money Flow = bearish pressure
This Money Flow is best used as context, not as a direct entry trigger. For example, a bullish reversal setup is usually cleaner if Money Flow is improving, flattening, or moving back toward positive territory.
Stochastic RSI
Stochastic RSI is included as a timing tool.
It is useful for identifying when momentum is stretched, bottoming, topping, or beginning to turn.
Typical use:
Low Stoch RSI beginning to curl up = possible early bullish timing clue
High Stoch RSI beginning to roll over = possible early bearish timing clue
Stochastic RSI can be displayed in the upper or lower half of the pane using the display-position controls.
RSI
RSI is included with optional smoothing, overbought/oversold guide levels, and divergence detection.
The RSI line uses dynamic colouring:
Gold = neutral RSI zone
Cyan = RSI oversold zone
Red = RSI overbought zone
The RSI smoothing line can be used as a quieter reference line to help see the broader RSI direction.
RSI can also be displayed in the upper or lower half of the pane.
RSI Divergence Engines
The indicator includes two RSI divergence modes.
1. Cipher Classic
This uses a stricter, confirmed-fractal style divergence method.
It tends to produce fewer signals, but they are cleaner and more selective.
2. Realtime Pivot
This uses a more responsive pivot-scanning divergence engine.
It can detect more RSI divergences and can pick them up earlier. Because it can work closer to the current candle, some signals may change or disappear before confirmation.
There is also an Auto mode:
When WaveTrend is visible, RSI divergences default toward the classic cipher style.
When WaveTrend is hidden, RSI divergences can use the realtime pivot style.
Schaff Trend Cycle
Schaff TC is an optional trend-cycle filter.
It is based on MACD-style momentum, then normalized into a cyclic oscillator. It can help show whether the broader momentum cycle is improving or weakening.
It is not a primary entry trigger, but it can be useful as a background confirmation tool.
Schaff TC can also be displayed in the upper or lower half of the pane.
Sommi Flag and Sommi Diamond
The indicator also includes the original Sommi-style Flag and Diamond pattern logic.
These are optional advanced signals that combine WaveTrend behaviour with higher-timeframe context.
Sommi Flag
The Sommi Flag is designed to highlight potential continuation or reversal-style conditions using:
Money Flow direction
WaveTrend position
WaveTrend cross direction
Higher-timeframe VWAP / Fast WT behaviour
A bearish Sommi Flag can appear when Money Flow is weak, WaveTrend is elevated and crossing down, and the higher-timeframe Fast WT / VWAP context is bearish.
A bullish Sommi Flag uses the opposite logic.
Sommi Diamond
The Sommi Diamond uses higher-timeframe Heikin Ashi candle direction together with WaveTrend crossing behaviour.
A bearish Sommi Diamond can appear when higher-timeframe Heikin Ashi candles are bearish and WaveTrend crosses down from a relevant level.
A bullish Sommi Diamond uses the opposite logic.
How to Use Sommi Signals
Sommi signals should be treated as optional confluence markers, not standalone trade signals.
They are most useful when they agree with the broader context shown by:
WaveTrend
Money Flow
VWAP / Fast WT
Stochastic RSI
RSI divergence
Price structure
Because this version of the Zook Ciphernator focuses mainly on WaveTrend, RSI, Stoch RSI, Money Flow, VWAP, and the dot system, the Sommi tools remain available as legacy/advanced features for users who like that style of signal filtering.
Display Position Controls
The indicator includes quick display controls for:
RSI
Stochastic RSI
Schaff TC
Each can be set to:
Auto
Upper
Lower
Auto uses the current adaptive layout rules. Upper and Lower allow manual override.
This makes it easier to avoid visual clashes between RSI, Stochastic RSI, WaveTrend, and Schaff TC.
Dot Legend
TOP ROW DOTS
Purple/pink dot = RSI bearish divergence
Price has made a higher high, but RSI has made a lower high. This suggests upside momentum may be weakening.
Red dot, slightly faded = Standard WaveTrend sell signal
The fast WaveTrend crosses down through the slow WaveTrend while WaveTrend is in an overbought area.
Red dot, brighter = Standard WaveTrend sell signal + confirmed WaveTrend bearish divergence
The normal WaveTrend sell signal has triggered and it coincides with a confirmed WaveTrend bearish divergence. This means price has pushed higher, but WaveTrend has failed to make a stronger high.
BOTTOM ROW DOTS
Lime dot = RSI bullish divergence
Price has made a lower low, but RSI has made a higher low. This suggests downside momentum may be weakening.
Cyan dot, slightly faded = Standard WaveTrend buy signal
The fast WaveTrend crosses up through the slow WaveTrend while WaveTrend is in an oversold area.
Cyan dot, brighter = Standard WaveTrend buy signal + confirmed WaveTrend bullish divergence
The normal WaveTrend buy signal has occurred and it coincides with a confirmed WaveTrend bullish divergence. This means price has pushed lower, but WaveTrend has failed to make a weaker low.
Gold dot, larger = Stronger bullish reversal setup
This is a higher-alert bullish reversal condition. It generally combines a bullish divergence / oversold WaveTrend structure with RSI oversold confirmation.
Important: the Gold Dot is not an instruction to buy immediately. It is a warning that a potentially stronger reversal setup may be forming. Confirmation from price action, structure, and your trading plan is still required.
DOTS ON THE WAVETREND HILLS
Red dot on WaveTrend hill = Fast WaveTrend crossing down through slow WaveTrend
This marks a possible bearish momentum shift.
Cyan dot on WaveTrend hill = Fast WaveTrend crossing up through slow WaveTrend
This marks a possible bullish momentum shift.
These hill dots mark all WaveTrend crosses. They are useful for reading momentum shifts, but they are not the same as the stronger top/bottom row buy/sell signals.
Visibility Behaviour
The top and bottom row dots are designed to remain in place even if the WaveTrend hills are hidden.
This allows you to hide the WaveTrend visual layer while still preserving the key signal information.
Similarly, RSI divergence dots can remain visible even if the RSI line itself is hidden.
Suggested Reading Framework
A simple way to read the indicator:
Stochastic RSI = timing and stretched momentum
WaveTrend = main momentum structure
VWAP / Fast WT = early impulse clue
Money Flow = background pressure
RSI divergences = momentum disagreement with price
Gold Dot = stronger bullish reversal warning
Schaff TC = optional trend-cycle confirmation
Sommi Flag / Diamond = optional higher-timeframe confluence markers
For bullish setups, look for oversold conditions, improving VWAP / Fast WT, Stoch RSI turning up, bullish divergence, and Money Flow stabilising or improving.
For bearish setups, look for overbought conditions, weakening VWAP / Fast WT, Stoch RSI rolling over, bearish divergence, and Money Flow weakening.
Future Development
This version focuses on the core Cipher B-style workflow: WaveTrend, VWAP / Fast WT, Money Flow, Stochastic RSI, RSI divergence, Schaff TC, Sommi tools, and the refined dot system.
Future iterations may include additional modules such as:
MACD-based confirmation
DSS Bressert
Further divergence refinements
Additional display and confluence options
These may be added in future versions if they improve the indicator without making the layout too cluttered.
Disclaimer
This indicator is for educational and analytical use only. It does not provide financial advice and should not be treated as a standalone trading system.
No signal is guaranteed. Always use proper risk management and make your own trading decisions.
Some examples of customisable views:
Stripping down to just RSI and Stoch RSI while dots are preserved:
Indicator

TRIX Chart DivergenceTRIX Chart Divergence is based on one of my favorite oscillators.
The main feature of this indicator is that TRIX divergences are drawn not only in the oscillator pane, but also directly on the price chart.
This makes divergence much easier to read, especially for intraday trading and scalping. Instead of looking back and forth between price and the oscillator, you can immediately see where price made a new high or low and where TRIX failed to confirm that move.
For me, this is the most useful way to work with TRIX.
A bullish divergence appears when price makes a lower low, but TRIX does not confirm that move and forms a higher low. A bearish divergence appears when price makes a higher high, but TRIX does not confirm it and forms a lower high.
This type of divergence can warn about a possible correction or trend reversal. I especially like watching TRIX divergences on higher timeframes, because they can mark important exhaustion points. The indicator includes alerts for bullish and bearish divergences, so you can monitor multiple instruments and timeframes without watching every chart all the time.
I also use TRIX on the 1-minute gold chart for intraday trading. On lower timeframes, I use it together with my own setups, price action, levels and other confirmation tools.
TRIX is simple and clean. When the TRIX line crosses the signal line in the lower area, it can show a possible bullish momentum shift. When the cross appears in the upper area, it can show a possible bearish momentum shift. In this indicator, bullish and bearish TRIX crosses are marked with small green and red dots.
TRIX does not have fixed overbought and oversold levels like RSI or Stochastic. That is why I added adaptive range levels. These levels show where TRIX is trading compared to its recent range. When TRIX moves outside this adaptive range, it can highlight stronger momentum extremes.
The adaptive range levels are optional. You can use the indicator in the classic way without them, or keep them on as an additional visual guide.
Main features:
- TRIX and signal line
- Histogram
- Small green and red dots on TRIX crossovers
- Bullish and bearish TRIX divergences
- Divergence lines in the oscillator pane
- Optional divergence lines directly on the price chart
- Optional adaptive TRIX range levels
- Alerts for TRIX crosses and divergences
Settings:
TRIX Length / Signal Length
Controls the basic TRIX calculation and signal line. Lower values make the oscillator more sensitive. Higher values make it smoother.
Adaptive Range Levels
Optional dynamic levels that show where TRIX is trading compared to its recent range. They can help identify stronger momentum extremes. You can turn them off if you prefer the classic TRIX view.
Range Lookback Bars
Defines how many previous bars are used to calculate the adaptive range. A larger value makes the range smoother and more stable. A smaller value makes it react faster.
Range Smoothing
Smooths the adaptive range levels.
TRIX Pivot Sensitivity
Controls how sensitive divergence detection is. Lower values find more divergences. Higher values show fewer but cleaner divergences.
Price Search Radius
Allows the script to search around the TRIX pivot and find the closest price high or low for drawing the divergence line.
Max Bars Between Points
Defines the maximum distance between two TRIX pivot points used for divergence detection.
Draw divergence line on TRIX
Shows the divergence line in the oscillator pane.
Draw divergence line on price chart
Shows the same divergence directly on the price chart.
Important:
This indicator is not a standalone trading system.
TRIX crosses and divergences are designed to help identify momentum shifts, exhaustion points and possible correction zones.
For best results, use it together with price action, support and resistance, trend structure, higher timeframe context and your own confirmation setup.
A divergence can warn about a possible correction or reversal, but it does not mean that price must reverse immediately. Indicator

Stochastic Cycle PulseStochastic Cycle Pulse
Stochastic Cycle Pulse is a momentum-cycle oscillator based on the classic Stochastic Oscillator. It is designed to show where price is positioned inside its recent high-low range, while also tracking overbought / oversold cycles, %K / %D crossover behavior, and trend-context conditions.
The script calculates a smoothed %K and %D line, highlights the 80 / 20 reference zones, and adds a simple cycle-state system that helps users review when stochastic momentum moves from oversold recovery toward overbought exhaustion.
It does not provide buy or sell recommendations. The purpose of this script is to help users study stochastic momentum cycles, overbought and oversold behavior, crossover timing, and trend-context alignment.
────────────────────
Core Concept
────────────────────
The Stochastic Oscillator is based on the idea that momentum can be evaluated by comparing the current close to the recent high-low range.
When the oscillator is near the upper part of the range, price is closing closer to recent highs.
When the oscillator is near the lower part of the range, price is closing closer to recent lows.
This script focuses on four stochastic-cycle concepts:
• Overbought and oversold zone recognition
• %K and %D crossover behavior
• Momentum-cycle recovery after oversold conditions
• Potential cycle exhaustion after the upper zone is reached
A bullish cycle event can appear when %K crosses above %D from the oversold zone.
A bearish cycle event can appear when %K crosses below %D after the oscillator has reached the upper zone.
The script also includes trend-context filtering so users can review whether stochastic events are occurring with or against the broader chart direction.
────────────────────
What This Script Shows
────────────────────
The script can display:
• Smoothed %K line
• Smoothed %D line
• Overbought reference zone
• Oversold reference zone
• Midline reference
• Bullish cycle markers
• Bullish cycle refresh markers
• Bearish cycle markers
• Optional raw %K / %D crossover markers
• Trend-context background
• Status table with stochastic, zone, cycle, context, and ADX information
These elements are intended to make stochastic cycle movement easier to review on the chart.
────────────────────
How It Works
────────────────────
1. The script calculates the Stochastic %K value from the selected high-low range.
2. %K is smoothed using the selected smoothing length.
3. %D is calculated as a moving average of the smoothed %K.
4. The oscillator is compared against the overbought, oversold, and midline levels.
5. The script detects %K / %D bullish and bearish crossovers.
6. A cycle-state system checks whether a bullish crossover occurs from the oversold zone.
7. After a bullish cycle begins, the script waits for the oscillator to reach the upper zone.
8. After the upper zone is reached, a bearish crossover can mark a cycle-down event.
9. Optional refresh logic can mark another bullish crossover if the oscillator remains near the oversold region.
10. EMA and ADX / DMI context can be used to identify whether the broader trend is strong upward, strong downward, or mixed.
11. Optional counter-trend blocking can reduce signals that occur against a strong directional trend.
12. A status table summarizes the current stochastic value, zone, cycle state, trend context, and ADX value.
────────────────────
Visual Elements
────────────────────
The script includes:
• %K line
• %D line
• Overbought zone
• Oversold zone
• Midline
• Bullish cycle dot
• Bullish refresh dot
• Bearish cycle dot
• Optional raw crossover dot
• K / D momentum fill
• Trend-context background
• Status table
The bullish cycle dot is used to highlight a stochastic recovery attempt from the oversold zone.
The bearish cycle dot is used to highlight a potential cycle-down event after the oscillator has already reached the upper zone.
The refresh dot is used when another bullish crossover appears while the oscillator is still near the lower cycle region.
The background context helps users distinguish whether the broader price environment is upward, downward, or mixed.
────────────────────
Inputs And Customization
────────────────────
Users can adjust:
• %K Length
• %K Smoothing
• %D Smoothing
• Overbought level
• Oversold level
• Midline
• Cycle state machine behavior
• GC refresh behavior
• DC confirmation rules
• Cycle timeout length
• EMA context lengths
• ADX and DMI settings
• Counter-trend blocking
• Minimum K / D gap after cross
• Slope-turn requirement
• Raw crossover visibility
• Main line visibility
• Momentum fill visibility
• Zone visibility
• Cycle signal visibility
• Context background visibility
• Status table visibility
• Line, zone, marker, and table colors
The default settings use the common 14 / 3 / 3 stochastic structure with 80 / 20 reference levels, while adding cycle-state logic to reduce random crossover interpretation.
────────────────────
Reference Markers
────────────────────
The script includes several reference markers.
Bullish Cycle Marker:
Shows when %K crosses above %D from the oversold zone and the cycle-state conditions are satisfied.
Bullish Refresh Marker:
Shows when another bullish crossover occurs while the oscillator remains near the lower cycle region.
Bearish Cycle Marker:
Shows when %K crosses below %D after the oscillator has already reached the upper zone.
Raw Crossover Marker:
Optional marker showing basic %K / %D crosses without the full cycle-state filter.
Overbought Zone:
Shows when the stochastic value is near the upper part of its recent range.
Oversold Zone:
Shows when the stochastic value is near the lower part of its recent range.
Status Table:
Displays the current stochastic value, zone, cycle state, context, and ADX reading.
These markers are not trading signals. They are visual reference points for studying stochastic momentum, cycle recovery, and possible exhaustion behavior.
────────────────────
How To Use
────────────────────
Use this script as a stochastic momentum-cycle viewer.
General interpretation examples:
• A bullish cycle marker can help users review where stochastic momentum begins to recover from the oversold zone.
• A bullish refresh marker can help users identify repeated recovery attempts near the lower cycle area.
• A bearish cycle marker can help users review where stochastic momentum weakens after reaching the upper zone.
• The overbought zone can help users identify when price is closing near the upper part of its recent range.
• The oversold zone can help users identify when price is closing near the lower part of its recent range.
• The trend-context background can help users review whether oscillator signals are aligned with the broader trend environment.
• The status table can be used to quickly check the current stochastic zone, cycle state, and ADX context.
This script is best reviewed together with price action, trend structure, support and resistance, volatility, and higher-timeframe context.
────────────────────
Confirmation And Repainting Notes
────────────────────
The script calculates stochastic values from the current high-low range and closing price.
Signals can change while the current candle is still forming because %K, %D, crossover conditions, and zone status can change before candle close.
For more conservative analysis, users should evaluate cycle markers after candle confirmation.
The script does not use future price data to predict upcoming price movement.
Because this script is based on oscillator behavior, signals may appear before, during, or after visible price turning points depending on market speed and volatility.
────────────────────
Limitations
────────────────────
This script does not predict future price movement.
It does not provide buy or sell recommendations.
Overbought does not always mean price must fall.
Oversold does not always mean price must rise.
In strong trends, the stochastic oscillator can remain overbought or oversold for extended periods.
Crossover markers can become noisy in sideways markets, low-volatility ranges, or unstable news-driven conditions.
This script should not be used as a standalone trading system.
────────────────────
Disclaimer
────────────────────
This publication is for educational and informational chart analysis only.
It does not constitute financial advice, investment advice, or a recommendation to buy or sell any financial instrument.
All trading and investment decisions are the responsibility of the user.
━━━━━━━━━━━━━━━━━━━━
Stochastic Cycle Pulse
Stochastic Cycle Pulse는 고전적인 Stochastic Oscillator를 기반으로 한 모멘텀 사이클 보조지표입니다. 가격이 최근 고가-저가 범위 안에서 어느 위치에 있는지 보여주면서, 과매수 / 과매도 사이클, %K / %D 교차 행동, 추세 컨텍스트를 함께 추적하도록 설계되었습니다.
이 스크립트는 smoothing 처리된 %K와 %D 라인을 계산하고, 80 / 20 기준 구간을 표시하며, 스토캐스틱 모멘텀이 과매도 회복 구간에서 과매수 소진 구간으로 이동하는 과정을 복기할 수 있도록 간단한 사이클 상태 시스템을 추가합니다.
이 지표는 매수 또는 매도 추천을 제공하지 않습니다. 목적은 스토캐스틱 모멘텀 사이클, 과매수와 과매도 행동, 교차 타이밍, 추세 컨텍스트 정렬을 관찰하는 것입니다.
────────────────────
핵심 개념
────────────────────
Stochastic Oscillator는 현재 종가가 최근 고가-저가 범위 안에서 어느 위치에 있는지를 비교해 모멘텀을 평가할 수 있다는 개념을 기반으로 합니다.
오실레이터가 상단 범위에 가까울수록 가격이 최근 고점에 가깝게 마감되고 있음을 의미합니다.
오실레이터가 하단 범위에 가까울수록 가격이 최근 저점에 가깝게 마감되고 있음을 의미합니다.
이 스크립트는 네 가지 스토캐스틱 사이클 개념에 초점을 둡니다.
• 과매수 및 과매도 구간 인식
• %K와 %D 교차 행동
• 과매도 이후 모멘텀 회복 사이클
• 상단 구간 도달 이후 잠재적인 사이클 소진
%K가 과매도 구간에서 %D를 상향 돌파하면 상승 사이클 이벤트가 나타날 수 있습니다.
오실레이터가 상단 구간에 도달한 뒤 %K가 %D를 하향 돌파하면 하락 사이클 이벤트가 나타날 수 있습니다.
또한 이 스크립트는 추세 컨텍스트 필터를 포함해, 스토캐스틱 이벤트가 더 넓은 차트 방향성과 일치하는지 또는 반대되는지 확인할 수 있도록 돕습니다.
────────────────────
표시 요소
────────────────────
이 스크립트는 다음 요소를 표시할 수 있습니다.
• Smoothed %K line
• Smoothed %D line
• 과매수 기준 구간
• 과매도 기준 구간
• 중앙선 기준
• 상승 사이클 마커
• 상승 사이클 refresh 마커
• 하락 사이클 마커
• 선택 가능한 기본 %K / %D 교차 마커
• 추세 컨텍스트 배경
• Stochastic, Zone, Cycle, Context, ADX 정보를 포함한 상태 테이블
이 요소들은 차트에서 스토캐스틱 사이클 움직임을 더 쉽게 복기하기 위한 시각적 참고 자료입니다.
────────────────────
작동 방식
────────────────────
1. 선택한 고가-저가 범위를 기준으로 Stochastic %K 값을 계산합니다.
2. 선택한 smoothing 길이로 %K를 부드럽게 처리합니다.
3. %D는 smoothing 처리된 %K의 이동평균으로 계산됩니다.
4. 오실레이터를 과매수, 과매도, 중앙선 레벨과 비교합니다.
5. %K / %D의 상승 및 하락 교차를 감지합니다.
6. 사이클 상태 시스템은 과매도 구간에서 상승 교차가 발생했는지 확인합니다.
7. 상승 사이클이 시작되면, 오실레이터가 상단 구간에 도달하는지 기다립니다.
8. 상단 구간 도달 이후 하락 교차가 발생하면 cycle-down 이벤트로 표시할 수 있습니다.
9. 선택 가능한 refresh 로직은 오실레이터가 여전히 하단 사이클 영역 근처에 있을 때 또 다른 상승 교차를 표시할 수 있습니다.
10. EMA와 ADX / DMI 컨텍스트를 사용해 더 넓은 추세가 강한 상승, 강한 하락, 혼합 상태인지 확인할 수 있습니다.
11. 선택 가능한 counter-trend blocking은 강한 방향성 추세에 반대되는 신호를 줄이는 데 사용할 수 있습니다.
12. 상태 테이블은 현재 stochastic 값, zone, cycle state, trend context, ADX 값을 요약합니다.
────────────────────
시각 요소
────────────────────
이 스크립트는 다음 시각 요소를 포함합니다.
• %K line
• %D line
• Overbought zone
• Oversold zone
• Midline
• Bullish cycle dot
• Bullish refresh dot
• Bearish cycle dot
• Optional raw crossover dot
• K / D momentum fill
• Trend-context background
• Status table
상승 사이클 도트는 과매도 구간에서 스토캐스틱 모멘텀이 회복을 시도하는 위치를 강조하는 데 사용됩니다.
하락 사이클 도트는 오실레이터가 이미 상단 구간에 도달한 이후 잠재적인 cycle-down 이벤트를 강조하는 데 사용됩니다.
Refresh 도트는 오실레이터가 여전히 하단 사이클 영역 근처에 있을 때 또 다른 상승 교차가 나타나는 경우를 표시합니다.
배경 컨텍스트는 더 넓은 가격 환경이 상승, 하락, 혼합 중 어디에 가까운지 구분하는 데 도움을 줍니다.
────────────────────
입력값 및 설정
────────────────────
사용자는 다음 항목을 조정할 수 있습니다.
• %K Length
• %K Smoothing
• %D Smoothing
• Overbought level
• Oversold level
• Midline
• Cycle state machine behavior
• GC refresh behavior
• DC confirmation rules
• Cycle timeout length
• EMA context lengths
• ADX and DMI settings
• Counter-trend blocking
• Minimum K / D gap after cross
• Slope-turn requirement
• Raw crossover visibility
• Main line visibility
• Momentum fill visibility
• Zone visibility
• Cycle signal visibility
• Context background visibility
• Status table visibility
• Line, zone, marker, and table colors
기본 설정은 일반적인 14 / 3 / 3 스토캐스틱 구조와 80 / 20 기준선을 사용하며, 무작위 교차 해석을 줄이기 위해 사이클 상태 로직을 추가한 형태입니다.
────────────────────
참고 마커
────────────────────
이 스크립트에는 여러 참고 마커가 포함되어 있습니다.
Bullish Cycle Marker:
%K가 과매도 구간에서 %D를 상향 돌파하고 사이클 상태 조건을 만족할 때 표시됩니다.
Bullish Refresh Marker:
오실레이터가 여전히 하단 사이클 영역 근처에 있을 때 또 다른 상승 교차가 발생하면 표시됩니다.
Bearish Cycle Marker:
오실레이터가 이미 상단 구간에 도달한 이후 %K가 %D를 하향 돌파하면 표시됩니다.
Raw Crossover Marker:
전체 사이클 상태 필터 없이 기본 %K / %D 교차를 보여주는 선택형 마커입니다.
Overbought Zone:
스토캐스틱 값이 최근 범위의 상단부에 가까운 구간을 표시합니다.
Oversold Zone:
스토캐스틱 값이 최근 범위의 하단부에 가까운 구간을 표시합니다.
Status Table:
현재 stochastic 값, zone, cycle state, context, ADX 값을 표시합니다.
이 마커들은 매매 신호가 아닙니다. 스토캐스틱 모멘텀, 사이클 회복, 잠재적인 소진 행동을 관찰하기 위한 시각적 참고 지점입니다.
────────────────────
사용 방법
────────────────────
이 스크립트는 스토캐스틱 모멘텀 사이클 확인용 보조지표로 사용할 수 있습니다.
일반적인 해석 예시는 다음과 같습니다.
• 상승 사이클 마커는 과매도 구간에서 스토캐스틱 모멘텀이 회복되기 시작한 위치를 복기하는 데 사용할 수 있습니다.
• 상승 refresh 마커는 하단 사이클 영역 근처에서 반복적인 회복 시도가 나타나는지 확인하는 데 도움을 줄 수 있습니다.
• 하락 사이클 마커는 상단 구간 도달 이후 스토캐스틱 모멘텀이 약화되는 위치를 복기하는 데 사용할 수 있습니다.
• 과매수 구간은 가격이 최근 범위의 상단부에 가깝게 마감되는 상태를 확인하는 데 사용할 수 있습니다.
• 과매도 구간은 가격이 최근 범위의 하단부에 가깝게 마감되는 상태를 확인하는 데 사용할 수 있습니다.
• 추세 컨텍스트 배경은 오실레이터 신호가 더 넓은 추세 환경과 일치하는지 확인하는 데 도움을 줄 수 있습니다.
• 상태 테이블은 현재 stochastic zone, cycle state, ADX context를 빠르게 확인하는 데 사용할 수 있습니다.
이 스크립트는 가격 행동, 추세 구조, 지지와 저항, 변동성, 상위 시간대 컨텍스트와 함께 검토하는 것이 좋습니다.
────────────────────
확인봉 및 리페인트 안내
────────────────────
이 스크립트는 현재 고가-저가 범위와 종가를 기준으로 stochastic 값을 계산합니다.
현재 캔들이 형성되는 동안에는 %K, %D, 교차 조건, zone 상태가 변할 수 있으므로 신호가 달라질 수 있습니다.
보다 보수적인 분석을 원하는 사용자는 봉 마감 이후 사이클 마커를 확인하는 것이 적절합니다.
이 스크립트는 향후 가격 움직임을 예측하기 위해 미래 가격 데이터를 사용하지 않습니다.
오실레이터 기반 스크립트이기 때문에 시장 속도와 변동성에 따라 신호가 눈에 보이는 가격 전환점보다 빠르거나, 전환 중간에 나오거나, 일부 늦게 표시될 수 있습니다.
────────────────────
한계
────────────────────
이 스크립트는 미래 가격 움직임을 예측하지 않습니다.
매수 또는 매도 추천을 제공하지 않습니다.
과매수는 가격이 반드시 하락한다는 뜻이 아닙니다.
과매도는 가격이 반드시 상승한다는 뜻이 아닙니다.
강한 추세에서는 Stochastic Oscillator가 장시간 과매수 또는 과매도 상태에 머무를 수 있습니다.
횡보장, 저변동성 구간, 뉴스성 급변 구간에서는 교차 마커가 노이즈처럼 많이 발생할 수 있습니다.
이 스크립트를 단독 매매 시스템으로 사용해서는 안 됩니다.
────────────────────
중요 고지
────────────────────
본 게시물은 교육 및 정보 제공 목적의 차트 분석 자료입니다.
투자 자문, 매수·매도 추천, 특정 금융상품 거래 권유를 의미하지 않습니다.
모든 투자 판단과 그 결과에 대한 책임은 이용자 본인에게 있습니다. Indicator

Twiggs Liquidity & Order Block Engine [MarkitTick]💡 Hybrid technical indicator designed to synthesize volume-weighted momentum with structural price action analysis. By harmonizing a modernized Twiggs Money Flow (TMF) algorithm with an automated Smart Money Concepts (SMC) overlay, this script provides a multi-dimensional perspective on market dynamics. Traders can monitor underlying accumulation and distribution cycles while simultaneously visualizing critical market structure shifts and historically significant supply and demand zones, offering a comprehensive, all-in-one chart analysis environment.
✨ Originality and Utility
● A Unique Analytical Mashup
Most technical analysis tools isolate either volume momentum or price action structure. This script introduces a vital mashup by blending the quantitative rigor of the Twiggs Money Flow with the visual geometry of Smart Money Concepts (SMC).
The utility lies in cross-verification: an Order Block (structural support/resistance) becomes exponentially more actionable when validated by a corresponding surge or exhaustion in the TMF volume oscillator.
This synthesis actively filters out false breakouts. A break of structure occurring on weak or divergent money flow can be flagged as a potential liquidity sweep rather than a genuine trend continuation.
Additionally, the integration of a dynamic, real-time dashboard centralizes complex data, removing the need to manually cross-reference multiple traditional indicators, thereby saving screen space and enhancing cognitive focus during active chart analysis.
🔬 Methodology and Concepts
● The Twiggs Money Flow (TMF) Engine
The oscillator component of this script is rooted in the Twiggs Money Flow, which serves as an evolution of traditional money flow calculations.
True Range Implementation: Rather than relying strictly on the high and low of the current candle, the engine calculates the True High (maximum of current high or previous close) and True Low (minimum of current low or previous close). This inherently factors in market gaps, preventing skewed volume data during highly volatile opens.
Volume Multiplier: A proprietary multiplier determines the placement of the close relative to the True Range. The multiplier forces a value between -1.0 and +1.0, dictating the proportion of trading volume classified as buying pressure (accumulation) versus selling pressure (distribution).
Exponential Smoothing: The raw money flow volume and the raw price volume are independently smoothed using an exponential moving average (EMA) system. The final TMF value is derived by dividing the smoothed money flow volume by the smoothed absolute volume.
Signal Line Construction: A secondary exponential moving average is applied directly to the finalized TMF output, creating a responsive signal line to identify momentum crossovers and track the expansion or contraction of volume momentum.
● Smart Money Concepts (SMC) Architecture
The structural overlay maps the fractal nature of market trends using strict geometric logic.
Swing Detection: The script scans historical data across a user-defined lookback period to pinpoint distinct Swing Highs and Swing Lows, creating the foundation of the market structure.
BOS and CHoCH Logic: When the closing price breaches an active Swing High or Swing Low, the engine dynamically labels the event as a Break of Structure (BOS) if it aligns with the prevailing trend, or a Change of Character (CHoCH) if it signifies a potential trend reversal.
Order Block Generation: Upon a confirmed structural break, the engine projects Order Blocks based on the origin of the impulse move. The depth and visual boundary of these blocks are calibrated using a localized Average True Range (ATR) calculation.
Mitigation Tracking: The script features a state-tracking algorithm that monitors price interaction with active Order Blocks. Once price re-enters and "mitigates" a block, the zone is visually dimmed or entirely hidden, keeping the chart completely focused on unmitigated liquidity zones.
🎨 Visual Guide
● Oscillator Pane Elements
TMF Histogram & Line: The primary TMF value is plotted as both a solid line and a supporting histogram. Values above the zero line utilize a Neon Violet color to indicate bullish money flow, while values below the zero line shift to a Neon Orange/Red to denote bearish flow.
Signal Line: Displayed as a dotted Gold/Yellow line tracking alongside the TMF.
Overbought/Oversold Zones: Dashed horizontal thresholds exist at user-defined overbought (+0.20) and oversold (-0.20) levels. When the TMF breaches these extremes, the background of the oscillator pane fills with a semi-transparent red or green glow.
Alert Shapes: Small geometric shapes (triangles and circles) populate the oscillator pane to mark exact moments where the TMF crosses the zero line or breaches the outer extreme zones.
● Price Chart Overlay
Candle Coloring: If enabled, standard price candles are re-colored based on the relationship between the TMF and its Signal Line. Bright Violet implies expanding bullish momentum, while dimmed Violet indicates narrowing bullish momentum. Conversely, Bright Orange implies expanding bearish momentum, with dimmed Orange signifying fading bearish pressure.
Structure Labels: Dashed lines paired with small text labels (BOS / CHoCH) appear precisely where structural breaks are confirmed.
Order Blocks: Solid rectangular boxes project forward in time. Unmitigated bullish blocks are filled with semi-transparent Violet, while unmitigated bearish blocks are filled with semi-transparent Orange. Once price touches these zones, they transition to a muted Slate/Grey color to signify mitigation.
● Real-Time Dashboard
Positioned in the top-right corner, this dark-themed data table provides a high-level summary of the current market state. It displays the numeric TMF and Signal values accompanied by 10-segment visual power bars. It also explicitly spells out the current Momentum Gap status, Overbought/Oversold Regime, Zero Cross Age (in bars), and the overarching Market Structure trend.
📖 How to Use
● Analyzing Momentum Crossovers
Primary trend confirmation is achieved by observing the TMF relative to the Zero Line. A sustained period above zero indicates healthy accumulation, whereas resting below zero signifies persistent distribution.
Short-term entry triggers can be identified by the TMF crossing its dotted Gold Signal Line. An upward cross while below zero can signal an early mean-reversion opportunity, whereas an upward cross above zero confirms strong trend continuation.
● Exploiting the Mashup Confluence
The most robust trading setups occur when both the oscillator and the price action overlay align perfectly.
Bullish Setup: Wait for the SMC engine to print a bullish Change of Character (CHoCH) followed by the generation of a fresh, Violet Order Block. As price retraces downward into this Order Block, look at the oscillator. If the TMF is rising, crossing its Signal Line, or rejecting the oversold threshold, the probability of a successful bounce increases significantly.
Bearish Setup: Observe price rallying into a pre-existing Orange bearish Order Block. If the dashboard simultaneously indicates that the TMF is in an "Overbought Regime" and the histogram begins crossing downward below the Signal Line, this provides confluence for a potential short entry or long exit.
⚙️ Inputs and Settings
● Calculation Parameters
TMF Period: Determines the lookback length for the underlying money flow moving averages. Increasing this smooths the oscillator but introduces lag.
Signal Line Period: Adjusts the sensitivity of the dotted signal line tracking the TMF.
Overbought/Oversold Levels: Custom thresholds for extreme zones (default +/- 0.20), allowing traders to adapt the script to highly volatile or highly ranging assets.
● Neon Colors
Total control over the aesthetic theme, including individual hex color overrides for Bullish/Rising states, Bearish/Falling states, Histogram fills, and Candle coloring.
● SMC & Market Structure
Enable SMC Overlay: A master toggle to display or hide structural lines and Order Blocks.
Swing Length: Dictates the strictness of pivot high/low detection. A lower number reacts to micro-trends, while a higher number identifies macro-structural shifts.
Track / Hide Mitigated OBs: Toggles the visual state of Order Blocks after price interacts with them. Users can choose to leave them on the chart as dimmed boxes or delete them entirely for maximum chart cleanliness.
🔍 Deconstruction of the Underlying Scientific and Academic Framework
● Volumetric Price Analysis Theory
The framework of this indicator is deeply anchored in auction market theory and the foundational work of Marc Chaikin, subsequently refined by Colin Twiggs. Traditional money flow indices often fail to capture the reality of market gaps, leading to incomplete volumetric profiles. By integrating the True Range calculation, the mathematics ensure that the proportional distance between the close and the absolute extreme of the session accurately reflects the terminal buying or selling pressure.
● Exponential Smoothing Mechanics
The internal architecture relies on parallel exponential moving averages (EMA). Unlike simple averages, the EMA assigns mathematically weighted significance to the most recent data points via an alpha constant (1/N). By smoothing the price-volume product and the raw volume independently before division, the indicator mitigates the erratic noise inherent in isolated volume spikes, producing a normalized quotient that tracks the authentic underlying liquidity flow.
● Fractal Market Structure & Geometric Support
The secondary framework relies on the premise that financial markets move in fractals, creating self-similar structures across all timeframes. By programmatically defining a "Swing" as a local extremum untouched over a specified sample size, the script mathematically formalizes the identification of supply and demand origin points. The dynamic projection of Order Blocks utilizes the Average True Range (ATR) as a standard deviation metric, recognizing that liquidity zones are not precise, one-dimensional price points, but rather two-dimensional areas defined by the asset's current historical volatility.
⚠️ 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. I 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. Indicator

BB-RSI - Short IndicatorBB-RSI — Short Indicator
🔷 What it does:
This is a signal-only indicator that mirrors a fade-the-strength short DCA workflow. It tracks one virtual short position at a time, opened only when TWO independent overbought conditions align on a lower timeframe, then scales the position with up to nine safety orders as price ladders higher against entry. The indicator computes a running average entry, total deployed capital, and open PnL from the live fill ledger and renders all of it on the chart. Every event emits a webhook-ready JSON payload tailored for a DCA Bot.
- Dual confirmation entry: Bollinger Bands %B(20, 2.0) crossing up 1.00 AND RSI(7) crossing up 65, both on 30m.
- Wide deviation ladder: 0.72% to first safety order, 1.55× step multiplier — last AO at ~63% above base entry.
- Soft compounding: each safety order is sized 1.03× the previous one.
- Fixed exit: TP at 2.11% below the running average entry. No trailing, no Stop Loss.
- Eleven discrete events per cycle (entry + 9 AO fills + TP) — each one fires its own webhook payload.
🔷 Who is it for:
- Swing traders running a DCA Bot on crypto perpetuals that frequently overshoot resistance.
- Bot operators who want a chart-driven signal source that emits per-event JSON ready for a DCA Bot.
- Traders who want to monitor an evolving short position — base entry, owned AO levels, deployed capital, open PnL — directly on the chart without the strategy-tester overhead.
- Risk-conscious operators building a high-confidence, low-drawdown defensive short into a diversified portfolio.
🔷 How does it work:
Bollinger Bands %B Filter: A 30-minute Bollinger Bands(20, 2.0) is sampled via request.security and converted to %B = (close − lower) / (upper − lower). The BB gate fires when %B crosses up the configured level (default 1.00 — price exiting the upper band) at host-bar close.
RSI Filter: A 30-minute RSI(7) is sampled in parallel. The RSI gate fires when RSI crosses up the configured level (default 65 — entering overbought) at host-bar close.
Entry: When both gates align at the same host-bar close, the indicator marks a virtual short entry, captures the base entry price, seeds the cost-basis ledger, and fires the entry webhook payload.
Safety Order Ladder: After base entry, the indicator monitors close price upward against the position. When close reaches base entry × (1 + cumulative deviation), the k-th safety order is marked filled, cost-basis is updated, and the AO webhook payload is fired. Cumulative deviation grows by the step multiplier (default 1.55): 0.72%, 1.84%, 3.57%, 6.25%, 10.40%, 16.48%, 25.90%, 40.51%, 63.14%. AO USDT size grows by 1.03× per fill — soft compounding rather than aggressive martingale.
Honest Virtual Bookkeeping: Total cost and total qty are updated incrementally on every event, so the avg entry, deployed capital, and open PnL displayed in the status table reflect the actual broker-equivalent position state — no shortcut from base entry, no synthetic averaging.
Exit: A fixed Take Profit at 2.11% below the running average entry. When close reaches the TP target, the close webhook payload fires and the virtual position resets.
🔷 Why it's unique:
- Dual-Filter Confirmation: Two independent signals on the same lower timeframe must align. %B captures volatility expansion beyond statistical bounds; RSI captures momentum overheating. Together they filter out the either-or noise that triggers single-condition strategies.
- Soft Compounding Ladder: The 1.03× size multiplier is much gentler than typical martingale (1.5–2.0×). It scales position size with adverse drift but doesn't blow up capital deployment if all safety orders fill.
- Fill-by-Fill Avg Entry: The orange avg-entry line is derived from running totals updated on every event — what you see is what the broker-equivalent position would actually have.
- Per-Event Webhook Ledger: Eleven distinct events per cycle, each with its own JSON alert payload. The indicator drives a DCA Bot end-to-end through a single PulseWire alert.
🔷 Considerations Before Using the Indicator:
Market & Timeframe: Designed for liquid crypto perpetuals on 30m–1h ranges. Default thresholds are calibrated for ATOMUSDT.P 30m. Strongly trending markets will fill the entire 9-AO ladder and hold the short while price grinds higher — the dual filter limits exposure to confirmed overbought conditions, but a regime shift to a strong trend requires manual oversight.
Cross Detection Granularity: Entries and AO fills are evaluated on bar close. A bar that spikes through a level and returns within the same bar may be missed by design — this matches realistic polling behavior and avoids over-signaling on intra-bar wicks.
Live vs Historical State: The virtual position state is rebuilt from chart history each time the indicator is recompiled. If the indicator is added mid-deployment or the live bot diverges from the signal stream (manual interventions, partial fills), the indicator state may not match the live bot. Toggle the indicator off and on to reset.
Funding Rates (Perpetuals): The indicator does not account for perpetual funding rates. Sustained positive funding (longs pay shorts) improves live performance; sustained negative funding degrades it. Review the historical funding pattern before live deployment.
No Stop Loss: There is no exit signal on adverse moves beyond the 9-AO ladder. Risk is structurally capped on the bot side by the bounded position-size ladder. If a hard exchange-side stop is required, configure it on the bot directly.
Backtesting Note: This is an indicator, not a strategy. There is no built-in P&L tester. For performance metrics over a 2.5-year sample (~267 closed trades, 79.78% win rate, 1.53% max drawdown, profit factor 6.23), use the companion strategy version on identical parameters.
🔷 How to Use It:
🔸 Add the indicator to a 30m chart on the perpetual pair you want to trade.
🔸 Review the BB filter (timeframe / period / deviation / level) and the RSI filter (timeframe / length / level). Defaults are calibrated for ATOMUSDT.P 30m — recalibrate per asset before deploying.
🔸 Set the AO ladder parameters (count, first AO size, step, multipliers) and the Take Profit percentage to match your bot's configuration.
🔸 In the DCA Bot Webhook group, paste the Bot ID, Email Token, and Pair (QUOTE_BASE format, e.g., USDT_ATOM).
🔸 Create an alert on the indicator with "Any alert() function call". Paste the DCA Bot's webhook URL into the alert's Webhook field. The indicator will emit JSON payloads for short entry, each safety order, and TP exit — formatted for direct DCA Bot consumption.
🔷 INDICATOR SETTINGS
Base Order Size (USDT): Virtual order size for the avg-entry computation. Real sizing happens on the bot.
First AO Size (USDT): Virtual size of the first safety order; subsequent AOs scale by the Size Multiplier.
Order Size Multiplier: Factor that grows each subsequent safety order's USDT size.
Averaging Orders per Trade: Maximum number of safety orders per deal (default 9).
Deviation to First AO (%): Distance from base entry at which AO1 becomes eligible.
Deviation Step Multiplier: Ladder factor that widens each subsequent deviation step.
BB Timeframe / Period / Deviation / Level: Lower-timeframe Bollinger Bands %B filter on the host symbol.
RSI Timeframe / Length / Level: Lower-timeframe RSI filter on the host symbol.
Take Profit (%): Fixed distance below the running average entry where the virtual short closes.
DCA Bot Webhook: Bot ID, Email Token, and Pair fields injected into every alert payload.
Visualization: Toggle DCA Ladder, Avg Entry / TP plot lines, fill labels, signal triangles, status table.
Brand Watermark: Configurable text, position, size, and transparency.
👨🏻💻💭 We hope this tool helps enhance your trading. Your feedback is invaluable, so feel free to share any suggestions for improvements or new features you'd like to see implemented.
__
The information and publications within the 3Commas PulseWire account are not meant to be and do not constitute financial, investment, trading, or other types of advice or recommendations supplied or endorsed by 3Commas and any of the parties acting on behalf of 3Commas, including its employees, contractors, ambassadors, etc. Indicator

BB-RSI Overbought DCA - Short StrategyBB-RSI Overbought DCA — Short Strategy
🔷 What it does:
This is a short-only DCA strategy that fades overbought thrusts confirmed by two independent volatility-and-momentum filters on a lower timeframe. A short entry opens only when Bollinger Bands %B crosses up the upper band AND RSI crosses up an overbought threshold at the same lower-timeframe close — the dual confirmation requires both volatility-expansion and momentum-overheat to align. Nine safety orders form a wide deviation ladder for adverse upward price action. Exit is a fixed percentage Take Profit below the running average entry. No trailing, no Stop Loss.
- Single base order with up to nine safety orders, sized at a 1.03× progression for soft compounding.
- Dual-filter entry: BB %B(20, 2.0) crossing up 1.00 AND RSI(7) crossing up 65, both on 30m.
- Wide deviation ladder: 0.72% to first safety order, 1.55× step multiplier — last safety order at ~63% above base entry.
- Take Profit: 2.11% below average entry. No trailing.
- Every entry, safety order, and exit emits a webhook-ready JSON alert payload for direct DCA Bot consumption.
🔷 Who is it for:
- Swing traders looking for high-win-rate short exposure on crypto perpetuals that frequently overshoot resistance.
- Bot operators who want a mechanical fade engine with dual confirmation and bounded position size.
- Risk-conscious operators — at default settings the maximum deployed capital is ~8.93% of equity, and the realized maximum drawdown over a 2.5-year sample stayed at 1.53%.
- Traders building a low-correlation portfolio: a defensive short with very low DD and an exceptional profit factor pairs well with directional long strategies.
🔷 How does it work:
Bollinger Bands %B Filter: A 30-minute Bollinger Bands(20, 2.0) is sampled via request.security and converted to %B = (close − lower) / (upper − lower). When %B crosses up the configured level (default 1.00 — price exiting the upper band), the BB gate is satisfied. The 30-minute timeframe is sampled with lookahead disabled to avoid repaint.
RSI Filter: A 30-minute RSI(7) is sampled in parallel. When RSI crosses up the configured level (default 65 — entering overbought), the RSI gate is satisfied. Both gates must be satisfied at the same host-bar close to arm a base entry.
Entry: When both filters cross up on the same host bar, a short position opens at the base order size. The base order is configurable as Market (default) or Limit at the bar's close.
Safety Order Ladder: After the base fill, the strategy monitors price deviation upward against the position. The k-th safety order fires when close ≥ base entry × (1 + cumulative deviation), where cumulative deviation grows by the step multiplier (default 1.55). At default settings: 0.72%, 1.84%, 3.57%, 6.25%, 10.40%, 16.48%, 25.90%, 40.51%, 63.14%. Each safety order's size grows by the size multiplier (default 1.03) — soft compounding rather than aggressive martingale.
Exit: A fixed Take Profit at 2.11% below the running average entry. The position closes the moment close ≤ TP target. No trailing, no Stop Loss.
🔷 Why it's unique:
- Dual-Filter Confirmation: Two independent signals on the same lower timeframe must align. %B captures volatility expansion (price extension beyond statistical bounds); RSI captures momentum exhaustion. Together they filter out either-or noise that would trigger single-condition strategies.
- Soft Compounding Ladder: The 1.03× size multiplier is much gentler than typical martingale (1.5–2.0×). It still scales position size with adverse drift but doesn't blow up capital deployment if all safety orders fill.
- Bounded Position Cap: With 9 safety orders at 1.03× progression, the maximum deployed capital is exactly base + 80 × 10.159 = 893 USDT per trade ≈ 8.93% of default equity. Inside the conventional 5–10% per-trade band, no surprises.
- DCA Bot Integration: Every event (base, AO 1–9, exit) emits a fully-formed JSON alert payload. Connect one alert to a DCA Bot's webhook URL and the strategy drives the bot end-to-end.
🔷 Considerations Before Using the Strategy:
Market & Timeframe: Defaults are calibrated for BYBIT:ATOMUSDT perpetual on 30m. The dual-filter combination is portable to other liquid crypto perpetuals that mean-revert from overbought stretches, but filter thresholds (BB level, RSI level) should be reviewed before redeployment.
Strong Uptrends: Like any fade-the-strength setup, this strategy is positioned for ranges and rotations, not breakouts. In sustained uptrends the strategy may fill the entire 9-AO ladder and hold the short while price grinds higher. The dual filter limits exposure to confirmed overbought conditions, which historically have higher mean-reversion expectancy, but a regime shift to a strong trend requires manual oversight.
Performance Profile: This is a high-confidence, low-volatility, low-return defensive short. Over the 2.5-year backtest the strategy returned +3.95% with a 1.53% maximum drawdown — annualized return is modest, but the return-to-DD ratio of ~2.6 and profit factor of 6.23 reflect very tight risk control. Size accordingly: this is a portfolio contributor, not a standalone alpha source.
Funding Rates (Perpetuals): Backtests do not account for perpetual funding rates. Sustained positive funding on ATOMUSDT.P (longs pay shorts) would improve live performance; sustained negative funding (shorts pay longs) would degrade it. Review the historical funding pattern before live deployment.
Commission Calibration: The default commission (0.4%) is set high as a conservative assumption. The actual Bybit perpetual taker fee is approximately 0.06%, so live performance with realistic Bybit fees should be meaningfully better than the published numbers. Update the commission input to match your fee tier for accurate forward expectations.
No Stop Loss Justification: There is no exit on adverse moves beyond the 9-AO ladder. Per-trade risk is structurally capped by the bounded position-size ladder — at defaults that is 893 USDT max deployed = 8.93% of equity, inside the conventional 5–10% per-trade band. If a hard stop is required at the exchange level, layer it on the bot side.
🔷 STRATEGY PROPERTIES
Symbol: BYBIT:ATOMUSDT.P (Perpetual)
Timeframe: 30M
Test Period: Mar 1, 2025 — Apr 1, 2026 (~1.1 years).
Initial Capital: 10,000 USDT.
Order Size per Trade: 0.8% of Capital base + 9 safety orders at 1.03× progression.
Max Capital Deployed: ~893 USDT per trade (~8.93% of equity).
Commission: 0.4% per trade (conservative — Bybit perpetual taker is ~0.06%).
Slippage: 3 ticks.
Margin for Short Positions: 100%.
Indicator Settings: Default Configuration.
Base Order: 80 USDT, Market by default (Limit toggle available).
Take Profit: 2.11% below average entry (no trailing).
Stop Loss: None — bounded position size is the structural risk cap.
BB %B Filter: 30m BB(20, 2.0), Crossing Up 1.00.
RSI Filter: 30m RSI(7), Crossing Up 65.
Averaging Orders: 9, Deviation 0.72%, Deviation Step 1.55×, Size Multiplier 1.03×.
Strategy: Short Only.
🔷 STRATEGY RESULTS
⚠️ Remember, past results do not guarantee future performance.
Net Profit: +395.18 USDT (+3.95%)
Max Equity Drawdown: 154.46 USDT (1.53%)
Total Closed Trades: 267
Percent Profitable: 79.78% (213 / 267)
Profit Factor: 6.23
🔷 How to Use It:
🔸 Adjust Settings: Open the strategy inputs and review the Base Order Size, BB filter (period / deviation / level), RSI filter (length / level), the 9-AO ladder, and the Take Profit percentage. Defaults are calibrated for ATOMUSDT.P 30m — recalibrate per asset before deploying.
🔸 Results Review: Run a full-period backtest and confirm Max Drawdown stays inside your personal risk band. Validate that the closed-trade count is statistically meaningful (≥ 100 is a reasonable floor). Update commission to match your exchange's actual fees.
🔸 Create alerts to trigger the DCA Bot: Add one alert on the strategy using "Any alert() function call". Paste the DCA Bot's webhook URL into the alert's Webhook field, and fill the Bot ID, Email Token, and Pair inputs on the script. The strategy will emit JSON payloads for short entry, each safety order, and exit — formatted for direct DCA Bot consumption.
🔷 INDICATOR SETTINGS
Base Order Size (USDT): USDT amount opened on the short entry.
Use LIMIT for Base: Toggle between Market (default) and Limit at bar close.
Averaging Orders per Trade: Maximum number of safety orders per deal (default 9).
First AO Size (USDT): USDT size of the first safety order; subsequent AOs scale by the Size Multiplier.
Deviation to First AO (%): Distance from base entry at which AO1 becomes eligible.
Deviation Step Multiplier: Ladder factor that widens each subsequent deviation step.
Order Size Multiplier: Factor that grows each subsequent safety order's USDT size.
BB Timeframe / Period / Deviation / Level: 30-minute Bollinger Bands %B filter on the host symbol.
RSI Timeframe / Length / Level: 30-minute RSI filter on the host symbol.
Take Profit (%): Fixed distance from average entry where the short closes for profit.
DCA Bot Webhook: Bot ID, Email Token, and Pair fields injected into every alert payload.
Visualization: Toggle DCA Ladder, fill labels, status table.
Brand Watermark: Configurable text, position, size, and transparency.
👨🏻💻💭 We hope this tool helps enhance your trading. Your feedback is invaluable, so feel free to share any suggestions for improvements or new features you'd like to see implemented.
__
The information and publications within the 3Commas PulseWire account are not meant to be and do not constitute financial, investment, trading, or other types of advice or recommendations supplied or endorsed by 3Commas and any of the parties acting on behalf of 3Commas, including its employees, contractors, ambassadors, etc. Strategy

Strategy

Strategy

Strategy

Strategy
