Indicador

Multi MA Framework [Gabremoku]Multi MA Framework is a flexible multi-moving-average overlay built for traders who want a clean and fully customizable MA workspace directly on the chart.
The indicator lets you plot up to four independent moving averages, each with its own:
visibility toggle
length
MA type
color
This makes it useful for traders who want to combine fast and slow averages, compare SMA vs EMA behavior, or build a personalized trend framework without loading multiple separate indicators.
What it shows
📈 Up to 4 Moving Averages — each line can be configured independently and displayed only when needed.
⚙️ SMA or EMA per line — choose the moving average type separately for each MA. SMA gives equal weight to all values in the period, while EMA gives more weight to recent prices and typically reacts faster to change.
🏷️ End Labels — optional right-side labels show each MA name, type, and length.
☁️ Cloud Fills — optional fills between:
MA 1 / MA 2
MA 3 / MA 4
These clouds help visualize alignment and separation between faster and slower averages.
Core idea
This script is designed as a moving average framework, not a rigid strategy.
Moving averages are commonly used to:
identify trend direction
smooth noisy price action
monitor dynamic support and resistance
compare short-term and long-term market structure
By allowing different lengths and SMA/EMA choices on every line, the script makes it easy to create your own structure, for example:
fast trend stack
swing trend map
long-term bias model
crossover-based workflow
How to use
A practical way to use the framework is to combine shorter and longer averages.
For example:
a shorter MA can track immediate momentum
a medium MA can define swing direction
a longer MA can define higher-level trend bias
When multiple moving averages align in the same direction, traders often interpret that as stronger trend structure. Crossovers between faster and slower averages are also widely used to monitor possible trend shifts, although they are lagging by nature.
Example setups
Here are some common ways this framework can be configured:
Trend stack: 10 EMA / 20 EMA / 50 EMA / 200 SMA
Swing trader view: 20 EMA / 50 SMA / 100 SMA / 200 SMA
Minimal structure: show only 2 lines and enable one cloud
Cross comparison: use SMA on one line and EMA on another with the same or similar length to compare responsiveness
Because EMA reacts faster and SMA is smoother, combining both can help balance responsiveness and stability.
Features
✅ Up to 4 fully independent moving averages
✅ SMA or EMA selection for each line
✅ Custom length for each MA
✅ Custom color for each MA
✅ Visibility toggle for every line
✅ Adjustable line width
✅ Optional right-side end labels
✅ Optional MA1/MA2 cloud fill
✅ Optional MA3/MA4 cloud fill
✅ Clean chart overlay design
Notes
This indicator is best used as a custom trend structure tool rather than a standalone signal engine. Moving averages are inherently lagging indicators, so they are most effective when used to define context and trend bias rather than predict reversals on their own.
Author: Gabremoku
Pine Script v6 Indicador

Indicador

Indicador

Trend Volatility RegimeThe Trend Volatility Regime is an all-in-one trend-following model that identifies changes in the market regime by combining moving-average crossover signals with volatility-adaptive trailing stops. It features an integrated backtesting engine that provides institutional-grade insights into historical strategy performance, along with a built-in alert system that notifies investors in real time when regime changes occur. The model integrates seamlessly into the price chart and presents backtest results in a clear, color-coded table benchmarked against buy-and-hold.
At its core, the model combines two complementary trend detection components to determine the prevailing market regime. The first component identifies the underlying structural trend using a volatility-adjusted moving-average crossover based on the spread between fast and slow moving averages. The second component identifies trend reversals using an adaptive trailing stop based on changes in price and volatility. Bullish and bearish regimes occur when both crossover and volatility signals are directionally aligned, while conflicting signals result in neutral regimes.
Bullish Crossover Signal = (Fast MA – Slow MA) > (ATR × Trend Margin)
Bearish Crossover Signal = (Fast MA – Slow MA) < –(ATR × Trend Margin)
Bullish Volatility Signal = Price > (Highest Price – (Volatility × Stop Factor))
Bearish Volatility Signal = Price < (Lowest Price + (Volatility × Stop Factor))
By default, the model applies an asymmetric regime design in which conflicting signals default to a bullish regime unless half-equity positions are enabled in the menu. This asymmetric design reflects the tendency of risk assets to deteriorate gradually while recovering more abruptly. The moving-average component captures the slower deterioration typically observed during market tops, while the trailing stop component responds more dynamically to faster reversals typically observed at market bottoms. This helps reduce overreaction to corrections during uptrends while still allowing for faster re-entry following sharp recoveries. To evaluate the performance of different parameter configurations, the model includes a built-in table with the following metrics:
CAGR = Compounded Annual Growth Rate.
Excess = CAGR in excess of buy-and-hold.
Sharpe = CAGR per unit of standard deviation.
Sortino = CAGR per unit of downside deviation.
Calmar = CAGR relative to maximum drawdown.
Max DD = Largest peak-to-trough decline in value.
Alpha (α) = Excess annualized risk-adjusted returns.
Win Rate = Ratio of profitable trades to total trades.
Profit Factor = Total gross profit per unit of losses.
Expectancy = Average expected return per trade.
Turnover = Average annualized change in exposure.
This indicator is designed with flexibility in mind, enabling users to specify the start date of the backtesting period, the preferred trend type, volatility type, and regime visualization. Supported regime visualizations include line, candle, and shaded background. Supported moving-average types include the Exponential Moving Average (EMA), Simple Moving Average (SMA), Wilder’s Moving Average (RMA), and Weighted Moving Average (WMA). Supported volatility types include the Average True Range (ATR), Standard Deviation (SD), and Mean Absolute Deviation (MAD). Supported price sources include Close, HL2, HLC3, and OHLC4. The table follows an intuitive color-coded logic that allows for quick performance comparison against buy-and-hold (B&H):
CAGR = Green indicates above 0%, while red indicates below 0%.
Excess = Green indicates above 0%, while red indicates below 0%.
Sharpe = Green indicates better than B&H, while red indicates worse.
Sortino = Green indicates better than B&H, while red indicates worse.
Calmar = Green indicates better than B&H, while red indicates worse.
Max DD = Green indicates better than B&H, while red indicates worse.
Alpha (α) = Green indicates above 0%, while red indicates below 0%.
Win Rate = Green indicates above 50%, while red indicates below 50%.
Profit Factor = Green indicates above 2, while red indicates below 1.
Expectancy = Green indicates above 0%, while red indicates below 0%.
In summary, the Trend Volatility Regime is a comprehensive trend-following tool designed to help investors stay on the right side of the market by identifying key changes in the market regime. By combining volatility-adjusted moving-average crossover signals with adaptive volatility-based trailing stops, the model seeks to maximise participation during uptrends while reducing exposure during sustained downtrends. While the model provides valuable historical insights, users should remain mindful that past results may not necessarily persist under future market conditions. Indicador

AlgoStorm Institutional VWAP Suite (IVS)AlgoStorm Institutional VWAP Suite (IVS)
A multi-anchor, institutional-grade VWAP framework covering five distinct time horizons simultaneously — Daily, Rolling Time-Window, NY, European/London, and Asian/Pacific — with volume-weighted standard deviation bands, a configurable color suite, a live info table, and full alert coverage.
The AlgoStorm Institutional VWAP Suite (IVS) is built on a single conviction: VWAP is not a single line, it is a layered structural map. Professional traders and institutions do not reference one VWAP — they read the relationship between multiple anchored VWAPs across sessions and time windows to understand where the auction is relative to where it has been. IVS makes this entire multi-anchor framework available in one cohesive, configurable overlay, designed for futures, equities, forex, and any instrument with reliable volume data.
Why Multiple VWAPs?
Each anchor tells a different story. The Daily VWAP defines where the current session is balanced. The Rolling VWAP reflects dynamic equilibrium over a configurable time window, acting as a responsive benchmark for swing and position traders. The session VWAPs — NY, London, and Asia — reveal the price acceptance or rejection developing within each regional trading block. When price holds above the NY VWAP but stalls beneath the Daily VWAP, that tension itself is actionable information. IVS maps all five references simultaneously so those relationships are always visible.
Technical Architecture
Each VWAP anchor is computed through a dedicated VwapInstance User-Defined Type (UDT). This object maintains the running sums required for both the VWAP price and the volume-weighted population standard deviation, using the mathematically correct formula σ² = E − E ² . Deviation bands derived from this are true volume-weighted standard deviations — not ATR estimates or fixed percentage offsets.
The Rolling VWAP runs on a High-Fidelity Sliding Time-Window Engine . Rather than anchoring to a calendar boundary, it maintains four parallel arrays (price-volume, volume, squared price-volume, and timestamps) to continuously evict data older than the user-defined window. This produces a genuinely time-accurate rolling VWAP at any timeframe, not a bar-count approximation.
Session resets (NY, London, Asia) use a one-minute anchor window via time("1", range, timezone) , which fires accurately across all chart timeframes — not just 1-minute charts.
Features & Functionality
Daily VWAP: Anchors at each calendar day open using hlc3 as the price source. Resets correctly on the first bar of every session including overnight gaps. Paired with optional volume-weighted standard deviation bands (two configurable multipliers for ±1σ and ±2σ levels).
Daily VWAP Wave (H/L): Plots two companion VWAPs anchored to the daily high and low respectively, with a filled channel between them. This "wave" shows the intraday auction range as a structural envelope rather than a single midline — price inside the wave indicates balance, price outside indicates initiative direction.
Rolling Time-Window VWAP: Fully configurable window in days, hours, and minutes. Defaults to 1 day. Paired with optional volume-weighted standard deviation bands. Unlike a fixed daily anchor, the rolling VWAP adapts continuously, making it a natural trend reference for intraday and swing traders.
NY Session VWAP: Anchors at 09:30 ET (New York open). The primary reference for equities and US futures RTH participants. Resets each session regardless of the chart's display timezone.
European / London Session VWAP: Configurable anchor at either 03:00 ET (London) or 02:00 ET (Frankfurt). Essential for tracking European institutional participation, particularly on DAX and EUR/USD.
Asian / Pacific Session VWAP: Configurable anchor at either 20:00 ET (Tokyo) or 18:00 ET (Sydney). Useful for establishing overnight reference levels and identifying the range that NY will either accept or reject at the open.
Color Suite: Every line has an independently configurable color input. The defaults (Silver, White, Blue, Lime, Red, Yellow) are chosen for visual hierarchy on dark themes, but each can be adjusted for light themes, personal preference, or multi-indicator setups.
Live VWAP Info Table: An optional on-chart table (top-right, togglable) displaying the current numeric value of all six active VWAP levels, color-coded to match their respective lines. Values display as — for any anchor that has not yet reset in the current session. Populated only on the last bar to avoid unnecessary per-bar overhead.
10 Alert Conditions: Cross-above and cross-below alerts for every VWAP line. Alerts fire on bar close (confirmed bar only) to prevent repainting. Each message includes {{ticker}} and {{close}} placeholders for use in webhook automations or notification routing.
Usage Guide
For intraday futures traders (ES, NQ, DAX): Enable the Daily VWAP Wave and NY VWAP as your primary references. Price reclaiming the NY VWAP after a morning flush is a high-probability mean-reversion setup. Price pushing beyond the Daily Wave High with sustained delta confirms initiative buying.
For swing and multi-day traders : The Rolling VWAP is your core tool. Set the window to 3-5 days and treat it as a dynamic fair value anchor. When price returns to the Rolling VWAP after extended deviation, evaluate whether volume supports continuation or reversal.
For session transition analysis : Enable all three session VWAPs. At the NY open, observe where price is relative to the Asian and London anchors. Acceptance above the London VWAP at NY open is structurally bullish. Rejection and failure below it signals continuation of overnight selling.
For deviation band usage : The ±1σ bands define the statistically normal range for the session. Extended moves to ±2σ with declining volume are classic mean-reversion setups. Moves to ±2σ with expanding volume signal initiative behavior and potential trend continuation. Indicador

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 TradingView 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 TradingView 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. Indicador

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 TradingView'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 TradingView 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. Estratégia

Indicador

Indicador

Indicador

Indicador

EMA-SMA-WMA-DEMA-VWMA 20-50-100-150-200 This indicator brings together the 5 most commonly used moving average types (EMA, SMA, WMA, DEMA, VWMA) and their critical periods (20, 50, 100, 150, 200) in technical analysis under one roof.
The presence of 25 different lines on the chart may seem complex at first glance, so I have summarized the strategic usage guide below:
1. Differences Between Moving Average Types
Knowing which average to use when allows you to understand the "speed" of the price:
SMA (Simple): The slowest moving average, most closely watched by institutional investors (especially the 200 SMA). Provides reliable support/resistance.
EMA (Exponential): Gives more weight to recent price movements. Signals trend reversals faster than SMA.
WMA (Weighted): Similar to EMA but more sensitive to price changes.
DEMA (Double Exponential): Reduces lag to almost zero. Suitable for very fast scalping trades.
VWMA (Volume Weighted): Blends price with volume. If the VWMA also steepens as the price rises, it means that this rise is supported by "real volume".
Bu indikatör, teknik analizde en çok kullanılan 5 farklı hareketli ortalama türünü (EMA, SMA, WMA, DEMA, VWMA) ve bunların kritik periyotlarını (20, 50, 100, 150, 200) tek bir çatıda topluyor.
Grafiğinde 25 farklı çizgi olması ilk bakışta karmaşık gelebilir, bu yüzden stratejik kullanım rehberini aşağıda özetledim:
1. Hareketli Ortalama Türleri Arasındaki Farklar
Hangi ortalamayı ne zaman kullanacağını bilmek, fiyatın "hızını" anlamanı sağlar:
SMA (Basit): En ağır hareket eden, kurumsal yatırımcıların (özellikle 200 SMA) en çok dikkat ettiği ortalamadır. Güvenilir destek/direnç sağlar.
EMA (Üssel): Son fiyat hareketlerine daha fazla ağırlık verir. Trend dönüşlerini SMA'dan daha hızlı sinyalleşir.
WMA (Ağırlıklı): EMA'ya benzer ama fiyat değişimlerine karşı daha hassastır.
DEMA (Çift Üssel): Gecikmeyi (lag) neredeyse sıfıra indirir. Çok hızlı scalping işlemleri için uygundur.
VWMA (Hacim Ağırlıklı): Fiyatı hacimle harmanlar. Eğer fiyat yükselirken VWMA da dikleşiyorsa, bu yükselişin "gerçek hacimle" desteklendiğini anlarız.
Indicador

Multi Kernel Regression & Divergence Matrix ProTitle Suggestion: Multi Kernel Regression & Divergence Combo
Description:
📌 Overview
This script is a powerful combination of advanced non-parametric statistics and multi-indicator momentum analysis. It bridges the gap between Right-Side Trend Following and Left-Side Reversal Catching.
We have successfully ported and combined the Multi Kernel Regression (by ChartPrime) and the Divergence for Many Indicators (by LonesomeTheBlue) into a unified, clean v5 script.
⚡ Key Features
Multi Kernel Regression Engine
Computes non-linear weighted averages using 17 different kernel functions (Laplace, Gaussian, etc.).
Offers unmatched smoothness with minimal lag compared to traditional EMAs.
Dynamic color-changing line (Green for Bullish / Red for Bearish) with instantaneous Up and Down pivot labels.
Multi-Indicator Divergence Matrix
Scans 11 core indicators simultaneously: MACD, Histogram, RSI, Stochastic, CCI, MOM, OBV, VWmacd, CMF, MFI, and External Source.
Clusters overlapping signals into a single chart label showing the names and the total count of missing momentum.
Supports both Regular Divergences (trend reversal) and Hidden Divergences (trend continuation).
🚀 How to Trade this Combo
The Reversal Confirmation: Look for a cluster of Regular Positive Divergences (Yellow labels with a high count like 3 or 4) indicating exhaustive selling. Wait for the Kernel line to turn Green and plot an Up label before entering long.
The Trend Follower: When the Kernel line is securely sloping upwards (Green), look for Hidden Positive Divergences (Green dashed lines) during pullbacks. This signifies a high-probability trend continuation buy signal.
⚙️ Critical Settings
Repaint: Default is True for historical analysis (ultra-smooth curves). For live trading or backtesting, change this to False to enable the non-repainting real-time calculation.
Minimum Number of Divergence: Increase this to 2 or 3 to filter out market noise and only trade high-confluence共振 signals. Indicador

Estratégia

Indicador

Indicador

Crypto Ultimate Indicator v2═══════════════════════════════════════════════
CRYPTO ULTIMATE INDICATOR (CUI)
═══════════════════════════════════════════════
A multi-layer confluence system for crypto traders. Stacks 12+ independent technical layers — trend, momentum, volume, regime, multi-timeframe bias, and Smart Money Concepts — and fires Buy/Sell signals only when enough of them agree. Every signal comes with a confidence score, three take-profit levels, position size recommendation, and live outcome tracking.
Built for 4H and Daily crypto charts. No proprietary "secret sauce" — every component is documented and every input is exposed.
━━━━━━━ WHY THIS EXISTS ━━━━━━━
Most multi-indicator scripts stack correlated trend filters (more EMAs, more oscillators) and call it "confluence." That just adds the illusion of agreement without adding independent information.
CUI's filter stack is built from genuinely different signal sources, so when they align, that alignment carries real weight:
• Trend regime — HMA + Supertrend + EMA Ribbon
• Momentum — RSI with proper pivot-to-pivot divergence
• Volume flow — body-weighted Volume Delta + CVD divergence
• Volatility state — Bollinger squeeze + squeeze-release timing
• Market structure — composite of ADX, Choppiness Index, BB-width percentile
• Multi-timeframe — weighted Daily / Weekly / Custom HTF (all offset, no repaint)
• Liquidity & gaps — Fair Value Gaps + Liquidity Sweep detection
• External context — optional BTC trend filter for alt trading
A Buy or Sell only fires when the relevant subset of these align. A built-in "Why-Not" diagnostic table shows you exactly which filter is blocking a near-signal at any moment — turning the indicator into a tunable system rather than a black box.
━━━━━━━ CORE FEATURES ━━━━━━━
TREND & MOMENTUM
▸ Hull Moving Average (configurable length)
▸ Supertrend with ATR factor
▸ 5-EMA Ribbon (8/13/21/34/55) with stacking score
▸ RSI with consecutive-pivot divergence detection
▸ MACD and Stochastic RSI (data window)
VOLUME
▸ Body-weighted Volume Delta (not naive close-position)
▸ Cumulative Volume Delta (CVD)
▸ CVD divergence at confirmed pivots
VOLATILITY & REGIME
▸ Bollinger Bands with squeeze detection and release timing
▸ Composite regime classifier (ADX × CHOP × BB-width)
▸ Background tint for trending vs ranging states
▸ Regime transition labels
SMART MONEY CONCEPTS
▸ Fair Value Gap zones (bullish and bearish)
▸ Liquidity Sweep detection
MULTI-TIMEFRAME
▸ Daily / Weekly / User-defined custom HTF
▸ Weighted confluence score (D 1.0x + W 1.5x + Custom 0.75x)
▸ Optional HTF pivot-based S/R lines
BTC CONTEXT (for alt traders)
▸ Optional BTC trend filter
▸ Relative strength vs BTC
SIGNAL ENGINE
▸ 0-100 confidence score
▸ Configurable minimum confidence threshold
▸ Auto-tune presets (Aggressive / Balanced / Conservative / Custom)
▸ Confirmation bar requirement
▸ Minimum spacing between signals
TRADE MANAGEMENT
▸ Three take-profit levels (TP1/TP2/TP3) with configurable ATR multipliers
▸ Custom % allocation per target
▸ Adaptive SL/TP — different distances in trending vs ranging conditions
▸ Break-even stop activation after TP1
▸ Chandelier ATR trailing stop on runner portion
▸ Position size calculator (account size × risk % × confidence multiplier)
LIVE TRACKING & DIAGNOSTICS
▸ Main dashboard with all current state
▸ Signal log table — last N trades with live TP/SL outcomes
▸ Why-Not diagnostic — which filter is currently blocking each direction
▸ Regime stats — win rate broken down by trending vs ranging
ALERTS
▸ 15+ classic alertcondition triggers
▸ Optional JSON webhook payload for bot integration
━━━━━━━ HOW A BUY SIGNAL FIRES ━━━━━━━
All of the following must be true on the signal bar:
1. HMA trending up
2. RSI above 50
3. Volume delta positive
4. EMA Ribbon score ≥ +3 (at least 4 of 5 aligned bullish)
5. Supertrend bullish
6. HTF confluence score ≥ +1.5
7. Confidence score ≥ user minimum
8. BTC trend bullish (if BTC filter enabled)
9. Price not inside opposing FVG zone (if FVG filter enabled)
10. Market not in strong ranging mode
11. Price more than 0.5 ATR from upper resistance zone
12. Candle body > 50% of range
13. Minimum bars elapsed since last signal
14. Confirmation bar (if enabled)
A Sell signal requires the inverse. On 4H BTC expect roughly 1-3 signals per week in normal conditions. If you see fewer, drop the confidence floor or switch to the Aggressive preset.
━━━━━━━ RECOMMENDED USE ━━━━━━━
▸ Primary: 4H on BTC/USDT, ETH/USDT, and majors
▸ Also works: Daily, 12H, 8H
▸ Use caution below 1H — noise increases, news spikes can trigger wicks
▸ Low-liquidity alts: bump ATR period to 21
WORKFLOW
1. Start on the Balanced preset
2. Watch the dashboard and Why-Not panel for a few sessions
3. Adjust the confidence floor based on signal frequency
4. Enable Regime Stats after chart history accumulates
5. For bots: enable JSON webhook alerts, route via "Any alert() function call"
━━━━━━━ REPAINT DISCLOSURE ━━━━━━━
Full transparency on what does and doesn't repaint:
▸ HMA, Supertrend, EMA Ribbon: repaint on the developing current bar (use bar-close confirmation for live trading)
▸ HTF confluence (D/W/Custom): all use offset — fetch last closed HTF bar only — NO intra-period repaint, NO lookahead
▸ RSI and CVD divergence labels: plotted at confirmed pivot bar (5 bars after the actual pivot). Do NOT appear and disappear.
▸ FVG zones: drawn on confirmation bar of the 3-bar gap pattern. Do not repaint once drawn.
▸ Liquidity sweeps: detected on bar close
▸ Trade outcomes (signal log): evaluated on each closing bar
▸ Regime transition labels: confirmed on bar close
━━━━━━━ HONEST LIMITATIONS ━━━━━━━
▸ This is a decision-support tool, not a complete trading system. Risk management, position discipline, and execution matter more than any indicator.
▸ Signal outcomes in the Regime Stats table are based on bar-close evaluation. Real-fill slippage is not modeled.
▸ Volume Delta is approximated from candle structure, not true tick-level bid/ask (TradingView doesn't expose that without premium feeds).
▸ FVG and liquidity sweep are simplified interpretations of those concepts — pure SMC purists may prefer dedicated tools.
▸ The regime classifier is a heuristic composite. It works well on liquid crypto pairs but can lag at sharp inflection points.
▸ Past performance does not predict future results.
━━━━━━━ SETTINGS OVERVIEW ━━━━━━━
The script has many inputs, grouped by function. For first-time users, the most important groups are:
▸ Preset & Theme → pick Balanced to start
▸ UI Sizing → table text and label sizes
▸ Signal Engine → set Minimum Confidence Score
▸ Tiered Exits → TP/SL multipliers and % allocation
▸ Position Sizing → account size and risk per trade
▸ Alerts & Webhooks → enable JSON for bot trading
Default state shows a clean chart: HMA, Supertrend, BB, regime tint, signal labels, plus three tables (dashboard, signal log, HTF panel). Everything else is one toggle away — EMA Ribbon, FVG boxes, ATR zones, HTF S/R lines, CVD divergence labels, sweep markers, Why-Not diagnostic, Regime Stats.
━━━━━━━ WHAT'S NOT INCLUDED ━━━━━━━
▸ Full strategy() backtest — this is an indicator(). A companion strategy script may be released separately.
▸ Funding rate / open interest overlays — require specific tickers not universally available
▸ Chart pattern recognition (H&S, wedges, etc.)
━━━━━━━ CREDITS ━━━━━━━
Built on Pine Script v6. Uses TradingView built-ins: ta.supertrend, ta.dmi, ta.bb, ta.macd, ta.rsi, ta.pivothigh, ta.pivotlow, ta.valuewhen. Choppiness Index, CVD, FVG detection, liquidity sweep logic, regime classifier, confidence scoring, trade tracking, and confluence weighting are custom implementations.
═══════════════════════════════════════════════
Indicador

Daily MA Bounce & Rejection 8 MAs UnifiedStrict bounce/rejection setups on 8 daily MAs (EMA 8/21/50/100/200 + SMA 50/100/200). One indicator, longs + shorts,position-relative.
A unified moving-average strategy indicator that fires only the highest-conviction setups: strict bounces off MA support (price above MA,
holds, closes back up) and strict rejections from MA resistance (price below MA, fails to break through, closes back down).
Covers the full institutional MA stack:
- 5 EMAs: 8 (short-term trend), 21 (intraday trend), 50 (intermediate), 100 (long-term), 200 (secular)
- 3 SMAs: 50, 100, 200 (the classical institutional levels watched alongside the EMAs)
The position-relative model treats any MA as support when price is above it, resistance when price is below it. Same logic across all 8 MAs
— no separate scripts for support vs resistance, no separate longs vs shorts.
Targets are the nearest MAs on the far side of entry (overhead MAs for longs, underfoot for shorts) — natural structural exits, not
arbitrary R-multiples. Indicador

Entropic Liquidity Manifold [JOAT]Entropic Liquidity Manifold
Introduction
Entropic Liquidity Manifold builds an adaptive POC-style liquidity mean using volume density, auction entropy, displacement, and release scoring.
This open-source indicator is designed as a context tool, not a standalone trading system. It focuses on explaining the current market state with restrained visuals and confirmed-bar logic where signals are used.
Core Concepts
1. Adaptive Manifold
The equilibrium updates faster when density and entropy rise.
2. Volume Density
Volume divided by bar range estimates participation concentration.
3. Auction Entropy
Close location identifies whether the auction is balanced or directional.
4. Absorption vs Release
High density with balance supports absorption, while displacement with direction supports release.
manifold := manifold + adaptiveAlpha * (hlc3 - manifold)
Features
Adaptive liquidity mean
Upper and lower shelves
Entropy trace
Absorption node markers
L+ and L- release labels
Input Parameters
Density and entropy memory
Release and absorption gates
Cooldown
Manifold, candle, and HUD toggles
HUD position selector
How to Use This Script
Use the manifold as an adaptive auction reference. Absorption nodes mark balance; L+ and L- mark confirmed directional release.
Limitations
The script uses historical OHLCV data and cannot know future prices.
Signals and states can be late during fast reversals because confirmed-bar logic is used to reduce repainting.
Model outputs should be interpreted with market context, risk controls, and independent analysis.
No visual state should be treated as a certain trade outcome.
Originality Statement
ELM is original in combining adaptive equilibrium, density, entropy, displacement, and release scoring.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice, investment advice, or a recommendation to buy or sell any financial instrument. All calculations are derived from historical market data and may produce inaccurate readings in some market conditions. No indicator can predict future market behavior. Use proper risk management and independent judgment.
-Made with passion by jackofalltrades
Indicador

Indicador

Indicador

Indicador
